FreeCalypso > hg > fc-magnetite
comparison src/aci2/mfw/Mfw_band.h @ 3:93999a60b835
src/aci2, src/condat2: import of g23m/condat source pieces from TCS211
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 26 Sep 2016 00:29:36 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
2:c41a534f33c6 | 3:93999a60b835 |
---|---|
1 #ifndef _MFW_BAND_H_ | |
2 #define _MFW_BAND_H_ | |
3 | |
4 typedef enum | |
5 { MFW_BAND_Busy= -2, | |
6 MFW_BAND_Fail = -1, | |
7 MFW_BAND_OK, | |
8 MFW_BAND_InProgress | |
9 } T_MFW_BAND_RET; | |
10 | |
11 typedef enum | |
12 { | |
13 MFW_BAND_MODE_Auto = 0, | |
14 MFW_BAND_MODE_Manual = 1 | |
15 } T_MFW_BAND_MODE; | |
16 | |
17 /* SPR919 - SH - Band is now a bit field*/ | |
18 typedef enum | |
19 { | |
20 MFW_BAND_GSM_900 = 1, | |
21 MFW_BAND_DCS_1800 = 2, | |
22 MFW_BAND_PCS_1900 = 4, | |
23 MFW_BAND_E_GSM = 8, | |
24 MFW_BAND_GSM_850 = 16 | |
25 }; | |
26 | |
27 T_MFW_BAND_RET band_radio_mode_switch(T_MFW_BAND_MODE mode, UBYTE band); | |
28 | |
29 T_MFW_BAND_RET band_get_radio_modes(T_MFW_BAND_MODE* maxMode, UBYTE *band); | |
30 | |
31 T_MFW_BAND_RET band_get_current_radio_mode(T_MFW_BAND_MODE* mode, UBYTE *band); | |
32 #endif /* _MFW_BAND_H_*/ |