comparison g23m/condat/ms/src/mfw/Mfw_band.h @ 0:509db1a7b7b8

initial import: leo2moko-r1
author Space Falcon <falcon@ivan.Harhan.ORG>
date Mon, 01 Jun 2015 03:24:05 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:509db1a7b7b8
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_*/