FreeCalypso > hg > fc-magnetite
comparison src/g23m-aci/aci/ati_omcompat.c @ 478:5e39123540e6
hybrid fw: Openmoko-mimicking AT@BAND command implemented
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 14 Jun 2018 06:04:54 +0000 |
parents | 5b2ebc94cae4 |
children |
comparison
equal
deleted
inserted
replaced
477:f65a4399093d | 478:5e39123540e6 |
---|---|
58 #endif /*FF_ATI_BAT*/ | 58 #endif /*FF_ATI_BAT*/ |
59 | 59 |
60 #include "audio/audio_api.h" | 60 #include "audio/audio_api.h" |
61 #include "abb.h" | 61 #include "abb.h" |
62 #include "dar/dar_api.h" | 62 #include "dar/dar_api.h" |
63 | |
64 EXTERN void alr_get_band_of_serving_cell (char *strbuf); | |
63 | 65 |
64 /* | 66 /* |
65 * PURPOSE : @ST command (Configure the sidetone level) | 67 * PURPOSE : @ST command (Configure the sidetone level) |
66 */ | 68 */ |
67 GLOBAL T_ATI_RSLT atAtST (char *cl, UBYTE srcId) | 69 GLOBAL T_ATI_RSLT atAtST (char *cl, UBYTE srcId) |
135 dar_reset_system(); | 137 dar_reset_system(); |
136 | 138 |
137 return (ATI_CMPL); | 139 return (ATI_CMPL); |
138 } | 140 } |
139 | 141 |
142 /* | |
143 * PURPOSE : @BAND command (Get RF band) | |
144 */ | |
145 | |
146 GLOBAL T_ATI_RSLT atAtBAND (char *cl, UBYTE srcId) | |
147 { | |
148 TRACE_FUNCTION("atAtBAND"); | |
149 alr_get_band_of_serving_cell(g_sa); | |
150 io_sendMessage(srcId, g_sa, ATI_NORMAL_OUTPUT); | |
151 | |
152 return (ATI_CMPL); | |
153 } | |
154 | |
140 #endif /* ATI_OMCOMPAT_C */ | 155 #endif /* ATI_OMCOMPAT_C */ |
141 | 156 |