|
@@ -93,16 +93,25 @@ struct TeleConfigData
|
|
|
{
|
|
|
unsigned char TelcomModelName[64]; //default: Null
|
|
|
unsigned char TelcomSoftwareVer[64]; //default: Null
|
|
|
- unsigned char TelcomApn[256]; //default: Null
|
|
|
- int TelcomRssi; //dbm
|
|
|
+ unsigned char TelcomApn[256]; //default: Null
|
|
|
+ int TelcomRssi; //dbm
|
|
|
unsigned char TelcomChapPapId[256]; //default: Null
|
|
|
unsigned char TelcomChapPapPwd[256]; //default: Null
|
|
|
unsigned char TelcomModemImei[16]; //default: Null
|
|
|
- unsigned char TelcomSimImsi[16]; //default: Null
|
|
|
- unsigned char TelcomSimStatus; //0: no SIM card is found, 1: valid SIM card, 2: invalid SIM card
|
|
|
- unsigned char TelcomModemMode; //0: No services, 1: CDMA, 2: GSM/GPRS, 3: WCDMA, 4: GSM/WCDMA, 5: TD_SCDMA mode, 6: Unknow
|
|
|
+ unsigned char TelcomSimImsi[16]; //default: Null
|
|
|
+ unsigned char TelcomSimIccid[20]; //default: Null
|
|
|
+ unsigned char TelcomSimStatus; //0: no SIM card is found, 1: valid SIM card, 2: invalid SIM card
|
|
|
+ unsigned char TelcomModemMode; //0: No services, 1: CDMA, 2: GSM/GPRS, 3: WCDMA, 4: GSM/WCDMA, 5: TD_SCDMA mode, 6: Unknow
|
|
|
unsigned char TelcomIpAddress[16]; //default: Null
|
|
|
- unsigned char TelcomNetworkConn; //0: disconnected, 1: connected
|
|
|
+ unsigned char TelcomNetworkConn; //0: disconnected, 1: connected
|
|
|
+};
|
|
|
+
|
|
|
+struct BtConfigData
|
|
|
+{
|
|
|
+ unsigned char LoginCentralID[64]; //default: Null
|
|
|
+ unsigned char isLogin; //0: Central device non-login 1: Central device login
|
|
|
+ unsigned char isRequestStart; //0: no action 1: request start charging
|
|
|
+ unsigned char isRequestStop; //0: no action 1: request stop charging
|
|
|
};
|
|
|
|
|
|
struct SysConfigData
|
|
@@ -135,6 +144,7 @@ struct SysConfigData
|
|
|
struct EthConfigData Eth1Interface;
|
|
|
struct WifiConfigData AthInterface;
|
|
|
struct TeleConfigData TelecomInterface;
|
|
|
+ struct BtConfigData Bluetooth;
|
|
|
/**************Backend***************/
|
|
|
unsigned int BackendConnTimeout; //default : 300s
|
|
|
unsigned char OfflinePolicy; //0: local list, 1: Phihong RFID tag, 2: free charging, 3: no charging
|