Fix mbtk from v1265 GSW
Change-Id: I5d8d395616f284bc74c8b9448cfa347164b5a668
diff --git a/mbtk/Makefile b/mbtk/Makefile
index 94a406f..8086279 100755
--- a/mbtk/Makefile
+++ b/mbtk/Makefile
@@ -1,7 +1,7 @@
BUILD_ROOT = $(shell pwd)
include Make.defines
-DIRS = liblynq_lib_rilv2 libql_lib_v2_rilv2 test helloworld
+DIRS = liblynq_lib libql_lib_v2 libgsw_lib test helloworld
all:
@echo $(ROOT)
@@ -19,6 +19,8 @@
clean:
@for i in $(DIRS); do \
- (cd $$i && echo "Cleaning $$i" && $(MAKE) clean) || exit 1; \
+ if [ -d $$i ];then \
+ (cd $$i && echo "Cleaning $$i" && $(MAKE) clean) || exit 1; \
+ fi \
done
rm -rf $(OUT_DIR)
\ No newline at end of file
diff --git a/mbtk/include/gsw/gsw_data.h b/mbtk/include/gsw/gsw_data.h
new file mode 100755
index 0000000..3449035
--- /dev/null
+++ b/mbtk/include/gsw/gsw_data.h
@@ -0,0 +1,167 @@
+#include <stdint.h>
+//gsw include
+
+
+#define GSW_HAL_SUCCESS 0
+#define GSW_HAL_FAIL -1
+#define GSW_HAL_MEM_INVAILD -2
+#define GSW_NW_OPERATION_NAME_LEN 128
+#define GSW_NW_PLMN_LEN 6
+#define GSW_NW_MCC_LEN 3
+#define GSW_NW_MNC_LEN 3
+#define GSW_NW_PARA_MAX_LEN 128
+#define GSW_MCC_MAX_LEN 16
+#define GSW_MNC_MAX_LEN 16
+#define GSW_APN_CHANNEL_MAX 10
+#define GSW_POXY_ADDR_MAX_LEN 64
+#define GSW_PDP_TYPE_MAX_LEN 16
+#define GSW_APN_MAX_LEN 65
+#define GSW_APN_ID_MAX_LEN 32
+#define GSW_APN_TYPE_MAX_LEN 50
+#define GSW_USR_MAX_LEN 16
+#define GSW_PWD_MAX_LEN 16
+#define GSW_AUTH_TYPE_MAX_LEN 50
+#define GSW_PROTOCO_MAX_LEN 64
+#define GSW_CARRIER_ID_MAX_LEN 64
+#define GSW_IFACE_NAME_MAX_LEN 50
+#define GSW_PDP_ADDR_MAX_LEN 64
+#define GSW_DNS_ADDR_MAX_LEN 64
+#define GSW_GETWAYS_ADDR_MAX_LEN 64
+#define GSW_RSP_MAX_LEN 256
+
+typedef struct {
+ int handle; /**< data connection handle*/
+ int cid; /**< data connection cid*/
+ int state; /**< data connection state*/
+ int fail_cause; /**< data connection fail cause*/
+ char *type; /**< data connection type*/
+ char *ifname; /**< ifname*/
+
+ char *v4_ip; /**< ipv4 address*/
+ char *v4_pdns; /**< ipv4 pdns address*/
+ char *v4_sdns; /**< ipv4 sdns address*/
+ char *v4_gw; /**< ipv4 gateway address*/
+
+ char *v6_ip; /**< ipv6 address*/
+ char *v6_pdns; /**< ipv6 gateway address*/
+ char *v6_sdns; /**< ipv6 gateway address*/
+}Wan_State_ind_s;
+
+typedef struct {
+ char ip[GSW_PDP_ADDR_MAX_LEN]; /**< ip address */
+ char pdns[GSW_DNS_ADDR_MAX_LEN]; /**< pdns address*/
+ char sdns[GSW_DNS_ADDR_MAX_LEN]; /**< sdns address*/
+ char gw[GSW_GETWAYS_ADDR_MAX_LEN]; /**< gate way address*/
+}V4_Addr_s;
+
+typedef struct {
+ char ip[GSW_PDP_ADDR_MAX_LEN]; /**< ip address*/
+ char pdns[GSW_DNS_ADDR_MAX_LEN]; /**< pdns address*/
+ char sdns[GSW_DNS_ADDR_MAX_LEN]; /**< sdns address*/
+}V6_Addr_s;
+
+typedef struct {
+ int handle; /**< data connection handle*/
+
+ /* req info */
+ char mcc[GSW_MCC_MAX_LEN]; /**< apn mcc value*/
+ char mnc[GSW_MNC_MAX_LEN]; /**< apn mnc value*/
+ char apnid[GSW_APN_ID_MAX_LEN]; /**< apn id*/
+ char apn[GSW_APN_MAX_LEN]; /**< apn name*/
+ char apnType[GSW_APN_TYPE_MAX_LEN]; /**< apn type ipv4 ipv4v6 ipv6*/
+ char usr[GSW_USR_MAX_LEN]; /**< apn usr name*/
+ char pwd[GSW_PWD_MAX_LEN]; /**< apn password*/
+ char authType[GSW_AUTH_TYPE_MAX_LEN]; /**< apn auth type*/
+ char normalProtocol[GSW_PROTOCO_MAX_LEN]; /**< apn auth protoco*/
+ char roamingProtocol[GSW_PROTOCO_MAX_LEN]; /**< apn auth protoco roaming*/
+ char carrier[GSW_CARRIER_ID_MAX_LEN]; /**< carrier id*/
+
+ /* rsp */
+ int cid; /**< data connection cid for mdm sdk*/
+ int active; /**< pdn context active state: 2,actived; other,not active */
+ char ifname[GSW_IFACE_NAME_MAX_LEN]; /**< if name of current datalink */
+ int type; /**< data connection type*/
+ V4_Addr_s v4; /**< ipv4 addr*/
+ V6_Addr_s v6; /**< ipv6 addr*/
+ int mtu; /**< mtu value*/
+
+ char out[GSW_RSP_MAX_LEN]; /**< sdk return value*/
+}Link_Info_s;
+
+typedef struct
+{
+ uint64_t tx_pkts; /* the number of packet sent*/
+ uint64_t tx_bytes; /* the number of packet sent bytes */
+ uint64_t tx_dropped_pkts; /* the number of packet dropped by sent*/
+ uint64_t rx_pkts; /* the number of packet received*/
+ uint64_t rx_bytes; /* the number of packet receivedbytes */
+ uint64_t rx_dropped_pkts; /* the number of packet dropped by received*/
+}gsw_data_pkt_stats;
+
+
+typedef void (*gsw_data_call_evt_cb_t)(Wan_State_ind_s *linkState);
+
+/**
+ * @brief datacall sdk init
+ * @param [in] evt_cb callback function for data connection state change event
+ * call back;
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_data_call_init(gsw_data_call_evt_cb_t evt_cb);
+
+
+/**
+ * @brief data_call sdk deinit
+ * @param
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_data_call_deinit(void);
+
+/**
+ * @brief set apn parameters for data call
+ * @param [in/out] LinkInf apn info for pub or private datacall
+ * inlcude apn name mcc mnc, passwork apnid type cid etc
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_data_call_set_apn(Link_Info_s *LinkInf);
+
+
+/**
+ * @brief set apn parameters for data call
+ * @param [in] linkid data connetion link number
+ * @param [in/out] LinkInf link info req: apn info for pub or private datacall
+ * inlcude apn name mcc mnc, passwork apnid etc
+ * resp: data call link state ipaddress type etc
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_data_call_connect(int linkid, Link_Info_s *LinkInf);
+
+
+/**
+ * @brief set apn parameters for data call
+ * @param [in] linkid
+ * @param [in/out] LinkInf link info req: apn info for pub or private datacall
+ * inlcude apn name mcc mnc, passwork apnid etc
+ * resp: data call link state ipaddress type etc
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_data_call_disconnect(int linkid, Link_Info_s *LinkInf);
+
+
+
+/*
+ * @brief get mobile operator name
+ @param [in] linkid apn id
+ @param [out] data_pkt obtian actual data call network card data traffic
+ @retval 0: success
+ @retval 0: other: fail
+ */
+int gsw_get_data_call_pkt_stats(int linkid, gsw_data_pkt_stats *data_pkt);
+
+
+
diff --git a/mbtk/include/gsw/gsw_ecall.h b/mbtk/include/gsw/gsw_ecall.h
new file mode 100755
index 0000000..914ded0
--- /dev/null
+++ b/mbtk/include/gsw/gsw_ecall.h
@@ -0,0 +1,257 @@
+
+
+#define GSW_HAL_SUCCESS 0
+#define GSW_HAL_FAIL -1
+#define GSW_HAL_MEM_INVAILD -2
+
+#define GSW_EU_ECALL_MAX_MSD 140
+#define GSW_EU_ECALL_MAX_PHONE_NUMBER 82
+
+typedef enum
+{
+ GSW_EU_ECALL_TYPE_TEST = 1,
+ GSW_EU_ECALL_TYPE_EMERGENCY = 2,
+ GSW_EU_ECALL_TYPE_RECONFIG = 3,
+} gsw_eu_ecall_type_e;
+
+typedef struct
+{
+ uint32_t msd_len;
+ uint8_t msd[GSW_EU_ECALL_MAX_MSD];
+ gsw_eu_ecall_type_e type;
+ int32_t auto_trigger;
+ char ecall_number[GSW_EU_ECALL_MAX_PHONE_NUMBER];
+} gsw_eu_ecall_info_t;
+
+
+
+typedef enum {
+ GSW_EU_ECALL_STATE_NONE = -1,
+ GSW_EU_ECALL_STATE_INACTIVE = 0,
+ GSW_EU_ECALL_STATE_ORIGINATING_CALL = 1,
+ GSW_EU_ECALL_STATE_IN_CALL_TRANSMITTING = 2,
+ GSW_EU_ECALL_STATE_WAITING_FOR_AL_ACK = 3,
+ GSW_EU_ECALL_STATE_IN_CALL = 4,
+ GSW_EU_ECALL_STATE_IDLE_ALLOW_MT_ECALL = 5,
+} gsw_eu_ecall_state_e;
+
+typedef enum {
+ GSW_EU_ECALL_MODE_NORMAL = 0,
+ GSW_EU_ECALL_MODE_ONLY = 1,
+ GSW_EU_ECALL_MODE_DEFAULT = 2,
+} gsw_eu_ecall_mode_e;
+
+
+typedef struct
+{
+ uint8_t enable;
+ uint8_t voice_mute;
+ gsw_eu_ecall_mode_e mode;
+ uint8_t report_event;
+ uint16_t start_timer;
+ uint16_t hack_timer;
+ uint16_t trans_timer;
+ uint8_t fail_redial;
+ uint8_t drop_redial;
+ uint16_t cleardown_timer;
+ uint16_t init_timer;
+ uint16_t nad_reg_timer;
+ uint16_t nad_dereg_timer;
+ uint8_t standard;
+ uint16_t era_glonass_redial;
+ uint16_t auto_answer; //auto_answer
+} gsw_eu_ecall_config_t;
+
+typedef enum {
+ GSW_EU_ECALL_CONFIG_ENABLE = (1 << 0),
+ GSW_EU_ECALL_CONFIG_VOICE_MUTE = (1 << 1),
+ GSW_EU_ECALL_CONFIG_MODE = (1 << 2),
+ GSW_EU_ECALL_CONFIG_REPORT_EVENT = (1 << 3),
+ GSW_EU_ECALL_CONFIG_START_TIMER = (1 << 4),
+ GSW_EU_ECALL_CONFIG_HACK_TIMER = (1 << 5),
+ GSW_EU_ECALL_CONFIG_TRANS_TIMER = (1 << 6),
+ GSW_EU_ECALL_CONFIG_FAIL_REDIAL = (1 << 7),
+ GSW_EU_ECALL_CONFIG_DROP_REDIAL = (1 << 8),
+ GSW_EU_ECALL_CONFIG_CLEARDOWN_TIMER = (1 << 9),
+ GSW_EU_ECALL_CONFIG_INIT_TIMER = (1 << 10),
+ GSW_EU_ECALL_CONFIG_NAD_REG_TIMER = (1 << 11),
+ GSW_EU_ECALL_CONFIG_NAD_DEREG_TIMER = (1 << 12),
+ GSW_EU_ECALL_CONFIG_STANDARD = (1 << 13),
+ GSW_EU_ECALL_CONFIG_ERA_GLONASS_REDIAL = (1 << 14),
+ GSW_EU_ECALL_CONFIG_AUTO_ANSWER = (1 << 15),
+} gsw_eu_ecall_config_e;
+
+typedef enum {
+ GSW_EU_ECALL_EVENT_FAIL_NONE = 0,
+ GSW_EU_ECALL_EVENT_FAIL_TIMEOUT = 1,
+ GSW_EU_ECALL_EVENT_FAIL_HACK_TIMEOUT = 2,
+ GSW_EU_ECALL_EVENT_FAIL_MSD_TRANS_TIMEOUT = 3,
+ GSW_EU_ECALL_EVENT_FAIL_IVS_RESET_TIMEOUT = 4,
+ GSW_EU_ECALL_EVENT_FAIL_CLEAR_DOWN_FALLBACK_TIMEOUT = 5,
+ GSW_EU_ECALL_EVENT_FAIL_IVS_INITIATION_TIMEOUT = 6,
+} gsw_eu_ecall_event_fail_e;
+
+typedef enum {
+ GSW_EU_ECALL_EVENT_PROCESS_IVS_NONE = 0,
+ GSW_EU_ECALL_EVENT_PROCESS_IVS_START_RECEIVED_MSD = 1,
+ GSW_EU_ECALL_EVENT_PROCESS_IVS_NACK_RECEIVED = 2,
+ GSW_EU_ECALL_EVENT_PROCESS_IVS_ACK_RECEIVED = 3,
+ GSW_EU_ECALL_EVENT_PROCESS_IVS_TX_COMPLETED = 4,
+ GSW_EU_ECALL_EVENT_PROCESS_IVS_HLACK_RECEIVED = 5,
+} gsw_eu_ecall_event_process_e;
+
+typedef enum {
+ GSW_EU_ECALL_EVENT_MSDUPADTE_NONE = -1,
+ GSW_EU_ECALL_EVENT_MSDUPDATE_IVS_UPDATING_MSD = 0,
+ GSW_EU_ECALL_EVENT_MSDUPDATE_PSAP_REQURE_UPDATE_MSD = 1,
+ GSW_EU_ECALL_EVENT_MSDUPDATE_IVS_UPDATE_MSD_TIMEOUT = 2,
+} gsw_eu_ecall_event_msdupdate_e;
+
+typedef enum {
+ GSW_EU_ECALL_EVENT_ESTABLISH_NONE = -1,
+ GSW_EU_ECALL_EVENT_ESTABLISH_SUCCESS = 0,
+ GSW_EU_ECALL_EVENT_ESTABLISH_FAIL = 1,
+} gsw_eu_ecall_event_establish_e;
+
+typedef enum {
+ GSW_EU_ECALL_EVENT_EXTEND_STATE_NONE = -1,
+ GSW_EU_ECALL_EVENT_EXTEND_STATE_START_RECV_SYN = 0,
+ GSW_EU_ECALL_EVENT_EXTEND_STATE_T9_TIMEOUT = 1,
+ GSW_EU_ECALL_EVENT_EXTEND_STATE_T10_TIMEOUT = 2,
+ GSW_EU_ECALL_EVENT_EXTEND_STATE_IVS_ALACK_RECEIVED = 3,
+ GSW_EU_ECALL_EVENT_EXTEND_STATE_IVS_LLACK_RECEIVED = 4,
+ GSW_EU_ECALL_EVENT_EXTEND_STATE_STOPPED = 5,
+ GSW_EU_ECALL_EVENT_EXTEND_STATE_ANSWERING_INCOMING_PSAP_ECALL = 6,
+ GSW_EU_ECALL_EVENT_EXTEND_STATE_CLEARDOWN_RECEIVED = 7,
+ GSW_EU_ECALL_EVENT_EXTEND_STATE_CALLBACK_TIMEOUT = 8,
+ GSW_EU_ECALL_EVENT_IVS_NORMAL_CLEARING = 9,
+ GSW_EU_ECALL_EVENT_IVS_ABNORMAL_CLEARING = 10,
+} gsw_eu_ecall_event_extend_state_e;
+
+typedef struct
+{
+ uint8_t ori_remainder_times;
+ uint16_t time;
+} gsw_eu_ecall_event_originate_fail_redial_t;
+
+typedef struct
+{
+ uint8_t drop_remainder_times;
+ uint16_t time; /* The minimum time duration between the previous call attempt */
+} gsw_eu_ecall_event_drop_redial_t;
+
+
+typedef struct
+{
+ gsw_eu_ecall_event_fail_e fail;
+ gsw_eu_ecall_event_process_e process;
+ gsw_eu_ecall_event_msdupdate_e msdupdate;
+ gsw_eu_ecall_event_establish_e establish;
+ uint16_t hack_code;
+ gsw_eu_ecall_event_originate_fail_redial_t ori_redial;
+ gsw_eu_ecall_event_drop_redial_t drop_redial;
+ gsw_eu_ecall_event_extend_state_e extend_state;
+} gsw_eu_ecall_event_t;
+
+typedef void (*gsw_eu_ecall_event_cb_f)(gsw_eu_ecall_event_t *p_event);
+
+
+typedef enum {
+ GSW_EU_ECALL_MSD_TRANS_STATUS_NONE = -1,
+ GSW_EU_ECALL_MSD_TRANS_STATUS_SUCCESS = 0,
+ GSW_EU_ECALL_MSD_TRANS_STATUS_FAILURE = 1,
+} gsw_eu_ecall_msd_trans_status_e;
+
+typedef void (*gsw_eu_ecall_status_cb_f)(uint32_t id, gsw_eu_ecall_msd_trans_status_e status);
+
+
+/**
+* @brief init the Europe Ecall voice
+* @param [in] None
+* @param [out] None
+* @retval GSW_HAL_SUCCESS\GSW_HAL_FAIL
+*/
+int32_t gsw_eu_ecall_voice_init(void);
+
+/**
+* @brief deinit the Europe Ecall voice
+* @param [in] None
+* @param [out] None
+* @retval GSW_HAL_SUCCESS\GSW_HAL_FAIL
+*/
+int32_t gsw_eu_ecall_voice_deinit(void);
+
+/**
+* @brief start a Europe Ecall
+* @param [in] gsw_eu_ecall_info_t *p_info: ecall info
+* @param [out] None
+* @retval GSW_HAL_SUCCESS\GSW_HAL_FAIL
+*/
+int32_t gsw_eu_ecall_start(gsw_eu_ecall_info_t *p_info);
+
+/**
+* @brief hangup a Europe Ecall
+* @param [in] None
+* @param [out] None
+* @retval GSW_HAL_SUCCESS\GSW_HAL_FAIL
+*/
+int32_t gsw_eu_ecall_hangup(void);
+
+/**
+* @brief update msd data
+* @param [in] uint8_t *msd: msd data
+* @param [in] uint32_t msd_len: msd data length
+* @param [out] None
+* @retval GSW_HAL_SUCCESS\GSW_HAL_FAIL
+*/
+int32_t gsw_eu_ecall_updateMsd(const uint8_t *msd, uint32_t msd_len);
+
+/**
+* @brief using push mode send msd data
+* @param [in] GSW_EU_ECALL_STATE_E state: ecall state
+* @param [out] None
+* @retval GSW_HAL_SUCCESS\GSW_HAL_FAIL
+*/
+int32_t gsw_eu_ecall_pushMsd(gsw_eu_ecall_state_e state);
+
+/**
+* @brief get ecall config
+* @param [in] None
+* @param [out] gsw_eu_ecall_config_t *p_config: ecall config
+* @retval GSW_HAL_SUCCESS\GSW_HAL_FAIL
+*/
+int32_t gsw_eu_ecall_getConfig(gsw_eu_ecall_config_t *p_config);
+
+/**
+* @brief set ecall config
+* @param [in] int32_t item: config item
+* @param [in] gsw_eu_ecall_config_t *p_config: config info
+* @param [out] None
+* @retval GSW_HAL_SUCCESS\GSW_HAL_FAIL
+*/
+int32_t gsw_eu_ecall_setConfig(int32_t item, gsw_eu_ecall_config_t *p_config);
+
+/**
+* @brief register the ecall event callback
+* @param [in] gsw_eu_ecall_event_cb_f cb: callback
+* @param [out] None
+* @retval GSW_HAL_SUCCESS\GSW_HAL_FAIL
+*/
+int32_t gsw_eu_ecall_setEventCB(gsw_eu_ecall_event_cb_f cb);
+
+/**
+* @brief register the ecall status callback
+* @p:callback
+* @param [out] None
+* @retval GSW_HAL_SUCCESS\GSW_HAL_FAIL
+*/
+int32_t gsw_eu_ecall_setStatusCB(gsw_eu_ecall_status_cb_f cb);
+
+
+
+
+
+
+
+
+
diff --git a/mbtk/include/gsw/gsw_gnss.h b/mbtk/include/gsw/gsw_gnss.h
index 90508f6..a8acd4d 100755
--- a/mbtk/include/gsw/gsw_gnss.h
+++ b/mbtk/include/gsw/gsw_gnss.h
@@ -19,29 +19,25 @@
GSW_FREQ_2HZ = 2, /**< 2hZ */
GSW_FREQ_5HZ = 5, /**< 5hZ */
GSW_FREQ_10HZ = 10, /**< 10hZ */
-}GSW_FREQ_TYPE_T;
-
+}gnss_freq_type;
typedef enum{
- GSW_MODE_GPS = 1, /**< GPS only */
- GSW_MODE_BEIDOU, /**< BEIDOU only*/
+ GSW_MODE_GPS_GLONASS = 0, /**< GPS+GLONASS */
GSW_MODE_GPS_BEIDOU, /**< GPS+BEIDOU */
- GSW_MODE_GLONASS, /**< GLONASS only */ /* The high-tech platform does not support this type */
- GSW_MODE_GPS_GLONASS, /**< GPS+GLONASS */
- GSW_MODE_GLONASS_BEIDOU, /**< GLONASS+BEIDOU */ /* The high-tech platform does not support this type */
- GSW_MODE_GPS_GLONASS_BEIDOU, /**< GPS+GLONASS+BEIDOU */ /* The high-tech platform does not support this type */
- GSW_MODE_GALILEO, /**< GALILEO only */
- GSW_MODE_GPS_GALILEO, /**< GPS+GALILEO */
- GSW_MODE_BEIDOU_GALILEO, /**< BEIDOU+GALILEO */
- GSW_MODE_GPS_BEIDOU_GALILEO, /**< GPS+BEIDOU+GALILEO */
- GSW_MODE_GLONASS_GALILEO, /**< GLONASS+GALILEO */
- GSW_MODE_GPS_GLONASS_GALILEO, /**< GPS+GLONASS+GALILEO */
- GSW_MODE_BEIDOU_GLONASS_GALILEO, /**< BEIDOU+GLONASS+GALILEO */ /* The high-tech platform does not support this type */
+ GSW_MODE_GPS_GLONASS_BEIDOU, /**< GPS+GLONASS+BEIDOU */ /* The type does not support this type */
+ GSW_MODE_GPS, /**< GPS only */
+ GSW_MODE_BEIDOU, /**< BEIDOU only*/
+ GSW_MODE_GLONASS, /**< GLONASS only */
+ GSW_MODE_GPS_GLONASS_BEIDOU_GALILEO, /**< GPS+GLONASS+BEIDOU+GALILEO */ /* The type does not support this type */
+ GSW_MODE_GPS_GALILEO, /**< GPS+GALILEO */
+ GSW_MODE_GPS_GLONASS_GALILEO, /**< GPS+GLONASS+GALILEO */
+ GSW_MODE_GPS_GALILEO_ONLY, /**< GPS or GALILEO only */
+ GSW_MODE_GPS_GLONASS_BEIDOU_GALILEO_NAVIC, /**< GPS+GLONASS+BEIDOU+GALILEO+NAVIC */ /* The type does not support this type */
+ GSW_MODE_GNSS_END /**< init value */
}GSW_GNSS_MODE_CONFIGURATION;
-
typedef struct
{
/**< set to sizeof(GpsLocation) */
@@ -88,7 +84,7 @@
typedef struct{
GSW_GNSS_MODE_CONFIGURATION start_mode;
-GSW_FREQ_TYPE_T freq;
+gnss_freq_type freq;
gsw_gnss_cb callback;
}gsw_gnss_init_configure_t;
@@ -100,7 +96,7 @@
* @retval 0: success
* @retval other: fail
*/
-int32_t gsw_gnss_set_freq(int32_t freq);
+int gsw_gnss_set_freq(int freq);
/**
* @brief SDK interface to initialization gnss
@@ -108,7 +104,7 @@
* @retval 0: success
* @retval other: fail
*/
-int32_t gsw_gnss_init(void);
+int gsw_gnss_init(void);
/**
* @brief SDK interface to start gnss
@@ -116,7 +112,7 @@
* @retval 0: success
* @retval other: fail
*/
-int32_t gsw_gnss_start(void);
+int gsw_gnss_start(void);
/**
* @brief SDK interface to stop gnss
@@ -124,7 +120,7 @@
* @retval 0: success
* @retval other: fail
*/
-int32_t gsw_gnss_stop(void);
+int gsw_gnss_stop(void);
/**
* @brief SDK interface to de initialization gnss
@@ -132,7 +128,7 @@
* @retval 0: success
* @retval other: fail
*/
-int32_t gsw_gnss_deinit(void);
+int gsw_gnss_deinit(void);
/**
* @brief SDK interface to set gnss start mode,specific mode refreence GSW_HAL_GNSS_MODE_CONFIGURATION
@@ -140,7 +136,7 @@
* @retval 0: success
* @retval other: fail
*/
-int32_t gsw_gnss_set_start_mode(GSW_GNSS_MODE_CONFIGURATION start_mode);
+int gsw_gnss_set_start_mode(GSW_GNSS_MODE_CONFIGURATION start_mode);
/**
* @brief SDK interface to set EPO switch if open or close
@@ -148,7 +144,7 @@
* @retval 0: success
* @retval other: fail
*/
-int32_t gsw_gnss_epo_switch(GSW_GNSS_CONF_SWITCH switch_op); /* The high-tech platform does not support this type */
+int gsw_gnss_epo_switch(GSW_GNSS_CONF_SWITCH switch_op); /* The high-tech platform does not support this type */
/**
* @brief SDK interface to registered callback function
@@ -156,7 +152,7 @@
* @retval 0: success
* @retval other: fail
*/
-int32_t gsw_gnss_reg_cb_group(gsw_gnss_cb callback);
+int gsw_gnss_reg_cb_group(gsw_gnss_cb callback);
/**
* @brief SDK interface to enable XTRA switch
@@ -164,7 +160,7 @@
* @retval 0: success
* @retval other: fail
*/
-int32_t gsw_gnss_xtra_is_enable(gsw_xtra_state_e state);
+int gsw_gnss_xtra_is_enable(gsw_xtra_state_e state);
/**
* @brief SDK interface to delete aiding data,delete aiding data for cold start
@@ -172,7 +168,7 @@
* @retval 0: success
* @retval other: fail
*/
-int32_t gsw_gnss_delete_aiding_data(unsigned int flags);
+int gsw_gnss_delete_aiding_data(unsigned int flags);
/**
* @brief init and configure gps
@@ -180,5 +176,5 @@
* @retval 0: success
* @retval other: fail
*/
-int32_t gsw_gnss_init_configure_gps(gsw_gnss_init_configure_t init_configure);
+int gsw_gnss_init_configure_gps(gsw_gnss_init_configure_t init_configure);
diff --git a/mbtk/include/gsw/gsw_gpio.h b/mbtk/include/gsw/gsw_gpio.h
index e3737aa..d49cacc 100755
--- a/mbtk/include/gsw/gsw_gpio.h
+++ b/mbtk/include/gsw/gsw_gpio.h
@@ -28,7 +28,7 @@
* @param [in]gsw_hal_pinPullSel pullsel
* @retval GSW_HAL_SUCCESS\GSW_HAL_FAIL
*/
-int32_t gsw_gpio_Init(uint32_t gpioNum, gsw_hal_pinDirection dir, gsw_hal_pinLevel level);
+int32_t gsw_gpio_Init(uint32_t gpioNum, gsw_hal_pinDirection dir, gsw_hal_pinLevel level, gsw_hal_pinPullSel pullsel);
/**
diff --git a/mbtk/include/gsw/gsw_hal_errcode.h b/mbtk/include/gsw/gsw_hal_errcode.h
new file mode 100755
index 0000000..7eafd24
--- /dev/null
+++ b/mbtk/include/gsw/gsw_hal_errcode.h
@@ -0,0 +1,222 @@
+/**
+* @file : gsw_hal_errcode.h
+* @brief : common hal error code
+* @date : 2022-07-05
+* @author : Wind
+* @version : v1.0
+* @copyright Copyright(C) 2022,Geely
+*/
+#ifndef __GSW_HAL_ERRCODE__H__
+#define __GSW_HAL_ERRCODE__H__
+#include <stdint.h>
+
+#define GSW_HAL_SUCCESS (0x0000)
+
+//common error code
+#define GSW_HAL_NORMAL_FAIL (-0x0001)
+#define GSW_HAL_FUNC_UNSUPPORT (-0x0002)
+
+#define GSW_HAL_ARG_INVALID (-0x0011)
+#define GSW_HAL_NO_MEMORY (-0x0012)
+
+//GPIO
+
+//AT
+
+//GNSS
+#define GSW_HAL_GNSS_SUCCESS GSW_HAL_SUCCESS
+#define GSW_HAL_ERROR_GNSS_BASE (-0x0200) /**< Base value for GNSS errors. */
+#define GSW_HAL_ERROR_GNSS_FAIL (-0x0201) /**< Generic failure. */
+#define GSW_HAL_ERROR_GNSS_MCM_SERVICES_NOT_AVAILABLE (-0x0202) /**< MCM services not available. */
+#define GSW_HAL_ERROR_GNSS_GENERIC (-0x0203) /**< Generic error. */
+#define GSW_HAL_ERROR_GNSS_BADPARM (-0x0204) /**< Bad parameter. */
+#define GSW_HAL_ERROR_GNSS_MEMORY (-0x0205) /**< Memory error. */
+#define GSW_HAL_ERROR_GNSS_INVALID_STATE (-0x0206) /**< Invalid state. */
+#define GSW_HAL_ERROR_GNSS_MALFORMED_MSG (-0x0207) /**< Malformed message. */
+#define GSW_HAL_ERROR_GNSS_NO_MEMORY (-0x0208) /**< No memory. */
+#define GSW_HAL_ERROR_GNSS_INTERNAL (-0x0209) /**< Internal error. */
+#define GSW_HAL_ERROR_GNSS_ABORTED (-0x020a) /**< Action was aborted. */
+#define GSW_HAL_ERROR_GNSS_CLIENT_IDS_EXHAUSTED (-0x020b) /**< Client IDs have been exhausted. */
+#define GSW_HAL_ERROR_GNSS_UNABORTABLE_TRANSACTION (-0x020c) /**< Unabortable transaction. */
+#define GSW_HAL_ERROR_GNSS_INVALID_CLIENT_ID (-0x020d) /**< Invalid client ID. */
+#define GSW_HAL_ERROR_GNSS_NO_THRESHOLDS (-0x020e) /**< No thresholds. */
+#define GSW_HAL_ERROR_GNSS_INVALID_HANDLE (-0x020f) /**< Invalid handle. */
+#define GSW_HAL_ERROR_GNSS_INVALID_PROFILE (-0x0210) /**< Invalid profile. */
+#define GSW_HAL_ERROR_GNSS_INVALID_PINID (-0x0211) /**< Invalid PIN ID. */
+#define GSW_HAL_ERROR_GNSS_INCORRECT_PIN (-0x0212) /**< Incorrect PIN. */
+#define GSW_HAL_ERROR_GNSS_NO_NETWORK_FOUND (-0x0213) /**< No network found. */
+#define GSW_HAL_ERROR_GNSS_CALL_FAILED (-0x0214) /**< Call failed. */
+#define GSW_HAL_ERROR_GNSS_OUT_OF_CALL (-0x0215) /**< Out of call. */
+#define GSW_HAL_ERROR_GNSS_NOT_PROVISIONED (-0x0216) /**< Not provisioned. */
+#define GSW_HAL_ERROR_GNSS_MISSING_ARG (-0x0217) /**< Missing argument. */
+#define GSW_HAL_ERROR_GNSS_ARG_TOO_LONG (-0x0218) /**< Argument is too long. */
+#define GSW_HAL_ERROR_GNSS_INVALID_TX_ID (-0x0219) /**< Invalid Tx ID. */
+#define GSW_HAL_ERROR_GNSS_DEVICE_IN_USE (-0x021a) /**< Device is in use. */
+#define GSW_HAL_ERROR_GNSS_OP_NETWORK_UNSUPPORTED (-0x021b) /**< OP network is not supported. */
+#define GSW_HAL_ERROR_GNSS_OP_DEVICE_UNSUPPORTED (-0x021c) /**< OP device is not supported. */
+#define GSW_HAL_ERROR_GNSS_NO_EFFECT (-0x021d) /**< No effect. */
+#define GSW_HAL_ERROR_GNSS_NO_FREE_PROFILE (-0x021e) /**< No free profile. */
+#define GSW_HAL_ERROR_GNSS_INVALID_PDP_TYPE (-0x021f) /**< Invalid PDP type. */
+#define GSW_HAL_ERROR_GNSS_INVALID_TECH_PREF (-0x0220) /**< Invalid technical preference. */
+#define GSW_HAL_ERROR_GNSS_INVALID_PROFILE_TYPE (-0x0221) /**< Invalid profile type. */
+#define GSW_HAL_ERROR_GNSS_INVALID_SERVICE_TYPE (-0x0222) /**< Invalid service type. */
+#define GSW_HAL_ERROR_GNSS_INVALID_REGISTER_ACTION (-0x0223) /**< Invalid register action. */
+#define GSW_HAL_ERROR_GNSS_INVALID_PS_ATTACH_ACTION (-0x0224) /**< Invalid PS attach action. */
+#define GSW_HAL_ERROR_GNSS_AUTHENTICATION_FAILED (-0x0225) /**< Authentication failed. */
+#define GSW_HAL_ERROR_GNSS_PIN_BLOCKED (-0x0226) /**< PIN is blocked. */
+#define GSW_HAL_ERROR_GNSS_PIN_PERM_BLOCKED (-0x0227) /**< PIN is permanently blocked. */
+#define GSW_HAL_ERROR_GNSS_SIM_NOT_INITIALIZED (-0x0228) /**< SIM is not initialized. */
+#define GSW_HAL_ERROR_GNSS_MAX_QOS_REQUESTS_IN_USE (-0x0229) /**< Maximum QoS requests are in use. */
+#define GSW_HAL_ERROR_GNSS_INCORRECT_FLOW_FILTER (-0x022a) /**< Incorrect flow filter. */
+#define GSW_HAL_ERROR_GNSS_NETWORK_QOS_UNAWARE (-0x022b) /**< Network QoS is unaware. */
+#define GSW_HAL_ERROR_GNSS_INVALID_ID (-0x022c) /**< Invalid ID. */
+#define GSW_HAL_ERROR_GNSS_INVALID_QOS_ID (-0x022d) /**< Invalid QoS ID. */
+#define GSW_HAL_ERROR_GNSS_REQUESTED_NUM_UNSUPPORTED (-0x022e) /**< Requested number is not supported. */
+#define GSW_HAL_ERROR_GNSS_INTERFACE_NOT_FOUND (-0x022f) /**< Interface was not found. */
+#define GSW_HAL_ERROR_GNSS_FLOW_SUSPENDED (-0x0230) /**< Flow is suspended. */
+#define GSW_HAL_ERROR_GNSS_INVALID_DATA_FORMAT (-0x0231) /**< Invalid data format. */
+#define GSW_HAL_ERROR_GNSS_GENERAL (-0x0232) /**< General error. */
+#define GSW_HAL_ERROR_GNSS_UNKNOWN (-0x0233) /**< Unknown error. */
+#define GSW_HAL_ERROR_GNSS_INVALID_ARG (-0x0234) /**< Invalid argument. */
+#define GSW_HAL_ERROR_GNSS_INVALID_INDEX (-0x0235) /**< Invalid index. */
+#define GSW_HAL_ERROR_GNSS_GET_DIALED_INFO (-0x0236) /**< NO dialed. */
+#define GSW_HAL_ERROR_GNSS_GET_APN (-0x0237) /**< Get apn fail. */
+#define GSW_HAL_ERROR_GNSS_DATA_CALL_DISCONNECT (-0x0238) /**< Disconnect data-call. */
+#define GSW_HAL_ERROR_GNSS_DATA_CALL_DEINIT (-0x0239) /**< Deinit data-call. */
+#define GSW_HAL_ERROR_GNSS_REPEAT_DATA_CALL (-0x023a) /**< Repeat data-call. */
+#define GSW_HAL_ERROR_GNSS_API_UNSUPPORTED (-0x023b) /**< GNSS api interface unsupport. */
+#define GSW_HAL_ERROR_GNSS_NOT_INITIALIZED (-0x023c) /**< GNSS not inited. */
+#define GSW_HAL_ERROR_GNSS_INVALID_REQUEST (-0x023d) /**< Invalid request. */
+#define GSW_HAL_ERROR_GNSS_XTRA_TIME_UPFATE_FAIL (-0x023e) /**< xtra time update fail. */
+#define GSW_HAL_ERROR_GNSS_XTRA_FILE_DOWNLOAD_FAIL (-0x023f) /**< xtra file download fail. */
+#define GSW_HAL_ERROR_GNSS_XTRA_INJECT_DATA_FAIL (-0x0240) /**< xtra data inject fail. */
+#define GSW_HAL_ERROR_GNSS_XTRA_DATA_CALL_DISABLE_FAIL (-0x0241) /**< data call disable fail. */
+
+//PIN
+
+//NW
+
+//OTA
+#define GSW_HAL_ERROR_OTA_BASE (-0x0300)
+#define GSW_HAL_ERROR_OTA_FAIL (-0x0301)
+#define GSW_HAL_ERROR_OTA_TIMEOUT (-0x0302) /**< ota install timeout */
+#define GSW_HAL_ERROR_OTA_INPROCESS (-0x0303) /**< ota install in process */
+#define GSW_HAL_ERROR_OTA_NO_TASK (-0x0304) /**< ota install no task */
+
+//PM
+
+//VOICE
+
+//WIFI
+#define GSW_HAL_WIFI_API_SUCCESS GSW_HAL_SUCCESS /**< Success. */
+#define GSW_HAL_ERROR_WIFI_API_BASE (-0x0400)
+#define GSW_HAL_ERROR_WIFI_API_FAIL (-0x0401)
+#define GSW_HAL_ERROR_WIFI_API_ERROR_MCM_SERVICES_NOT_AVAILABLE (-0x0402) /**< MCM services not available. */
+#define GSW_HAL_ERROR_WIFI_API_ERROR_GENERIC (-0x0403) /**< Generic error. */
+#define GSW_HAL_ERROR_WIFI_API_ERROR_BADPARM (-0x0404) /**< Bad parameter. */
+#define GSW_HAL_ERROR_WIFI_API_ERROR_MEMORY (-0x0405) /**< Memory error. */
+#define GSW_HAL_ERROR_WIFI_API_ERROR_INVALID_STATE (-0x0406) /**< Invalid state. */
+#define GSW_HAL_ERROR_WIFI_API_ERROR_MALFORMED_MSG (-0x0407) /**< Malformed message. */
+#define GSW_HAL_ERROR_WIFI_API_ERROR_NO_MEMORY (-0x0408) /**< No memory. */
+#define GSW_HAL_ERROR_WIFI_API_ERROR_INTERNAL (-0x0409) /**< Internal error. */
+#define GSW_HAL_ERROR_WIFI_API_ERROR_ABORTED (-0x040a) /**< Action was aborted. */
+#define GSW_HAL_ERROR_WIFI_API_ERROR_CLIENT_IDS_EXHAUSTED (-0x040b) /**< Client IDs have been exhausted. */
+#define GSW_HAL_ERROR_WIFI_API_ERROR_UNABORTABLE_TRANSACTION (-0x040c) /**< Unabortable transaction. */
+#define GSW_HAL_ERROR_WIFI_API_ERROR_INVALID_CLIENT_ID (-0x040d) /**< Invalid client ID. */
+#define GSW_HAL_ERROR_WIFI_API_ERROR_NO_THRESHOLDS (-0x040e) /**< No thresholds. */
+#define GSW_HAL_ERROR_WIFI_API_ERROR_INVALID_HANDLE (-0x040f) /**< Invalid handle. */
+#define GSW_HAL_ERROR_WIFI_API_ERROR_INVALID_PROFILE (-0x0410) /**< Invalid profile. */
+#define GSW_HAL_ERROR_WIFI_API_ERROR_INVALID_PINID (-0x0411) /**< Invalid PIN ID. */
+#define GSW_HAL_ERROR_WIFI_API_ERROR_INCORRECT_PIN (-0x0412) /**< Incorrect PIN. */
+#define GSW_HAL_ERROR_WIFI_API_ERROR_NO_NETWORK_FOUND (-0x0413) /**< No network found. */
+#define GSW_HAL_ERROR_WIFI_API_ERROR_CALL_FAILED (-0x0414) /**< Call failed. */
+#define GSW_HAL_ERROR_WIFI_API_ERROR_OUT_OF_CALL (-0x0415) /**< Out of call. */
+#define GSW_HAL_ERROR_WIFI_API_ERROR_NOT_PROVISIONED (-0x0416) /**< Not provisioned. */
+#define GSW_HAL_ERROR_WIFI_API_ERROR_MISSING_ARG (-0x0417) /**< Missing argument. */
+#define GSW_HAL_ERROR_WIFI_API_ERROR_ARG_TOO_LONG (-0x0418) /**< Argument is too long. */
+#define GSW_HAL_ERROR_WIFI_API_ERROR_INVALID_TX_ID (-0x0419) /**< Invalid Tx ID. */
+#define GSW_HAL_ERROR_WIFI_API_ERROR_DEVICE_IN_USE (-0x041a) /**< Device is in use. */
+#define GSW_HAL_ERROR_WIFI_API_ERROR_OP_NETWORK_UNSUPPORTED (-0x041b) /**< OP network is not supported. */
+#define GSW_HAL_ERROR_WIFI_API_ERROR_OP_DEVICE_UNSUPPORTED (-0x041c) /**< OP device is not supported. */
+#define GSW_HAL_ERROR_WIFI_API_ERROR_NO_EFFECT (-0x041d) /**< No effect. */
+#define GSW_HAL_ERROR_WIFI_API_ERROR_NO_FREE_PROFILE (-0x041e) /**< No free profile. */
+#define GSW_HAL_ERROR_WIFI_API_ERROR_INVALID_PDP_TYPE (-0x041f) /**< Invalid PDP type. */
+#define GSW_HAL_ERROR_WIFI_API_ERROR_INVALID_TECH_PREF (-0x0420) /**< Invalid technical preference. */
+#define GSW_HAL_ERROR_WIFI_API_ERROR_INVALID_PROFILE_TYPE (-0x0421) /**< Invalid profile type. */
+#define GSW_HAL_ERROR_WIFI_API_ERROR_INVALID_SERVICE_TYPE (-0x0422) /**< Invalid service type. */
+#define GSW_HAL_ERROR_WIFI_API_ERROR_INVALID_REGISTER_ACTION (-0x0423) /**< Invalid register action. */
+#define GSW_HAL_ERROR_WIFI_API_ERROR_INVALID_PS_ATTACH_ACTION (-0x0424) /**< Invalid PS attach action. */
+#define GSW_HAL_ERROR_WIFI_API_ERROR_AUTHENTICATION_FAILED (-0x0425) /**< Authentication failed. */
+#define GSW_HAL_ERROR_WIFI_API_ERROR_PIN_BLOCKED (-0x0426) /**< PIN is blocked. */
+#define GSW_HAL_ERROR_WIFI_API_ERROR_PIN_PERM_BLOCKED (-0x0427) /**< PIN is permanently blocked. */
+#define GSW_HAL_ERROR_WIFI_API_ERROR_SIM_NOT_INITIALIZED (-0x0428) /**< SIM is not initialized. */
+#define GSW_HAL_ERROR_WIFI_API_ERROR_MAX_QOS_REQUESTS_IN_USE (-0x0429) /**< Maximum QoS requests are in use. */
+#define GSW_HAL_ERROR_WIFI_API_ERROR_INCORRECT_FLOW_FILTER (-0x042a) /**< Incorrect flow filter. */
+#define GSW_HAL_ERROR_WIFI_API_ERROR_NETWORK_QOS_UNAWARE (-0x042b) /**< Network QoS is unaware. */
+#define GSW_HAL_ERROR_WIFI_API_ERROR_INVALID_ID (-0x042c) /**< Invalid ID. */
+#define GSW_HAL_ERROR_WIFI_API_ERROR_INVALID_QOS_ID (-0x042d) /**< Invalid QoS ID. */
+#define GSW_HAL_ERROR_WIFI_API_ERROR_REQUESTED_NUM_UNSUPPORTED (-0x042e) /**< Requested number is not supported. */
+#define GSW_HAL_ERROR_WIFI_API_ERROR_INTERFACE_NOT_FOUND (-0x042f) /**< Interface was not found. */
+#define GSW_HAL_ERROR_WIFI_API_ERROR_FLOW_SUSPENDED (-0x0430) /**< Flow is suspended. */
+#define GSW_HAL_ERROR_WIFI_API_ERROR_INVALID_DATA_FORMAT (-0x0431) /**< Invalid data format. */
+#define GSW_HAL_ERROR_WIFI_API_ERROR_GENERAL (-0x0432) /**< General error. */
+#define GSW_HAL_ERROR_WIFI_API_ERROR_UNKNOWN (-0x0433) /**< Unknown error. */
+#define GSW_HAL_ERROR_WIFI_API_ERROR_INVALID_ARG (-0x0434) /**< Invalid argument. */
+#define GSW_HAL_ERROR_WIFI_API_ERROR_INVALID_INDEX (-0x0435) /**< Invalid index. */
+
+//Security
+#define GSW_HAL_ERROR_TEE_SUCCESS (GSW_HAL_SUCCESS) /** SUCCESS */
+#define GSW_HAL_ERROR_TEE_INIT_FAILED (-0x00700) /** INIT FALIED */
+#define GSW_HAL_ERROR_TEE_FAILED (-0x00701) /** FAILED */
+#define GSW_HAL_ERROR_TEE_HANDLE (-0x00702) /** Input/output pointer is null */
+#define GSW_HAL_ERROR_TEE_DATATYPE (-0x00703) /** The specified data type does not exist */
+#define GSW_HAL_ERROR_TEE_DATASIZE (-0x00704) /** Input data size exceeds the limit */
+#define GSW_HAL_ERROR_TEE_FILENAMESIZE (-0x00705) /** Input filename size exceeds the limit */
+#define GSW_HAL_ERROR_TEE_NOTSUPPORT (-0x00706) /** function not support */
+#define GSW_HAL_ERROR_TEE_SFS_WRITE (-0x00707) /** An error occurred while writing data to the security file*/
+#define GSW_HAL_ERROR_TEE_SFS_WRITESIZE (-0x00708) /** The actual write was not equal expected */
+#define GSW_HAL_ERROR_TEE_SFS_WRITE_LIMIT (-0x00709) /** The total memory of Secure file exceeds the limit */
+#define GSW_HAL_ERROR_TEE_SFS_READ (-0x0070a) /** An error occurred while reading data to the security file */
+#define GSW_HAL_ERROR_TEE_SFS_READSIZE (-0x0070b) /** The actual read was larger than expected */
+#define GSW_HAL_ERROR_TEE_SFS_FILE_NOEXIST (-0x0070c) /** Not found the secure file */
+#define GSW_HAL_ERROR_TEE_SFS_FILE_DELETE (-0x0070d) /** Failed to delete the file */
+#define GSW_HAL_ERROR_TEE_AES_KEYSIZE (-0x0070e) /** The specified AES key size is incorrect */
+#define GSW_HAL_ERROR_TEE_AES_IVSIZE (-0x0070f) /** The specified AES IV size is incorrect */
+#define GSW_HAL_ERROR_TEE_AES_MODE (-0x00710) /** The specified AES mode is incorrect */
+#define GSW_HAL_ERROR_TEE_AES_PADDING (-0x00711) /** The specified AES padding is incorrect */
+#define GSW_HAL_ERROR_TEE_AES_ENC (-0x00712) /** The specified AES encryption is incorrect */
+#define GSW_HAL_ERROR_TEE_AES_DEC (-0x00713) /** The specified AES decryption is incorrect */
+#define GSW_HAL_ERROR_TEE_AES_CMAC (-0x00714) /** The specified AES cmac is incorrect */
+#define GSW_HAL_ERROR_TEE_AES_IMP (-0x00715) /** The specified AES import is incorrect */
+#define GSW_HAL_ERROR_TEE_RSA_KEYSIZE (-0x00716) /** The specified RSA key size is incorrect */
+#define GSW_HAL_ERROR_TEE_RSA_EXP (-0x00717) /** The specified RSA exp is incorrect */
+#define GSW_HAL_ERROR_TEE_RSA_SHAID (-0x00718) /** The specified RSA sha mode is incorrect */
+#define GSW_HAL_ERROR_TEE_RSA_PADDING (-0x00719) /** The specified RSA padding is incorrect */
+#define GSW_HAL_ERROR_TEE_RSA_ENC (-0x0071a) /** The specified RSA encryption is incorrect */
+#define GSW_HAL_ERROR_TEE_RSA_DEC (-0x0071b) /** The specified RSA decryption is incorrect */
+#define GSW_HAL_ERROR_TEE_RSA_SIGN (-0x0071c) /** The specified RSA sign is incorrect */
+#define GSW_HAL_ERROR_TEE_RSA_VERIFY (-0x0071d) /** The specified RSA verify is incorrect */
+#define GSW_HAL_ERROR_TEE_RSA_IMP (-0x0071e) /** The specified RSA import is incorrect */
+#define GSW_HAL_ERROR_TEE_ECC_KEYSIZE (-0x0071f) /** The specified ECC key size is incorrect */
+#define GSW_HAL_ERROR_TEE_ECC_SHAID (-0x00720) /** The specified ECC sha mode is incorrect */
+#define GSW_HAL_ERROR_TEE_ECC_SIGN (-0x00721) /** The specified ECC sign is incorrect */
+#define GSW_HAL_ERROR_TEE_ECC_VERIFY (-0x00722) /** The specified ECC verify is incorrect */
+#define GSW_HAL_ERROR_TEE_ECC_IMP (-0x00723) /** The specified ECC import is incorrect */
+#define GSW_HAL_ERROR_TEE_SHA_ID (-0x00724) /** The specified SHA mode is incorrect */
+#define GSW_HAL_ERROR_TEE_SHA (-0x00725) /** The specified SHA is incorrect */
+#define GSW_HAL_ERROR_TEE_RANDOM (-0x00726) /** The specified RANDOM is incorrect */
+
+//file
+#define GSW_HAL_ERROR_FILE_BASE (-0x0500)
+#define GSW_HAL_ERROR_FILE_NONE (-0x0501)
+#define GSW_HAL_ERROR_FILE_POPEN (-0x0502)
+#define GSW_HAL_ERROR_FILE_OPEN (-0x0503)
+#define GSW_HAL_ERROR_FILE_WRITE (-0x0504)
+#define GSW_HAL_ERROR_FILE_READ (-0x0505)
+
+//uart
+#define GSW_HAL_ERROR_UART_BASE (-0x0600)
+#define GSW_HAL_ERROR_UART_ERROR (-0x0601)
+#define GSW_HAL_ERROR_UART_TIMEOUT (-0x0602)
+
+#endif
diff --git a/mbtk/include/gsw/gsw_nw.h b/mbtk/include/gsw/gsw_nw.h
new file mode 100755
index 0000000..7399146
--- /dev/null
+++ b/mbtk/include/gsw/gsw_nw.h
@@ -0,0 +1,762 @@
+#include <stdlib.h>
+#include <stdint.h>
+#include <string.h>
+#include <stdbool.h>
+#include <stdio.h>
+
+//gsw include
+#define GSW_HAL_SUCCESS 0
+#define GSW_HAL_FAIL -1
+#define GSW_HAL_MEM_INVAILD -2
+#define GSW_NW_OPERATION_NAME_LEN 128
+#define GSW_NW_PLMN_LEN 6
+#define GSW_NW_MCC_LEN 3
+#define GSW_NW_MNC_LEN 3
+#define GSW_NW_PARA_MAX_LEN 128
+#define GSW_MCC_MAX_LEN 16
+#define GSW_MNC_MAX_LEN 16
+#define GSW_APN_CHANNEL_MAX 10
+#define GSW_POXY_ADDR_MAX_LEN 64
+#define GSW_PDP_TYPE_MAX_LEN 16
+#define GSW_APN_MAX_LEN 65
+#define GSW_APN_ID_MAX_LEN 32
+#define GSW_APN_TYPE_MAX_LEN 50
+#define GSW_USR_MAX_LEN 16
+#define GSW_PWD_MAX_LEN 16
+#define GSW_AUTH_TYPE_MAX_LEN 50
+#define GSW_PROTOCO_MAX_LEN 64
+#define GSW_CARRIER_ID_MAX_LEN 64
+#define GSW_IFACE_NAME_MAX_LEN 50
+#define GSW_PDP_ADDR_MAX_LEN 64
+#define GSW_DNS_ADDR_MAX_LEN 64
+#define GSW_GETWAYS_ADDR_MAX_LEN 64
+#define GSW_RSP_MAX_LEN 256
+#define GSW_PLMN_LIST_MAX_LEN 64
+#define MAX_CELL_EXT_INFO (5)
+
+
+
+typedef enum service_domain
+{
+ GSW_SRV_DOMAIN_NO_SVC = 0x0, /**< no service */
+ GSW_SRV_DOMAIN_CS_ONLY = 0x1, /**< cs only */
+ GSW_SRV_DOMAIN_PS_ONLY = 0x2, /**< ps only */
+ GSW_SRV_DOMAIN_CS_PS = 0x3, /**< reg all in service */
+} GSW_SERVICE_DOMAIN_E;
+
+typedef enum gsw_network_reg_state
+{
+ GSW_NETWORK_REG_NOT_REGISTERED = 0x0, /**< no service */
+ GSW_NETWORK_REG_REGISTERED = 0x1, /**< reg in service home */
+ GSW_NETWORK_REG_NOT_REGISTERED_SEARCHING = 0x2, /**< searching network */
+ GSW_NETWORK_REG_REGISTRATION_DENIED = 0x3, /**< network denny device */
+ GSW_NETWORK_REG_REGISTRATION_UNKNOWN = 0x4, /**< unknown state */
+ GSW_NETWORK_REG_REGISTRATION_ROAMING = 0x5, /**< roaming state in service */
+ GSW_NETWORK_REG_LIMITED_SERVICE = 0x6, /**< limited service */
+} GSW_NW_REG_STATE_E;
+
+typedef enum gsw_network_radio_interface
+{
+ GSW_NETWORK_RADIO_NO_SVC = 0x0, /**< radio state no service */
+ GSW_NETWORK_RADIO_CDMA_1X = 0x1, /**< cdma 1x */
+ GSW_NETWORK_RADIO_CDMA_1XEVDO = 0x2, /**< cdma evdo */
+ GSW_NETWORK_RADIO_AMPS = 0x3, /**< amps gsm 2g*/
+ GSW_NETWORK_RADIO_GSM = 0x4, /**< gsm */
+ GSW_NETWORK_RADIO_UMTS = 0x5, /**< umts wcdma*/
+ GSW_NETWORK_RADIO_LTE = 0x6, /**< LTE 4G */
+ GSW_NETWORK_RADIO_TDSCDMA = 0x7, /**< TDS 3G*/
+ GSW_NETWORK_RADIO_NR5G = 0x8, /**< NR 5G*/
+} GSW_NW_RADIO_ACCESS_TECH_E;
+
+
+typedef enum gsw_network_roaming_state
+{
+ GSW_NETWORK_ROAMING_OFF = 0x0, /**< roaming off */
+ GSW_NETWORK_ROAMING_ON = 0x1, /**< roaming on*/
+} GSW_NW_ROAMING_STATE_E;
+
+typedef enum oprate_mode
+{
+ GSW_OP_MODE_LPM = 0, /**< radio state off*/
+ GSW_OP_MODE_ONLINE = 1, /**< radio state on*/
+ GSW_OP_MODE_FTM = 2, /**< radio state ftm*/
+ GSW_OP_MODE_OFFLINE = 3, /**< radio state offline*/
+} OPERATE_MODE_E;
+
+typedef enum prefer_mode
+{
+ GSW_PREFER_MODE_GSW = 1, /**<2G only*/
+ GSW_PREFER_MODE_WCDMA = 2, /**< 3G only*/
+ GSW_PREFER_MODE_WCDMA_GSM = 3, /**< 3G/2G*/
+ GSW_PREFER_MODE_LTE = 4, /**< 4G only*/
+ GSW_PREFER_MODE_NR5G = 5, /**< 5G only*/
+ GSW_PREFER_MODE_NR5G_LTE = 8, /**< 5G/4G*/
+ GSW_PREFER_MODE_LTE_WCDMA_GSM = 9, /**< 4G/3G/2G*/
+ GSW_PREFER_MODE_NR5G_LTE_WCDMA_GSM = 32, /**< 5G/4G/3G/2G*/
+} PREFER_MODE_E;
+
+typedef enum gsw_hal_nw_mode_state_type
+{
+ GSW_MODEM_STATE_UNKNOWN = 0,
+ GSW_MODEM_STATE_ONLINE,
+ GSW_MODEM_STATE_OFFLINE,
+ GSW_SDK_STATE_SERVICE_DOWN,
+ GSW_SDK_STATE_SERVICE_UP,// service down->up 需要routectl 重启
+ GSW_SDK_STATE_GPS_DOWN,
+ GSW_SDK_STATE_GPS_UP,
+} gsw_mode_state_e;
+
+
+typedef struct
+{
+ GSW_NW_RADIO_ACCESS_TECH_E rej_rat; /**< current network radio tech*/
+ GSW_SERVICE_DOMAIN_E rej_domain; /**< reject code from ps or cs*/
+ int rej_cause; /**< reject code number*/
+} GSW_NW_REJ_CAUSE_E;
+
+typedef struct
+{
+ int32_t gw_sig_valid; /**< 1 valid,1 invalid*/
+ int32_t rssi; /**< Valid values are (0-31, 99) as defined in TS 27.007 8.5 */
+ int32_t wcdma_sig_valid;/**< 1 valid,0 invalid*/
+ int32_t rscp; /**< The Received Signal Code Power in dBm multipled by -1.
+ * Range : 25 to 120
+ * INT_MAX: 0x7FFFFFFF denotes invalid value.
+ * Reference: 3GPP TS 25.123, section 9.1.1.1 */
+ int32_t ecno; /**< Valid values are positive integers. This value is the actual Ec/Io multiplied
+ * by -10. Example: If the actual Ec/Io is -12.5 dB, then this response value
+ * will be 125.*/
+ int32_t lte_sig_valid;/**< 1 valid,0 invalid*/
+ int32_t rsrp; /**< The current Reference Signal Receive Power in dBm multipled by -1.
+ * Range: 44 to 140 dBm
+ * INT_MAX: 0x7FFFFFFF denotes invalid value.
+ * Reference: 3GPP TS 36.133 9.1.4 */
+ int32_t rsrq; /**< The current Reference Signal Receive Quality in dB multiplied by -1.
+ * Range: 20 to 3 dB.
+ * INT_MAX: 0x7FFFFFFF denotes invalid value.
+ * Reference: 3GPP TS 36.133 9.1.7 */
+ int32_t rssnr; /**< The current reference signal signal-to-noise ratio in 0.1 dB units.
+ * Range: -200 to +300 (-200 = -20.0 dB, +300 = 30dB).
+ * INT_MAX : 0x7FFFFFFF denotes invalid value.
+ * Reference: 3GPP TS 36.101 8.1.1 */
+ int32_t nr_sig_valid;/**<1 valid,0 invalid*/
+ int32_t ssRsrp; /**< SS(Synchronization Signal) reference signal received power, multipled by -1.
+ * Reference: 3GPP TS 38.215.
+ * Range [44, 140], INT_MAX means invalid/unreported.*/
+ int32_t ssRsrq; /**< SS reference signal received quality, multipled by -1.
+ * Reference: 3GPP TS 38.215.
+ * Range [3, 20], INT_MAX means invalid/unreported.*/
+ int32_t ssSinr; /**< SS signal-to-noise and interference ratio.
+ * Reference: 3GPP TS 38.215 section 5.1.*, 3GPP TS 38.133 section 10.1.16.1.
+ * Range [-23, 40], INT_MAX means invalid/unreported.*/
+ int32_t csiRsrp; /**< CSI reference signal received power, multipled by -1.
+ * Reference: 3GPP TS 38.215.
+ * Range [44, 140], INT_MAX means invalid/unreported.*/
+ int32_t csiRsrq; /**< CSI reference signal received quality, multipled by -1.
+ * Reference: 3GPP TS 38.215.
+ * Range [3, 20], INT_MAX means invalid/unreported.*/
+ int32_t csiSinr; /**< CSI signal-to-noise and interference ratio.
+ * Reference: 3GPP TS 138.215 section 5.1.*, 3GPP TS 38.133 section 10.1.16.1.
+ * Range [-23, 40], INT_MAX means invalid/unreported.*/
+} signalStrength_t;
+
+typedef struct
+{
+ GSW_NW_REG_STATE_E reg_state; /**< network cs regstate*/
+ GSW_NW_REG_STATE_E ps_state; /**< network ps regstate*/
+ GSW_NW_RADIO_ACCESS_TECH_E reg_rat; /**< current radio state*/
+ GSW_SERVICE_DOMAIN_E srv_domain; /**< current cs or ps state*/
+ GSW_NW_ROAMING_STATE_E roaming_ind; /**< roaming state*/
+ char reg_plmn[GSW_NW_PLMN_LEN + 1]; /**< current cell plmn*/
+ char operator_name[GSW_NW_OPERATION_NAME_LEN + 1]; /**< operator name*/
+ char cell_id[128]; /**< cell id*/
+ char tac[128]; /**< cell tac*/
+ char lac[128]; /**< cell lac*/
+ int sid; /**< cell sid cdma*/
+ int nid; /**< cell nid cdma*/
+} GSW_NW_SERVING_INFO;
+
+
+typedef struct
+{
+ char long_eons[128]; /* Full name of the operator*/
+ char short_eons[128]; /* Shor name of the operator*/
+ char mcc[4]; /* Mobile country code*/
+ char mnc[4]; /* Mobile network code*/
+}gsw_mobile_operator_name;
+
+
+typedef struct
+{
+ unsigned char cell_id_valid;
+ unsigned char pci_valid;
+ unsigned char psc_valid;
+ unsigned char band_valid;
+ unsigned char arfcn_valid;
+ unsigned char rssi_valid;
+ unsigned char rsrp_valid;
+ unsigned char rsrq_valid;
+ unsigned char sinr_valid;
+ unsigned char rscp_valid;
+ unsigned char ecio_valid;
+ GSW_NW_RADIO_ACCESS_TECH_E rat;
+ unsigned int cell_id;
+ int pci;
+ int psc;
+ int band;
+ int arfcn;
+ int rssi;
+ int rsrp;
+ int rsrq;
+ int sinr;
+ int rscp;
+ int ecio;
+ char mcc[5];
+ char mnc[5];
+} GSW_NW_CELL_EXT_INFO;
+
+typedef struct
+{
+ GSW_NW_RADIO_ACCESS_TECH_E rat; /**< current radio state*/
+
+ unsigned char mcc_valid;
+ char mcc[5];
+
+ unsigned char mnc_valid;
+ char mnc[5];
+
+ unsigned char cell_id_valid;
+ unsigned int cell_id; /**< cell id*/
+
+ unsigned char pci_valid;
+ int pci; /**<physical cell id*/
+
+ unsigned char psc_valid;
+ int psc; /*wcdma primary scramble code*/
+
+ unsigned char nrarfcn_valid;
+ int nrarfcn; /*nr cell freq*/
+
+ unsigned char earfcn_valid;
+ int earfcn; /*lte cell freq*/
+
+ unsigned char uarfcn_valid;
+ int uarfcn; /*wcdma cell freq*/
+
+ unsigned char arfcn_valid;
+ int arfcn; /*gsw cell freq*/
+
+ unsigned char tac_valid;
+ unsigned int tac; /**< cell tac*/
+
+ unsigned char lac_valid;
+ unsigned int lac; /**< cell lac*/
+
+ unsigned char sid_valid;
+ int sid; /**< cell sid cdma*/
+
+ unsigned char nid_valid;
+ int nid; /**< cell nid cdma*/
+
+ unsigned char lteMode_valid;
+ int lteMode; /*tdd 0, fdd 1*/
+
+ unsigned char rssi_valid;
+ int rssi; /**< Valid values are (0-31, 99) as defined in TS 27.007 8.5 */
+
+ unsigned char rscp_valid;
+ int rscp; /**< The Received Signal Code Power in dBm multipled by -1.
+ * Range : 25 to 120
+ * INT_MAX: 0x7FFFFFFF denotes invalid value.
+ * Reference: 3GPP TS 25.123, section 9.1.1.1 */
+
+ unsigned char ecio_valid;
+ int ecio; /**< Valid values are positive integers. This value is the actual Ec/Io multiplied
+ * by -10. Example: If the actual Ec/Io is -12.5 dB, then this response value
+ * will be 125.*/
+
+ unsigned char rsrp_valid;
+ int rsrp; /**< The current Reference Signal Receive Power in dBm multipled by -1.
+ * Range: 44 to 140 dBm
+ * INT_MAX: 0x7FFFFFFF denotes invalid value.
+ * Reference: 3GPP TS 36.133 9.1.4 */
+
+ unsigned char rsrq_valid;
+ int rsrq; /**< The current Reference Signal Receive Quality in dB multiplied by -1.
+ * Range: 20 to 3 dB.
+ * INT_MAX: 0x7FFFFFFF denotes invalid value.
+ * Reference: 3GPP TS 36.133 9.1.7 */
+
+ unsigned char rssnr_valid;
+ int rssnr; /**< The current reference signal signal-to-noise ratio in 0.1 dB units.
+ * Range: -200 to +300 (-200 = -20.0 dB, +300 = 30dB).
+ * INT_MAX : 0x7FFFFFFF denotes invalid value.
+ * Reference: 3GPP TS 36.101 8.1.1 */
+
+ unsigned char band_valid;
+ int band;
+
+ unsigned char bler_valid;
+ int bler; /*bit error rate*/
+
+ GSW_NW_CELL_EXT_INFO ext_info[MAX_CELL_EXT_INFO]; /* Used to hold neighborhood information for service cells. */
+} GSW_NW_CELL_INFO;
+
+typedef struct {
+ char mcc[GSW_MCC_MAX_LEN];
+ char mnc[GSW_MNC_MAX_LEN];
+} gsw_nw_plmn_t;
+
+
+typedef struct {
+ int plmn_list_len;
+ gsw_nw_plmn_t plmn_list[GSW_PLMN_LIST_MAX_LEN];
+} gsw_nw_plmn_list_t;
+
+typedef void (* GSW_NW_ServingInfoHandlePtr)(GSW_NW_SERVING_INFO serving_info);
+typedef void (* GSW_NW_SigInfoHandlePtr)(signalStrength_t sig_info);
+typedef void (* GSW_NW_RejectCauseHandlePtr)(GSW_NW_REJ_CAUSE_E *rej_cause);
+typedef void (* GSW_NW_AirplaneModeHandlePtr)(int32_t airplane_mode);
+typedef void (* GSW_NW_ModemStateHandlePtr)(gsw_mode_state_e state);
+
+
+/*--------------------------------------------------------------------------------------------------------------------*/
+/* Data call */
+/*--------------------------------------------------------------------------------------------------------------------*/
+#define GSW_MCC_MAX_LEN 16
+#define GSW_MNC_MAX_LEN 16
+#define GSW_APN_CHANNEL_MAX 10
+#define GSW_POXY_ADDR_MAX_LEN 64
+#define GSW_PDP_TYPE_MAX_LEN 16
+#define GSW_APN_MAX_LEN 65
+#define GSW_APN_ID_MAX_LEN 32
+#define GSW_APN_TYPE_MAX_LEN 50
+#define GSW_USR_MAX_LEN 16
+#define GSW_PWD_MAX_LEN 16
+#define GSW_AUTH_TYPE_MAX_LEN 50
+#define GSW_PROTOCO_MAX_LEN 64
+#define GSW_CARRIER_ID_MAX_LEN 64
+#define GSW_IFACE_NAME_MAX_LEN 50
+#define GSW_PDP_ADDR_MAX_LEN 64
+#define GSW_DNS_ADDR_MAX_LEN 64
+#define GSW_GETWAYS_ADDR_MAX_LEN 64
+#define GSW_RSP_MAX_LEN 256
+
+typedef struct {
+ int handle; /**< data connection handle*/
+ int cid; /**< data connection cid*/
+ int state; /**< data connection state*/
+ int fail_cause; /**< data connection fail cause*/
+ char *type; /**< data connection type*/
+ char *ifname; /**< ifname*/
+
+ char *v4_ip; /**< ipv4 address*/
+ char *v4_pdns; /**< ipv4 pdns address*/
+ char *v4_sdns; /**< ipv4 sdns address*/
+ char *v4_gw; /**< ipv4 gateway address*/
+
+ char *v6_ip; /**< ipv6 address*/
+ char *v6_pdns; /**< ipv6 gateway address*/
+ char *v6_sdns; /**< ipv6 gateway address*/
+}Wan_State_ind_s;
+
+typedef struct {
+ char ip[GSW_PDP_ADDR_MAX_LEN]; /**< ip address */
+ char pdns[GSW_DNS_ADDR_MAX_LEN]; /**< pdns address*/
+ char sdns[GSW_DNS_ADDR_MAX_LEN]; /**< sdns address*/
+ char gw[GSW_GETWAYS_ADDR_MAX_LEN]; /**< gate way address*/
+}V4_Addr_s;
+
+typedef struct {
+ char ip[GSW_PDP_ADDR_MAX_LEN]; /**< ip address*/
+ char pdns[GSW_DNS_ADDR_MAX_LEN]; /**< pdns address*/
+ char sdns[GSW_DNS_ADDR_MAX_LEN]; /**< sdns address*/
+}V6_Addr_s;
+
+typedef struct {
+ int handle; /**< data connection handle*/
+
+ /* req info */
+ char mcc[GSW_MCC_MAX_LEN]; /**< apn mcc value*/
+ char mnc[GSW_MNC_MAX_LEN]; /**< apn mnc value*/
+ char apnid[GSW_APN_ID_MAX_LEN]; /**< apn id*/
+ char apn[GSW_APN_MAX_LEN]; /**< apn name*/
+ char apnType[GSW_APN_TYPE_MAX_LEN]; /**< apn type ipv4 ipv4v6 ipv6*/
+ char usr[GSW_USR_MAX_LEN]; /**< apn usr name*/
+ char pwd[GSW_PWD_MAX_LEN]; /**< apn password*/
+ char authType[GSW_AUTH_TYPE_MAX_LEN]; /**< apn auth type*/
+ char normalProtocol[GSW_PROTOCO_MAX_LEN]; /**< apn auth protoco*/
+ char roamingProtocol[GSW_PROTOCO_MAX_LEN]; /**< apn auth protoco roaming*/
+ char carrier[GSW_CARRIER_ID_MAX_LEN]; /**< carrier id*/
+
+ /* rsp */
+ int cid; /**< data connection cid for mdm sdk*/
+ int active; /**< pdn context active state: 2,actived; other,not active */
+ char ifname[GSW_IFACE_NAME_MAX_LEN]; /**< if name of current datalink */
+ int type; /**< data connection type*/
+ V4_Addr_s v4; /**< ipv4 addr*/
+ V6_Addr_s v6; /**< ipv6 addr*/
+ int mtu; /**< mtu value*/
+
+ char out[GSW_RSP_MAX_LEN]; /**< sdk return value*/
+}Link_Info_s;
+
+typedef struct
+{
+ uint64_t tx_pkts; /* the number of packet sent*/
+ uint64_t tx_bytes; /* the number of packet sent bytes */
+ uint64_t tx_dropped_pkts; /* the number of packet dropped by sent*/
+ uint64_t rx_pkts; /* the number of packet received*/
+ uint64_t rx_bytes; /* the number of packet receivedbytes */
+ uint64_t rx_dropped_pkts; /* the number of packet dropped by received*/
+}gsw_data_pkt_stats;
+
+
+typedef void (*gsw_data_call_evt_cb_t)(Wan_State_ind_s *linkState);
+
+
+/*--------------------------------------------------------------------------------------------------------------------*/
+/* sim */
+/*--------------------------------------------------------------------------------------------------------------------*/
+
+typedef enum sim_status
+{
+ SIM_STATUS_ABSENT = 0, /**< sim absent*/
+ SIM_STATUS_PRESENT = 1, /**< sim present mtk as ready*/
+ SIM_STATUS_ERROR = 2, /**< sim error*/
+ SIM_STATUS_READY = 3, /**< sim state ready mtk no this value*/
+ SIM_STATUS_PIN = 4, /**< pinlock status*/
+} sim_status_e_type;
+
+
+
+/**
+ * @brief SDK interface to call back serving info
+ * @param [in] handle_ptr
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_reg_serving_info_callback(GSW_NW_ServingInfoHandlePtr handle_ptr);
+
+/**
+ * @brief SDK interface to call back sig info
+ * @param [in] handle_ptr
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_reg_sig_info_callback(GSW_NW_SigInfoHandlePtr handle_ptr);
+
+/**
+ * @brief SDK interface to call back rej cause
+ * @param [in] handle_ptr
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_reg_rej_cause_callback(GSW_NW_RejectCauseHandlePtr handle_ptr);
+
+/**
+ * @brief network sdk init
+ * @param [in] token usr id define by who use
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_nw_sdk_init(int token);
+
+/**
+ * @brief network sdk deinit
+ * @param
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_nw_sdk_deinit(void);
+
+/**
+ * @brief get current network reg info
+ * @param [out] serving_info struct for network info
+ * include regstate ps_state opreator name mcc mcn etc
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_get_nwinfo(GSW_NW_SERVING_INFO *serving_info);
+
+/**
+ * @brief get current network type
+ * @param [out] netype as GSW_NW_RADIO_ACCESS_TECH_E type
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_get_netype(int32_t *netype);
+
+/**
+ * @brief get radio opmode, as open and close airplane mode
+ * @param [out] op_mode 1 is radio on, 0 is radio off
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_get_opmode(int *op_mode);
+
+/**
+ * @brief set radio opmode, as open and close airplane mode
+ * @param [in] op_mode 1 is radio on, 0 is radio off
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_set_opmode(int32_t op_mode);
+
+/**
+ * @brief get network mode preference of mdm search network scale
+ * @param [out] mode_pref net_work pref mode:
+ * enum prefer_mode
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_get_mode_preference(int32_t *mode_pref);
+
+/**
+ * @brief set network mode preference of mdm search network scale
+ * @param [in] mode_pref net_work pref mode:
+ * enum prefer_mode
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_set_mode_preference(int32_t mode_pref);
+
+/**
+ * @brief get signal csq value
+ * @param [out] csq_value csq of signalstrengh 0 - 31, 99 invalid
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_get_sig_info(int32_t *csq_value);
+
+/**
+ * @brief set nework power mode, for tcam enter standby or exit standby
+ * @param [in] mode TRUE(1) when enter standby, FALSE(0) after wake up
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_network_set_power_mode(int8_t mode);
+
+/**
+ * @brief convert rsrp rscp rssi to csq value.
+ * @param [in] netType signal radio tech 2 means 2G 3 mens 3G,4 is 4G,5 is 5G
+ * @param [in] sigvalue input signal_strength for different nettype
+ * rsrp for 4G/5G, rscp for 3G, rssi for 2G
+
+ * @retval csq
+ * @retval other: fail
+ */
+int gsw_sigInfo_to_csq(int32_t netType, int32_t sigValue);
+
+/*
+ * @brief get PLMNs from the FPLMN list
+ * @param [inout] plmn_list:
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_get_forbidden_networks(gsw_nw_plmn_list_t *plmn_list);
+
+/*
+ * @brief add PLMNs from the plmn_list to the FPLMN list
+ * @param [in] plmn_list:
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_add_forbidden_networks(gsw_nw_plmn_list_t *plmn_list);
+
+/*
+ * @brief Remove PLMNs from the plmn_list from the FPLMN list
+ * @param [in] plmn_list:
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_remove_forbidden_networks(gsw_nw_plmn_list_t *plmn_list);
+
+/*
+ * @brief clear FPLMN list
+ * @param
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_clear_forbidden_networks(void);
+
+
+
+/*
+ * @brief get mobile operator name
+ @param [out] nw_operator_name_infos get the long and short operator name info
+ @retval 0: success
+ @retval 0: other: fail
+ */
+int gsw_get_mobile_operator_name(gsw_mobile_operator_name *nw_operator_name_infos);
+
+
+
+/*
+ * @brief set modem status event callback
+ @param [in] handle_ptr callback function address
+ @retval 0: success
+ @retval 0: other: fail
+ */
+int gsw_reg_set_modem_status_event_callback(GSW_NW_ModemStateHandlePtr handle_ptr);
+
+
+/*
+ * @brief get current serving cell info
+ * @param cell_info: [out] struct for current cell info
+ * include earfcn mcc mnc pci psc tac lac etc.
+ * @return int: 0 is success, other failed
+ */
+int gsw_get_cell_info(GSW_NW_CELL_INFO *cell_info);
+
+/**
+ * @brief datacall sdk init
+ * @param [in] evt_cb callback function for data connection state change event
+ * call back;
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_data_call_init(gsw_data_call_evt_cb_t evt_cb);
+
+
+/**
+ * @brief data_call sdk deinit
+ * @param
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_data_call_deinit(void);
+
+/**
+ * @brief set apn parameters for data call
+ * @param [in/out] LinkInf apn info for pub or private datacall
+ * inlcude apn name mcc mnc, passwork apnid type cid etc
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_data_call_set_apn(Link_Info_s *LinkInf);
+
+
+/**
+ * @brief set apn parameters for data call
+ * @param [in] linkid data connetion link number
+ * @param [in/out] LinkInf link info req: apn info for pub or private datacall
+ * inlcude apn name mcc mnc, passwork apnid etc
+ * resp: data call link state ipaddress type etc
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_data_call_connect(int linkid, Link_Info_s *LinkInf);
+
+
+/**
+ * @brief set apn parameters for data call
+ * @param [in] linkid
+ * @param [in/out] LinkInf link info req: apn info for pub or private datacall
+ * inlcude apn name mcc mnc, passwork apnid etc
+ * resp: data call link state ipaddress type etc
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_data_call_disconnect(int linkid, Link_Info_s *LinkInf);
+
+
+
+/*
+ * @brief get mobile operator name
+ @param [in] linkid apn id
+ @param [out] data_pkt obtian actual data call network card data traffic
+ @retval 0: success
+ @retval 0: other: fail
+ */
+int gsw_get_data_call_pkt_stats(int linkid, gsw_data_pkt_stats *data_pkt);
+
+
+/**
+ * @brief sim sdk init
+ * @param [in] token usr id define by who use
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_sim_sdk_init(int32_t token);
+
+
+/**
+ * @brief sim sdk deinit
+ * @param
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_sim_sdk_deinit(void);
+
+/**
+ * @brief get sim state
+ * @param [out] sim_state sim status as sim_status_e_type
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_get_sim_status(int32_t *sim_state);
+
+/**
+ * @brief get iccid function
+ * @param [in] len iccid length,max is 20
+ * @param [out] iccid return iccid from this func
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_get_sim_iccid(int32_t len, int8_t *iccid);
+
+/**
+ * @brief get imsi function
+ * @param [in] len imsi length,max is 20
+ * @param [out] iccid return imsi from this func
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_get_sim_imsi(int32_t len, int8_t *imsi);
+
+/**
+ * @brief get sim msisdn function
+ * @param [in] len msisdn length,max is 20
+ * @param [out] msisdn msisdn length,max is 20
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_get_sim_msisdn(int32_t len, int8_t *msisdn);
+
+/**
+ * @brief get imei function
+ * @param [in] len imei length,max is 20
+ * @param [out] imei return imei from this func
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_get_imei(int32_t len, int8_t *imei);
+
+/**
+ * @brief set sim power down
+ * @param
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_set_sim_power_down(void);
+
+/**
+ * @brief set sim power up
+ * @param
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_set_sim_power_up(void);
+
+/**
+ * @brief reset modem stack only, notice: after use this method, all ril sdk
+ * need restart by app, means network, sim, sms, data need deinit then init!
+ * @param
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_reset_modem(void);
+
+
+
diff --git a/mbtk/include/gsw/gsw_nw_interface.h b/mbtk/include/gsw/gsw_nw_interface.h
new file mode 100755
index 0000000..b3e0326
--- /dev/null
+++ b/mbtk/include/gsw/gsw_nw_interface.h
@@ -0,0 +1,1027 @@
+/**
+* @file : gsw_nw_interface.h
+* @brief : sim and apn
+* @date :
+* @author : wind
+* @version : v1.0
+* @copyright
+*/
+#ifndef GSW_NWINFO_INTERFACE_H
+#define GSW_NWINFO_INTERFACE_H
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <stdbool.h>
+#include <string.h>
+#include <unistd.h>
+#include <pthread.h>
+#include "gsw_hal_errcode.h"
+
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
+#define GSWOL_5G_SDK
+
+#define GSW_NW_OPERATION_NAME_LEN (32)
+#define GSW_NW_PLMN_LEN (6)
+#define GSW_NW_MCC_LEN (3)
+#define GSW_NW_MNC_LEN (3)
+#define GSW_NW_SUCCESS GSW_HAL_SUCCESS
+#define GSW_NW_FAIL GSW_HAL_NORMAL_FAIL
+
+#define GSW_MCC_MAX_LEN (16)
+#define GSW_MNC_MAX_LEN (16)
+#define GSW_APN_CHANNEL_MAX (10)
+#define GSW_POXY_ADDR_MAX_LEN (64)
+#define GSW_PDP_TYPE_MAX_LEN (16)
+#define GSW_APN_MAX_LEN (32)
+#define GSW_APN_ID_MAX_LEN (32)
+#define GSW_APN_TYPE_MAX_LEN (50)
+#define GSW_USR_MAX_LEN (16)
+#define GSW_PWD_MAX_LEN (16)
+#define GSW_AUTH_TYPE_MAX_LEN (50)
+#define GSW_PROTOCO_MAX_LEN (64)
+#define GSW_CARRIER_ID_MAX_LEN (64)
+#define GSW_IFACE_NAME_MAX_LEN (50)
+#define GSW_PDP_ADDR_MAX_LEN (64)
+#define GSW_DNS_ADDR_MAX_LEN (64)
+#define GSW_GETWAYS_ADDR_MAX_LEN (64)
+#define GSW_RSP_MAX_LEN (256)
+
+#define DATA_TOKEN (2022)
+
+#define MAX_CELL_EXT_INFO (5)
+
+#ifndef uint8_t
+typedef unsigned char uint8_t;
+#endif
+
+typedef enum roaming_status
+{
+ WAN_ROAM_STATUS_UNKOWN = 0, /**< init value */
+ WAN_ROAM_STATUS_HOME = 1, /**< china home */
+ WAN_ROAM_STATUS_INTERNAL = 2, /**< china roaming */
+ WAN_ROAM_STATUS_INTERNATIONA = 3, /**< other country roaming */
+} roaming_status_e_type;
+
+typedef enum gsw_network_roaming_state
+{
+ GSW_NETWORK_ROAMING_OFF = 0x0, /**< roaming off */
+ GSW_NETWORK_ROAMING_ON = 0x1, /**< roaming on*/
+} GSW_NW_ROAMING_STATE_E;
+
+typedef enum service_domain
+{
+ GSW_SRV_DOMAIN_NO_SVC = 0x0, /**< no service */
+ GSW_SRV_DOMAIN_CS_ONLY = 0x1, /**< cs only */
+ GSW_SRV_DOMAIN_PS_ONLY = 0x2, /**< ps only */
+ GSW_SRV_DOMAIN_CS_PS = 0x3, /**< reg all in service */
+} GSW_SERVICE_DOMAIN_E;
+
+typedef enum gsw_network_reg_state
+{
+ GSW_NETWORK_REG_NOT_REGISTERED = 0x0, /**< no service */
+ GSW_NETWORK_REG_REGISTERED = 0x1, /**< reg in service home */
+ GSW_NETWORK_REG_NOT_REGISTERED_SEARCHING = 0x2, /**< searching network */
+ GSW_NETWORK_REG_REGISTRATION_DENIED = 0x3, /**< network denny device */
+ GSW_NETWORK_REG_REGISTRATION_UNKNOWN = 0x4, /**< unknown state */
+ GSW_NETWORK_REG_REGISTRATION_ROAMING = 0x5, /**< roaming state in service */
+ GSW_NETWORK_REG_LIMITED_SERVICE = 0x6, /**< limited service */
+} GSW_NW_REG_STATE_E;
+
+typedef enum gsw_network_radio_interface
+{
+ GSW_NETWORK_RADIO_NO_SVC = 0x0, /**< radio state no service */
+ GSW_NETWORK_RADIO_CDMA_1X = 0x1, /**< cdma 1x */
+ GSW_NETWORK_RADIO_CDMA_1XEVDO = 0x2, /**< cdma evdo */
+ GSW_NETWORK_RADIO_AMPS = 0x3, /**< amps gsm 2g*/
+ GSW_NETWORK_RADIO_GSM = 0x4, /**< gsm */
+ GSW_NETWORK_RADIO_UMTS = 0x5, /**< umts wcdma*/
+ GSW_NETWORK_RADIO_LTE = 0x6, /**< LTE 4G */
+ GSW_NETWORK_RADIO_TDSCDMA = 0x7, /**< TDS 3G*/
+ GSW_NETWORK_RADIO_NR5G = 0x8, /**< NR 5G*/
+} GSW_NW_RADIO_ACCESS_TECH_E;
+
+typedef enum data_conn_status
+{
+ DIAL_STATUS_MIN_ENUM_VAL = -1, /**< default value*/
+ DIAL_STATUS_CONNECTING = 0, /**< data connecting*/
+ DIAL_STATUS_CONNECTED = 1, /**< data conneted*/
+ DIAL_STATUS_DISCONNECTING = 2, /**< data disconnecting*/
+ DIAL_STATUS_DISCONNECTED = 3, /**< data disconnected*/
+ DIAL_STATUS_MAX_ENUM_VAL, /**< default max value*/
+} data_conn_status_e_type;
+
+typedef enum sim_status
+{
+ SIM_STATUS_ABSENT = 0, /**< sim absent*/
+ SIM_STATUS_PRESENT = 1, /**< sim present mtk as ready*/
+ SIM_STATUS_ERROR = 2, /**< sim error*/
+ SIM_STATUS_READY = 3, /**< sim state ready mtk no this value*/
+ SIM_STATUS_PIN = 4, /**< pinlock status*/
+} sim_status_e_type;
+
+typedef enum oprate_mode
+{
+ GSW_OP_MODE_LPM = 0, /**< radio state off*/
+ GSW_OP_MODE_ONLINE = 1, /**< radio state on*/
+ GSW_OP_MODE_FTM = 2, /**< radio state ftm*/
+ GSW_OP_MODE_OFFLINE = 3, /**< radio state offline*/
+} OPERATE_MODE_E;
+
+typedef struct
+{
+ unsigned char cell_id_valid;
+ unsigned char pci_valid;
+ unsigned char psc_valid;
+ unsigned char band_valid;
+ unsigned char arfcn_valid;
+ unsigned char rssi_valid;
+ unsigned char rsrp_valid;
+ unsigned char rsrq_valid;
+ unsigned char sinr_valid;
+ unsigned char rscp_valid;
+ unsigned char ecio_valid;
+ GSW_NW_RADIO_ACCESS_TECH_E rat;
+ unsigned int cell_id;
+ int pci;
+ int psc;
+ int band;
+ int arfcn;
+ int rssi;
+ int rsrp;
+ int rsrq;
+ int sinr;
+ int rscp;
+ int ecio;
+ char mcc[5];
+ char mnc[5];
+} GSW_NW_CELL_EXT_INFO;
+
+typedef struct
+{
+ GSW_NW_RADIO_ACCESS_TECH_E rat; /**< current radio state*/
+
+ uint8_t mcc_valid;
+ char mcc[5];
+ uint8_t mnc_valid;
+ char mnc[5];
+ uint8_t cell_id_valid;
+ unsigned int cell_id; /**< cell id*/
+ uint8_t pci_valid;
+ int pci; /**<physical cell id*/
+ uint8_t psc_valid;
+ int psc; /**<wcdma primary scramble code*/
+ uint8_t narfcn_valid;
+ int narfcn; /**<nr cell freq*/
+ uint8_t earfcn_valid;
+ int earfcn; /**<lte cell freq*/
+ uint8_t uarfcn_valid;
+ int uarfcn; /**<wcdma cell freq*/
+ uint8_t arfcn_valid;
+ int arfcn; /**<gsw cell freq*/
+ uint8_t tac_valid;
+ unsigned int tac; /**< cell tac*/
+ uint8_t lac_valid;
+ unsigned int lac; /**< cell lac*/
+ uint8_t sid_valid;
+ int sid; /**< cell sid cdma*/
+ uint8_t nid_valid;
+ int nid; /**< cell nid cdma*/
+ uint8_t lteMode_valid;
+ int lteMode; /**<tdd 0, fdd 1*/
+
+ uint8_t rssi_valid;
+ int rssi; /**< Valid values are (0-31, 99) as defined in TS 27.007 8.5 */
+
+ uint8_t rscp_valid;
+ int rscp; /**< The Received Signal Code Power in dBm multipled by -1.
+ * Range : 25 to 120
+ * INT_MAX: 0x7FFFFFFF denotes invalid value.
+ * Reference: 3GPP TS 25.123, section 9.1.1.1 */
+
+ uint8_t ecio_valid;
+ int ecio; /**< Valid values are positive integers. This value is the actual Ec/Io multiplied
+ * by -10. Example: If the actual Ec/Io is -12.5 dB, then this response value
+ * will be 125.*/
+
+ uint8_t rsrp_valid;
+ int rsrp; /**< The current Reference Signal Receive Power in dBm multipled by -1.
+ * Range: 44 to 140 dBm
+ * INT_MAX: 0x7FFFFFFF denotes invalid value.
+ * Reference: 3GPP TS 36.133 9.1.4 */
+
+ uint8_t rsrq_valid;
+ int rsrq; /**< The current Reference Signal Receive Quality in dB multiplied by -1.
+ * Range: 20 to 3 dB.
+ * INT_MAX: 0x7FFFFFFF denotes invalid value.
+ * Reference: 3GPP TS 36.133 9.1.7 */
+
+ uint8_t rssnr_valid;
+ int rssnr; /**< The current reference signal signal-to-noise ratio in 0.1 dB units.
+ * Range: -200 to +300 (-200 = -20.0 dB, +300 = 30dB).
+ * INT_MAX : 0x7FFFFFFF denotes invalid value.
+ * Reference: 3GPP TS 36.101 8.1.1 */
+
+ uint8_t band_valid;
+ int band;
+
+ uint8_t bler_valid;
+ int bler; /**<bit error rate*/
+ int ext_info_len; /**<ext_info len*/
+ GSW_NW_CELL_EXT_INFO ext_info[MAX_CELL_EXT_INFO];
+
+} GSW_NW_CELL_INFO;
+
+typedef struct
+{
+ GSW_NW_REG_STATE_E reg_state; /**< network cs regstate*/
+ GSW_NW_REG_STATE_E ps_state; /**< network ps regstate*/
+ GSW_NW_RADIO_ACCESS_TECH_E reg_rat; /**< current radio state*/
+ GSW_SERVICE_DOMAIN_E srv_domain; /**< current cs or ps state*/
+ GSW_NW_ROAMING_STATE_E roaming_ind; /**< roaming state*/
+ char reg_plmn[GSW_NW_PLMN_LEN + 1]; /**< current cell plmn*/
+ char operator_name[GSW_NW_OPERATION_NAME_LEN + 1]; /**< operator name*/
+ char cell_id[128]; /**< cell id*/
+ char tac[128]; /**< cell tac*/
+ char lac[128]; /**< cell lac*/
+ int sid; /**< cell sid cdma*/
+ int nid; /**< cell nid cdma*/
+} GSW_NW_SERVING_INFO;
+
+typedef struct
+{
+ GSW_NW_RADIO_ACCESS_TECH_E rej_rat; /**< current network radio tech*/
+ GSW_SERVICE_DOMAIN_E rej_domain; /**< reject code from ps or cs*/
+ int rej_cause; /**< reject code number*/
+} GSW_NW_REJ_CAUSE_E;
+
+typedef enum
+{
+ SMS_FORMAT_GSM_7BIT = 0, /**< 7bit econde*/
+ SMS_FORMAT_BINARY_DATA = 1, /**< 8bit binary encode*/
+ SMS_FORMAT_UCS2 = 2, /**< ucs2 encode*/
+}gsw_sms_format_e;
+
+typedef struct
+{
+ unsigned char year[5]; /**< year of date*/
+ unsigned char month[3]; /**< month of date*/
+ unsigned char day[3]; /**< day of date*/
+ unsigned char hour[3]; /**< hour of time*/
+ unsigned char minutes[3]; /**< minute of time*/
+ unsigned char seconds[3]; /**< second of time*/
+ unsigned char timezone[4]; /**< timezone*/
+}gsw_sms_date_t;
+
+#define GSW_SMS_SEND_NUM_MAX 5 /**< dest num max count */
+#define GSW_SMS_ADDRESS_LEN 32 /**< one dest number max length*/
+#define GSW_SMS_CONCAT_SMS_COUNT_MAX 160 /**< one page max bytes*/
+#define GSW_SMS_MSG_CONTENT_LEN_MAX 3 /**< sms page max count*/
+#define GSW_SMS_CONTENT_LEN_MAX 3 /**< newmsg recv one page*/
+#define GSW_SMS_SEND_CONT_MAX (GSW_SMS_MSG_CONTENT_LEN_MAX*GSW_SMS_CONCAT_SMS_COUNT_MAX*2) /**< sms send max len*/
+#define GSW_SMS_RECV_CONT_MAX 1440 /**< sms receive max len*/
+
+typedef struct
+{
+ char src_num[GSW_SMS_ADDRESS_LEN+1]; /**< sms phone num send msg*/
+ char dest_num[GSW_SMS_ADDRESS_LEN + 1]; /**< sms phone num recv msg*/
+ gsw_sms_format_e content_encode; /**< sms content is 7bit or 8bit or Ucs2 encode*/
+ unsigned int content_len; /**< sms content size*/
+ char content[GSW_SMS_RECV_CONT_MAX + 1]; /**< sms content*/
+ gsw_sms_date_t date; /**< message time*/
+}gsw_sms_msg_type_t;
+
+typedef struct
+{
+ gsw_sms_format_e content_encode; /**< content encode*/
+ int content_len; /**< content len*/
+ char content[GSW_SMS_RECV_CONT_MAX + 1]; /**< sms content*/
+ gsw_sms_date_t date; /**< sms date */
+} gsw_sms_content_t;
+
+typedef enum
+{
+ GSW_SMS_FULL_FLG, /**< sms full flag*/
+ GSW_SMS_RECEIVED_FLG, /**<recv new sms flag*/
+}gsw_sms_state_e;
+
+/*--------------------------------------------------------------------------------------------------------------------*/
+/* Data call adaptation layer struct */
+/*--------------------------------------------------------------------------------------------------------------------*/
+#define LINK0 (0) /**< public use APN2 or APN3 */
+#define LINK1 (1) /**< private use APN1 */
+#define LINK2 (2) /**< public use APN2 or APN3 */
+#define MAX_LINKS (3)
+
+#define INACTIVED (0)
+#define ACTIVED (2)
+
+#define TYPE_IPV4 (0)
+#define TYPE_IPV6 (1)
+#define TYPE_IPV4V6 (2)
+
+typedef struct {
+ char ip[GSW_PDP_ADDR_MAX_LEN]; /**< ip address */
+ char pdns[GSW_DNS_ADDR_MAX_LEN]; /**< pdns address*/
+ char sdns[GSW_DNS_ADDR_MAX_LEN]; /**< sdns address*/
+ char gw[GSW_GETWAYS_ADDR_MAX_LEN]; /**< gate way address*/
+}V4_Addr_s;
+
+typedef struct {
+ char ip[GSW_PDP_ADDR_MAX_LEN]; /**< ip address*/
+ char pdns[GSW_DNS_ADDR_MAX_LEN]; /**< pdns address*/
+ char sdns[GSW_DNS_ADDR_MAX_LEN]; /**< sdns address*/
+}V6_Addr_s;
+
+typedef struct {
+ int handle; /**< data connection handle*/
+
+ /* req info */
+ char mcc[GSW_MCC_MAX_LEN]; /**< apn mcc value*/
+ char mnc[GSW_MNC_MAX_LEN]; /**< apn mnc value*/
+ char apnid[GSW_APN_ID_MAX_LEN]; /**< apn id*/
+ char apn[GSW_APN_MAX_LEN]; /**< apn name*/
+ char apnType[GSW_APN_TYPE_MAX_LEN]; /**< apn type ipv4 ipv4v6 ipv6*/
+ char usr[GSW_USR_MAX_LEN]; /**< apn usr name*/
+ char pwd[GSW_PWD_MAX_LEN]; /**< apn password*/
+ char authType[GSW_AUTH_TYPE_MAX_LEN]; /**< apn auth type*/
+ char normalProtocol[GSW_PROTOCO_MAX_LEN]; /**< apn auth protoco*/
+ char roamingProtocol[GSW_PROTOCO_MAX_LEN]; /**< apn auth protoco roaming*/
+ char carrier[GSW_CARRIER_ID_MAX_LEN]; /**< carrier id*/
+
+ /* rsp */
+ int cid; /**< data connection cid for mdm sdk*/
+ int active; /**< pdn context active state: 2,actived; other,not active */
+ char ifname[GSW_IFACE_NAME_MAX_LEN]; /**< if name of current datalink */
+ int type; /**< data connection type*/
+ V4_Addr_s v4; /**< ipv4 addr*/
+ V6_Addr_s v6; /**< ipv6 addr*/
+ int mtu; /**< mtu value*/
+
+ char out[GSW_RSP_MAX_LEN]; /**< sdk return value*/
+}Link_Info_s;
+
+typedef struct {
+ int handle; /**< data connection handle*/
+ int cid; /**< data connection cid*/
+ int state; /**< data connection state*/
+ int fail_cause; /**< data connection fail cause*/
+ char *type; /**< data connection type*/
+ char *ifname; /**< ifname*/
+
+ char *v4_ip; /**< ipv4 address*/
+ char *v4_pdns; /**< ipv4 pdns address*/
+ char *v4_sdns; /**< ipv4 sdns address*/
+ char *v4_gw; /**< ipv4 gateway address*/
+
+ char *v6_ip; /**< ipv6 address*/
+ char *v6_pdns; /**< ipv6 gateway address*/
+ char *v6_sdns; /**< ipv6 gateway address*/
+}Wan_State_ind_s;
+
+typedef struct{
+ int gw_sig_valid; /**< 1 valid,1 invalid*/
+ int rssi; /**< Valid values are (0-31, 99) as defined in TS 27.007 8.5 */
+ int wcdma_sig_valid;/**< 1 valid,0 invalid*/
+ int rscp; /**< The Received Signal Code Power in dBm multipled by -1.
+ * Range : 25 to 120
+ * INT_MAX: 0x7FFFFFFF denotes invalid value.
+ * Reference: 3GPP TS 25.123, section 9.1.1.1 */
+ int ecno; /**< Valid values are positive integers. This value is the actual Ec/Io multiplied
+ * by -10. Example: If the actual Ec/Io is -12.5 dB, then this response value
+ * will be 125.*/
+ int lte_sig_valid;/**< 1 valid,0 invalid*/
+ int rsrp; /**< The current Reference Signal Receive Power in dBm multipled by -1.
+ * Range: 44 to 140 dBm
+ * INT_MAX: 0x7FFFFFFF denotes invalid value.
+ * Reference: 3GPP TS 36.133 9.1.4 */
+ int rsrq; /**< The current Reference Signal Receive Quality in dB multiplied by -1.
+ * Range: 20 to 3 dB.
+ * INT_MAX: 0x7FFFFFFF denotes invalid value.
+ * Reference: 3GPP TS 36.133 9.1.7 */
+ int rssnr; /**< The current reference signal signal-to-noise ratio in 0.1 dB units.
+ * Range: -200 to +300 (-200 = -20.0 dB, +300 = 30dB).
+ * INT_MAX : 0x7FFFFFFF denotes invalid value.
+ * Reference: 3GPP TS 36.101 8.1.1 */
+ int nr_sig_valid;/**<1 valid,0 invalid*/
+ int ssRsrp; /**< SS(Synchronization Signal) reference signal received power, multipled by -1.
+ * Reference: 3GPP TS 38.215.
+ * Range [44, 140], INT_MAX means invalid/unreported.*/
+ int ssRsrq; /**< SS reference signal received quality, multipled by -1.
+ * Reference: 3GPP TS 38.215.
+ * Range [3, 20], INT_MAX means invalid/unreported.*/
+ int ssSinr; /**< SS signal-to-noise and interference ratio.
+ * Reference: 3GPP TS 38.215 section 5.1.*, 3GPP TS 38.133 section 10.1.16.1.
+ * Range [-23, 40], INT_MAX means invalid/unreported.*/
+ int csiRsrp; /**< CSI reference signal received power, multipled by -1.
+ * Reference: 3GPP TS 38.215.
+ * Range [44, 140], INT_MAX means invalid/unreported.*/
+ int csiRsrq; /**< CSI reference signal received quality, multipled by -1.
+ * Reference: 3GPP TS 38.215.
+ * Range [3, 20], INT_MAX means invalid/unreported.*/
+ int csiSinr; /**< CSI signal-to-noise and interference ratio.
+ * Reference: 3GPP TS 138.215 section 5.1.*, 3GPP TS 38.133 section 10.1.16.1.
+ * Range [-23, 40], INT_MAX means invalid/unreported.*/
+} signalStrength_t;
+
+typedef struct
+{
+ int regState; /**< voice or data reg service state */
+ char CID[128]; /**< gsm/wcdma cid */
+ char LAC[128]; /**< cell lac */
+ int netType; /**< radio tech */
+ int radioTechFam; /**< 1-3GPP; 2-3GPP2 */
+ int netRejectedCode; /**< denied code */
+} lynq_nw_reg_status_t;
+
+typedef enum mode_state_type
+{
+ GSW_MODEM_STATE_UNKNOWN = 0, /**< modem unknow */
+ GSW_MODEM_STATE_ONLINE, /**< modem work online */
+ GSW_MODEM_STATE_OFFLINE, /**< modem offline */
+}gsw_mode_state_e;
+
+
+typedef struct
+{
+ char long_eons[128]; /**< Full name of the operator*/
+ char short_eons[128]; /**< Shor name of the operator*/
+ char mcc[4]; /**< Mobile country code*/
+ char mnc[4]; /**< Mobile network code*/
+}gsw_mobile_operator_name;
+
+
+#define GSW_MCC_MAX_LEN (16)
+#define GSW_MNC_MAX_LEN (16)
+#define GSW_PLMN_LIST_MAX_LEN (85)
+
+
+typedef struct {
+ char mcc[GSW_MCC_MAX_LEN]; /**< Mobile country code*/
+ char mnc[GSW_MNC_MAX_LEN]; /**< Mobile network code*/
+} gsw_nw_plmn_t;
+
+
+typedef struct {
+ int plmn_list_len;
+ gsw_nw_plmn_t plmn_list[GSW_PLMN_LIST_MAX_LEN];
+} gsw_nw_plmn_list_t;
+
+typedef struct
+{
+ uint64_t tx_pkts; /**< the number of packet sent*/
+ uint64_t tx_bytes; /**< the number of packet sent bytes */
+ uint64_t tx_dropped_pkts; /**< the number of packet dropped by sent*/
+ uint64_t rx_pkts; /**< the number of packet received*/
+ uint64_t rx_bytes; /**< the number of packet receivedbytes */
+ uint64_t rx_dropped_pkts; /**< the number of packet dropped by received*/
+}gsw_data_pkt_stats;
+
+typedef struct {
+ char apn_name[GSW_APN_MAX_LEN];
+ char apn_accont[GSW_USR_MAX_LEN];
+ char apn_password[GSW_PWD_MAX_LEN];
+ uint8_t auth_type;
+} gsw_apn_param_t;
+
+/* Callback function registered to QL_SMS_AddRxMsgHandler, msgRef contains the detail msg infor */
+typedef void (* GSW_SMS_Callback_fun)(gsw_sms_state_e state, gsw_sms_msg_type_t *report_info);
+typedef void (* GSW_NW_ServingInfoHandlePtr)(GSW_NW_SERVING_INFO serving_info);
+typedef void (* GSW_NW_SigInfoHandlePtr)(signalStrength_t sig_info);
+typedef void (* GSW_NW_RejectCauseHandlePtr)(GSW_NW_REJ_CAUSE_E *rej_cause);
+typedef void (* GSW_NW_AirplaneModeHandlePtr)(int airplane_mode);
+typedef void (* GSW_NW_ModemStateHandlePtr)(gsw_mode_state_e state);
+
+/**
+ * @brief SDK interface to call back serving info
+ * @param [in] GSW_NW_ServingInfoHandlePtr:
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_reg_serving_info_callback(GSW_NW_ServingInfoHandlePtr handle_ptr);
+
+
+/**
+ * @brief SDK interface to call back sig info
+ * report: event + cycle(5s) 事件+周期上报
+ * 如果底层(modem 上报)有信号上报,就执行回调函数进行上报
+ * 如果底层(modem 上报)超过 5s 没有上报,服务层就自己获取一次信号,做一次补充上报
+ * @param [in] GSW_NW_SigInfoHandlePtr:
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_reg_sig_info_callback(GSW_NW_SigInfoHandlePtr handle_ptr);
+
+
+/**
+ * @brief SDK interface to call back rej cause
+ * @param [in] GSW_NW_RejectCauseHandlePtr:
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_reg_rej_cause_callback(GSW_NW_RejectCauseHandlePtr handle_ptr);
+
+
+/**
+ * @brief SDK interface to call back airplane mode
+ * @param [in] GSW_NW_AirplaneModeHandlePtr:
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_reg_operating_mode_callback(GSW_NW_AirplaneModeHandlePtr handle_ptr);
+
+
+/**
+ * @brief SDK interface to call back sms messages
+ * @param [in] GSW_SMS_Callback_fun:
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_sms_reg_callback(GSW_SMS_Callback_fun handle_ptr);
+
+
+/**
+ * @brief mdm sdk service init before all other sdk init
+ * @param
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_sdk_init(void);
+
+
+/**
+ * @brief network sdk init
+ * @param [in] token usr id define by who use
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_nw_sdk_init(int token);
+
+
+/**
+ * @brief network sdk deinit
+ * @param
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_nw_sdk_deinit(void);
+
+
+/**
+ * @brief sim sdk init
+ * @param [in] token usr id define by who use
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_sim_sdk_init(int token);
+
+
+/**
+ * @brief sim sdk deinit
+ * @param
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_sim_sdk_deinit(void);
+
+
+/**
+ * @brief sms sdk init
+ * @param [in] token
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_sms_sdk_init(int token);
+
+
+/**
+ * @brief sms sdk deinit
+ * @param
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_sms_sdk_deinit(void);
+
+
+/**
+ * @brief get current network reg info
+ * @param [out] GSW_NW_SERVING_INFO struct for network info
+ * include regstate ps_state opreator name mcc mcn etc
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_get_nwinfo(GSW_NW_SERVING_INFO *serving_info);
+
+
+/**
+ * @brief get current network type
+ * @param [out] netype as GSW_NW_RADIO_ACCESS_TECH_E type
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_get_netype(int *netype);
+
+
+/**
+ * @brief get radio opmode, as open and close airplane mode
+ * @param [out] op_mode 1 is radio on, 0 is radio off
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_get_opmode(int *op_mode);
+
+
+/**
+ * @brief set radio opmode, as open and close airplane mode
+ * @param [in] op_mode 1 is radio on, 0 is radio off
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_set_opmode(int op_mode);
+
+
+/**
+ * @brief get network mode preference of mdm search network scale
+ * @param [out] mode_pref net_work pref mode:
+ * 32 - all mode 2G/3G/4G/5G;
+ * 9 - 2G/3G/4G;
+ * 3 - 2G/3G;
+ * 1 - 2G only
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_get_mode_preference(int *mode_pref);
+
+
+/**
+ * @brief set network mode preference of mdm search network scale
+ * @param [in] mode_pref net_work pref mode:
+ * 32 - all mode 2G/3G/4G/5G;
+ * 9 - 2G/3G/4G;
+ * 3 - 2G/3G;
+ * 1 - 2G only
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_set_mode_preference(int mode_pref);
+
+
+/**
+ * @brief get signal csq value
+ * @param [out] csq_value csq of signalstrengh 0 - 31
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_get_sig_info(int *csq_value);
+
+/**
+ * @brief get current serving cell info
+ * @param [out] GSW_NW_CELL_INFO: struct for current cell info
+ * include earfcn mcc mnc pci psc tac lac etc.
+ * @return int: 0 is success, other failed
+ */
+int gsw_get_cell_info(GSW_NW_CELL_INFO *cell_info);
+
+/**
+ * @brief get mobile operator name
+ * @param [out] gsw_mobile_operator_name: get the long and short operator name info
+ * @retval 0: success
+ * @retval 0: other: fail
+ */
+int gsw_get_mobile_operator_name(gsw_mobile_operator_name *nw_operator_name_infos);
+
+/**
+ * @brief get PLMNs from the FPLMN list
+ * @param [inout] gsw_nw_plmn_list_t:
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_get_forbidden_networks(gsw_nw_plmn_list_t *plmn_list);
+
+/**
+ * @brief add PLMNs from the plmn_list to the FPLMN list
+ * @param [in] gsw_nw_plmn_list_t:
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_add_forbidden_networks(gsw_nw_plmn_list_t *plmn_list);
+
+/**
+ * @brief Remove PLMNs from the plmn_list from the FPLMN list
+ * @param [in] gsw_nw_plmn_list_t:
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_remove_forbidden_networks(gsw_nw_plmn_list_t *plmn_list);
+
+/**
+ * @brief clear FPLMN list
+ * @param
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_clear_forbidden_networks(void);
+
+
+/**
+ * @brief set nework power mode, for tcam enter standby or exit standby
+ * @param [in] mode TRUE(1) when enter standby, FALSE(0) after wake up
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_network_set_power_mode(char mode);
+
+
+/**
+ * @brief get sim state
+ * @param [out] sim_state sim status as sim_status_e_type
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_get_sim_status(int *sim_state);
+
+
+/**
+ * @brief get iccid function
+ * @param [in] len iccid length,max is 20
+ * @param [out] iccid return iccid from this func
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_get_sim_iccid(int len, char *iccid);
+
+
+/**
+ * @brief get imsi function
+ * @param [in] len imsi length,max is 20
+ * @param [out] iccid return imsi from this func
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_get_sim_imsi(int len, char *imsi);
+
+
+/**
+ * @brief get sim msisdn function
+ * @param [in] len msisdn length,max is 20
+ * @param [out] msisdn msisdn length,max is 20
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_get_sim_msisdn(int len, char *msisdn);
+
+
+/**
+ * @brief get imei function
+ * @param [in] len imei length,max is 20
+ * @param [out] imei return imei from this func
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_get_imei(int len, char *imei);
+
+
+/**
+ * @brief set sim power down
+ * @param
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_set_sim_power_down(void);
+
+
+/**
+ * @brief set sim power up
+ * @param
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_set_sim_power_up(void);
+
+
+/**
+ * @brief reset modem stack only,
+ * @details notice: after use this method, all ril sdk
+ * need restart, means network, sim, sms, data need deinit then init!
+ *
+ * @param
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_reset_modem(void);
+
+
+/**
+ * @brief send sms fuction
+ * @param [in] phone_num dest phone num send sms
+ * @param [in] char_set encode format for sms 0-7bit; 1-binary; 2-usc2
+ * @param [in] msg sms content
+ * @param [in] msg_len send sms length,max is 1024
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_send_sms(char *phone_num, int char_set, char *msg, int msg_len);
+
+
+/**
+ * @brief get smsc fuction
+ * @param [in] len input buf len for smsc,max is 32
+ * @param [out] smsc address for smsc get from this func *
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_get_smsc_address(int len, char *smsc);
+
+
+/**
+ * @brief set smsc fuction
+ * @param [out] smsc string value for smsc,max length is 32
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_set_smsc_address(const char *smsc);
+
+
+/**
+ * @brief convert rsrp rscp rssi to csq value.
+ * @param [in] netType signal radio tech 2 means 2G 3 mens 3G,4 is 4G,5 is 5G
+ * @param [in] sigvalue input signal_strength for different nettype
+ * rsrp for 4G/5G, rscp for 3G, rssi for 2G
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_sigInfo_to_csq(int netType, int sigValue);
+
+
+/**
+ * @brief data call event sdk callback function define
+ * @param [out] Wan_State_ind_s: data connection state and params indication struct
+ * include datacall state , ipv4 ipv6 address, dns address and ifname
+ * @retval void
+ */
+typedef void (*gsw_data_call_evt_cb_t)(Wan_State_ind_s *linkState);
+
+
+/**
+ * @brief use this api to wait data call event ind call back
+ * @param [out] arg
+ * @retval void
+ */
+void *gsw_onUnsolicited(void *arg);
+
+
+/**
+ * @brief datacall sdk init
+ * @param [in] gsw_data_call_evt_cb_t: data connection state change event
+ * call back;
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_data_call_init(gsw_data_call_evt_cb_t evt_cb);
+
+
+/**
+ * @brief data_call sdk deinit
+ * @param
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_data_call_deinit(void);
+
+/**
+ * @brief get apn info
+ * @param [in/out] gsw_apn_param_t:apn info for pub or private apn
+ * inlcude apn name mcc mnc, passwork apnid authtype iptype etc
+ * @return int : 0 is success , other failed
+ */
+void gsw_get_apn_info(int linkid, gsw_apn_param_t *apn_para);
+
+/**
+ * @brief set apn parameters for data call
+ * @param [in/out] Link_Info_s: for pub or private datacall
+ * inlcude apn name mcc mnc, passwork apnid type cid etc
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_data_call_set_apn(Link_Info_s *LinkInf);
+
+
+/**
+ * @brief set apn parameters for data call
+ * 接口超时时间:120s
+ * 如接口返回失败,不要给apn回调:gsw_data_call_evt_cb_t
+ * 如接口返回成功,从接口调用开始计时,到收到apn回调:gsw_data_call_evt_cb_t,不能超过120s
+ * @param [in] linkid data connetion link number
+ * @param [in/out] Link_Info_s: apn info for pub or private datacall
+ * inlcude apn name mcc mnc, passwork apnid etc
+ * resp: data call link state ipaddress type etc
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_data_call_connect(int linkid, Link_Info_s *LinkInf);
+
+
+/**
+ * @brief set apn parameters for data call
+ * @param [in] linkid
+ * @param [in/out] Link_Info_s: apn info for pub or private datacall
+ * inlcude apn name mcc mnc, passwork apnid etc
+ * resp: data call link state ipaddress type etc
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_data_call_disconnect(int linkid, Link_Info_s *LinkInf);
+
+
+/**
+ * @brief get the data traffic infos
+ @param [in] linkid apn id
+ @param [out] gsw_data_pkt_stats obtian actual data call network card data traffic
+ @retval 0: success
+ @retval 0: other: fail
+ */
+int gsw_get_data_call_pkt_stats(int linkid, gsw_data_pkt_stats *data_pkt);
+
+/**
+ * @brief clear data call if needed when receive apn down event
+ * @param [in] linkid
+ * @param [in/out] Link_Info_s: apn info for pub or private datacall
+ * inlcude apn name mcc mnc, passwork apnid etc
+ * resp: data call link state ipaddress type etc
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_data_call_clear_session(int linkid, Link_Info_s *LinkInf);
+
+/**
+ * @brief Set apn binding to specify interface id
+ * @details This interface supports a total of 8 reserved id information
+ * and the reserved id value ranges from 0-7
+ *
+ * @param [in] reserved_id: -1 unset reserved id,0-7 set reserved id
+ * @param [in] apn APN name
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_set_apn_reserved_id(int reserved_id, const char *apn);
+
+/**
+ * @brief Get the apn name bound to the specified interface id
+ * @param [in] reserved_id Network reserved interface id
+ * @param [out] apn_str APN name
+ * @param [in] apn_str_size APN name size
+ * @retval 0-7: success
+ * @retval -1: unbind reserved id
+ */
+int gsw_get_apn_reserved_name(int reserved_id, char *apn_str, int apn_str_size);
+
+/**
+ * @brief Get apn binding to specify interface id
+ * @param [in] apn
+ * @retval 0: success
+ * @retval 0-7: success
+ * @retval -1: unbind reserved id
+ */
+int gsw_get_apn_reserved_id(const char *apn);
+
+/**
+ * @brief Get get modem state
+ * @param
+ * @retval 0: ok
+ * @retval other: error
+ */
+
+int gsw_get_modem_state_exp(void);
+
+/**
+ * @brief set modem status event callback
+ * @param [in] GSW_NW_ModemStateHandlePtr
+ * @retval 0 : success
+ * @retval other: fail
+ */
+int gsw_reg_set_modem_status_event_callback(GSW_NW_ModemStateHandlePtr handle_ptr);
+
+/**
+ * @brief get tcamid function
+ * @param [in] len tcamid length
+ * @param [out] iccid return tcamid from this func
+ * @retval 0 : success
+ * @retval other: fail
+ */
+int gsw_get_tcamid(int len, char *tcamid);
+
+
+/**
+* @brief Module log disk drop, used when restarting or hibernating
+* @param [in]void
+* @retval void
+*/
+void gsw_modem_log_sync(void);
+
+#if defined(__cplusplus)
+extern "C" }
+#endif
+
+#endif /*GSW_NWINFO_INTERFACE_H*/
diff --git a/mbtk/include/gsw/gsw_oem_rw_interface.h b/mbtk/include/gsw/gsw_oem_rw_interface.h
new file mode 100755
index 0000000..51aadcd
--- /dev/null
+++ b/mbtk/include/gsw/gsw_oem_rw_interface.h
@@ -0,0 +1,51 @@
+/**
+* @file : gsw_oem_rw_interface.h
+* @brief : sdk interface
+* @date :
+* @author :
+* @version : v1.0
+* @copyright
+*/
+#ifndef GSW_OEM_RW_INTERFACE_H
+#define GSW_OEM_RW_INTERFACE_H
+
+#include "gsw_hal_errcode.h"
+
+/**
+ * @brief SDK interface to read data from spec page of flash only GM552A
+ * @param [in] read data
+ * @param [in] size, it must be less than (64 * 4096 - 8)Byte
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_oem_read_data(void *data, unsigned int *len);
+
+/**
+ * @brief SDK interface to write data to spec page of flash only GM552A
+ * @param [in] write data
+ * @param [in] size, it must be less than (64 * 4096 - 8)Byte
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_oem_write_data(void *data, unsigned int len);
+
+/**
+ * @brief Read data from spec block of flash
+ * @param [in] unsigned int
+ * @param [out] void *
+ * @param [out] unsigned int *
+ * @retval GSW_HAL_SUCCESS\GSW_HAL_FAIL
+ */
+int gsw_oem_read_data_ext(unsigned int block_id, void *data, unsigned int *len);
+
+/**
+ * @brief Write data to spec block of flash
+ * @param [in] unsigned int
+ * @param [in] void *
+ * @param [in] unsigned int
+ * @retval 0: success
+ * @retval GSW_HAL_SUCCESS\GSW_HAL_FAIL
+ */
+int gsw_oem_write_data_ext(unsigned int block_id, void *data, unsigned int len);
+#endif /*GSW_RTC_INTERFACE_H*/
+
diff --git a/mbtk/include/gsw/gsw_passwd.h b/mbtk/include/gsw/gsw_passwd.h
new file mode 100755
index 0000000..c46e8b2
--- /dev/null
+++ b/mbtk/include/gsw/gsw_passwd.h
@@ -0,0 +1,7 @@
+
+
+#include <string.h>
+#include <stdio.h>
+
+
+int gsw_set_passwd(char *username, char *passwd);
diff --git a/mbtk/include/gsw/gsw_sms.h b/mbtk/include/gsw/gsw_sms.h
index 916110c..c35fc7b 100755
--- a/mbtk/include/gsw/gsw_sms.h
+++ b/mbtk/include/gsw/gsw_sms.h
@@ -6,16 +6,7 @@
#define GSW_HAL_SMS_ADDRESS_LEN 16
#define GSW_HAL_SMS_RECV_CONT_MAX 1024
#define GSW_HAL_SMS_CONTENT_LEN 1024
-#define MIN_MSM_PARAM_NUM 4
-#define MIN_IMS_MSM_PARAM_NUM 6
-#define MIN_WRITMSM_PARAM_NUM 5
-#define MSG_MAX_LEN 1024
-#define TELEPHONNUM_LEN 64
-#define STORAGSMS_MAX_SIZE 128
-#define SMSC_MAX_LEN 22
-#define SMS_NUM_MAX 255
-#define MSM_NUMBER_MAX 1024+1
-#define RES_NUM_MIN 128
+
// gsw include
diff --git a/mbtk/include/gsw/gsw_tee.h b/mbtk/include/gsw/gsw_tee.h
new file mode 100755
index 0000000..197f16e
--- /dev/null
+++ b/mbtk/include/gsw/gsw_tee.h
@@ -0,0 +1,578 @@
+#include <stdlib.h>
+#include <stdint.h>
+#include <string.h>
+#include <stdbool.h>
+#include <stdio.h>
+
+
+#define GSW_HAL_SUCCESS 0
+#define GSW_HAL_FAIL -1
+#define GSW_HAL_MEM_INVAILD -2
+#define GSW_HAL_NOFOUND -3
+
+typedef enum {
+ GSW_TEE_PARAM_DATA = 1,
+ GSW_TEE_PARAM_FILE
+}GSW_TEE_PARAM_TYPE;
+
+typedef enum {
+ GSW_TEE_DIGEST_MD5 = 1,
+ GSW_TEE_DIGEST_SHA1,
+ GSW_TEE_DIGEST_SHA256,
+}GSW_TEE_DIGEST_TYPE;
+
+typedef enum {
+ GSW_TEE_AES_ECB = 1,
+ GSW_TEE_AES_CBC,
+ GSW_TEE_AES_CMAC,
+ GSW_TEE_AES_GCM,
+}GSW_TEE_AES_ALGO_TYPE;
+
+typedef enum {
+ GSW_TEE_AES_128 = 1,
+ GSW_TEE_AES_192,
+ GSW_TEE_AES_256
+}GSW_TEE_AES_ALGO_BITS;
+
+typedef enum {
+ GSW_TEE_AES_PADDING_NONE = 1,
+ GSW_TEE_AES_PADDING_PKCS7
+}GSW_TEE_AES_PADDING_TYPE;
+
+typedef enum {
+ GSW_TEE_CRYPTO_ENCRYPT = 1,
+ GSW_TEE_CRYPTO_DECRYPT,
+ GSW_TEE_CRYPTO_SIGN,
+ GSW_TEE_CRYPTO_VERIFY
+}GSW_TEE_CRYPTO_TYPE;
+
+typedef enum {
+ GSW_TEE_RSA_BITS_2048 = 1,
+ GSW_TEE_RSA_BITS_3072,
+ GSW_TEE_RSA_BITS_4096
+}GSW_TEE_RSA_BITS_TYPE;
+
+typedef enum {
+ GSW_TEE_RSA_ED_PADDING_NONE = 1,
+ GSW_TEE_RSA_ED_PADDING_PKCS1,
+ GSW_TEE_RSA_ED_PADDING_OAEP
+}GSW_TEE_RSA_ED_PADDING_TYPE;
+
+typedef enum {
+ GSW_TEE_SV_SRC_DATA = 1,
+ GSW_TEE_SV_SRC_SHA256,
+ GSW_TEE_SV_SRC_SHA384,
+ GSW_TEE_SV_SRC_SHA512
+}GSW_TEE_SV_SRC_TYPE;
+
+typedef enum {
+ GSW_TEE_RSA_SV_PADDING_NONE = 1,
+ GSW_TEE_RSA_SV_PADDING_PKCS1_V1_5,
+ GSW_TEE_RSA_SV_PADDING_PSS
+}GSW_TEE_RSA_SV_PADDING_TYPE;
+
+typedef enum {
+ GSW_TEE_ECC_ED_CURVE_ALGO_NISTP192=1,
+ GSW_TEE_ECC_ED_CURVE_ALGO_NISTP224,
+ GSW_TEE_ECC_ED_CURVE_ALGO_NISTP256,
+ GSW_TEE_ECC_ED_CURVE_ALGO_NISTP384,
+ GSW_TEE_ECC_ED_CURVE_ALGO_NISTP521
+}GSW_TEE_ECC_ED_CURVE_ALGO_MODE;
+
+typedef enum {
+ GSW_TEE_ECC_BITS_192=1,
+ GSW_TEE_ECC_BITS_224,
+ GSW_TEE_ECC_BITS_256,
+ GSW_TEE_ECC_BITS_384,
+ GSW_TEE_ECC_BITS_521
+}GSW_TEE_ECC_BITS_TYPE;
+
+typedef enum {
+ GSW_TEE_ECC_SV_CURVE_ALGO_ECDSA = 1,
+ GSW_TEE_ECC_SV_CURVE_ALGO_EDDSA,
+}GSW_TEE_ECC_SV_CURVE_ALGO_MODE;
+
+typedef enum {
+ GSW_TEE_SM4_ECB = 1,
+ GSW_TEE_SM4_CBC,
+ GSW_TEE_SM4_CFB,
+ GSW_TEE_SM4_CTR,
+ GSW_TEE_SM4_OFB,
+ GSW_TEE_SM4_CMAC,
+ GSW_TEE_SM4_GCM,
+}GSW_TEE_SM4_ALGO_TYPE;
+
+typedef enum {
+ GSW_TEE_SM4_PADDING_PKCS5 = 1,
+ GSW_TEE_SM4_PADDING_PKCS7
+}GSW_TEE_SM4_PADDING_TYPE;
+
+typedef struct
+{
+ unsigned short len; /**< data len*/
+ unsigned char data[512]; /**< key data*/
+} GSW_TEE_KEY_UNIT_INFO;
+
+typedef struct
+{
+ unsigned int bits; /**< Public key bits*/
+ GSW_TEE_KEY_UNIT_INFO x; /**< Public key x component*/
+ GSW_TEE_KEY_UNIT_INFO y; /**< Public key y component*/
+} GSW_TEE_SM2_PUB_KEY;
+
+typedef struct
+{
+ unsigned int bits; /**< Public key bits*/
+ GSW_TEE_KEY_UNIT_INFO x; /**< Public key x component*/
+ GSW_TEE_KEY_UNIT_INFO y; /**< Public key y component*/
+} GSW_TEE_ECC_PUB_KEY;
+
+typedef struct
+{
+ unsigned int bits; /**< Public key bits*/
+ GSW_TEE_KEY_UNIT_INFO n; /**< Mode of public key*/
+ unsigned int e; /**< Power of public key*/
+} GSW_TEE_RSA_PUB_KEY;
+
+typedef struct
+{
+ unsigned int bits; /**< Public key bits*/
+ GSW_TEE_KEY_UNIT_INFO d; /**< Private key*/
+} GSW_TEE_SM2_PRI_KEY;
+
+typedef struct
+{
+ unsigned int bits; /**< Public key bits*/
+ GSW_TEE_KEY_UNIT_INFO d; /**< Private key*/
+ GSW_TEE_ECC_ED_CURVE_ALGO_MODE curve_type; /**< Curve algorithm*/
+} GSW_TEE_ECC_PRI_KEY;
+
+typedef struct
+{
+ GSW_TEE_KEY_UNIT_INFO n; /**< Mode of public key*/
+ GSW_TEE_KEY_UNIT_INFO d;
+} GSW_TEE_RSA_PRI_KEY_ND;
+
+typedef struct
+{
+ GSW_TEE_KEY_UNIT_INFO p; /**< Prime factor 1*/
+ GSW_TEE_KEY_UNIT_INFO q; /**< Prime factor 2*/
+ GSW_TEE_KEY_UNIT_INFO dp; /**< crt powers of p*/
+ GSW_TEE_KEY_UNIT_INFO dq; /**< crt powers of q*/
+ GSW_TEE_KEY_UNIT_INFO ce; /**< The inverse modulo p of q*/
+} GSW_TEE_RSA_PRI_KEY_PQDC;
+
+typedef struct
+{
+ unsigned int bits; /**< Public key bits*/
+ union RSA_KEY_INFO{
+ GSW_TEE_RSA_PRI_KEY_ND ne;
+ GSW_TEE_RSA_PRI_KEY_PQDC pqdc;
+ }key_info;
+} GSW_TEE_RSA_PRI_KEY;
+
+typedef struct
+{
+ GSW_TEE_CRYPTO_TYPE crypto_type; /**< Type of operation*/
+ GSW_TEE_AES_ALGO_TYPE algo_type; /**< Algorithm type*/
+ unsigned int in_iv_len; /**< Vector quantity length*/
+ unsigned char iv[32]; /**< Vector quantity*/
+ GSW_TEE_SM4_PADDING_TYPE padding; /**< Filling mode*/
+ GSW_TEE_PARAM_TYPE data_type; /**< data type*/
+ unsigned int in_data_len; /**< Source data length*/
+ char data[1]; /**< Source data/file name*/
+} GSW_TEE_SM4_IN_PARAM;
+
+typedef struct
+{
+ GSW_TEE_PARAM_TYPE data_type; /**< data type*/
+ unsigned int* p_out_buf_len; /**< File length or buf size*/
+ char data[1]; /**< buf Cache or file path*/
+} GSW_TEE_SM4_OUT_PARAM;
+
+typedef struct
+{
+ GSW_TEE_CRYPTO_TYPE crypto_type; /**< Type of operation*/
+ GSW_TEE_PARAM_TYPE data_type; /**< data type*/
+ GSW_TEE_SV_SRC_TYPE src_type; /**< Type of data source*/
+ GSW_TEE_DIGEST_TYPE digt_type;
+ unsigned int in_data_len; /**< Source data length*/
+ char data[1]; /**< Source data/file name*/
+} GSW_TEE_SM2_SV_IN_PARAM;
+
+typedef struct
+{
+ GSW_TEE_PARAM_TYPE data_type; /**< data type*/
+ unsigned int* p_out_buf_len; /**< File length or buf size*/
+ char data[1]; /**< buf Cache or file path*/
+} GSW_TEE_SM2_SV_OUT_PARAM;
+
+typedef struct
+{
+ GSW_TEE_CRYPTO_TYPE crypto_type; /**< Type of operation*/
+ GSW_TEE_PARAM_TYPE data_type; /**< data type*/
+ unsigned int in_data_len; /**< Source data length*/
+ char data[1]; /**< Source data/file name*/
+} GSW_TEE_SM2_ED_IN_PARAM;
+
+typedef struct
+{
+ GSW_TEE_PARAM_TYPE data_type; /**< data type*/
+ unsigned int* p_out_buf_len; /**< File length or buf size*/
+ char data[1]; /**< buf Cache or file path*/
+} GSW_TEE_SM2_ED_OUT_PARAM;
+
+typedef struct
+{
+ GSW_TEE_CRYPTO_TYPE crypto_type; /**< Type of operation*/
+ GSW_TEE_ECC_BITS_TYPE bits_type; /**< Algorithm bit*/
+ GSW_TEE_ECC_SV_CURVE_ALGO_MODE curve_type; /**< Curve algorithm*/
+ GSW_TEE_DIGEST_TYPE digt_type;
+ GSW_TEE_SV_SRC_TYPE src_type; /**< Type of data source*/
+ GSW_TEE_PARAM_TYPE data_type; /**< data type*/
+ unsigned int in_data_len; /**< Source data length*/
+ char data[1]; /**< Source data/file name*/
+} GSW_TEE_ECC_SV_IN_PARAM;
+
+typedef struct
+{
+ GSW_TEE_PARAM_TYPE data_type; /**< data type*/
+ unsigned int* p_out_buf_len; /**< File length or buf size*/
+ char data[1]; /**< buf Cache or file path*/
+} GSW_TEE_ECC_SV_OUT_PARAM;
+
+typedef struct
+{
+ GSW_TEE_CRYPTO_TYPE crypto_type; /**< Type of operation*/
+ GSW_TEE_ECC_BITS_TYPE bits_type; /**< Algorithm bit*/
+ GSW_TEE_ECC_ED_CURVE_ALGO_MODE curve_type; /**< Curve algorithm*/
+ GSW_TEE_PARAM_TYPE data_type; /**< data type*/
+ unsigned int in_data_len; /**< Source data length*/
+ char data[1]; /**< Source data/file name*/
+} GSW_TEE_ECC_ED_IN_PARAM;
+
+typedef struct
+{
+ GSW_TEE_PARAM_TYPE data_type; /**< data type*/
+ unsigned int* p_out_buf_len; /**< File length or buf size*/
+ char data[1]; /**< buf Cache or file path*/
+} GSW_TEE_ECC_ED_OUT_PARAM;
+
+typedef struct
+{
+ GSW_TEE_CRYPTO_TYPE crypto_type; /**< Type of operation*/
+ GSW_TEE_RSA_SV_PADDING_TYPE padding; /**< Filling mode*/
+ GSW_TEE_RSA_BITS_TYPE bits_type; /**< Algorithm bit*/
+ GSW_TEE_SV_SRC_TYPE src_type; /**< Type of data source*/
+ GSW_TEE_DIGEST_TYPE digt_type;
+ GSW_TEE_PARAM_TYPE data_type; /**< data type*/
+ unsigned int in_data_len; /**< Source data length*/
+ char data[1]; /**< Source data/file name*/
+} GSW_TEE_RSA_SV_IN_PARAM;
+
+typedef struct
+{
+ GSW_TEE_PARAM_TYPE data_type; /**< data type*/
+ unsigned int* p_out_buf_len; /**< File length or buf size*/
+ char data[1]; /**< buf Cache or file path*/
+} GSW_TEE_RSA_SV_OUT_PARAM;
+
+typedef struct
+{
+ GSW_TEE_CRYPTO_TYPE crypto_type; /**< Type of operation*/
+ GSW_TEE_RSA_ED_PADDING_TYPE padding; /**< Filling mode*/
+ GSW_TEE_RSA_BITS_TYPE bits_type; /**< Algorithm bit*/
+ GSW_TEE_PARAM_TYPE data_type; /**< data type*/
+ unsigned int in_data_len; /**< Source data length*/
+ char data[1]; /**< Source data/file name*/
+} GSW_TEE_RSA_ED_IN_PARAM;
+
+typedef struct
+{
+ GSW_TEE_PARAM_TYPE data_type; /**< data type*/
+ unsigned int* p_out_buf_len; /**< File length or buf size*/
+ char data[1]; /**< buf Cache or file path*/
+} GSW_TEE_RSA_ED_OUT_PARAM;
+
+typedef struct
+{
+ GSW_TEE_CRYPTO_TYPE crypto_type; /**< Type of operation*/
+ GSW_TEE_AES_ALGO_TYPE algo_type; /**< Algorithm type*/
+ unsigned int in_iv_len; /**< Vector quantity length*/
+ unsigned char iv[32]; /**< Vector quantity*/
+ GSW_TEE_AES_PADDING_TYPE padding; /**< Filling mode*/
+ GSW_TEE_PARAM_TYPE data_type; /**< data type*/
+ unsigned int in_data_len; /**< Source data length*/
+ char data[1]; /**< Source data/file name*/
+} GSW_TEE_AES_IN_PARAM;
+
+typedef struct
+{
+ GSW_TEE_PARAM_TYPE data_type; /**< data type*/
+ unsigned int* p_out_buf_len; /**< File length or buf size*/
+ char data[1]; /**< buf Cache or file path*/
+} GSW_TEE_AES_OUT_PARAM;
+
+
+
+/**
+* @brief init tee sdk
+* @param [in] None
+* @param [out] None
+* @retval GSW_HAL_SUCCESS is success\other is fail
+*/
+int32_t gsw_tee_sdk_init(void);
+
+/**
+* @brief read sensitive data from tee
+* @param [in] char* in_obj_name :Sensitive data name
+* @param [in] unsigned int* p_out_buf_len:The size of sensitive data output cache
+* @param [out] char* out_buf:Cache of sensitive data output
+* @param [out] unsigned int* p_out_buf_len:Sensitive data length
+* @retval GSW_HAL_SUCCESS is success\other is fail
+*/
+int32_t gsw_tee_read_secure_data(const char* in_obj_name, char* out_buf, unsigned int* p_out_buf_len);
+
+/**
+* @brief write sensitive data to tee
+* @param [in] char* in_obj_name :Sensitive data name
+* @param [in] char* in_buf:A cache for writing sensitive data
+* @param [out] unsigned int in_buf_len:Sensitive data length
+* @retval GSW_HAL_SUCCESS is success\other is fail
+*/
+int32_t gsw_tee_write_secure_data(const char* in_obj_name, char* in_buf, unsigned int in_buf_len);
+
+/**
+* @brief delete sensitive data from tee
+* @param [in] char* in_obj_name :Sensitive data name
+* @retval GSW_HAL_SUCCESS is success\other is fail
+*/
+int32_t gsw_tee_delete_secure_data(const char* in_obj_name);
+
+/**
+* @brief check sensitive data from tee
+* @param [in] char* in_obj_name :Sensitive data name
+* @retval GSW_HAL_SUCCESS is exist\ other is not exist or fail
+*/
+int32_t gsw_tee_check_secure_data(const char* in_obj_name);
+
+/**
+* @brief digest algorithm
+* @param [in] char* in_data :Source data/file name
+* @param [in] unsigned int in_data_len :Source data length
+* @param [in] unsigned int* p_out_buf_len:The size of Destination cache
+* @param [in] GSW_TEE_PARAM_TYPE in_param: in_data param type
+* @param [in] GSW_TEE_DIGEST_TYPE in_digest: digest algo type
+* @param [out] char *out_buf:Destination cache
+* @param [out] unsigned int* p_out_buf_len:Destination data length
+* @retval GSW_HAL_SUCCESS is success\other is fail
+*/
+int32_t gsw_tee_digest_algo(char* in_data, unsigned int in_data_len, char *out_buf, unsigned int* p_out_buf_len,GSW_TEE_PARAM_TYPE in_param,GSW_TEE_DIGEST_TYPE in_digest);
+
+/**
+* @brief aes algorithm
+* @param [in] char* in_obj_name :Key name or key information structure
+* @param [in] GSW_TEE_AES_IN_PARAM* in_param :Entry information
+* @param [in/out] GSW_TEE_AES_OUT_PARAM out_param :Exit message
+* @retval GSW_HAL_SUCCESS is success\other is fail
+*/
+int32_t gsw_tee_aes_algo(char* in_obj_name, GSW_TEE_AES_IN_PARAM* in_param, GSW_TEE_AES_OUT_PARAM* out_param);
+
+/**
+* @brief generate random
+* @param [in] unsigned int in_len :generate random bits
+* @param [in] GSW_TEE_PARAM_TYPE out_param:out_buf param type
+* @param [out/in] char *out_buf:Destination cache/file name
+* @retval GSW_HAL_SUCCESS is success\other is fail
+*/
+int32_t gsw_tee_gen_random(char *out_buf, unsigned int in_len,GSW_TEE_PARAM_TYPE out_param);
+
+/**
+* @brief rsa Encryption and decryption algorithm
+* @param [in] char* in_obj_name :Key name or key information structure
+* @param [in] GSW_TEE_RSA_ED_IN_PARAM * in_param:Entry information
+* @param [in/out] GSW_TEE_RSA_ED_OUT_PARAM * out_param:Exit message
+* @retval GSW_HAL_SUCCESS is success\other is fail
+*/
+int32_t gsw_tee_rsa_ed_algo(char* in_obj_name, GSW_TEE_RSA_ED_IN_PARAM * in_param, GSW_TEE_RSA_ED_OUT_PARAM * out_param);
+
+/**
+* @brief rsa Signature verification algorithm
+* @param [in] char* in_obj_name :Key name or key information structure
+* @param [in] GSW_TEE_RSA_SV_IN_PARAM* in_param :Source data/file name
+* @param [in/out] GSW_TEE_RSA_SV_OUT_PARAM* out_param :Source data length
+* @retval GSW_HAL_SUCCESS is success\other is fail
+*/
+int32_t gsw_tee_rsa_sv_algo(char* in_obj_name, GSW_TEE_RSA_SV_IN_PARAM* in_param, GSW_TEE_RSA_SV_OUT_PARAM* out_param);
+
+/**
+* @brief ecc Encryption and decryption algorithm
+* @param [in] char* in_obj_name :Key name or key information structure
+* @param [in] GSW_TEE_ECC_ED_IN_PARAM * in_param:Entry information
+* @param [in/out] GSW_TEE_ECC_ED_OUT_PARAM * out_param:Exit message
+* @retval GSW_HAL_SUCCESS is success\other is fail
+*/
+int32_t gsw_tee_ecc_ed_algo(char* in_obj_name,GSW_TEE_ECC_ED_IN_PARAM * in_param, GSW_TEE_ECC_ED_OUT_PARAM * out_param);
+
+/**
+* @brief ecc Signature verification algorithm
+* @param [in] char* in_obj_name :Key name or key information structure
+* @param [in] GSW_TEE_ECC_SV_IN_PARAM* in_param :Source data/file name
+* @param [in/out] GSW_TEE_ECC_SV_OUT_PARAM* out_param :Source data length
+* @retval GSW_HAL_SUCCESS is success\other is fail
+*/
+int32_t gsw_tee_ecc_sv_algo(char* in_obj_name,GSW_TEE_ECC_SV_IN_PARAM * in_param, GSW_TEE_ECC_SV_OUT_PARAM * out_param);
+
+/**
+* @brief sm2 Encryption and decryption algorithm
+* @param [in] char* in_obj_name :Key name or key information structure
+* @param [in] GSW_TEE_SM2_ED_IN_PARAM * in_param:Entry information
+* @param [in/out] GSW_TEE_SM2_ED_OUT_PARAM * out_param:Exit message
+* @retval GSW_HAL_SUCCESS is success\other is fail
+*/
+int32_t gsw_tee_sm2_ed_algo(char* in_obj_name, GSW_TEE_SM2_ED_IN_PARAM* in_param, GSW_TEE_SM2_ED_OUT_PARAM *out_param);
+
+/**
+* @brief sm2 Signature verification algorithm
+* @param [in] char* in_obj_name :Key name or key information structure
+* @param [in] GSW_TEE_SM2_SV_IN_PARAM * in_param:Entry information
+* @param [in/out] GSW_TEE_SM2_SV_OUT_PARAM * out_param:Exit message
+* @retval GSW_HAL_SUCCESS is success\other is failL
+*/
+int32_t gsw_tee_sm2_sv_algo(char* in_obj_name, GSW_TEE_PARAM_TYPE* in_param, GSW_TEE_PARAM_TYPE* out_param);
+
+/**
+* @brief sm3 algorithm
+* @param [in] char* in_data :Source data/file name
+* @param [in] unsigned int in_data_len :Source data length
+* @param [in] unsigned int* p_out_buf_len:The size of Destination cache
+* @param [in] GSW_TEE_PARAM_TYPE in_param: in_data param type
+* @param [out] char *out_buf:Destination cache
+* @param [out] unsigned int* p_out_buf_len:Destination data length
+* @retval GSW_HAL_SUCCESS is success\other is fail
+*/
+int32_t gsw_tee_sm3_algo(char* in_data, unsigned int in_data_len, char *out_buf, unsigned int* p_out_buf_len,GSW_TEE_PARAM_TYPE in_param);
+
+/**
+* @brief sm4 algorithm
+* @param [in] char* in_obj_name :Key name or key information structure
+* @param [in] GSW_TEE_AM4_IN_PARAM* in_param :Entry information
+* @param [in/out] GSW_TEE_AM4_OUT_PARAM out_param :Exit message
+* @retval GSW_HAL_SUCCESS is success\other is fail
+*/
+int32_t gsw_tee_sm4_algo(char* in_obj_name, GSW_TEE_SM4_IN_PARAM* in_param, GSW_TEE_SM4_OUT_PARAM *out_param);
+
+/**
+* @brief key import
+* @param [in] char* in_obj_name :Key name or key information structure
+* @param [in] char* in_data :Source data/file name
+* @param [in] unsigned int in_data_len :Source data length
+* @param [in] bool permanent :Key import type
+* @param [out] void *out_buf :Returns key information
+* @retval GSW_HAL_SUCCESS is success\other is fail
+*/
+int32_t gsw_tee_aes_key_import(char* in_obj_name, char* in_data, unsigned int in_data_len,void *out_buf,bool permanent);
+
+/**
+* @brief rsa key import
+* @param [in] char* in_obj_name :Key name or key information structure
+* @param [in] GSW_TEE_RSA_PUB_KEY* in_pub_data :Public key information
+* @param [in] GSW_TEE_RSA_PRI_KEY* in_pri_data :Private key information
+* @param [in] bool permanent :Key import type
+* @param [out] void *out_buf :Returns key information
+* @retval GSW_HAL_SUCCESS is success\other is fail
+*/
+int32_t gsw_tee_rsa_key_import(char* in_obj_name, GSW_TEE_RSA_PUB_KEY* in_pub_data,GSW_TEE_RSA_PRI_KEY* in_pri_data,void *out_buf,bool permanent);
+
+/**
+* @brief ecc key import
+* @param [in] char* in_obj_name :Key name or key information structure
+* @param [in] GSW_TEE_ECC_PUB_KEY* in_data :Public key information
+* @param [in] GSW_TEE_ECC_PRI_KEY* in_data :Private key information
+* @param [in] bool permanent :Key import type
+* @param [out] void *out_buf :Returns key information
+* @retval GSW_HAL_SUCCESS is success\other is fail
+*/
+int32_t gsw_tee_ecc_key_import(char* in_obj_name, GSW_TEE_ECC_PUB_KEY* in_pub_data, GSW_TEE_ECC_PRI_KEY* in_pri_data,void *out_buf,bool permanent);
+
+/**
+* @brief ecc key import
+* @param [in] char* in_obj_name :Key name or key information structure
+* @param [in] GSW_TEE_SM2_PUB_KEY* in_data :Public key information
+* @param [in] GSW_TEE_SM2_PRI_KEY* in_data :Private key information
+* @param [in] bool permanent :Key import type
+* @param [out] void *out_buf :Returns key information
+* @retval GSW_HAL_SUCCESS is success\other is fail
+*/
+int32_t gsw_tee_sm2_key_import(char* in_obj_name, GSW_TEE_SM2_PUB_KEY* in_pub_data, GSW_TEE_SM2_PRI_KEY* in_pri_data,void *out_buf,bool permanent);
+
+/**
+* @brief sm4 key import
+* @param [in] char* in_obj_name :Key name or key information structure
+* @param [in] char* in_data :Source data/file name
+* @param [in] unsigned int in_data_len :Source data length
+* @param [in] bool permanent :Key import type
+* @param [out] void *out_buf :Returns key information
+* @retval GSW_HAL_SUCCESS is success\other is fail
+*/
+int32_t gsw_tee_sm4_key_import(char* in_obj_name, char* in_data, unsigned int in_data_len,void *out_buf,bool permanent);
+
+/**
+* @brief key export
+* @param [in] char* in_obj_name :Key name or key information structure
+* @param [in] unsigned int* p_out_buf_len:The size of Destination cache
+* @param [out] char *out_buf:Destination cache/file name
+* @param [out] unsigned int* p_out_buf_len:Destination data length
+* @retval GSW_HAL_SUCCESS is success\other is fail
+*/
+int32_t gsw_tee_aes_key_export(char* in_obj_name, char *out_buf, unsigned int* p_out_buf_len);
+
+/**
+* @brief key export
+* @param [in] char* in_obj_name :Key name or key information structure
+* @param [out] GSW_TEE_RSA_PUB_KEY*out_buf:Destination cache
+* @retval GSW_HAL_SUCCESS is success\other is fail
+*/
+int32_t gsw_tee_rsa_pub_key_export(char* in_obj_name, GSW_TEE_RSA_PUB_KEY*out_buf);
+
+/**
+* @brief ecc key export
+* @param [in] char* in_obj_name :Key name or key information structure
+* @param [out] GSW_TEE_ECC_PUB_KEY *out_buf:Destination cache
+* @retval GSW_HAL_SUCCESS is success\other is fail
+*/
+int32_t gsw_tee_ecc_pub_key_export(char* in_obj_name, GSW_TEE_ECC_PUB_KEY*out_buf);
+
+/**
+* @brief sm2 key export
+* @param [in] char* in_obj_name :Key name or key information structure
+* @param [out] GSW_TEE_SM2_PUB_KEY *out_buf:Destination cache
+* @retval GSW_HAL_SUCCESS is success\other is fail
+*/
+int32_t gsw_tee_sm2_pub_key_export(char* in_obj_name, GSW_TEE_SM2_PUB_KEY*out_buf);
+
+/**
+* @brief sm4 key export
+* @param [in] char* in_obj_name :Key name or key information structure
+* @param [in] unsigned int* p_out_buf_len:The size of Destination cache
+* @param [out] char *out_buf:Destination cache/file name
+* @param [out] unsigned int* p_out_buf_len:Destination data length
+* @retval GSW_HAL_SUCCESS is success\other is fail
+*/
+int32_t gsw_tee_sm4_key_export(char* in_obj_name, char *out_buf, unsigned int* p_out_buf_len);
+
+/**
+* @brief delete key
+* @param [in] char* in_obj_name :Key name or key information structure
+* @retval GSW_HAL_SUCCESS is success\other is fail
+*/
+int32_t gsw_tee_key_delete(char* in_obj_name);
+
+/**
+* @brief deinit tee sdk
+* @param [in] None
+* @param [out] None
+* @retval GSW_HAL_SUCCESS is success\other is fail
+*/
+int32_t gsw_tee_sdk_deinit(void);
+
diff --git a/mbtk/include/gsw/gsw_usb.h b/mbtk/include/gsw/gsw_usb.h
new file mode 100755
index 0000000..f125419
--- /dev/null
+++ b/mbtk/include/gsw/gsw_usb.h
@@ -0,0 +1,29 @@
+
+
+#include <string.h>
+#include <stdio.h>
+#include <stdbool.h>
+
+#define GSW_HAL_SUCCESS 0
+#define GSW_HAL_FAIL -1 //表示失败
+
+
+typedef enum{
+ EN_GSW_USB_SWITCH_CLOSE=0,
+ EN_GSW_USB_SWITCH_OPEN,
+ EN_GSW_USB_SWITCH_MAX,
+}EN_GSW_USB_SWITCH_TYPE;
+
+/**
+* @brief Power failure Save usb switch
+* @param [in] EN_GSW_USB_SWITCH_TYPE type:open or close type
+* @retval GSW_HAL_SUCCESS is success\other is fail
+*/
+int32_t gsw_usb_permanent_switch(EN_GSW_USB_SWITCH_TYPE type);
+
+/**
+* @brief usb switch is not saved after power failure
+* @param [in] EN_GSW_USB_SWITCH_TYPE type:open or close type
+* @retval GSW_HAL_SUCCESS is success\other is fail
+*/
+int32_t gsw_usb_tempporary_switch(EN_GSW_USB_SWITCH_TYPE type);
diff --git a/mbtk/include/gsw/gsw_voice.h b/mbtk/include/gsw/gsw_voice.h
index ef465dc..78a659b 100755
--- a/mbtk/include/gsw/gsw_voice.h
+++ b/mbtk/include/gsw/gsw_voice.h
@@ -50,15 +50,6 @@
*/
int32_t gsw_voice_set_speaker_volume(int32_t volume);
-
-/**
-* @brief set audio mode
-* @param [in] AudioMode audioMode
-* @param [out] None
-* @retval GSW_HAL_SUCCESS\GSW_HAL_FAIL
-*/
-int32_t gsw_voice_set_audio_mode(AudioMode audioMode);
-
/**
* @brief start a voice call
* @param [in] char *callNumber
@@ -93,6 +84,14 @@
int32_t gsw_voice_set_auto_answer_mode(int32_t mode);
/**
+* @brief set audio mode
+* @param [in] AudioMode audioMode
+* @param [out] None
+* @retval GSW_HAL_SUCCESS\GSW_HAL_FAIL
+*/
+int32_t gsw_voice_set_audio_mode(AudioMode audioMode);
+
+/**
* @brief set rtp ip address of remote
* @param [in] char *ip :ip address
* @param [in] int32_t len: length
@@ -101,16 +100,6 @@
*/
int32_t gsw_voice_set_remote_rtp_ip(const char *ip, int32_t len);
-
-/**
-* @brief set rtp vlan Noneme
-* @param [in] char *interfaceNoneme:vlan Noneme
-* @param [out] None
-* @retval GSW_HAL_SUCCESS\GSW_HAL_FAIL
-*/
-int32_t gsw_voice_set_rtp_vlan_info(const char *interfaceNoneme);
-
-
/**
* @brief set rtp mode and port
* @param [in] RTPMode rtpMode: rtp mode
@@ -129,3 +118,11 @@
* @retval GSW_HAL_SUCCESS\GSW_HAL_FAIL
*/
int32_t gsw_voice_set_rtp_param(int32_t clockRate, int32_t channel, int32_t latency);
+
+/**
+* @brief get current call end reason
+* @param [in] CallHandle handle
+* @param [out] None
+* @retval GSW_HAL_SUCCESS\GSW_HAL_FAIL
+*/
+int32_t gsw_voice_get_current_call_end_reason(CallHandle handle);
diff --git a/mbtk/include/lynq/lynq-qser-data.h b/mbtk/include/lynq/lynq-qser-data.h
new file mode 100755
index 0000000..a480312
--- /dev/null
+++ b/mbtk/include/lynq/lynq-qser-data.h
@@ -0,0 +1,287 @@
+#ifndef __LYNQ_QSER_DATA_H__
+#define __LYNQ_QSER_DATA_H__
+#ifdef __cplusplus
+extern "C" {
+#endif
+#include <stdbool.h>
+#include <netinet/in.h>
+
+typedef enum {
+ QSER_DATA_CALL_ERROR_NONE = 0,
+ QSER_DATA_CALL_ERROR_INVALID_PARAMS,
+ QSER_DATA_CALL_ERROR_NO_INIT,
+ QSER_DATA_CALL_ERROR_PDP_ACTIVATE,
+ QSER_DATA_CALL_ERROR_PDP_NO_ACTIVATE,
+ QSER_DATA_CALL_ERROR_IDX_NO_EXIST,
+ QSER_DATA_CALL_ERROR_UNKNOWN,
+} qser_data_call_error_e;
+
+typedef enum {
+ QSER_DATA_CALL_DISCONNECTED = 0, /*!< call is disconnected */
+ QSER_DATA_CALL_CONNECTED, /*!< call is connected */
+} qser_data_call_state_e;
+
+typedef enum {
+ QSER_DATA_CALL_TYPE_IPV4 = 0, /*!< IPv4 call. */
+ QSER_DATA_CALL_TYPE_IPV6, /*!< IPv6 call. */
+ QSER_DATA_CALL_TYPE_IPV4V6, /*!< IPv4 and IPv6 call (Only used call start or stop). */
+} qser_data_call_ip_family_e;
+
+typedef enum {
+ QSER_APN_PDP_TYPE_IPV4 = 0,
+ QSER_APN_PDP_TYPE_PPP,
+ QSER_APN_PDP_TYPE_IPV6,
+ QSER_APN_PDP_TYPE_IPV4V6,
+} qser_apn_pdp_type_e;
+
+typedef enum {
+ QSER_APN_AUTH_PROTO_DEFAULT = 0,
+ QSER_APN_AUTH_PROTO_NONE,
+ QSER_APN_AUTH_PROTO_PAP,
+ QSER_APN_AUTH_PROTO_CHAP,
+ QSER_APN_AUTH_PROTO_PAP_CHAP,
+} qser_apn_auth_proto_e;
+
+#define QSER_APN_MAX_LIST 8
+#define QSER_APN_NAME_SIZE 150+1
+#define QSER_APN_USERNAME_SIZE 127+1
+#define QSER_APN_PASSWORD_SIZE 127+1
+
+struct v4_address_status {
+ struct in_addr ip; /*!< Public IPv4 address. */
+ struct in_addr gateway; /*!< Public IPv4 gateway. */
+ struct in_addr pri_dns; /*!< Primary Domain Name Service IP address. */
+ struct in_addr sec_dns; /*!< Secondary Domain Name Service IP address. */
+};
+
+struct v6_address_status {
+ struct in6_addr ip; /*!< Public IPv6 address. */
+ struct in6_addr gateway; /*!< Public IPv6 gateway. */
+ struct in6_addr pri_dns; /*!< Primary Domain Name Service IPv6 address. */
+ struct in6_addr sec_dns; /*!< Secondary Domain Name Service IPv6 address. */
+};
+
+typedef struct {
+ char profile_idx; /*!< UMTS/CMDA profile ID. */
+ char name[16]; /*!< Interface Name. */
+ qser_data_call_ip_family_e ip_family; /*!< IP version. */
+ qser_data_call_state_e state; /*!< The dial status. */
+ qser_data_call_error_e err; /*!< The Reason code after data call disconnected. */
+ struct v4_address_status v4; /*!< IPv4 information. */
+ struct v6_address_status v6; /*!< IPv6 information. */
+} qser_data_call_state_s;
+
+/*
+ *!< Client callback function used to post event indications.
+ */
+typedef void (*qser_data_call_evt_cb_t)(qser_data_call_state_s *state);
+
+typedef struct {
+ char profile_idx; /*!< UMTS/CMDA profile ID. */
+ bool reconnect; /*!< Whether to re-dial after disconnecting the network. */
+ qser_data_call_ip_family_e ip_family; /*!< IP version. */
+ char cdma_username[QSER_APN_USERNAME_SIZE]; /*!< Username used during data network authentication. */
+ char cdma_password[QSER_APN_PASSWORD_SIZE]; /*!< Password to be used during data network authentication. */
+} qser_data_call_s;
+
+struct pkt_stats {
+ unsigned long pkts_tx; /*!< Number of packets transmitted. */
+ unsigned long pkts_rx; /*!< Number of packets received. */
+ long long bytes_tx; /*!< Number of bytes transmitted. */
+ long long bytes_rx; /*!< Number of bytes received. */
+ unsigned long pkts_dropped_tx; /*!< Number of transmit packets dropped. */
+ unsigned long pkts_dropped_rx; /*!< Number of receive packets dropped. */
+};
+
+struct v4_info {
+ char name[16]; /*!< Interface Name. */
+ qser_data_call_state_e state; /*!< The dial status. */
+ bool reconnect; /*!< re-dial flag. */
+ struct v4_address_status addr; /*!< IPv4 IP Address information. */
+ struct pkt_stats stats; /*!< IPv4 statics */
+};
+
+struct v6_info {
+ char name[16]; /*!< Interface Name. */
+ qser_data_call_state_e state; /*!< The dial status. */
+ bool reconnect; /*!< re-dial flag. */
+ struct v6_address_status addr; /*!< IPv6 IP Address information. */
+ struct pkt_stats stats; /*!< IPv6 statics */
+};
+
+typedef struct {
+ char profile_idx; /*!< UMTS/CDMA profile ID. */
+ qser_data_call_ip_family_e ip_family; /*!< IP version. */
+ struct v4_info v4; /*!< IPv4 information */
+ struct v6_info v6; /*!< IPv6 information */
+} qser_data_call_info_s;
+
+typedef struct {
+ unsigned char profile_idx; /*!< UMTS/CDMA profile ID. range: 0 - 7*/
+ qser_apn_pdp_type_e pdp_type; /*!< Packet Data Protocol (PDP) type specifies the type of data payload
+ exchanged over the airlink when the packet data session is
+ established with this profile. */
+ qser_apn_auth_proto_e auth_proto; /*!< Authentication Protocol. */
+ char apn_name[QSER_APN_NAME_SIZE]; /*!< A string parameter that is a logical name used to select the GGSN
+ and external packet data network. */
+ char username[QSER_APN_USERNAME_SIZE]; /*!< Username used during data network authentication. */
+ char password[QSER_APN_PASSWORD_SIZE]; /*!< Password to be used during data network authentication. */
+ char apn_type[QSER_APN_NAME_SIZE];
+} qser_apn_info_s;
+
+typedef struct {
+ qser_apn_pdp_type_e pdp_type; /*!< Packet Data Protocol (PDP) type specifies the type of data payload
+ exchanged over the airlink when the packet data session is
+ established with this profile. */
+ qser_apn_auth_proto_e auth_proto; /*!< Authentication Protocol. */
+ char apn_name[QSER_APN_NAME_SIZE]; /*!< A string parameter that is a logical name used to select the GGSN
+ and external packet data network. */
+ char username[QSER_APN_USERNAME_SIZE]; /*!< Username used during data network authentication. */
+ char password[QSER_APN_PASSWORD_SIZE]; /*!< Password to be used during data network authentication. */
+ char apn_type[QSER_APN_NAME_SIZE];
+} qser_apn_add_s;
+
+typedef struct {
+ int cnt;
+ qser_apn_info_s apn[QSER_APN_MAX_LIST];
+} qser_apn_info_list_s;
+
+
+/**
+ * Initialization data call module, and callback function registered.
+ *
+ * @param [in] evt_cb callback fucntion
+ *
+ * @return
+ * On success, 0 is returned. On error, -1 is returned.
+ *
+ */
+extern int qser_data_call_init(qser_data_call_evt_cb_t evt_cb);
+
+/**
+ * Destroy data call module, and unregister callback funciton
+ *
+ * @param
+ * None
+ *
+ * @return
+ * On success, 0 is returned. On error, -1 is returned.
+ *
+ */
+extern void qser_data_call_destroy(void);
+
+/**
+ * Starts a data call. If profile index is zero, it will call CDMA profile.
+ *
+ * @param [in] data_call The data call parameters
+ * @param [out] error Error code returned by data call
+ *
+ * @return
+ * On success, 0 is returned. On error, -1 is returned.
+ *
+ */
+extern int qser_data_call_start(qser_data_call_s *data_call, qser_data_call_error_e *err);
+
+/**
+ * Starts a data call. If profile index is zero, it will call CDMA profile.
+ *
+ * @param [in] data_call The data call parameters
+ * @param [out] error Error code returned by data call
+ *
+ * @return
+ * On success, 0 is returned. On error, -1 is returned.
+ *
+ */
+extern int qser_data_call_start_async(qser_data_call_s *data_call, qser_data_call_error_e *err);
+
+/**
+ * Stop a data call.
+ *
+ * @param [in] profile_idx UMTS/CDMA profile ID
+ * @param [in] ip_family IP Version
+ * @param [out] error Error code returned by data call
+ *
+ * @return
+ * On success, 0 is returned. On error, -1 is returned.
+ *
+ */
+extern int qser_data_call_stop(char profile_idx, qser_data_call_ip_family_e ip_family, qser_data_call_error_e *err);
+
+/**
+ * Get a data call information.
+ *
+ * @param [in] profile_idx UMTS/CDMA profile ID
+ * @param [in] ip_family IP Version
+ * @param [out] info The Data Call information
+ * @param [out] error Error code returned by data call
+ *
+ * @return
+ * On success, 0 is returned. On error, -1 is returned.
+ *
+ */
+extern int qser_data_call_info_get(char profile_idx,
+ qser_data_call_ip_family_e ip_family,
+ qser_data_call_info_s *info,
+ qser_data_call_error_e *err);
+
+/**
+ * Changes the settings in a configured profile.
+ *
+ * @param [in] apn the profile information.
+ *
+ * @return
+ * On success, 0 is returned. On error, -1 is returned, such apn not exist.
+ *
+ */
+extern int qser_apn_set(qser_apn_info_s *apn);
+
+/**
+ * Retrieves the settings from a configured profile.
+ *
+ * @param [in] profile_idx UMTS/CDMA profile ID
+ * @param [out] apn the profile information.
+ *
+ * @return
+ * On success, 0 is returned. On error, -1 is returned.
+ *
+ */
+extern int qser_apn_get(unsigned char profile_idx, qser_apn_info_s *apn);
+
+/**
+ * Retrieves the settings from a configured profile.
+ *
+ * @param [in] apn the profile information.
+ * @param [out] profile_idx UMTS/CDMA profile ID
+ *
+ * @return
+ * On success, 0 is returned. On error, -1 is returned.
+ *
+ */
+extern int qser_apn_add(qser_apn_add_s *apn, unsigned char *profile_idx);
+
+/**
+ * Delete a configured profile.
+ *
+ * @param [in] profile_idx UMTS/CDMA profile ID
+ *
+ * @return
+ * On success, 0 is returned. On error, -1 is returned.
+ *
+ */
+extern int qser_apn_del(unsigned char profile_idx);
+
+/**
+ * Retrieves the settings from a configured profile list.
+ *
+ * @param [out] apn_list the profile list information.
+ *
+ * @return
+ * On success, 0 is returned. On error, -1 is returned.
+ *
+ */
+extern int qser_apn_get_list(qser_apn_info_list_s *apn_list);
+#ifdef __cplusplus
+}
+#endif
+#endif
+
diff --git a/mbtk/include/mbtk/mbtk_oem_rw.h b/mbtk/include/mbtk/mbtk_oem_rw.h
new file mode 100755
index 0000000..74f2014
--- /dev/null
+++ b/mbtk/include/mbtk/mbtk_oem_rw.h
@@ -0,0 +1,18 @@
+
+#ifndef MBTK_OEM_RW_H
+#define MBTK_OEM_RW_H
+
+int mbtk_oem_read_data_ext(unsigned int block_id, void *data, unsigned int *len);
+
+/**
+ * @brief Write data to spec block of flash
+ * @param [in] unsigned int
+ * @param [in] void *
+ * @param [in] unsigned int
+ * @retval 0: success
+ * @retval GSW_HAL_SUCCESS\GSW_HAL_FAIL
+ */
+int mbtk_oem_write_data_ext(unsigned int block_id, void *data, unsigned int len);
+#endif
+
+
diff --git a/mbtk/include/ql/DSI_ConnectManager.h b/mbtk/include/ql/DSI_ConnectManager.h
new file mode 100755
index 0000000..3a8029f
--- /dev/null
+++ b/mbtk/include/ql/DSI_ConnectManager.h
@@ -0,0 +1,259 @@
+/**
+ @file
+ DSI_ConnectManager.h
+
+ @brief
+ This file provides the definitions for dsi, and declares the
+ API functions.
+
+*/
+/*============================================================================
+ Copyright (c) 2017 Quectel Wireless Solution, Co., Ltd. All Rights Reserved.
+ Quectel Wireless Solution Proprietary and Confidential.
+ =============================================================================*/
+/*===========================================================================
+
+ EDIT HISTORY FOR MODULE
+
+This section contains comments describing changes made to the module.
+Notice that changes are listed in reverse chronological order.
+
+
+WHEN WHO WHAT, WHERE, WHY
+---------- ------------ ----------------------------------------------------
+24/07/2019 Nebula.li create
+=============================================================================*/
+
+#ifndef __DSI_CONNECTMANAGER_H__
+#define __DSI_CONNECTMANAGER_H__
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#define QL_WAN_SUCCESS (0)
+#define QL_WAN_ERROR (-1)
+#define QL_INTERFACE_NAME_LEN 16
+#define QL_IPV4_MAX_ADDR_LEN 32
+#define QL_IPV6_MAX_ADDR_LEN 128
+
+
+/**
+ * used to check network status, when timeout, start data call again.
+*/
+#define QL_WAN_NETWORK_STATUS_MAX_TIMEOUT (60)
+
+
+/**
+ * DSI event define
+ */
+typedef enum
+{
+ CONNECT_DISCON = 0x00,
+ CONNECT_CONSUCCESS,
+ CONNECT_CONNING,
+ CONNECT_REDIAL,
+ CONNECT_DIAL_IMMEDIATELY,
+ CONNECT_ROAM,
+ CONNECT_WAIT_NWCHANGE,
+ CONNECT_GET_GLOBALIP_ERR,
+ CONNECT_DEACTIVATED,
+ CONNECT_WAIT_PS_ATTACH,
+
+ FAIL_BASE_INDEX=0x10,
+ SIM_NOT_READY=FAIL_BASE_INDEX+0x01,
+ NW_NOT_READY=FAIL_BASE_INDEX+0x02,
+ PDP_OPERATOR_BARRED =FAIL_BASE_INDEX+0x08, /* no retry */
+ PDP_INSUFFICIENT_RESOURCES =FAIL_BASE_INDEX+0x1A,
+ PDP_MISSING_UKNOWN_APN = FAIL_BASE_INDEX+0x1B, /* no retry */
+ PDP_UNKNOWN_PDP_ADDRESS_TYPE = FAIL_BASE_INDEX+0x1C, /* no retry */
+ PDP_USER_AUTHENTICATION = FAIL_BASE_INDEX+0x1D, /* no retry */
+ PDP_ACTIVATION_REJECT_GGSN = FAIL_BASE_INDEX+0x1E, /* no retry */
+ PDP_ACTIVATION_REJECT_UNSPECIFIED = FAIL_BASE_INDEX+0x1F,
+ PDP_SERVICE_OPTION_NOT_SUPPORTED = FAIL_BASE_INDEX+0x20, /* no retry */
+ PDP_SERVICE_OPTION_NOT_SUBSCRIBED = FAIL_BASE_INDEX+0x21, /* no retry */
+ PDP_SERVICE_OPTION_OUT_OF_ORDER = FAIL_BASE_INDEX+0x22,
+ PDP_NSAPI_IN_USE = FAIL_BASE_INDEX+0x23, /* no retry */
+ PDP_REGULAR_DEACTIVATION = FAIL_BASE_INDEX+0x24, /* possibly restart radio,
+ based on framework config */
+ PDP_ONLY_IPV4_ALLOWED = FAIL_BASE_INDEX+0x32, /* no retry */
+ PDP_ONLY_IPV6_ALLOWED = FAIL_BASE_INDEX+0x33, /* no retry */
+ PDP_ONLY_SINGLE_BEARER_ALLOWED = FAIL_BASE_INDEX+0x34,
+ PDP_PROTOCOL_ERRORS = FAIL_BASE_INDEX+0x6F, /* no retry */
+
+ /* Not mentioned in the specification */
+ PDP_VOICE_REGISTRATION_FAIL = -1,
+ PDP_DATA_REGISTRATION_FAIL = -2,
+
+ /* reasons for data call drop - network/modem disconnect */
+ PDP_SIGNAL_LOST = -3,
+ PDP_PREF_RADIO_TECH_CHANGED = -4,/* preferred technology has changed, should retry
+ with parameters appropriate for new technology */
+ PDP_RADIO_POWER_OFF = -5, /* data call was disconnected because radio was resetting,
+ powered off - no retry */
+ PDP_TETHERED_CALL_ACTIVE = -6, /* data call was disconnected by modem because tethered
+ mode was up on same APN/data profile - no retry until
+ tethered call is off */
+ PDP_CID_EXIST_FAIL = -7, /* cid is exist already*/
+
+ PDP_NO_CCINET=-10,
+ PDP_DHCP_SERVER_ERR_PIPE=-11,
+
+ PDP_ERROR_UNSPECIFIED = 0xffff, /* retry silently */
+ QL_DSI_EVT_MAX
+} QL_DSI_NET_EVT_T;
+
+#define SIM_REMOVED SIM_NOT_READY
+
+typedef struct
+{
+ char ip[QL_IPV4_MAX_ADDR_LEN];
+ char pri_dns[QL_IPV4_MAX_ADDR_LEN];
+ char sec_dns[QL_IPV4_MAX_ADDR_LEN];
+ char name[QL_INTERFACE_NAME_LEN];
+ char gateway[QL_IPV4_MAX_ADDR_LEN];
+}v4_address_status;
+
+typedef struct
+{
+ int state; //dial status
+ v4_address_status addr; //IPv4 address information
+}v4_info;
+
+typedef struct
+{
+ char ip[QL_IPV6_MAX_ADDR_LEN];
+ char pri_dns[QL_IPV6_MAX_ADDR_LEN];
+ char sec_dns[QL_IPV6_MAX_ADDR_LEN];
+ char name[QL_INTERFACE_NAME_LEN];
+ char gateway[QL_IPV6_MAX_ADDR_LEN];
+}v6_address_status;
+
+typedef struct
+{
+ int state; //dial status
+ v6_address_status addr; //IPv6 address information
+}v6_info;
+
+typedef struct
+{
+ int profile_idx;
+ int ip_type;
+ v4_info v4;
+ v6_info v6;
+}ql_data_call_info;
+
+/**
+ * DSI auth pref define
+*/
+typedef enum
+{
+ QL_DSI_AUTH_PREF_NULL = 0,
+ QL_DSI_AUTH_PREF_ONLY_PAP,
+ QL_DSI_AUTH_PREF_ONLY_CHAP,
+ //QL_DSI_AUTH_PREF_BOTH_PAP_CHAP
+} QL_DSI_AUTH_PREF_T;
+
+/**
+ * callback function used in ql_wan_start, when data call status changed,
+ * Use callback functions for notifications, see enum QL_DSI_NET_EVT_T
+*/
+typedef void (*nw_status_cb)(int status);
+
+
+typedef void (*ex_conn_status_cb)(int cid,int iptype,int status,int cause);
+
+
+
+/*-----------------------------------------------------------------------------------------------*/
+/**
+ @brief data call init function, must call first.
+ @return if success return QL_WAN_SUCCESS, else return QL_WAN_ERROR
+ */
+/*-----------------------------------------------------------------------------------------------*/
+int ql_wan_init();
+
+/*-----------------------------------------------------------------------------------------------*/
+/**
+ @brief data call release function, must call finally.
+ @return if success return QL_WAN_SUCCESS, else return QL_WAN_ERROR
+ */
+/*-----------------------------------------------------------------------------------------------*/
+int ql_wan_release();
+
+
+/*-----------------------------------------------------------------------------------------------*/
+/**
+ @brief data call auto connect set, include auto status and interval(seconds).
+ @param[in] auto_status When it is 0, the network cannot be automatically reconnected
+ after disconnection; when it is 1, it can be automatically reconnected
+ @param[in] interval_sec data call status check interval
+ the max value is QL_WAN_NETWORK_STATUS_MAX_TIMEOUT
+ @return if success return QL_WAN_SUCCESS, else return QL_WAN_ERROR
+ */
+/*-----------------------------------------------------------------------------------------------*/
+int ql_wan_set_autoconnect(int auto_status, int interval_sec);
+
+/*-----------------------------------------------------------------------------------------------*/
+/**
+ @brief start data call, must call ql_wan_init first.
+ @param[in] nw_cb this is a callback function, when data call status changed, Use callback
+ functions for notifications
+ @return if success return QL_WAN_SUCCESS, else return QL_WAN_ERROR
+ */
+/*-----------------------------------------------------------------------------------------------*/
+int ql_wan_start(int profile_idx, int op, nw_status_cb nw_cb);
+
+/*-----------------------------------------------------------------------------------------------*/
+/**
+ @brief start data call, must call ql_wan_init first.
+ @param[in] nw_cb this is a callback function, when data call status changed, Use callback
+ functions for notifications
+ @return if success return QL_WAN_SUCCESS, else return QL_WAN_ERROR
+ */
+/*-----------------------------------------------------------------------------------------------*/
+int ql_wan_start_ex(int profile_idx, int op, ex_conn_status_cb nw_cb);
+
+/*-----------------------------------------------------------------------------------------------*/
+/**
+ @brief data call stop function.
+ @return if success return QL_WAN_SUCCESS, else return QL_WAN_ERROR
+ */
+/*-----------------------------------------------------------------------------------------------*/
+int ql_wan_stop(int profile_idx);
+
+
+/*-----------------------------------------------------------------------------------------------*/
+/**
+ @brief function to set apn.
+ @param[in] apn apn name want to set
+ @param[in] username user name of apn
+ @param[in] password password of apn
+ @param[in] auth auth type of apn, see enum QL_DSI_AUTH_PREF_T
+ @return if success return QL_WAN_SUCCESS, else return QL_WAN_ERROR
+ */
+/*-----------------------------------------------------------------------------------------------*/
+int ql_wan_setapn(int profile_idx, int ip_type, const char *apn, const char *userName, const char *password, QL_DSI_AUTH_PREF_T auth);
+/*-----------------------------------------------------------------------------------------------*/
+/**
+ @brief function to get first apn infomation.
+ @param[out] apn apn name to return
+ @param[in ] apnLen apn name buffer size
+ @param[out] userName username of apn to return
+ @param[in ] userLen username buffer size
+ @param[out] password password to return
+ @param[in ] pwdLen password buffer size
+ @return if success return QL_WAN_SUCCESS, else return QL_WAN_ERROR
+ */
+/*-----------------------------------------------------------------------------------------------*/
+
+#define ql_wan_getapn(profile_idx,ip_type,apn,apnLen,userName,userLen,password,pwdLen,...) __ql_wan_getapn(profile_idx,ip_type,apn,apnLen,userName,userLen,password,pwdLen,(NULL,##__VA_ARGS__))
+
+int __ql_wan_getapn(int profile_idx, int *ip_type, char *apn, int apnLen, char *userName, int userLen, char *password, int pwdLen,int* auth);
+int ql_get_data_call_info(int profile_idx, ql_data_call_info *info);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif
diff --git a/mbtk/include/ql/ql_adc.h b/mbtk/include/ql/ql_adc.h
new file mode 100755
index 0000000..a2c71df
--- /dev/null
+++ b/mbtk/include/ql/ql_adc.h
@@ -0,0 +1,47 @@
+/*****************************************************************************
+* Copyright Statement:
+* --------------------
+* This software is protected by Copyright and the information contained
+* herein is confidential. The software may not be copied and the information
+* contained herein may not be used or disclosed except with the written
+* permission of Quectel Co., Ltd. 2019
+*
+*****************************************************************************/
+/*****************************************************************************
+ *
+ * Filename:
+ * ---------
+ * ql_adc.h
+ *
+ * Project:
+ * --------
+ * OpenLinux
+ *
+ * Description:
+ * ------------
+ * ADC API defines.
+ *
+ *
+ *============================================================================
+ * HISTORY
+ *----------------------------------------------------------------------------
+ * WHO WHEN WHAT
+ *----------------------------------------------------------------------------
+ * Carola.Zhang 20/11/2019 Create.
+ ****************************************************************************/
+
+#ifndef __QL_ADC_H__
+#define __QL_ADC_H__
+
+typedef enum {
+ QADC_NONE = -1,
+ ADC0 = 0,
+ ADC1 = 1,
+ QADC_END
+}Enum_QADC;
+
+
+int ql_adc_show(Enum_QADC qadc);
+
+
+#endif
\ No newline at end of file
diff --git a/mbtk/include/ql/ql_at.h b/mbtk/include/ql/ql_at.h
new file mode 100755
index 0000000..9cd6e8f
--- /dev/null
+++ b/mbtk/include/ql/ql_at.h
@@ -0,0 +1,91 @@
+
+#ifndef __QL_AT_H__
+#define __QL_AT_H__
+
+//#include <stdint.h>
+#include <string.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#define TRUE 1
+#define FALSE 0
+
+#define BUF_LEN 1024
+
+#define MAX_URC_EVENT_HANDLER_ARRAY_SIZE 10
+
+//typedef unsigned int size_t;
+typedef int URC_EVENT_HANDLE;
+typedef void (*ql_urc_event_handle_func_t)(const char* urc_content);
+
+typedef struct
+{
+ char* urc_event;
+ ql_urc_event_handle_func_t pfun;
+} st_urc_handle_node;
+
+//--------------------------------------------------------------------------------------------------
+/**
+ * Standard result codes.
+ *
+ * @note All error codes are negative integers. They allow functions with signed
+ * integers to return non-negative values when successful or standard error codes on failure.
+ * @deprecated the result code LE_NOT_POSSIBLE is scheduled to be removed.
+ */
+//--------------------------------------------------------------------------------------------------
+typedef enum
+{
+ E_QL_OK = 0, ///< Successful.
+ E_QL_NOT_FOUND = -1, ///< Referenced item does not exist or could not be found.
+ E_QL_NOT_POSSIBLE = -2, ///< @deprecated It is not possible to perform the requested action.
+ E_QL_OUT_OF_RANGE = -3, ///< An index or other value is out of range.
+ E_QL_NO_MEMORY = -4, ///< Insufficient memory is available.
+ E_QL_NOT_PERMITTED = -5, ///< Current user does not have permission to perform requested action.
+ E_QL_FAULT = -6, ///< Unspecified internal error.
+ E_QL_COMM_ERROR = -7, ///< Communications error.
+ E_QL_TIMEOUT = -8, ///< A time-out occurred.
+ E_QL_OVERFLOW = -9, ///< An overflow occurred or would have occurred.
+ E_QL_UNDERFLOW = -10, ///< An underflow occurred or would have occurred.
+ E_QL_WOULD_BLOCK = -11, ///< Would have blocked if non-blocking behaviour was not requested.
+ E_QL_DEADLOCK = -12, ///< Would have caused a deadlock.
+ E_QL_FORMAT_ERROR = -13, ///< Format error.
+ E_QL_DUPLICATE = -14, ///< Duplicate entry found or operation already performed.
+ E_QL_BAD_PARAMETER = -15, ///< Parameter is invalid.
+ E_QL_CLOSED = -16, ///< The resource is closed.
+ E_QL_BUSY = -17, ///< The resource is busy.
+ E_QL_UNSUPPORTED = -18, ///< The underlying resource does not support this operation.
+ E_QL_IO_ERROR = -19, ///< An IO operation failed.
+ E_QL_NOT_IMPLEMENTED = -20, ///< Unimplemented functionality.
+ E_QL_UNAVAILABLE = -21, ///< A transient or temporary loss of a service or resource.
+ E_QL_TERMINATED = -22, ///< The process, operation, data stream, session, etc. has stopped.
+}E_QL_RESULT;
+
+extern const char strDelimit[];
+
+extern st_urc_handle_node g_urc_handler[];
+
+/*
+ Specify the AT port name used for sending/receiving AT cmd.
+*/
+extern int QL_AT_PortInit(char *device_path);
+
+extern void QL_AT_PortDeinit(void);
+
+/*
+ register the URC event call back, such as "+CMT: ;+CDS: ;+CBM: ;+CMTI: ;" seperated by ";" for sms.
+*/
+extern URC_EVENT_HANDLE register_urc_callback_func(const char* urc_event, ql_urc_event_handle_func_t pfun);
+
+/*
+ unregister the URC event call back.
+*/
+extern void unregister_urc_callback_func(URC_EVENT_HANDLE h_handle);
+
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif //__QL_AT_H__
diff --git a/mbtk/include/ql/ql_atc.h b/mbtk/include/ql/ql_atc.h
new file mode 100755
index 0000000..4c8d8a8
--- /dev/null
+++ b/mbtk/include/ql/ql_atc.h
@@ -0,0 +1,63 @@
+/**
+ @file
+ ql_atc.h
+ @brief
+ send at command api
+
+*/
+/*============================================================================
+ Copyright (c) 2017 Quectel Wireless Solution, Co., Ltd. All Rights Reserved.
+ Quectel Wireless Solution Proprietary and Confidential.
+ =============================================================================*/
+/*===========================================================================
+
+ EDIT HISTORY FOR MODULE
+
+This section contains comments describing changes made to the module.
+Notice that changes are listed in reverse chronological order.
+
+
+WHEN WHO WHAT, WHERE, WHY
+---------- ------------ ----------------------------------------------------
+06/07/2022 Wayen.xu create
+=============================================================================*/
+
+#ifndef QL_ATC_H
+#define QL_ATC_H
+
+/*******************************************************
+* @method: ql_atc_init
+* @Description: initialize environment variables.
+* @param: void
+* @return:
+ success: return 0
+ error: return !0
+********************************************************/
+int ql_atc_init();
+
+/*******************************************************
+* @method: ql_atc_release
+* @Description: release environment variables.
+* @param: void
+* @return:
+ success: return 0
+ error: return !0
+********************************************************/
+int ql_atc_release();
+
+/*******************************************************
+* @method: ql_atc_send
+* @Description: send at command(synchronous)
+ use this api should first call init api and finish call release api
+* @param:
+ cmd: at command
+ resp: at return value
+ len: response value length
+* @return:
+ success: return 0
+ error: return !0
+********************************************************/
+int ql_atc_send(char* cmd, char* resp, int resp_len);
+
+
+#endif
diff --git a/mbtk/include/ql/ql_audio.h b/mbtk/include/ql/ql_audio.h
new file mode 100755
index 0000000..68c2190
--- /dev/null
+++ b/mbtk/include/ql/ql_audio.h
@@ -0,0 +1,627 @@
+/**
+ @file
+ ql_audio.h
+
+ @brief
+ This file provides the definitions for audio & record, and declares the
+ API functions.
+
+*/
+/*============================================================================
+ Copyright (c) 2017 Quectel Wireless Solution, Co., Ltd. All Rights Reserved.
+ Quectel Wireless Solution Proprietary and Confidential.
+ =============================================================================*/
+/*===========================================================================
+
+ EDIT HISTORY FOR MODULE
+
+This section contains comments describing changes made to the module.
+Notice that changes are listed in reverse chronological order.
+
+
+WHEN WHO WHAT, WHERE, WHY
+---------- ------------ ----------------------------------------------------
+07/06/2018 Stanley.yong Revise the comments for API.
+19/04/2018 Zichar.zhang Add Ql_Update_wav_size function.
+ Add Ql_AudPlayer_OpenExt function.
+ Add Ql_AudRecorder_OpenExt function.
+19/12/2016 Stanley.yong Optimize the APIs, and add comments.
+13/12/2016 Running.qian Implement newly-designed APIs.
+18/07/2016 Jun.wu Create
+=============================================================================*/
+
+#ifndef __AUD_H__
+#define __AUD_H__
+
+//this two headers for alsa params setting
+// #include "asoundlib.h"
+//#include "alsa-intf/alsa_audio.h"
+
+#include "mbtk_type.h"
+
+#define QUEC_PCM_8K 8000
+#define QUEC_PCM_16K 16000
+#define QUEC_PCM_44k 44100
+#define QUEC_PCM_MONO 1
+#define QUEC_PCM_STEREO 2
+
+typedef enum {
+ AUD_UP_LINK = 0,
+ AUD_DOWN_LINK,
+} Enum_AudDlink;
+
+typedef enum {
+ AUD_PLAYER_ERROR = -1,
+ AUD_PLAYER_START = 0,
+ AUD_PLAYER_PAUSE,
+ AUD_PLAYER_RESUME,
+ AUD_PLAYER_NODATA, //Buff no data and play tread will sleep
+ AUD_PLAYER_LESSDATA, //Buff has less data
+ AUD_PLAYER_FINISHED,
+} Enum_AudPlayer_State;
+
+typedef enum {
+ AUD_RECORDER_ERROR = -1,
+ AUD_RECORDER_START = 0,
+ AUD_RECORDER_PAUSE,
+ AUD_RECORDER_RESUME,
+ AUD_RECORDER_FINISHED,
+} Enum_AudRecorder_State;
+
+
+/****************************************************************************
+* Audio Volume Level Definition
+***************************************************************************/
+typedef enum {
+ AUD_VOLUME_LEVEL1 = 0,
+ AUD_VOLUME_LEVEL2,
+ AUD_VOLUME_LEVEL3,
+ AUD_VOLUME_LEVEL4,
+ AUD_VOLUME_LEVEL5,
+ AUD_VOLUME_LEVEL_END
+}Enum_AudVolumeLevel;
+
+/****************************************************************************
+* Audio Format
+***************************************************************************/
+typedef enum {
+ AUD_STREAM_FORMAT_MP3 = 0,
+ AUD_STREAM_FORMAT_AMR = 1,
+ AUD_STREAM_FORMAT_PCM = 2,
+ AUD_STREAM_FORMAT_END
+} Enum_AudStreamFormat;
+
+/****************************************************************************
+* Audio Direct
+***************************************************************************/
+typedef enum {
+ AUD_LINK_REVERSE = 0,
+ AUD_LINK_FORWARD = 1,
+ AUD_LINK_BOTH = 2,
+ AUD_LINK_INVALID
+}Enum_AudStreamDirection;
+
+
+/*****************************************************************
+********************New Advanced Audio High API******************
+* ***************************************************************/
+struct wav_header {
+ uint32_t riff_id;
+ uint32_t riff_sz;
+ uint32_t riff_fmt;
+ uint32_t fmt_id;
+ uint32_t fmt_sz;
+ uint16_t audio_format;
+ uint16_t num_channels;
+ uint32_t sample_rate;
+ uint32_t byte_rate; /* sample_rate * num_channels * bps / 8 */
+ uint16_t block_align; /* num_channels * bps / 8 */
+ uint16_t bits_per_sample;
+ uint32_t data_id;
+ uint32_t data_sz;
+};
+
+#define ID_RIFF 0x46464952
+#define ID_WAVE 0x45564157
+#define ID_FMT 0x20746d66
+#define ID_DATA 0x61746164
+#define FORMAT_PCM 1
+
+struct ST_MediaParams {
+ Enum_AudStreamFormat format;
+ Enum_AudVolumeLevel volume;
+ Enum_AudStreamDirection direct;
+};
+
+
+//
+// Function: _cb_onPlayer
+//
+// Description:
+// This callback function handles the result of audio player.
+//
+// @param hdl:
+// Handle received from Ql_AudPlayer_Open().
+// @param result:
+// the executing result for previous operation, such as Open, Play, Pause, Resume, Stop.
+// see the definition of Enum_AudPlayer_State for the specific meaning.
+typedef int(*_cb_onPlayer)(int hdl, int result);
+//
+// Function: _cb_onRecorder
+//
+// Description:
+// This callback function handles the result of audio recorder.
+// If result < 0, the recorder will stop the recording automatically.
+//
+// @param result:
+// the executing result for previous operation, such as Open, StartRecord, Pause, Resume, Stop.
+// see the definition of Enum_AudRecorder_State for the specific meaning.
+// @param pBuf:
+// pointer to the output recording (PCM) data.
+// @param length:
+// the length of the output recording (PCM) data.
+typedef int(*_cb_onRecorder)(int result, unsigned char* pBuf, unsigned int length); //if result < 0 will stop record, else continue record
+
+/*****************************************************************
+* Function: Ql_AudPlayer_Open
+*
+* Description:
+* Open audio play device, and specify the callback function.
+* This function can be called twice to play different audio sources.
+*
+* Parameters:
+* device : a string that specifies the PCM device.
+* NULL, means the audio will be played on the default PCM device.
+*
+* If you want to mixedly play audio sources, you can call this
+* API twice with specifying different PCM device.
+* The string devices available:
+* "hw:0,0" (the default play device)
+* "hw:0,13" (this device can mix audio and TTS)
+* "hw:0,14"
+*
+* cb_func : callback function for audio player.
+* The results of all operations on audio player
+* are informed in callback function.
+*
+* Return:
+* pcm device handle on success
+* -1 for failure
+*****************************************************************/
+int Ql_AudPlayer_Open(char* device, _cb_onPlayer cb_func);
+
+/*========================================================================
+ FUNCTION: Ql_AudPlayer_Play
+=========================================================================*/
+/** @brief
+ This function writes pcm data to pcm device to play.
+
+ @param[in] hdl, the handle returned by Ql_AudPlayer_Open().
+ @param[in] pData, pointer to the start address of pcm data.
+ @param[in] length, the length of pcm data.
+
+ @return
+ on success, the return value is the number of bytes to play
+ on failure, the return value is -1;
+
+ @dependencies
+ Ql_AudPlayer_Open() must be first called successfully.
+*/
+/*=======================================================================*/
+int Ql_AudPlayer_Play(int hdl, unsigned char* pData, unsigned int length);
+
+/*========================================================================
+ FUNCTION: Ql_AudPlayer_PlayFrmFile
+=========================================================================*/
+/** @brief
+ This function plays the pcm data from the specified file.
+
+ @param[in] hdl, the handle returned by Ql_AudPlayer_Open().
+ @param[in] fd, a file descriptor that contains pcm data.
+ Note:
+ the file offset should be set to the start position of pcm
+ data region, which means you should move the file offset
+ skipping the file header (such as wave header, amr header).
+ @param[in] offset, file offset. Please set it to -1 if no need to use.
+
+ @return
+ 0 on success
+ -1 on failure
+
+ @dependencies
+ Ql_AudPlayer_Open() must be first called successfully.
+*/
+/*=======================================================================*/
+int Ql_AudPlayer_PlayFrmFile(int hdl, int fd, int offset);
+//
+// Function: Ql_AudPlayer_Pause
+//
+// Description:
+// Pause playing.
+// @param hdl:
+// Handle received from Ql_AudPlayer_Open().
+int Ql_AudPlayer_Pause(int hdl);
+//
+// Function: Ql_AudPlayer_Resume
+//
+// Description:
+// Resume playing.
+// @param hdl:
+// Handle received from Ql_AudPlayer_Open().
+int Ql_AudPlayer_Resume(int hdl);
+//
+// Function: Ql_AudPlayer_Stop
+//
+// Description:
+// Stop playing audio
+// hdl:
+// Handle received from Ql_AudPlayer_Open().
+void Ql_AudPlayer_Stop(int hdl);
+//
+// Function: Ql_AudPlayer_Close
+//
+// Description:
+// Close player, and free the resource.
+// @param hdl:
+// Handle received from Ql_AudPlayer_Open().
+void Ql_AudPlayer_Close(int hdl);
+
+
+int Ql_AudPlayer_set_LessDataThreshold(int hdl, unsigned short threshSize);
+
+int Ql_AudPlayer_get_freeSpace(int hdl);
+
+
+/*****************************************************************
+* Function: Ql_AudRecorder_Open
+*
+* Description:
+* Open audio record device, and specify the callback function.
+*
+* Parameters:
+* device : not used. MUST be NULL.
+*
+* cb_func : callback function for audio player.
+* The results of all operations on audio recorder
+* are informed in callback function.
+*
+* Return:
+* pcm device handle
+* -1 for failure
+*****************************************************************/
+int Ql_AudRecorder_Open(char* device, _cb_onRecorder cb_fun);
+//
+// Function: Ql_AudRecorder_StartRecord
+//
+// Description:
+// Start to record.
+// The record data is output in _cb_onRecorder.
+//
+// Return:
+// 0 on success
+// -1 on failure
+int Ql_AudRecorder_StartRecord(void);
+//
+// Function: Ql_AudRecorder_Pause
+//
+// Description:
+// Pause recording
+int Ql_AudRecorder_Pause(void);
+//
+// Function: Ql_AudRecorder_Resume
+//
+// Description:
+// Resume recording
+int Ql_AudRecorder_Resume(void);
+//
+// Function: Ql_AudRecorder_Stop
+//
+// Description:
+// Stop recording
+void Ql_AudRecorder_Stop(void);
+//
+// Function: Ql_AudRecorder_Close
+//
+// Description:
+// Close recorder, and free the resource
+void Ql_AudRecorder_Close(void);
+
+//
+// Function: Ql_clt_set_mixer_value
+//
+// Description:
+// Close recorder, and free the resource
+boolean Ql_clt_set_mixer_value(const char *device, int count, const char *value);
+
+
+//****************QL TONE API************************//
+struct Ql_TonePara {
+ unsigned int lowFreq; //100-4000HZ
+ unsigned int highFreq; //100-4000HZ
+ unsigned int volume; //0 -1000
+ unsigned int duration; // >0 ms
+};
+
+int Ql_AudTone_Open(char* device, _cb_onPlayer cb);//cb not support now
+int Ql_AudTone_Start(int hdl, struct Ql_TonePara *para);
+void Ql_AudTone_Stop(int hdl);
+void Ql_AudTone_Close(int hdl);
+
+
+//****************QL Codec API************************//
+struct Ql_ALC5616_DRCAGC {
+ unsigned short control1_mask;
+ unsigned short control1_value;
+ unsigned short control2_mask;
+ unsigned short control2_value;
+ unsigned short control3_mask;
+ unsigned short control3_value;
+};
+
+//
+// Function: Ql_AudCodec_Set_ALC5616_DRCAGC
+//
+// Description:
+// Set ALC5616 DRC/AGC configuration
+int Ql_AudCodec_Set_ALC5616_DRCAGC(const char *i2c, struct Ql_ALC5616_DRCAGC *cfg);
+
+//
+// Function: Ql_Update_wav_size
+//
+// Description:
+// update wav format file size in the header
+// @param fd:
+// wav file discriptor
+// @param size:
+// wav file size to update
+int Ql_Update_wav_size(int fd, int size);
+
+//add by grady, 2018-5-29
+/*
+ * describe : this function is use to open pcm device
+ * paras :
+ * device : this should be fix to hw:0,0
+ * flags ; pcm play flags
+ * rate: sample rate
+ * channels : audio channal 1 or 2
+ * format: format to play or record, 16bit line,MP3
+ * hostless: if there is no file it is true
+ * return :
+ * pcm : pcm handle, use can use this handle to read write data
+ */
+struct pcm *quec_pcm_open(char *device, unsigned flags, unsigned rate, unsigned channels, unsigned format, unsigned hostless);
+
+/*
+ * describe : this function is use to close pcm handle
+ * paras :
+ * pcm : pcm handle to close
+ * return :
+ */
+int quec_pcm_close(struct pcm *pcm );
+
+/*
+ * describe : this function is use to read pcm buffer
+ * paras :
+ * pcm : pcm handle to write date
+ * buffer: data buffer
+ * lenth: data length
+ * return :
+ */
+int quec_read_pcm(struct pcm *pcm, void * buffer, int length);
+
+/*
+ * describe : this function is use to get pcm buffer lenth
+ * paras :
+ * lenth: data length
+ * return
+ * buffer length
+ */
+int quec_get_pem_buffer_len(struct pcm *pcm);
+
+//add by grady, 2018-6-2
+/*
+ * describe : this function is use to open mixer device
+ * paras :
+ * device: mixer device
+ * return
+ * mixer handle
+ */
+struct mixer *quec_mixer_open(const char *device);
+
+/*
+ * describe : this function is use to close mixer device
+ * paras :
+ * mixer: mixer handle
+ * return
+ * none
+ */
+void quec_mixer_close(struct mixer *mixer);
+
+/*
+ * describe : this function is use to get mixer devie control
+ * paras :
+ * mixer: mixer handle
+ * name: mixer device
+ * index: mixer index
+ * return
+ * mixer control
+ */
+struct mixer_ctl *quec_mixer_get_control(struct mixer *mixer, const char *name, unsigned index);
+
+/*
+ * describe : this function is use to set mulvalues
+ * paras :
+ * mixer: mixer handle
+ * count: count
+ * argv: data
+ * return :
+ *
+ */
+int quec_mixer_ctl_mulvalues(struct mixer_ctl *ctl, int count, char ** argv);
+
+
+//end grady
+
+/**
+ * @brief Set RX DSP Gain
+ * @details
+ * Gain support [-36,12] dB
+ *
+ * @param gain
+ * DSP gain
+ */
+
+int Ql_Rxgain_Set(int gain);
+
+/**
+ * @brief Set Playback PCM Samprate
+ * @details
+ * 0 for NB 1 for WB
+ *
+ * @param samprate
+ * samprate for PCM playback,default value is PCM NB
+ */
+
+
+int Ql_Playback_Samprate_Set(int samprate);
+
+/*****************************************************************
+* Function: Ql_AudPlayer_OpenExt
+*
+* Description:
+* expend function from Ql_AudPlayer_OpenExt
+* Open audio play device, and specify the callback function.
+* This function can be called twice to play different audio sources.
+*
+* Parameters:
+* device : a string that specifies the PCM device.
+* NULL, means the audio will be played on the default PCM device.
+*
+* If you want to mixedly play audio sources, you can call this
+* API twice with specifying different PCM device.
+* The string devices available:
+* "hw:0,0" (the default play device)
+* "hw:0,13" (this device can mix audio and TTS)
+* "hw:0,14"
+*
+* cb_func : callback function for audio player.
+* The results of all operations on audio player
+* are informed in callback function.
+*
+* flags : pcm flags, eg: PCM_MMAP, PCM_NMMAP.
+*
+* channels: pcm sample channels.
+*
+* rate : pcm sample rate.
+*
+* format : pcm sample fromat
+*
+* Return:
+* pcm device handle
+* NULL, fail
+*****************************************************************/
+int Ql_AudPlayer_OpenExt(
+ char *dev,
+ _cb_onPlayer cb_fun,
+ int flags,
+ int channels,
+ int rate,
+ int format);
+
+/*****************************************************************
+* Function: Ql_AudRecorder_Open
+*
+* Description:
+* Open audio record device, and specify the callback function.
+*
+* Parameters:
+* device : not used. MUST be NULL.
+*
+* cb_func : callback function for audio player.
+* The results of all operations on audio recorder
+* are informed in callback function.
+*
+* flags : pcm flags, eg: PCM_MMAP, PCM_NMMAP.
+*
+* channels: pcm sample channels.
+*
+* rate : pcm sample rate.
+*
+* format : pcm sample fromat
+*
+* Return:
+* pcm device handle
+* NULL, fail
+*****************************************************************/
+int Ql_AudRecorder_OpenExt(
+ char *dev,
+ _cb_onRecorder cb_fun,
+ int flags,
+ int channels,
+ int rate,
+ int format);
+
+/*****************************************************************
+* Function: Ql_Mp3_To_Wav
+*
+* Description:
+* set mp3 file change to wav file.
+*
+* Parameters:
+* wavpath : wav path
+*
+* mp3path : mp3 path
+*
+* Return:
+* 0: success
+* -1: fail
+*****************************************************************/
+int Ql_Mp3_To_Wav(const char *wavpath, char *mp3path);
+
+
+/*****************************************************************
+* Function: Ql_Mp3_To_Wav
+*
+* Description:
+* flay mp3 file.
+*
+* Parameters:
+* wavpath : wav path
+*
+* hdl : Device handle
+*
+* sample_rate : 0 for NB(8000) 1 for WB(16000)
+*
+* Return:
+* 0: success
+* -1: fail
+*****************************************************************/
+
+int Ql_Mp3_To_Play(char *mp3path, int hdl,int sample_rate);
+/*
+* Function: uac enable
+*
+* Description:
+* uac enable
+*
+* Parameters:
+* none
+* Return:
+* TURE or FALSE
+*/
+int ql_uac_enable(void);
+
+/*
+* Function: uac disable
+*
+* Description:
+* uac disable
+*
+* Parameters:
+* none
+* Return:
+* TURE or FALSE
+*/
+int ql_uac_disable(void);
+
+#endif //__AUD_H__
diff --git a/mbtk/include/ql/ql_cell_locator.h b/mbtk/include/ql/ql_cell_locator.h
new file mode 100755
index 0000000..4244f82
--- /dev/null
+++ b/mbtk/include/ql/ql_cell_locator.h
@@ -0,0 +1,116 @@
+/*-----------------------------------------------------------------------------------------------*/
+/**
+ @file ql_cell_locator.h
+ @brief Common API
+*/
+/*-----------------------------------------------------------------------------------------------*/
+/*-------------------------------------------------------------------------------------------------
+ Copyright (c) 2018 Quectel Wireless Solution, Co., Ltd. All Rights Reserved.
+ Quectel Wireless Solution Proprietary and Confidential.
+-------------------------------------------------------------------------------------------------*/
+/*-------------------------------------------------------------------------------------------------
+ EDIT HISTORY
+ This section contains comments describing changes made to the file.
+ Notice that changes are listed in reverse chronological order.
+ $Header: $
+ when who what, where, why
+ -------- --- ----------------------------------------------------------
+ 20190321 baron.qian Created .
+-------------------------------------------------------------------------------------------------*/
+#ifdef __cplusplus
+ extern "C" {
+#endif
+#ifndef __QL_CELL_LOCATOR_H__
+#define __QL_CELL_LOCATOR_H__
+
+/**/
+#define LOCATOR_MAX_ADDRESS_SIZE (256)
+#define LOCATOR_MAX_ERR_MSG_SIZE (256)
+
+
+typedef enum {
+ Q_LOC_ADDR_UTF8 = 0,
+ Q_LOC_ADDR_GBK,
+ Q_LOC_ADDR_ASCII,
+ Q_LOC_ADDR_NUM,
+}QUECLOCATOR_CHARSET;
+
+typedef struct {
+ int err_code;
+ char err_msg[LOCATOR_MAX_ERR_MSG_SIZE];
+} ql_cell_err;
+
+typedef struct {
+ /*longtitude*/
+ double lon;
+ /*latitude*/
+ double lat;
+ /*accuracy*/
+ unsigned short accuracy;
+ /*address charset, not support yet*/
+ QUECLOCATOR_CHARSET charset;
+ /*address info, not support yet*/
+ unsigned char addrinfo[LOCATOR_MAX_ADDRESS_SIZE];
+ /*address length, not support yet*/
+ unsigned short addrlen;
+ /*result*/
+ ql_cell_err err;
+} ql_cell_resp;
+
+
+/*-----------------------------------------------------------------------------------------------*/
+/**
+ @brief cell locator init function, when you want to use cell locator, call this function first!
+ @return if success return 0, else return -1
+ */
+/*-----------------------------------------------------------------------------------------------*/
+int ql_cell_locator_init();
+
+
+int ql_cell_locator_release();
+
+/*-----------------------------------------------------------------------------------------------*/
+/**
+ @brief set locator query server and port, server length must be less than 255 bytes.
+ @param[in] server the query server ip address
+ @param[in] port the query server port
+ @return if success return 0, else return -1
+ */
+/*-----------------------------------------------------------------------------------------------*/
+int ql_cell_locator_set_server(const char *server, unsigned short port);
+
+/*-----------------------------------------------------------------------------------------------*/
+/**
+ @brief set locator query timeout, the value must between 1-300 [seconds]
+ @param[in] timeout value of query timeout
+ @return if success return 0, else return -1
+ */
+/*-----------------------------------------------------------------------------------------------*/
+int ql_cell_locator_set_timeout(unsigned short timeout);
+
+
+/*-----------------------------------------------------------------------------------------------*/
+/**
+ @brief set locator query token, token length must be 16 bytes. the token Used to verify that
+ the client accessing the service is valid.
+ @param[in] token string of token which want to be setted.
+ @param[in] length of token string.
+ @return if success return 0, else return -1
+ */
+/*-----------------------------------------------------------------------------------------------*/
+int ql_cell_locator_set_token(const char *token, int len);
+
+/*-----------------------------------------------------------------------------------------------*/
+/**
+ @brief perform cell locator query
+ @param[out] resp include query result or set the error_msg and error_code
+ @return if success return 0, else return -1
+ */
+/*-----------------------------------------------------------------------------------------------*/
+int ql_cell_locator_perform(ql_cell_resp *resp);
+
+
+#endif /* !__QL_CELL_LOCATOR_H__ */
+#ifdef __cplusplus
+}
+#endif
diff --git a/mbtk/include/ql/ql_common.h b/mbtk/include/ql/ql_common.h
new file mode 100755
index 0000000..eef054d
--- /dev/null
+++ b/mbtk/include/ql/ql_common.h
@@ -0,0 +1,76 @@
+
+/**
+ @file
+ ql_common.h
+
+ @brief
+ This file provides the definitions for common functions, and declares the
+ common functions.
+
+*/
+/*============================================================================
+ Copyright (c) 2017 Quectel Wireless Solution, Co., Ltd. All Rights Reserved.
+ Quectel Wireless Solution Proprietary and Confidential.
+ =============================================================================*/
+/*===========================================================================
+
+ EDIT HISTORY FOR MODULE
+
+This section contains comments describing changes made to the module.
+Notice that changes are listed in reverse chronological order.
+
+
+WHEN WHO WHAT, WHERE, WHY
+---------- ------------ ----------------------------------------------------
+23/08/2019 Nebula.li create
+=============================================================================*/
+
+#ifndef __QL_COMMON_H__
+#define __QL_COMMON_H__
+
+#include <sys/types.h>
+#include <unistd.h>
+#include <sys/syscall.h>
+
+#include <libubox/ustream.h>
+#include <libubox/blobmsg_json.h>
+#include <libubox/kvlist.h>
+#include "libubus.h"
+#include "uci_blob.h"
+#include "libubox/uloop.h"
+#include "rilutil.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+void Ql_Powerdown(int mode);
+
+int ql_start_main_thread();
+int ql_exit_main_thread();
+int ql_ril_sync_request(unsigned int requestid, const void * data, int len,void* priv,void * cb,int timeout);
+int ql_ril_async_request(unsigned int requestid, const void * data, int len,void* priv,void * cb);
+int ql_ubus_sync_request(char *obj_name, char *method,struct blob_buf *blob_buf,void* priv,void *cb,int timeout);
+int ql_ubus_async_request(char *obj_name, char *method,struct blob_buf *blob_buf,void* priv,void *cb);
+int ql_ubus_subscribe_reg(char *subscriber_name, struct ubus_subscriber *event_obj);
+int ql_ubus_subscribe_remove(char *subscriber_name, struct ubus_subscriber *event_obj);
+
+int atcmd_get_line_num(char * result, int result_len);
+char * atcmd_get_line(char * result, int result_len,int index);
+int atcmd_get_para_num(char * line);
+void atcmd_get_para_value_str(char * line,int index, char *para_value);
+void ql_set_response(struct kvlist *result_list,int reqid, int resp_type, int ret, void *data, int data_len);
+int ql_get_response(struct kvlist *result_list,int reqid, int * resp_type, void *data);
+int kvlist_get_len(struct kvlist *kv, const void *data);
+
+int utf8_to_usc2(unsigned char *utf8_data,int utf8_data_len, unsigned int *usc2_data);
+int usc2_to_utf8(unsigned int *usc2_data, int usc2_data_len, unsigned char *utf8_data);
+
+int set_config_option(const char *package, const char *section, const char *option, const char *value);
+char *get_config_option(char *package, char *section, char *option);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif
\ No newline at end of file
diff --git a/mbtk/include/ql/ql_dev.h b/mbtk/include/ql/ql_dev.h
new file mode 100755
index 0000000..04a6dd5
--- /dev/null
+++ b/mbtk/include/ql/ql_dev.h
@@ -0,0 +1,114 @@
+/**
+ @file
+ ql_dev.h
+
+ @brief
+ This file provides the definitions for device, and declares the
+ API functions.
+
+*/
+/*============================================================================
+ Copyright (c) 2017 Quectel Wireless Solution, Co., Ltd. All Rights Reserved.
+ Quectel Wireless Solution Proprietary and Confidential.
+ =============================================================================*/
+/*===========================================================================
+
+ EDIT HISTORY FOR MODULE
+
+This section contains comments describing changes made to the module.
+Notice that changes are listed in reverse chronological order.
+
+
+WHEN WHO WHAT, WHERE, WHY
+---------- ------------ ----------------------------------------------------
+11/10/2019 Nebula.li create
+=============================================================================*/
+
+#ifndef __QL_DEV_H__
+#define __QL_DEV_H__
+
+#include <stdlib.h>
+#include <stdint.h>
+#include <string.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+typedef enum
+{
+ QL_DEV_SUCCESS,
+ QL_DEV_GENERIC_FAILURE,
+ QL_DEV_RADIO_NOT_AVAILABLE,
+}QL_DEV_ERROR_CODE;
+
+typedef enum
+{
+ QL_DEV_MODEM_MIN_FUN,
+ QL_DEV_MODEM_FULL_FUN,
+ QL_DEV_MODEM_DISABLE_RECEIVE_RF_CIRCUITS = 3,
+ QL_DEV_MODEM_DISABLE_TRANSMIT_AND_RECEIVE_RF_CIRCUITS,
+ QL_DEV_MODEM_DISABLE_SIM,
+ QL_DEV_MODEM_TURN_OFF_FULL_SECONDARY_RECEIVE,
+}QL_DEV_MODEM_FUNCTION;
+
+QL_DEV_ERROR_CODE ql_dev_init ();
+QL_DEV_ERROR_CODE ql_dev_release();
+
+/*
+ Get the IMEI string.
+ -imei : input buffer
+*/
+QL_DEV_ERROR_CODE ql_dev_get_imei(char* imei);
+
+
+/*
+ Get the FirmwareVersion string.
+ -version : input buffer
+*/
+QL_DEV_ERROR_CODE ql_dev_get_firmware_version(char* version);
+
+
+/*
+ Get the DeviceModel string.
+ -model : input buffer
+*/
+QL_DEV_ERROR_CODE ql_dev_get_model(char* model);
+
+
+/*
+ Get the SN string.
+ -sn : input buffer
+*/
+QL_DEV_ERROR_CODE ql_dev_get_sn(char* sn);
+
+/*
+ Set the modem function.
+ -function :[in] modem function
+ -rst :[in] if it is to reset modem before setting modem function. (0: not to reset; 1: reset)
+*/
+QL_DEV_ERROR_CODE ql_dev_set_modem_fun(QL_DEV_MODEM_FUNCTION function,int rst);
+
+/*
+ Get the modem function.
+ -function :[out] modem function
+*/
+QL_DEV_ERROR_CODE ql_dev_get_modem_fun(int *function);
+
+/*
+ Set the modem forbid urc.
+ forbid NETWORK 0x01
+ forbid SIM 0x02
+ forbid SMS 0x04
+ forbid CS CALL 0x08
+ forbid PS DATA 0x10
+ -bitmask :[in] modem forbid urc
+ Set bitmask to 31 before sleep and 1 after wake up
+*/
+QL_DEV_ERROR_CODE ql_dev_forbidind(int bitmask);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif
diff --git a/mbtk/include/ql/ql_fota.h b/mbtk/include/ql/ql_fota.h
new file mode 100755
index 0000000..fab1d48
--- /dev/null
+++ b/mbtk/include/ql/ql_fota.h
@@ -0,0 +1,95 @@
+/**
+ @file
+ ql_fota.h
+
+ @brief
+ This file provides the definitions for device, and declares the
+ API functions.
+
+*/
+/*============================================================================
+ Copyright (c) 2017 Quectel Wireless Solution, Co., Ltd. All Rights Reserved.
+ Quectel Wireless Solution Proprietary and Confidential.
+ =============================================================================*/
+/*===========================================================================
+
+ EDIT HISTORY FOR MODULE
+
+This section contains comments describing changes made to the module.
+Notice that changes are listed in reverse chronological order.
+
+
+WHEN WHO WHAT, WHERE, WHY
+---------- ------------ ----------------------------------------------------
+08/11/2019 baron.qian create
+=============================================================================*/
+#ifndef __QL_FOTA_H__
+#define __QL_FOTA_H__
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+enum {
+ QUEC_FOTA_OK, /*OK*/
+ QUEC_FOTA_FAILED /*failed*/
+}QL_FOTA_STATUS;
+
+/*callback function define, used to get upgrade state and rate of process*/
+typedef int(*fota_callback)(int state, int percent);
+
+/*******************************************************************************
+* @brief fota initialize
+ @param
+
+ fota_callback: callback function
+ @return
+ if success return 0, else return -1
+ *******************************************************************************/
+int ql_fota_init(fota_callback cb);
+
+/*******************************************************************************
+* @brief write firmware package, the firmware package is written in segments.
+ and The result of the write is output by calling the callback function.
+ the firmware package size must less than 32MB
+ @param
+ fname: firmware package file
+ segment_size: the length of once write, recommending 3*1024*1024 bytes
+ @return
+ if success return 0, else return -1
+ *******************************************************************************/
+int ql_fota_fw_write(char *fname, int segment_size);
+
+
+/*******************************************************************************
+* @brief download firmware by url, and write firmware package, the firmware
+ package is written in segments. The result of the write is output by
+ calling the callback function. the firmware package size must less than
+ 32MB
+ @param
+ url: [IN] the address of download firmware package file, the url
+ support http or https protocol.
+ segment_size: [IN] the length of once write, recommending 3*1024*1024 bytes
+ conn_timeout: [IN] timeout to connect to the server, if set 0 that means
+ switch to the default build-in connection timeout(300s)
+ download_timeout: [IN] timeout for download the firmware file. if set 0 that means
+ it never time out
+ @return
+ if success return 0, else return -1
+ *******************************************************************************/
+int ql_fota_fw_write_by_url(char *url, int segment_size, int conn_timeout, int download_timeout);
+
+
+/*******************************************************************************
+* @brief reboot system and clear env
+ @param
+ is_reboot: if set 1, after fota success, reboot system
+ @return
+ if success return 0, else return -1
+ *******************************************************************************/
+int ql_fota_done(int is_reboot);
+
+#ifdef __cplusplus
+}
+#endif
+#endif //__QL_FOTA_H__
diff --git a/mbtk/include/ql/ql_gpio.h b/mbtk/include/ql/ql_gpio.h
new file mode 100755
index 0000000..0159438
--- /dev/null
+++ b/mbtk/include/ql/ql_gpio.h
@@ -0,0 +1,380 @@
+/*****************************************************************************
+* Copyright Statement:
+* --------------------
+* This software is protected by Copyright and the information contained
+* herein is confidential. The software may not be copied and the information
+* contained herein may not be used or disclosed except with the written
+* permission of Quectel Co., Ltd. 2019
+*
+*****************************************************************************/
+/*****************************************************************************
+ *
+ * Filename:
+ * ---------
+ * ql_gpio.h
+ *
+ * Project:
+ * --------
+ * OpenLinux
+ *
+ * Description:
+ * ------------
+ * GPIO API defines.
+ *
+ *
+ *============================================================================
+ * HISTORY
+ *----------------------------------------------------------------------------
+ * WHO WHEN WHAT
+ *----------------------------------------------------------------------------
+ * Carola.Zhang 16/07/2019 Create.
+ ****************************************************************************/
+
+#ifndef __QL_GPIO_H__
+#define __QL_GPIO_H__
+
+typedef enum{
+ /*Invalid*/ PINNAME_BEGIN = -1,
+ /*PIN-1*/ PINNAME_GPIO1 = 1,
+ /*PIN-2*/ PINNAME_GPIO2 = 2,
+ /*PIN-3*/ PINNAME_GPIO3 = 3,
+ /*PIN-4*/ PINNAME_GPIO4 = 4,
+ /*PIN-5*/ PINNAME_GPIO5 = 5,
+ /*PIN-6*/ PINNAME_NET_STATUS = 6,
+ /*PIN-11*/ PINNAME_DBG_RXD = 11,
+ /*PIN-12*/ PINNAME_DBG_TXD = 12,
+ /*PIN-13*/ PINNAME_USIM_PRESENCE = 13,
+ /*PIN-23*/ PINNAME_SD_INT_DET = 23,
+ /*PIN-24*/ PINNAME_PCM_IN = 24,
+ /*PIN-25*/ PINNAME_PCM_OUT = 25,
+ /*PIN-26*/ PINNAME_PCM_SYNC = 26,
+ /*PIN-27*/ PINNAME_PCM_CLK = 27,
+ /*PIN-28*/ PINNAME_SDC2_DATA3 = 28,
+ /*PIN-29*/ PINNAME_SDC2_DATA2 = 29,
+ /*PIN-30*/ PINNAME_SDC2_DATA1 = 30,
+ /*PIN-31*/ PINNAME_SDC2_DATA0 = 31,
+ /*PIN-32*/ PINNAME_SDC2_CLK = 32,
+ /*PIN-33*/ PINNAME_SDC2_CMD = 33,
+ /*PIN-37*/ PINNAME_SPI_CS_N = 37,
+ /*PIN-38*/ PINNAME_SPI_MOSI = 38,
+ /*PIN-39*/ PINNAME_SPI_MISO = 39,
+ /*PIN-40*/ PINNAME_SPI_CLK = 40,
+ /*PIN-41*/ PINNAME_I2C_SCL = 41,
+ /*PIN-42*/ PINNAME_I2C_SDA = 42,
+ /*PIN-45*/ PINNAME_GPIO20 = 45,
+ /*PIN-49*/ PINNAME_STATUS = 49,
+ /*PIN-51*/ PINNAME_NETLIGHT = 51,
+ /*PIN-62*/ PINNAME_GPIO6 = 62,
+ /*PIN-63*/ PINNAME_DCD = 63,
+ /*PIN-66*/ PINNAME_DTR = 66,
+ /*PIN-64*/ PINNAME_MAIN_CTS = 64,
+ /*PIN-65*/ PINNAME_MAIN_RTS = 65,
+ /*PIN-67*/ PINNAME_MAIN_TXD = 67,
+ /*PIN-68*/ PINNAME_MAIN_RXD = 68,
+ /*PIN-73*/ PINNAME_RMII_RXD1 = 73,
+ /*PIN-74*/ PINNAME_RMII_RXCL = 74,
+ /*PIN-75*/ PINNAME_RMII_CLK = 75,
+ /*PIN-76*/ PINNAME_RMII_RXD0 = 76,
+ /*PIN-77*/ PINNAME_RMII_TXD0 = 77,
+ /*PIN-78*/ PINNAME_RMII_TXD1 = 78,
+ /*PIN-79*/ PINNAME_RMII_RXD2 = 79,
+ /*PIN-80*/ PINNAME_RMII_TXD2 = 80,
+ /*PIN-81*/ PINNAME_RMII_TX_CTRL = 81,
+ /*PIN-82*/ PINNAME_RMII_RXD3 = 82,
+ /*PIN-83*/ PINNAME_RMII_TXCL = 83,
+ /*PIN-84*/ PINNAME_RMII_TXD3 = 84,
+ /*PIN-118*/ PINNAME_WLAN_SLP_CLK = 118,
+ /*PIN-119*/ PINNAME_RMII_RST = 119,
+ /*PIN-120*/ PINNAME_RMII_INT = 120,
+ /*PIN-121*/ PINNAME_RMII_MDIO = 121,
+ /*PIN-122*/ PINNAME_RMII_MDC = 122,
+ /*PIN-123*/ PINNAME_PRI_TDI = 123,
+ /*PIN-127*/ PINNAME_WLAN_PER_EN = 127,
+ /*PIN-135*/ PINNAME_WLAN_WAKE = 135,
+ /*PIN-136*/ PINNAME_WLAN_EN = 136,
+ /*PIN-139*/ PINNAME_GPIO8 = 139,
+ PINNAME_END
+}Enum_PinName;
+
+/****************************************************************************
+ * Error Code Definition
+ ***************************************************************************/
+enum {
+ RES_OK = 0,
+ RES_BAD_PARAMETER = -1, ///< Parameter is invalid.
+ RES_IO_NOT_SUPPORT = -2,
+ RES_IO_ERROR = -3,
+ RES_NOT_IMPLEMENTED = -4
+};
+
+typedef enum{
+ PINDIRECTION_IN = 0,
+ PINDIRECTION_OUT = 1
+}Enum_PinDirection;
+
+typedef enum{
+ PINLEVEL_LOW = 0,
+ PINLEVEL_HIGH = 1
+}Enum_PinLevel;
+
+typedef enum{
+ PINPULLSEL_DISABLE = (0<<13), // Disable pull selection
+ PINPULLSEL_PULLDOWN = (5<<13), // Pull-down
+ PINPULLSEL_PULLUP = (6<<13) // Pull-up
+}Enum_PinPullSel;
+
+/****************************************************************************
+ * GPIO Config Items
+ ***************************************************************************/
+typedef struct{
+ Enum_PinName pin_name;
+ Enum_PinDirection pinDirection;
+ Enum_PinLevel pinLevel;
+ Enum_PinPullSel pinPullSel;
+}ST_GPIOConfig;
+
+//------------------------------------------------------------------------------
+/**
+ * The type of GPIO Edge Sensivity.
+ */
+//------------------------------------------------------------------------------
+typedef enum {
+ EINT_SENSE_NONE, // pin is input, but no an interrupt pin.
+ EINT_SENSE_RISING,
+ EINT_SENSE_FALLING,
+ EINT_SENSE_BOTH
+}Enum_EintType;
+
+/*****************************************************************
+* Function: Ql_GPIO_Init
+*
+* Description:
+* This function enables the GPIO function of the specified pin,
+* and initialize the configurations, including direction,
+* level and pull selection.
+*
+* Parameters:
+* pin_name:
+* Pin name, one value of Enum_PinName.
+* dir:
+* The initial direction of GPIO, one value of Enum_PinDirection.
+* level:
+* The initial level of GPIO, one value of Enum_PinLevel.
+* pull_sel:
+* Pull selection, one value of Enum_PinPullSel.
+* Return:
+* RES_OK, this function succeeds.
+* RES_IO_NOT_SUPPORT, the input GPIO is invalid.
+* RES_IO_ERR, the function failed
+* other place. For example this GPIO has been using as EINT.
+*****************************************************************/
+int Ql_GPIO_Init(Enum_PinName pin_name,
+ Enum_PinDirection dir,
+ Enum_PinLevel level,
+ Enum_PinPullSel pull_sel
+ );
+
+/*****************************************************************
+* Function: Ql_GPIO_Base_Init
+*
+* Description:
+* This function enables the GPIO function of the specified pin.
+*
+* Parameters:
+* pin_name:
+* Pin name, one value of Enum_PinName.
+*
+* Return:
+* RES_OK, this function succeeds.
+* RES_IO_NOT_SUPPORT, the input GPIO is invalid.
+* RES_IO_ERR, the function failed
+*****************************************************************/
+int Ql_GPIO_Base_Init(Enum_PinName pin_name );
+
+/*****************************************************************
+* Function: Ql_GPIO_SetLevel
+*
+* Description:
+* This function sets the level of the specified GPIO.
+*
+* Parameters:
+* pin_name:
+* Pin name, one value of Enum_PinName.
+* level:
+* The initial level of GPIO, one value of Enum_PinLevel.
+* Return:
+* RES_OK, this function succeeds.
+* RES_IO_NOT_SUPPORT, the input GPIO is invalid.
+* RES_IO_ERR, the function failed
+* other place. For example this GPIO has been using as EINT.
+*****************************************************************/
+int Ql_GPIO_SetLevel(Enum_PinName pin_name, Enum_PinLevel level);
+
+/*****************************************************************
+* Function: Ql_GPIO_GetLevel
+*
+* Description:
+* This function gets the level of the specified GPIO.
+*
+* Parameters:
+* pin_name:
+* Pin name, one value of Enum_PinName.
+* Return:
+* The level value of the specified GPIO, which is
+* nonnegative integer.
+* RES_IO_NOT_SUPPORT, the input GPIO is invalid.
+*****************************************************************/
+int Ql_GPIO_GetLevel(Enum_PinName pin_name);
+
+/*****************************************************************
+* Function: Ql_GPIO_SetDirection
+*
+* Description:
+* This function sets the direction of the specified GPIO.
+*
+* Parameters:
+* pin_name:
+* Pin name, one value of Enum_PinName.
+* dir:
+* The initial direction of GPIO, one value of Enum_PinDirection.
+* Return:
+* RES_OK, this function succeeds.
+* RES_IO_NOT_SUPPORT, the input GPIO is invalid.
+* RES_IO_ERR, the function failed
+* other place. For example this GPIO has been using as EINT.
+*****************************************************************/
+int Ql_GPIO_SetDirection(Enum_PinName pin_name, Enum_PinDirection dir);
+
+/*****************************************************************
+* Function: Ql_GPIO_GetDirection
+*
+* Description:
+* This function gets the direction of the specified GPIO.
+*
+* Parameters:
+* pin_name:
+* Pin name, one value of Enum_PinName.
+* Return:
+* 0 INPUT
+* 1 OUTPUT
+* RES_IO_NOT_SUPPORT, the input GPIO is invalid.
+* other place. For example this GPIO has been using as EINT.
+*****************************************************************/
+int Ql_GPIO_GetDirection(Enum_PinName pin_name);
+
+/*****************************************************************
+* Function: Ql_GPIO_SetPullSelection
+*
+* Description:
+* This function sets the pull selection of the specified GPIO.
+*
+* Parameters:
+* pin_name:
+* Pin name, one value of Enum_PinName.
+* Enum_PinPullSel:
+* Pull selection, one value of Enum_PinPullSel.
+* Return:
+* RES_OK, this function succeeds.
+* RES_IO_NOT_SUPPORT, the input GPIO is invalid.
+* RES_IO_ERR, the function failed
+* other place. For example this GPIO has been using as EINT.
+*****************************************************************/
+int Ql_GPIO_SetPullSelection(Enum_PinName pin_name, Enum_PinPullSel pull_sel);
+
+/*****************************************************************
+* Function: ql_gpio_get_pull_selection
+*
+* Description:
+* This function gets the pull selection of the specified GPIO.
+*
+* Parameters:
+* pin_name:
+* Pin name, one value of Enum_PinName.
+* Return:
+* 0<<13 no pull
+* 5<<13 pull down
+* 6<<13 pull up
+*****************************************************************/
+int Ql_GPIO_GetPullSelection(Enum_PinName pin_name);
+
+/*****************************************************************
+* Function: Ql_GPIO_Uninit
+*
+* Description:
+* This function releases the specified GPIO that was
+* initialized by calling Ql_GPIO_Init() previously.
+* After releasing, the GPIO can be used for other purpose.
+* Parameters:
+* pin_name:
+* Pin name, one value of Enum_PinName.
+* Return:
+* RES_OK, this function succeeds.
+* RES_IO_NOT_SUPPORT, the input GPIO is invalid.
+* RES_IO_ERR, the function failed
+* other place. For example this GPIO has been using as EINT.
+*****************************************************************/
+int Ql_GPIO_Uninit(Enum_PinName pin_name);
+
+//------------------------------------------------------------------------------
+/*
+* Description:
+* Definition for EINT callback function.
+*
+* Parameters:
+* PinName:
+* EINT pin name, one value of Enum_PinName.
+*
+* level:
+* The EINT level value, one value of Enum_PinLevel.
+* 0 or 1
+*/
+//------------------------------------------------------------------------------
+typedef void (*Ql_EINT_Callback)(Enum_PinName eint_pin_name, int level);
+
+//------------------------------------------------------------------------------
+/*
+* Function: Ql_EINT_Enable
+*
+* Description:
+* Set the interrupt sense mode, and enable interrupt.
+*
+* Parameters:
+* eint_pin_name:
+* EINT pin name, one value of Enum_PinName that has
+* the interrupt function.
+*
+* eint_type:
+* Interrupt type, level-triggered or edge-triggered.
+* Now, only edge-triggered interrupt is supported.
+*
+* eint_callback:
+* call back function
+*
+* Return:
+* RES_OK, this function succeeds.
+* else failed to execute the function.
+*/
+//------------------------------------------------------------------------------
+int Ql_EINT_Enable(Enum_PinName eint_pin_name, Enum_EintType eint_type, Ql_EINT_Callback eint_callback);
+
+
+//------------------------------------------------------------------------------
+/*
+* Function: Ql_EINT_Disable
+*
+* Description:
+* Disable the interrupt sense.
+*
+* Parameters:
+* eint_pin_name:
+* EINT pin name, one value of Enum_PinName that has
+* the interrupt function.
+*
+* Return:
+* RES_OK, this function succeeds.
+* else failed to execute the function.
+*/
+//------------------------------------------------------------------------------
+int Ql_EINT_Disable(Enum_PinName eint_pin_name);
+
+#endif // __QL_GPIO_H__
diff --git a/mbtk/include/ql/ql_i2c.h b/mbtk/include/ql/ql_i2c.h
new file mode 100755
index 0000000..52eb4c8
--- /dev/null
+++ b/mbtk/include/ql/ql_i2c.h
@@ -0,0 +1,41 @@
+/*****************************************************************************
+* Copyright Statement:
+* --------------------
+* This software is protected by Copyright and the information contained
+* herein is confidential. The software may not be copied and the information
+* contained herein may not be used or disclosed except with the written
+* permission of Quectel Co., Ltd. 2019
+*
+*****************************************************************************/
+/*****************************************************************************
+ *
+ * Filename:
+ * ---------
+ * ql_i2c.h
+ *
+ * Project:
+ * --------
+ * OpenLinux
+ *
+ * Description:
+ * ------------
+ * i2c API defines.
+ *
+ *
+ *============================================================================
+ * HISTORY
+ *----------------------------------------------------------------------------
+ * WHO WHEN WHAT
+ *----------------------------------------------------------------------------
+ * Carola.Zhang 16/07/2019 Create.
+ ****************************************************************************/
+#ifndef __QL_UART_H__
+#define __QL_UART_H__
+
+
+int Ql_I2C_Init(char *dev_name);
+int Ql_I2C_Read(int fd, unsigned short slaveAddr, unsigned char ofstAddr, unsigned char* ptrBuff, unsigned short length);
+int Ql_I2C_Write(int fd, unsigned short slaveAddr, unsigned char ofstAddr, unsigned char* ptrData, unsigned short length);
+int Ql_I2C_Deinit(int fd);
+
+#endif /* __QL_i2c_H__ */
\ No newline at end of file
diff --git a/mbtk/include/ql/ql_log.h b/mbtk/include/ql/ql_log.h
new file mode 100755
index 0000000..83940d1
--- /dev/null
+++ b/mbtk/include/ql/ql_log.h
@@ -0,0 +1,86 @@
+/**
+ @file
+ DSI_ConnectManager.h
+
+ @brief
+ This file provides the definitions for quectel log api, and declares the
+ API functions.
+
+*/
+/*============================================================================
+ Copyright (c) 2017 Quectel Wireless Solution, Co., Ltd. All Rights Reserved.
+ Quectel Wireless Solution Proprietary and Confidential.
+ =============================================================================*/
+/*===========================================================================
+
+ EDIT HISTORY FOR MODULE
+
+This section contains comments describing changes made to the module.
+Notice that changes are listed in reverse chronological order.
+
+
+WHEN WHO WHAT, WHERE, WHY
+---------- ------------ ----------------------------------------------------
+24/07/2019 Nebula.li create
+=============================================================================*/
+
+#ifndef _QL_LOG_H_
+#define _QL_LOG_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+typedef enum {
+ QL_LOG_MIN = -1,
+ QL_LOG_EMERG_LEVEL=0, /* system is unusable */
+ QL_LOG_INIT_LEVEL=0, /* log init level */
+ QL_LOG_ALERT_LEVEL=1, /* action must be taken immediately */
+ QL_LOG_CRIT_LEVEL=2, /* critical conditions */
+ QL_LOG_ERR_LEVEL=3, /* error conditions */
+ QL_LOG_WARN_LEVEL=4, /* warning conditions */
+ QL_LOG_NOTICE_LEVEL=5, /* normal but significant condition */
+ QL_LOG_INFO_LEVEL=6, /* informational */
+ QL_LOG_DEBUG_LEVEL=7, /* debug-level messages */
+ QL_LOG_MAX
+} QL_LOG_PRIORITY_E;
+
+#define QL_LOG_PRORIFY_VERIFY(prio) ((prio)>QL_LOG_MIN && (prio)<QL_LOG_MAX)
+
+typedef enum {
+ QL_LOG_ID_MIN = -1,
+ QL_LOG_ID_MAIN = 0,
+ QL_LOG_ID_RADIO = 1,
+ QL_LOG_ID_EVENTS = 2,
+ QL_LOG_ID_SYSTEM = 3,
+ QL_LOG_ID_KMSG = 4,
+ QL_LOG_ID_STDOUT=5,
+ QL_LOG_ID_MAX
+} QL_LOG_ID_E;
+
+#define QL_LOG_ID_VERIFY(log_id) ((log_id)>QL_LOG_ID_MIN && (log_id)<QL_LOG_ID_MAX)
+
+#define LOG_BUF_SIZE 2048
+
+#define QL_LOG_OPEN() ql_log_open()
+#define QL_LOG_CLOSE() ql_log_close()
+#define QL_LOG_SETPOS(log_id) ql_log_setpos(log_id)
+
+#define QL_LOG_DEBUG(fmt, ...) ql_log_print(QL_LOG_DEBUG_LEVEL,__FUNCTION__, __LINE__, fmt, ##__VA_ARGS__)
+#define QL_LOG_INFO(fmt, ...) ql_log_print(QL_LOG_INFO_LEVEL,__FUNCTION__, __LINE__, fmt, ##__VA_ARGS__)
+#define QL_LOG_WARN(fmt, ...) ql_log_print(QL_LOG_WARN_LEVEL,__FUNCTION__, __LINE__, fmt, ##__VA_ARGS__)
+#define QL_LOG_ERROR(fmt, ...) ql_log_print(QL_LOG_ERR_LEVEL,__FUNCTION__, __LINE__, fmt, ##__VA_ARGS__)
+
+
+extern void ql_log_open();
+extern void ql_log_close();
+extern int ql_log_print(QL_LOG_PRIORITY_E prio,const char *func, int line, const char *fmt, ...);
+
+
+
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif
\ No newline at end of file
diff --git a/mbtk/include/ql/ql_mcm.h b/mbtk/include/ql/ql_mcm.h
new file mode 100755
index 0000000..a5ae770
--- /dev/null
+++ b/mbtk/include/ql/ql_mcm.h
@@ -0,0 +1,165 @@
+#ifndef __QL_MCM_H__
+#define __QL_MCM_H__
+
+
+#define MCM_SERVICE_MAX (17)
+
+#define MCM_SERVICE_DATA 0x01
+#define MCM_SERVICE_DM 0x02
+#define MCM_SERVICE_LOC 0x03
+#define MCM_SERVICE_MOBILEAP 0x04
+#define MCM_SERVICE_NW 0x05
+#define MCM_SERVICE_ATC 0x06
+#define MCM_SERVICE_SMS 0x07
+#define MCM_SERVICE_CLIENT 0x08
+#define MCM_SERVICE_SIM 0x0B
+#define MCM_SERVICE_VCALL 0x10
+
+
+#define SERVICE_REQUIRED 1
+#define SERVICE_NOT_REQUIRED 0
+
+#define MAGIC_MSG_ID_SERVICE_UP 0x87654321
+#define MAGIC_MSG_ID_SERVICE_DOWN 0x87654320
+
+typedef enum
+{
+ E_QL_SUCCESS = 0, /**< Success. */
+ E_QL_SUCCESS_CONDITIONAL_SUCCESS = 1, /**< Conditional success. */
+ E_QL_ERROR_MCM_SERVICES_NOT_AVAILABLE = 2, /**< MCM services not available. */
+ E_QL_ERROR_GENERIC = 3, /**< Generic error. */
+ E_QL_ERROR_BADPARM = 4, /**< Bad parameter. */
+ E_QL_ERROR_MEMORY = 5, /**< Memory error. */
+ E_QL_ERROR_INVALID_STATE = 6, /**< Invalid state. */
+ E_QL_ERROR_MALFORMED_MSG = 7, /**< Malformed message. */
+ E_QL_ERROR_NO_MEMORY = 8, /**< No memory. */
+ E_QL_ERROR_INTERNAL = 9, /**< Internal error. */
+ E_QL_ERROR_ABORTED = 10, /**< Action was aborted. */
+ E_QL_ERROR_CLIENT_IDS_EXHAUSTED = 11, /**< Client IDs have been exhausted. */
+ E_QL_ERROR_UNABORTABLE_TRANSACTION = 12, /**< Unabortable transaction. */
+ E_QL_ERROR_INVALID_CLIENT_ID = 13, /**< Invalid client ID. */
+ E_QL_ERROR_NO_THRESHOLDS = 14, /**< No thresholds. */
+ E_QL_ERROR_INVALID_HANDLE = 15, /**< Invalid handle. */
+ E_QL_ERROR_INVALID_PROFILE = 16, /**< Invalid profile. */
+ E_QL_ERROR_INVALID_PINID = 17, /**< Invalid PIN ID. */
+ E_QL_ERROR_INCORRECT_PIN = 18, /**< Incorrect PIN. */
+ E_QL_ERROR_NO_NETWORK_FOUND = 19, /**< No network found. */
+ E_QL_ERROR_CALL_FAILED = 20, /**< Call failed. */
+ E_QL_ERROR_OUT_OF_CALL = 21, /**< Out of call. */
+ E_QL_ERROR_NOT_PROVISIONED = 22, /**< Not provisioned. */
+ E_QL_ERROR_MISSING_ARG = 23, /**< Missing argument. */
+ E_QL_ERROR_ARG_TOO_LONG = 24, /**< Argument is too long. */
+ E_QL_ERROR_INVALID_TX_ID = 25, /**< Invalid Tx ID. */
+ E_QL_ERROR_DEVICE_IN_USE = 26, /**< Device is in use. */
+ E_QL_ERROR_OP_NETWORK_UNSUPPORTED = 27, /**< OP network is not supported. */
+ E_QL_ERROR_OP_DEVICE_UNSUPPORTED = 28, /**< OP device is not supported. */
+ E_QL_ERROR_NO_EFFECT = 29, /**< No effect. */
+ E_QL_ERROR_NO_FREE_PROFILE = 30, /**< No free profile. */
+ E_QL_ERROR_INVALID_PDP_TYPE = 31, /**< Invalid PDP type. */
+ E_QL_ERROR_INVALID_TECH_PREF = 32, /**< Invalid technical preference. */
+ E_QL_ERROR_INVALID_PROFILE_TYPE = 33, /**< Invalid profile type. */
+ E_QL_ERROR_INVALID_SERVICE_TYPE = 34, /**< Invalid service type. */
+ E_QL_ERROR_INVALID_REGISTER_ACTION = 35, /**< Invalid register action. */
+ E_QL_ERROR_INVALID_PS_ATTACH_ACTION = 36, /**< Invalid PS attach action. */
+ E_QL_ERROR_AUTHENTICATION_FAILED = 37, /**< Authentication failed. */
+ E_QL_ERROR_PIN_BLOCKED = 38, /**< PIN is blocked. */
+ E_QL_ERROR_PIN_PERM_BLOCKED = 39, /**< PIN is permanently blocked. */
+ E_QL_ERROR_SIM_NOT_INITIALIZED = 40, /**< SIM is not initialized. */
+ E_QL_ERROR_MAX_QOS_REQUESTS_IN_USE = 41, /**< Maximum QoS requests are in use. */
+ E_QL_ERROR_INCORRECT_FLOW_FILTER = 42, /**< Incorrect flow filter. */
+ E_QL_ERROR_NETWORK_QOS_UNAWARE = 43, /**< Network QoS is unaware. */
+ E_QL_ERROR_INVALID_ID = 44, /**< Invalid ID. */
+ E_QL_ERROR_INVALID_QOS_ID = 45, /**< Invalid QoS ID. */
+ E_QL_ERROR_REQUESTED_NUM_UNSUPPORTED= 46, /**< Requested number is not supported. */
+ E_QL_ERROR_INTERFACE_NOT_FOUND = 47, /**< Interface was not found. */
+ E_QL_ERROR_FLOW_SUSPENDED = 48, /**< Flow is suspended. */
+ E_QL_ERROR_INVALID_DATA_FORMAT = 49, /**< Invalid data format. */
+ E_QL_ERROR_GENERAL = 50, /**< General error. */
+ E_QL_ERROR_UNKNOWN = 51, /**< Unknown error. */
+ E_QL_ERROR_INVALID_ARG = 52, /**< Invalid argument. */
+ E_QL_ERROR_INVALID_INDEX = 53, /**< Invalid index. */
+ E_QL_ERROR_NO_ENTRY = 54, /**< No entry. */
+ E_QL_ERROR_DEVICE_STORAGE_FULL = 55, /**< Device storage is full. */
+ E_QL_ERROR_DEVICE_NOT_READY = 56, /**< Device is not ready. */
+ E_QL_ERROR_NETWORK_NOT_READY = 57, /**< Network is not ready. */
+ E_QL_ERROR_CAUSE_CODE = 58, /**< Cause code error. */
+ E_QL_ERROR_MESSAGE_NOT_SENT = 59, /**< Message was not sent. */
+ E_QL_ERROR_MESSAGE_DELIVERY_FAILURE = 60, /**< Message delivery failure. */
+ E_QL_ERROR_INVALID_MESSAGE_ID = 61, /**< Invalid message ID. */
+ E_QL_ERROR_ENCODING = 62, /**< Encoding error. */
+ E_QL_ERROR_AUTHENTICATION_LOCK = 63, /**< Authentication lock error. */
+ E_QL_ERROR_INVALID_TRANSITION = 64, /**< Invalid transition. */
+ E_QL_ERROR_NOT_A_MCAST_IFACE = 65, /**< Not an MCast interface. */
+ E_QL_ERROR_MAX_MCAST_REQUESTS_IN_USE= 66, /**< Maximum MCast requests are in use. */
+ E_QL_ERROR_INVALID_MCAST_HANDLE = 67, /**< Invalid MCast handle. */
+ E_QL_ERROR_INVALID_IP_FAMILY_PREF = 68, /**< Invalid IP family preference. */
+ E_QL_ERROR_SESSION_INACTIVE = 69, /**< Session is inactive. */
+ E_QL_ERROR_SESSION_INVALID = 70, /**< Session is invalid. */
+ E_QL_ERROR_SESSION_OWNERSHIP = 71, /**< Session ownership error. */
+ E_QL_ERROR_INSUFFICIENT_RESOURCES = 72, /**< Insufficient resources. */
+ E_QL_ERROR_DISABLED = 73, /**< Disabled. */
+ E_QL_ERROR_INVALID_OPERATION = 74, /**< Invalid operation. */
+ E_QL_ERROR_INVALID_CMD = 75, /**< Invalid command. */
+ E_QL_ERROR_TPDU_TYPE = 76, /**< Transfer Protocol data unit type error. */
+ E_QL_ERROR_SMSC_ADDR = 77, /**< Short message service center address error. */
+ E_QL_ERROR_INFO_UNAVAILABLE = 78, /**< Information is not available. */
+ E_QL_ERROR_SEGMENT_TOO_LONG = 79, /**< Segment is too long. */
+ E_QL_ERROR_SEGMENT_ORDER = 80, /**< Segment order error. */
+ E_QL_ERROR_BUNDLING_NOT_SUPPORTED = 81, /**< Bundling is not supported. */
+ E_QL_ERROR_OP_PARTIAL_FAILURE = 82, /**< OP partial failure. */
+ E_QL_ERROR_POLICY_MISMATCH = 83, /**< Policy mismatch. */
+ E_QL_ERROR_SIM_FILE_NOT_FOUND = 84, /**< SIM file was not found. */
+ E_QL_ERROR_EXTENDED_INTERNAL = 85, /**< Extended internal error. */
+ E_QL_ERROR_ACCESS_DENIED = 86, /**< Access is denied. */
+ E_QL_ERROR_HARDWARE_RESTRICTED = 87, /**< Hardware is restricted. */
+ E_QL_ERROR_ACK_NOT_SENT = 88, /**< Acknowledgement was not sent. */
+ E_QL_ERROR_INJECT_TIMEOUT = 89, /**< Inject timeout error. */
+ E_QL_ERROR_INCOMPATIBLE_STATE = 90, /**< Incompatible state. */
+ E_QL_ERROR_FDN_RESTRICT = 91, /**< Fixed dialing number restrict error. */
+ E_QL_ERROR_SUPS_FAILURE_CAUSE = 92, /**< SUPS failure cause. */
+ E_QL_ERROR_NO_RADIO = 93, /**< No radio. */
+ E_QL_ERROR_NOT_SUPPORTED = 94, /**< Not supported. */
+ E_QL_ERROR_NO_SUBSCRIPTION = 95, /**< No subscription. */
+ E_QL_ERROR_CARD_CALL_CONTROL_FAILED = 96, /**< Card call control failed. */
+ E_QL_ERROR_NETWORK_ABORTED = 97, /**< Network was aborted. */
+ E_QL_ERROR_MSG_BLOCKED = 98, /**< Message was blocked. */
+ E_QL_ERROR_INVALID_SESSION_TYPE = 99, /**< Invalid session type. */
+ E_QL_ERROR_INVALID_PB_TYPE = 100, /**< Invalid phonebook type. */
+ E_QL_ERROR_NO_SIM = 101, /**< No SIM was found. */
+ E_QL_ERROR_PB_NOT_READY = 102, /**< Phonebook not ready. */
+ E_QL_ERROR_PIN_RESTRICTION = 103, /**< PIN restriction. */
+ E_QL_ERROR_PIN2_RESTRICTION = 104, /**< PIN2 restriction. */
+ E_QL_ERROR_PUK_RESTRICTION = 105, /**< PIN unlocking key restriction. */
+ E_QL_ERROR_PUK2_RESTRICTION = 106, /**< PIN unlocking key2 restriction. */
+ E_QL_ERROR_PB_ACCESS_RESTRICTED = 107, /**< Phonebook access is restricted. */
+ E_QL_ERROR_PB_DELETE_IN_PROG = 108, /**< Phonebook delete is in progress. */
+ E_QL_ERROR_PB_TEXT_TOO_LONG = 109, /**< Phonebook text is too long. */
+ E_QL_ERROR_PB_NUMBER_TOO_LONG = 110, /**< Phonebook number is too long. */
+ E_QL_ERROR_PB_HIDDEN_KEY_RESTRICTION= 111, /**< Phonebook hidden key restriction. */
+ E_QL_ERROR_PB_NOT_AVAILABLE = 112, /**< Phonebook is not available. */
+ E_QL_ERROR_DEVICE_MEMORY_ERROR = 113, /**< Device memory error. */
+ E_QL_ERROR_SIM_PIN_BLOCKED = 114, /**< SIM PIN is blocked. */
+ E_QL_ERROR_SIM_PIN_NOT_INITIALIZED = 115, /**< SIM PIN is not initialized. */
+ E_QL_ERROR_SIM_INVALID_PIN = 116, /**< SIM PIN is invalid. */
+ E_QL_ERROR_SIM_INVALID_PERSO_CK = 117, /**< SIM invalid personalization CK. */
+ E_QL_ERROR_SIM_PERSO_BLOCKED = 118, /**< SIM personalization blocked. */
+ E_QL_ERROR_SIM_PERSO_INVALID_DATA = 119, /**< SIM personalization contains invalid data. */
+ E_QL_ERROR_SIM_ACCESS_DENIED = 120, /**< SIM access is denied. */
+ E_QL_ERROR_SIM_INVALID_FILE_PATH = 121, /**< SIM file path is invalid. */
+ E_QL_ERROR_SIM_SERVICE_NOT_SUPPORTED= 122, /**< SIM service is not supported. */
+ E_QL_ERROR_SIM_AUTH_FAIL = 123, /**< SIM authorization failure. */
+ E_QL_ERROR_SIM_PIN_PERM_BLOCKED = 124, /**< SIM PIN is permanently blocked. */
+}E_QL_ERROR_CODE_T;
+
+#if 0
+int QL_MCM_Client_Init( mcm_client_handle_type *ph_mcm,
+ int client_type,
+ mcm_client_ind_cb client_ind_cb,
+ mcm_client_async_cb client_async_cb);
+
+int QL_MCM_Client_Deinit(mcm_client_handle_type h_mcm,
+ int client_type);
+#endif
+
+#endif // __QL_MCM_H__
+
diff --git a/mbtk/include/ql/ql_mcm_call.h b/mbtk/include/ql/ql_mcm_call.h
new file mode 100755
index 0000000..973fb47
--- /dev/null
+++ b/mbtk/include/ql/ql_mcm_call.h
@@ -0,0 +1,909 @@
+/**
+ *@file ql_mcm_voice.h
+ *@date 2017-11-30
+ *@author
+ *@brief
+ */
+
+#ifndef __QL_MCM_VOICE_H__
+#define __QL_MCM_VOICE_H__
+
+#include "mbtk_type.h"
+#include "mbtk_log.h"
+#include "ql_vcall.h"
+
+#define QL_MCM_MAX_VOICE_CALLS 8 /** GSM provides up to 8 calls; 3GPP2 provides 2. */
+#define QL_MCM_MAX_PHONE_NUMBER 82 /** Maximum phone number length. */
+#define QL_MCM_MAX_UUS_DATA 20 /** Maximum user-to-user data. */
+#define QL_MCM_MAX_DTMF_LENGTH 20 /** Maximum DTMF length. */
+#define QL_MCM_MAX_USSD_LENGTH 128 /** Maximum USSD length. */
+#define QL_MCM_MAX_PASSWORD_LENGTH 4 /** Maximum password length. */
+#define QL_MCM_MAX_CALL_FORWARDING_INFO 13 /** Maximum call forwarding information. */
+#define QL_MCM_MAX_ECALL_MSD 140 /** Maximum size of the MSD sent to the network with an eCall */
+#define QL_MCM_MAX_ECALL_URC_EVENT_LENGTH 128 /** Maximum size of the ecall urc event */
+
+
+typedef enum
+{
+ E_QL_MCM_VOICE_CALL_STATE_INCOMING = 0x0000, /**< MT incoming; CC setup. */
+ E_QL_MCM_VOICE_CALL_STATE_DIALING = 0x0001, /**< Dialing state. */
+ E_QL_MCM_VOICE_CALL_STATE_ALERTING = 0x0002, /**< MT call waiting; MO alterting. */
+ E_QL_MCM_VOICE_CALL_STATE_ACTIVE = 0x0003, /**< Call is active. */
+ E_QL_MCM_VOICE_CALL_STATE_HOLDING = 0x0004, /**< Call is on hold. */
+ E_QL_MCM_VOICE_CALL_STATE_END = 0x0005, /**< Call is disconnected. */
+ E_QL_MCM_VOICE_CALL_STATE_WAITING = 0x0006, /**< Call is waiting. */
+} ql_mcm_voice_call_state_t;
+
+typedef enum
+{
+ E_QL_MCM_VOICE_TECH_NONE = 0, /**< None. */
+ E_QL_MCM_VOICE_TECH_3GPP = 1, /**< 3GPP. */
+ E_QL_MCM_VOICE_TECH_3GPP2 = 2, /**< 3GPP2. */
+} ql_mcm_voice_tech_t;
+
+typedef enum
+{
+ E_QL_MCM_VOICE_CALL_NUMBER_UNKNOWN = 0x0000,
+ E_QL_MCM_VOICE_CALL_NUMBER_ALLOWED = 0x0001, /**< Number allowed. */
+ E_QL_MCM_VOICE_CALL_NUMBER_RESTRICTED = 0x0002, /**< Number restricted. */
+ E_QL_MCM_VOICE_CALL_NUMBER_PAYPHONE = 0x0003, /**< Payhone number. */
+} ql_mcm_voice_call_number_presentation_type_t;
+
+typedef enum
+{
+ E_QL_MCM_VOICE_CALL_MOBILE_ORIGINATED = 0x0000, /**< Mobile-originated. */
+ E_QL_MCM_VOICE_CALL_MOBILE_TERMINATED = 0x0001, /**< Mobile-terminated. */
+} ql_mcm_voice_call_direction_type_t;
+
+typedef enum
+{
+ E_QL_MCM_VOICE_CALL_ANSWER, //!<Answer the call.
+ E_QL_MCM_VOICE_CALL_END, //!<Deprecated. Do not use.
+ E_QL_MCM_VOICE_CALL_HOLD, //!<Hold the call.
+ E_QL_MCM_VOICE_CALL_UNHOLD, //!<Release the call from hold.
+ E_QL_MCM_VOICE_CALL_CONFERENCE, //!<Conference call.
+ E_QL_MCM_VOICE_CALL_GO_PRIVATE, //!<Private call.
+ E_QL_MCM_VOICE_CALL_END_ALL //!<End all calls.
+} ql_mcm_voice_call_operation_t; //!< Voice call operation type.
+
+typedef enum
+{
+ E_QL_MCM_VOICE_CALL_END_REASON_NONE = 0,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_OFFLINE = 1,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_CDMA_LOCK = 2,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_NO_SRV = 3,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_FADE = 4,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_INTERCEPT = 5,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_REORDER = 6,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_REL_NORMAL = 7,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_REL_SO_REJ = 8,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_INCOM_CALL = 9,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_ALERT_STOP = 10,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_CLIENT_END = 11,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_ACTIVATION = 12,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_MC_ABORT = 13,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_MAX_ACCESS_PROBE = 14,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_PSIST_N = 15,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_UIM_NOT_PRESENT = 16,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_ACC_IN_PROG = 17,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_ACC_FAIL = 18,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_RETRY_ORDER = 19,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_CCS_NOT_SUPPORTED_BY_BS = 20,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_NO_RESPONSE_FROM_BS = 21,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_REJECTED_BY_BS = 22,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_INCOMPATIBLE = 23,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_ACCESS_BLOCK = 24,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_ALREADY_IN_TC = 25,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_EMERGENCY_FLASHED = 26,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_USER_CALL_ORIG_DURING_GPS = 27,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_USER_CALL_ORIG_DURING_SMS = 28,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_USER_CALL_ORIG_DURING_DATA= 29,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_REDIR_OR_HANDOFF = 30,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_ACCESS_BLOCK_ALL = 31,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_OTASP_SPC_ERR = 32,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_IS707B_MAX_ACC = 33,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_ACC_FAIL_REJ_ORD = 34,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_ACC_FAIL_RETRY_ORD = 35,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_TIMEOUT_T42 = 36,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_TIMEOUT_T40 = 37,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_SRV_INIT_FAIL = 38,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_T50_EXP = 39,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_T51_EXP = 40,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_RL_ACK_TIMEOUT = 41,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_BAD_FL = 42,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_TRM_REQ_FAIL = 43,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_TIMEOUT_T41 = 44,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_INCOM_REJ = 45,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_SETUP_REJ = 46,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_NETWORK_END = 47,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_NO_FUNDS = 48,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_NO_GW_SRV = 49,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_NO_CDMA_SRV = 50,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_NO_FULL_SRV = 51,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_MAX_PS_CALLS = 52,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_UNKNOWN_SUBSCRIBER = 53,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_ILLEGAL_SUBSCRIBER = 54,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_BEARER_SERVICE_NOT_PROVISIONED= 55,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_TELE_SERVICE_NOT_PROVISIONED = 56,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_ILLEGAL_EQUIPMENT = 57,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_CALL_BARRED = 58,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_ILLEGAL_SS_OPERATION = 59,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_SS_ERROR_STATUS = 60,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_SS_NOT_AVAILABLE = 61,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_SS_SUBSCRIPTION_VIOLATION = 62,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_SS_INCOMPATIBILITY = 63,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_FACILITY_NOT_SUPPORTED = 64,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_ABSENT_SUBSCRIBER = 65,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_SHORT_TERM_DENIAL = 66,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_LONG_TERM_DENIAL = 67,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_SYSTEM_FAILURE = 68,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_DATA_MISSING = 69,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_UNEXPECTED_DATA_VALUE = 70,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_PWD_REGISTRATION_FAILURE = 71,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_NEGATIVE_PWD_CHECK = 72,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_NUM_OF_PWD_ATTEMPTS_VIOLATION = 73,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_POSITION_METHOD_FAILURE = 74,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_UNKNOWN_ALPHABET = 75,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_USSD_BUSY = 76,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_REJECTED_BY_USER = 77,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_REJECTED_BY_NETWORK = 78,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_DEFLECTION_TO_SERVED_SUBSCRIBER = 79,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_SPECIAL_SERVICE_CODE = 80,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_INVALID_DEFLECTED_TO_NUMBER = 81,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_MPTY_PARTICIPANTS_EXCEEDED= 82,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_RESOURCES_NOT_AVAILABLE = 83,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_UNASSIGNED_NUMBER = 84,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_NO_ROUTE_TO_DESTINATION = 85,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_CHANNEL_UNACCEPTABLE = 86,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_OPERATOR_DETERMINED_BARRING = 87,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_NORMAL_CALL_CLEARING = 88,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_USER_BUSY = 89,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_NO_USER_RESPONDING = 90,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_USER_ALERTING_NO_ANSWER = 91,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_CALL_REJECTED = 92,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_NUMBER_CHANGED = 93,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_PREEMPTION = 94,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_DESTINATION_OUT_OF_ORDER = 95,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_INVALID_NUMBER_FORMAT = 96,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_FACILITY_REJECTED = 97,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_RESP_TO_STATUS_ENQUIRY = 98,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_NORMAL_UNSPECIFIED = 99,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_NO_CIRCUIT_OR_CHANNEL_AVAILABLE = 100,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_NETWORK_OUT_OF_ORDER = 101,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_TEMPORARY_FAILURE = 102,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_SWITCHING_EQUIPMENT_CONGESTION = 103,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_ACCESS_INFORMATION_DISCARDED = 104,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_REQUESTED_CIRCUIT_OR_CHANNEL_NOT_AVAILABLE = 105,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_RESOURCES_UNAVAILABLE_OR_UNSPECIFIED = 106,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_QOS_UNAVAILABLE = 107,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_REQUESTED_FACILITY_NOT_SUBSCRIBED = 108,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_INCOMING_CALLS_BARRED_WITHIN_CUG = 109,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_BEARER_CAPABILITY_NOT_AUTH = 110,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_BEARER_CAPABILITY_UNAVAILABLE = 111,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_SERVICE_OPTION_NOT_AVAILABLE = 112,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_ACM_LIMIT_EXCEEDED = 113,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_BEARER_SERVICE_NOT_IMPLEMENTED = 114,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_REQUESTED_FACILITY_NOT_IMPLEMENTED= 115,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_ONLY_DIGITAL_INFORMATION_BEARER_AVAILABLE = 116,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_SERVICE_OR_OPTION_NOT_IMPLEMENTED = 117,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_INVALID_TRANSACTION_IDENTIFIER = 118,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_USER_NOT_MEMBER_OF_CUG = 119,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_INCOMPATIBLE_DESTINATION = 120,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_INVALID_TRANSIT_NW_SELECTION = 121,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_SEMANTICALLY_INCORRECT_MESSAGE = 122,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_INVALID_MANDATORY_INFORMATION = 123,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_MESSAGE_TYPE_NON_IMPLEMENTED = 124,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_MESSAGE_TYPE_NOT_COMPATIBLE_WITH_PROTOCOL_STATE = 125,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_INFORMATION_ELEMENT_NON_EXISTENT = 126,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_CONDITONAL_IE_ERROR = 127,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_MESSAGE_NOT_COMPATIBLE_WITH_PROTOCOL_STATE = 128,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_RECOVERY_ON_TIMER_EXPIRED = 129,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_PROTOCOL_ERROR_UNSPECIFIED = 130,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_INTERWORKING_UNSPECIFIED = 131,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_OUTGOING_CALLS_BARRED_WITHIN_CUG = 132,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_NO_CUG_SELECTION = 133,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_UNKNOWN_CUG_INDEX = 134,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_CUG_INDEX_INCOMPATIBLE = 135,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_CUG_CALL_FAILURE_UNSPECIFIED = 136,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_CLIR_NOT_SUBSCRIBED = 137,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_CCBS_POSSIBLE = 138,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_CCBS_NOT_POSSIBLE = 139,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_IMSI_UNKNOWN_IN_HLR = 140,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_ILLEGAL_MS = 141,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_IMSI_UNKNOWN_IN_VLR = 142,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_IMEI_NOT_ACCEPTED = 143,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_ILLEGAL_ME = 144,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_PLMN_NOT_ALLOWED = 145,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_LOCATION_AREA_NOT_ALLOWED = 146,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_ROAMING_NOT_ALLOWED_IN_THIS_LOCATION_AREA = 147,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_NO_SUITABLE_CELLS_IN_LOCATION_AREA= 148,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_NETWORK_FAILURE = 149,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_MAC_FAILURE = 150,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_SYNCH_FAILURE = 151,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_NETWORK_CONGESTION = 152,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_GSM_AUTHENTICATION_UNACCEPTABLE = 153,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_SERVICE_NOT_SUBSCRIBED = 154,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_SERVICE_TEMPORARILY_OUT_OF_ORDER = 155,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_CALL_CANNOT_BE_IDENTIFIED = 156,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_INCORRECT_SEMANTICS_IN_MESSAGE = 157,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_MANDATORY_INFORMATION_INVALID = 158,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_ACCESS_STRATUM_FAILURE = 159,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_INVALID_SIM = 160,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_WRONG_STATE = 161,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_ACCESS_CLASS_BLOCKED = 162,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_NO_RESOURCES = 163,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_INVALID_USER_DATA = 164,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_TIMER_T3230_EXPIRED = 165,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_NO_CELL_AVAILABLE = 166,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_ABORT_MSG_RECEIVED = 167,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_RADIO_LINK_LOST = 168,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_TIMER_T303_EXPIRED = 169,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_CNM_MM_REL_PENDING = 170,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_ACCESS_STRATUM_REJ_RR_REL_IND = 171,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_ACCESS_STRATUM_REJ_RR_RANDOM_ACCESS_FAILURE = 172,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_ACCESS_STRATUM_REJ_RRC_REL_IND = 173,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_ACCESS_STRATUM_REJ_RRC_CLOSE_SESSION_IND = 174,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_ACCESS_STRATUM_REJ_RRC_OPEN_SESSION_FAILURE = 175,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_ACCESS_STRATUM_REJ_LOW_LEVEL_FAIL = 176,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_ACCESS_STRATUM_REJ_LOW_LEVEL_FAIL_REDIAL_NOT_ALLOWED = 177,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_ACCESS_STRATUM_REJ_LOW_LEVEL_IMMED_RETRY = 178,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_ACCESS_STRATUM_REJ_ABORT_RADIO_UNAVAILABLE = 179,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_SERVICE_OPTION_NOT_SUPPORTED = 180,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_AS_REJ_LRRC_UL_DATA_CNF_FAILURE_TXN = 181,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_AS_REJ_LRRC_UL_DATA_CNF_FAILURE_HO = 182,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_AS_REJ_LRRC_UL_DATA_CNF_FAILURE_CONN_REL = 183,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_AS_REJ_LRRC_UL_DATA_CNF_FAILURE_RLF = 184,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_AS_REJ_LRRC_UL_DATA_CNF_FAILURE_CTRL_NOT_CONN = 185,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_AS_REJ_LRRC_CONN_EST_SUCCESS = 186,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_AS_REJ_LRRC_CONN_EST_FAILURE = 187,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_AS_REJ_LRRC_CONN_EST_FAILURE_ABORTED = 188,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_AS_REJ_LRRC_CONN_EST_FAILURE_ACCESS_BARRED = 189,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_AS_REJ_LRRC_CONN_EST_FAILURE_CELL_RESEL = 190,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_AS_REJ_LRRC_CONN_EST_FAILURE_CONFIG_FAILURE = 191,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_AS_REJ_LRRC_CONN_EST_FAILURE_TIMER_EXPIRED = 192,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_AS_REJ_LRRC_CONN_EST_FAILURE_LINK_FAILURE = 193,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_AS_REJ_LRRC_CONN_EST_FAILURE_NOT_CAMPED = 194,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_AS_REJ_LRRC_CONN_EST_FAILURE_SI_FAILURE = 195,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_AS_REJ_LRRC_CONN_EST_FAILURE_CONN_REJECT = 196,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_AS_REJ_LRRC_CONN_REL_NORMAL = 197,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_AS_REJ_LRRC_CONN_REL_RLF = 198,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_AS_REJ_LRRC_CONN_REL_CRE_FAILURE = 199,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_AS_REJ_LRRC_CONN_REL_OOS_DURING_CRE = 200,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_AS_REJ_LRRC_CONN_REL_ABORTED = 201,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_AS_REJ_LRRC_CONN_REL_SIB_READ_ERROR = 202,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_AS_REJ_LRRC_CONN_REL_ABORTED_IRAT_SUCCESS = 203,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_AS_REJ_LRRC_RADIO_LINK_FAILURE = 204,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_AS_REJ_DETACH_WITH_REATTACH_LTE_NW_DETACH = 205,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_AS_REJ_DETACH_WITH_OUT_REATTACH_LTE_NW_DETACH = 206,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_BAD_REQ_WAIT_INVITE = 207,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_BAD_REQ_WAIT_REINVITE = 208,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_INVALID_REMOTE_URI = 209,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_REMOTE_UNSUPP_MEDIA_TYPE = 210,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_PEER_NOT_REACHABLE = 211,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_NETWORK_NO_RESP_TIME_OUT = 212,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_NETWORK_NO_RESP_HOLD_FAIL = 213,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_DATA_CONNECTION_LOST = 214,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_UPGRADE_DOWNGRADE_REJ = 215,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_SIP_403_FORBIDDEN = 216,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_NO_NETWORK_RESP = 217,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_UPGRADE_DOWNGRADE_FAILED = 218,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_UPGRADE_DOWNGRADE_CANCELLED = 219,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_SSAC_REJECT = 220,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_THERMAL_EMERGENCY = 221,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_1XCSFB_SOFT_FAILURE = 222,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_1XCSFB_HARD_FAILURE = 223,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_CONNECTION_EST_FAILURE = 224,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_CONNECTION_FAILURE = 225,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_RRC_CONN_REL_NO_MT_SETUP = 226,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_ESR_FAILURE = 227,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_MT_CSFB_NO_RESPONSE_FROM_NW = 228,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_BUSY_EVERYWHERE = 229,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_ANSWERED_ELSEWHERE = 230,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_RLF_DURING_CC_DISCONNECT = 231,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_TEMP_REDIAL_ALLOWED = 232,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_PERM_REDIAL_NOT_NEEDED = 233,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_MERGED_TO_CONFERENCE = 234,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_LOW_BATTERY = 235,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_CALL_DEFLECTED = 236,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_RTP_RTCP_TIMEOUT = 237,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_RINGING_RINGBACK_TIMEOUT = 238,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_REG_RESTORATION = 239,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_CODEC_ERROR = 240,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_UNSUPPORTED_SDP = 241,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_RTP_FAILURE = 242,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_QoS_FAILURE = 243,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_MULTIPLE_CHOICES = 244,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_MOVED_PERMANENTLY = 245,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_MOVED_TEMPORARILY = 246,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_USE_PROXY = 247,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_ALTERNATE_SERVICE = 248,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_ALTERNATE_EMERGENCY_CALL = 249,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_UNAUTHORIZED = 250,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_PAYMENT_REQUIRED = 251,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_METHOD_NOT_ALLOWED = 252,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_NOT_ACCEPTABLE = 253,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_PROXY_AUTHENTICATION_REQUIRED = 254,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_GONE = 255,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_REQUEST_ENTITY_TOO_LARGE = 256,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_REQUEST_URI_TOO_LARGE = 257,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_UNSUPPORTED_URI_SCHEME = 258,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_BAD_EXTENSION = 259,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_EXTENSION_REQUIRED = 260,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_INTERVAL_TOO_BRIEF = 261,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_CALL_OR_TRANS_DOES_NOT_EXIST = 262,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_LOOP_DETECTED = 263,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_TOO_MANY_HOPS = 264,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_ADDRESS_INCOMPLETE = 265,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_AMBIGUOUS = 266,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_REQUEST_TERMINATED = 267,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_NOT_ACCEPTABLE_HERE = 268,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_REQUEST_PENDING = 269,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_UNDECIPHERABLE = 270,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_SERVER_INTERNAL_ERROR = 271,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_NOT_IMPLEMENTED = 272,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_BAD_GATEWAY = 273,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_SERVER_TIME_OUT = 274,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_VERSION_NOT_SUPPORTED = 275,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_MESSAGE_TOO_LARGE = 276,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_DOES_NOT_EXIST_ANYWHERE = 277,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_SESS_DESCR_NOT_ACCEPTABLE = 278,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_SRVCC_END_CALL = 279,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_INTERNAL_ERROR = 280,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_SERVER_UNAVAILABLE = 281,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_PRECONDITION_FAILURE = 282,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_DRVCC_IN_PROG = 283,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_DRVCC_END_CALL = 284,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_CS_HARD_FAILURE = 285,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_CS_ACQ_FAILURE = 286,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_FALLBACK_TO_CS = 287,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_DEAD_BATTERY = 288,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_HO_NOT_FEASIBLE = 289,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_PDN_DISCONNECTED = 290,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_REJECTED_ELSEWHERE = 291,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_CALL_PULLED = 292,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_CALL_PULL_OUT_OF_SYNC = 293,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_HOLD_RESUME_FAILED = 294,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_HOLD_RESUME_CANCELED = 295,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_REINVITE_COLLISION = 296,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_1XCSFB_MSG_INVAILD = 297,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_1XCSFB_MSG_IGNORE = 298,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_1XCSFB_FAIL_ACQ_FAIL = 299,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_1XCSFB_FAIL_CALL_REL_REL_ORDER= 300,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_1XCSFB_FAIL_CALL_REL_REORDER = 301,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_1XCSFB_FAIL_CALL_REL_INTERCEPT_ORDER = 302,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_1XCSFB_FAIL_CALL_REL_NORMAL = 303,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_1XCSFB_FAIL_CALL_REL_SO_REJ = 304,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_1XCSFB_FAIL_CALL_REL_OTASP_SPC_ERR = 305,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_1XCSFB_FAILURE_SRCH_TT_FAIL = 306,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_1XCSFB_FAILURE_TCH_INIT_FAIL = 307,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_1XCSFB_FAILURE_FAILURE_USER_CALL_END = 308,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_1XCSFB_FAILURE_FAILURE_RETRY_EXHAUST = 309,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_1XCSFB_FAILURE_FAILURE_CALL_REL_REG_REJ = 310,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_1XCSFB_FAILURE_FAILURE_CALL_REL_NW_REL_ODR= 311,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_1XCSFB_HO_FAILURE = 312,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_EMM_REJ_TIMER_T3417_EXT_EXP = 313,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_EMM_REJ_TIMER_T3417_EXP = 314,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_EMM_REJ_SERVICE_REQ_FAILURE_LTE_NW_REJECT = 315,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_EMM_REJ_SERVICE_REQ_FAILURE_CS_DOMAIN_NOT_AVAILABLE = 316,
+ E_QL_MCM_VOICE_CALL_END_CAUSE_EMM_REJ = 317,
+} ql_mcm_voice_call_end_reason_t;
+
+typedef enum
+{
+ E_QL_MCM_VOICE_UUS_TYPE1_IMPLICIT, //!< Type 1 implicit.
+ E_QL_MCM_VOICE_UUS_TYPE1_REQUIRED, //!< Type 1 required.
+ E_QL_MCM_VOICE_UUS_TYPE1_NOT_REQUIRED, //!< Type 1 not required.
+ E_QL_MCM_VOICE_UUS_TYPE2_REQUIRED, //!< Type 2 required.
+ E_QL_MCM_VOICE_UUS_TYPE2_NOT_REQUIRED, //!< Type 2 not required.
+ E_QL_MCM_VOICE_UUS_TYPE3_REQUIRED, //!< Type 3 required.
+ E_QL_MCM_VOICE_UUS_TYPE3_NOT_REQUIRED, //!< Type 3 not required.
+ E_QL_MCM_VOICE_UUS_TYPE_DATA //!< Data.
+} ql_mcm_voice_uus_type_t;
+
+typedef enum
+{
+ E_QL_MCM_VOICE_UUS_DCS_IA5, //!< IA5.
+ E_QL_MCM_VOICE_UUS_DCS_OHLP, //!< OHLP.
+ E_QL_MCM_VOICE_UUS_DCS_USP, //!< USP.
+ E_QL_MCM_VOICE_UUS_DCS_X244 //!< x244.
+} ql_mcm_voice_uus_dcs_type_t; //!< UUS data coding scheme.
+
+
+typedef struct
+{
+ ql_mcm_voice_uus_type_t type; /**< UUS type; range -- 0 to 6.*/
+ ql_mcm_voice_uus_dcs_type_t dcs; /**< UUS data coding scheme; range -- 0 to 4.*/
+ uint32_t uus_data_len; /**< Must be set to the number of elements in uus_data. */
+ uint8_t uus_data[QL_MCM_MAX_UUS_DATA];/**< Voice call UUS data.*/
+} ql_mcm_voice_uusdata_t;
+
+typedef struct
+{
+ uint32_t call_id; /**< Call ID associated with this call.*/
+ ql_mcm_voice_call_state_t state; /**< Current call state (mcm_voice_call_state).*/
+ ql_mcm_voice_tech_t tech; /**< Technology (mcm_tech).*/
+ char number[QL_MCM_MAX_PHONE_NUMBER + 1]; /**< Phone number.*/
+ ql_mcm_voice_call_number_presentation_type_t number_presentation; /**< Number presentation.*/
+ ql_mcm_voice_call_direction_type_t direction; /**< Voice call direction.*/
+ uint8_t uusdata_valid; /**< Indicates whether UUS data is valid.*/
+ ql_mcm_voice_uusdata_t uusdata; /**< User-to-user signaling data.*/
+ uint8_t call_end_reason_valid; /**< Indicates whether call_end_reason is valid.*/
+ ql_mcm_voice_call_end_reason_t call_end_reason;
+} ql_mcm_voice_call_record_t;
+
+typedef struct
+{
+ uint32_t calls_len; /**< Must be set to # of elements in calls */
+ ql_mcm_voice_call_record_t calls[QL_MCM_MAX_VOICE_CALLS]; /**< Calls.*/
+} ql_mcm_voice_calls_state_t;
+
+
+typedef enum
+{
+ E_QL_MCM_VOICE_CALL_FORWARDING_DISABLED = 0, /**< Disabled. */
+ E_QL_MCM_VOICE_CALL_FORWARDING_ENABLED = 1, /**< Enabled. */
+} QL_MCM_VOICE_CALL_FORWARDING_STATUS_T;
+
+typedef enum
+{
+ E_QL_MCM_VOICE_CALL_FORWARDING_TYPE_VOICE = 0, /**< Voice. */
+ E_QL_MCM_VOICE_CALL_FORWARDING_TYPE_DATA = 1, /**< Data. */
+ E_QL_MCM_VOICE_CALL_FORWARDING_TYPE_VOICE_DATA = 2, /**< Voice and data. */
+} QL_MCM_VOICE_CALL_FORWARDING_TYPE_T;
+
+typedef struct
+{
+ QL_MCM_VOICE_CALL_FORWARDING_TYPE_T type; /**< Call forwarding type.*/
+ char number[QL_MCM_MAX_PHONE_NUMBER + 1]; /**< Call forwarding number.*/
+} QL_MCM_VOICE_CALL_FORWARDING_INFO_T; /* Type */
+
+typedef struct
+{
+ QL_MCM_VOICE_CALL_FORWARDING_STATUS_T status; /**< Call forwarding status.*/
+ uint32_t info_len; /**< Must be set to # of elements in info */
+ QL_MCM_VOICE_CALL_FORWARDING_INFO_T info[QL_MCM_MAX_CALL_FORWARDING_INFO];/**< Call forwarding information.*/
+} ql_mcm_voice_call_forwarding_status_list_t; /* Message */
+
+typedef enum
+{
+ E_QL_MCM_VOICE_SERVICE_UNKOWN = 0,
+ E_QL_MCM_VOICE_SERVICE_REGISTER = 1, /**< Register. */
+ E_QL_MCM_VOICE_SERVICE_ERASE = 2, /**< Erase. */
+} E_QL_MCM_VOICE_CALL_SERVICE_T;
+
+typedef enum
+{
+ E_QL_MCM_VOICE_CALL_FORWARD_UNCONDITIONALLY = 0, /**< Unconditional call forwarding. */
+ E_QL_MCM_VOICE_CALL_FORWARD_MOBILEBUSY = 1, /**< Forward when the mobile device is busy. */
+ E_QL_MCM_VOICE_CALL_FORWARD_NOREPLY = 2, /**< Forward when there is no reply. */
+ E_QL_MCM_VOICE_CALL_FORWARD_UNREACHABLE = 3, /**< Forward when the call is unreachable. */
+ E_QL_MCM_VOICE_CALL_FORWARD_ALLFORWARDING = 4, /**< All forwarding(0-3). */
+ E_QL_MCM_VOICE_CALL_FORWARD_ALLCONDITIONAL = 5, /**< All conditional forwarding(1-3). */
+} E_QL_MCM_VOICE_CALL_FORWARDING_REASON_T;
+
+
+typedef enum
+{
+ E_QL_MCM_VOICE_CALL_WAITING_VOICE_ENABLED = 0, /**< Voice call waiting enabled. */
+ E_QL_MCM_VOICE_CALL_WAITING_DISABLED = 1, /**< Voice call waiting disabled. */
+} E_QL_MCM_VOICE_CALL_WAITING_SERVICE_T;
+
+typedef struct
+{
+ E_QL_MCM_VOICE_CALL_WAITING_SERVICE_T waiting_service;
+} ql_mcm_voice_call_waiting_service_t;
+
+
+
+typedef enum
+{
+ E_QL_MCM_VOICE_CLIR_INVOCATION = 0, /**< Invocation. */
+ E_QL_MCM_VOICE_CLIR_SUPPRESSION = 1, /**< Suppression. */
+} ql_mcm_voice_clir_action_t;
+
+typedef enum
+{
+ E_QL_MCM_VOICE_CLIR_NOT_PROVISIONED = 0, /**< Not provisioned. */
+ E_QL_MCM_VOICE_CLIR_PROVISIONED_PERMANENT_MODE = 1, /**< Permanently provisioned. */
+ E_QL_MCM_VOICE_CLIR_PRESENTATION_RESTRICTED = 2, /**< Restricted presentation. */
+ E_QL_MCM_VOICE_CLIR_PRESENTATION_ALLOWED = 3, /**< Allowed presentation. */
+} ql_mcm_voice_clir_presentation_t;
+
+typedef struct
+{
+ ql_mcm_voice_clir_action_t action;
+ ql_mcm_voice_clir_presentation_t presentation; /**< CLIR presentation.*/
+} ql_mcm_voice_clir_info_t;
+
+
+
+typedef enum
+{
+ E_QL_MCM_VOICE_USSD_MSG_TYPE_NEW_MESSAGE = 0, /**< Initiate a new USSD sesion with network. */
+ E_QL_MCM_VOICE_USSD_MSG_TYPE_REPLY_TO_IND = 1, /**< Reply to a USSD indication from the network. */
+} ql_mcm_voice_ussd_msg_type_t;
+
+typedef enum
+{
+ E_QL_MCM_VOICE_USSD_ENCODING_ASCII = 0, /**< ASCII coding scheme. */
+ E_QL_MCM_VOICE_USSD_ENCODING_8BIT = 1, /**< 8-bit coding scheme. */
+ E_QL_MCM_VOICE_USSD_ENCODING_UCS2 = 2, /**< UCS2. */
+} ql_mcm_voice_ussd_encoding_type_t;
+
+typedef struct
+{
+ ql_mcm_voice_ussd_msg_type_t type; /**< Whether sending a new request or a reply to indication*/
+ ql_mcm_voice_ussd_encoding_type_t encoding; /**< USSD encoding.*/
+ char ussd_string[QL_MCM_MAX_USSD_LENGTH + 1]; /**< USSD string.*/
+} ql_mcm_voice_ussd_info_t; /* Message */
+
+
+typedef enum
+{
+ E_QL_MCM_SIMRIL_CHANGE_CALL_BARRING_PWD_REASON_ALLOUTGOING = 0, /**< All outgoing. */
+ E_QL_MCM_SIMRIL_CHANGE_CALL_BARRING_PWD_REASON_OUTGOINGINT = 1, /**< Outgoing internal. */
+ E_QL_MCM_SIMRIL_CHANGE_CALL_BARRING_PWD_REASON_OUTGOINGINTEXTOHOME = 2, /**< Outgoing external to home. */
+ E_QL_MCM_SIMRIL_CHANGE_CALL_BARRING_PWD_REASON_ALLINCOMING = 3, /**< All incoming. */
+ E_QL_MCM_SIMRIL_CHANGE_CALL_BARRING_PWD_REASON_INCOMINGROAMING = 4, /**< Roaming incoming. */
+ E_QL_MCM_SIMRIL_CHANGE_CALL_BARRING_PWD_REASON_ALLBARRING = 5, /**< All calls are barred. */
+ E_QL_MCM_SIMRIL_CHANGE_CALL_BARRING_PWD_REASON_ALLOUTGOINGBARRING = 6, /**< All outgoing calls are barred. */
+ E_QL_MCM_SIMRIL_CHANGE_CALL_BARRING_PWD_REASON_ALLINCOMINGBARRING = 7, /**< All incoming calls are barred. */
+} ql_mcm_change_call_barring_pwd_reason_t;
+
+typedef struct
+{
+ ql_mcm_change_call_barring_pwd_reason_t reason; /**< Reason for the password change. Refer to 3GPP TS 27.007 @xhyperref{S8,[S8]}, Section 7.4.*/
+ char old_pwd[QL_MCM_MAX_PASSWORD_LENGTH + 1];
+ char new_pwd[QL_MCM_MAX_PASSWORD_LENGTH + 1];
+} ql_mcm_change_call_barring_pwd_info_t; /* Message */
+
+
+typedef enum
+{
+ E_QL_MCM_SIMRIL_E911_UNKNOWN = -1, /**< E911 unknown. */
+ E_QL_MCM_SIMRIL_E911_INACTIVE = 0, /**< E911 INACTIVE. */
+ E_QL_MCM_SIMRIL_E911_ACTIVE = 1, /**< E911 ACTIVE. */
+} ql_mcm_simril_e911_state_t;
+
+typedef ql_mcm_voice_call_state_t E_QL_VOICE_CALL_STATE_T;
+
+typedef enum
+{
+ E_QL_MCM_ECALL_TEST = 0x01,
+ E_QL_MCM_ECALL_EMERGENCY = 0x02,
+ E_QL_MCM_ECALL_RECONFIG = 0x03,
+} E_QL_MCM_ECALL_VARIANT_T;
+
+typedef enum
+{
+ E_QL_MCM_VOICE_AUTO_ANSWER_ENABLE = 0, /**< Enable auto-answer. */
+ E_QL_MCM_VOICE_AUTO_ANSWER_DISABLE = 1, /**< Disable auto-answer. */
+} E_QL_MCM_VOICE_AUTO_ANSWER_T;
+
+
+//Laurence.yin-2018/04/03-QCM9XOL00004C011-P02, <[MCM-ECALL] : add ecall status ind info.>
+typedef enum
+{
+ E_QL_MCM_VOICE_UNKOWN_IND = 0,
+ E_QL_MCM_VOICE_CALL_IND,
+ E_QL_MCM_VOICE_ECALL_STATUE_IND,
+ E_QL_MCM_VOICE_ECALL_URC_IND,
+ E_QL_MCM_VOICE_ECALL_EVENT_IND,
+
+} E_QL_MCM_VOICE_IND_T;
+
+typedef enum
+{
+ E_QL_MCM_VOICE_ECALL_MSD_TRANSMISSION_STATUS_SUCCESS = 0x00, /**< Success \n */
+ E_QL_MCM_VOICE_ECALL_MSD_TRANSMISSION_STATUS_FAILURE = 0x01, /**< Generic failure */
+} E_QL_MCM_EALL_MSD_TRANSMISSION_STATUS_T;
+
+typedef enum
+{
+ E_QL_MCM_VOICE_ECALL_INACTIVE = 0,
+ E_QL_MCM_VOICE_ECALL_ORIGINATING_CALL = 1,
+ E_QL_MCM_VOICE_ECALL_IN_CALL_TRANSMITTING = 2, /**< ECALL APP TRANSMITTING */
+ E_QL_MCM_VOICE_ECALL_WATING_FOR_AL_ACK = 3,
+ E_QL_MCM_VOICE_ECALL_IN_CALL = 4,
+ E_QL_MCM_VOICE_ECALL_IDLE_ALLOW_MT_ECALL = 5,
+} E_QL_MCM_ECALL_STATE_T;
+
+typedef enum
+{
+ E_QL_MCM_VOICE_ECALL_MODE_NOMAL = 0,
+ E_QL_MCM_VOICE_ECALL_MODE_ONLY = 1,
+ E_QL_MCM_VOICE_ECALL_MODE_DEFAULT = 2
+} E_QL_MCM_ECALL_MODE_T;
+
+typedef enum
+{
+ E_QL_MCM_VOICE_ECALL_CONFIG_ENABLE = 0,
+ E_QL_MCM_VOICE_ECALL_CONFIG_VIOCECONF,
+ E_QL_MCM_VOICE_ECALL_CONFIG_MODE,
+ E_QL_MCM_VOICE_ECALL_CONFIG_PROCESSINFO,
+ E_QL_MCM_VOICE_ECALL_CONFIG_START_TIMER,
+ E_QL_MCM_VOICE_ECALL_CONFIG_HACK_TIMER,
+ E_QL_MCM_VOICE_ECALL_CONFIG_MSD_TRANSMISSION,
+ E_QL_MCM_VOICE_ECALL_CONFIG_MO_FAILR_REDIAL,
+ E_QL_MCM_VOICE_ECALL_CONFIG_DROP_REDIAL
+} E_QL_MCM_ECALL_CONFIG_T;
+
+typedef struct
+{
+ char ecall_msd[QL_MCM_MAX_ECALL_MSD]; //max msd length 140
+ uint32_t msd_len;
+ int manual;
+ E_QL_MCM_ECALL_VARIANT_T eCallModeType;
+} ql_mcm_ecall_info;
+
+typedef struct
+{
+ uint8_t enable; /* Enable or disable ecall ;0 -- Disable; 1 -- Enable */
+ uint8_t voiceconfig; /* Enable or disable to mute IVS speaker in MSD
+ 0 -- Disable to mute IVS speaker automatical in MSD transmission
+ 1 -- Enable to mute IVS speaker automatical in MSD transmission */
+ E_QL_MCM_ECALL_MODE_T ecallmode; /* The Ecall mode. */
+ uint8_t processinfo; /* Enable or disable to report ecall event info. 0 -- Disable; 1 -- Enable */
+ uint8_t T5; /* The timer of IVS waiting for "START". */
+ uint8_t T6; /* The timer of IVS waiting for "HACK". */
+ uint8_t T7; /* The timer of MSD transmission. */
+ uint8_t mofailredial; /* The dial fail times. */
+ uint8_t dropredial;
+} ql_mcm_ecall_config_info;
+
+
+typedef struct
+{
+ uint8_t call_id; /**< call_id.*/
+ uint8_t ecall_msd_tx_status_valid;
+ E_QL_MCM_EALL_MSD_TRANSMISSION_STATUS_T ecall_msd_tx_status;
+} ql_mcm_voice_ecall_status_t; /* Message */
+
+typedef struct
+{
+ uint8_t call_id; /**< call_id.*/
+ uint32_t ecall_urc_event_len; /**< Must be set to # of elements in ecall_urc_event */
+ char ecall_urc_event[QL_MCM_MAX_ECALL_URC_EVENT_LENGTH];
+} ql_mcm_voice_ecall_urc_t;
+
+typedef enum
+{
+ E_QL_MCM_VOICE_ECALL_EVENT_FAIL_START_TIMEOUT = 1, /**< Wait for START timeout. */
+ E_QL_MCM_VOICE_ECALL_EVENT_FAIL_HACK_TIMEOUT = 2, /**< Wait for HACK timeout. */
+ E_QL_MCM_VOICE_ECALL_EVENT_FAIL_MSD_TRANSMISSION_TIMEOUT = 3, /**< MSD transmission timeout. */
+ E_QL_MCM_VOICE_ECALL_EVENT_FAIL_IVS_RESET_TIMEOUT = 4 /**< IVS reset. */
+} E_QL_MCM_VOICE_ECALL_EVENT_FAIL_T;
+
+typedef enum
+{
+ E_QL_MCM_VOICE_ECALL_EVENT_PROCESS_IVS_START_RECEIVED_MSD = 1, /**< IVS Link Layer receives START message and starts to send MSD */
+ E_QL_MCM_VOICE_ECALL_EVENT_PROCESS_IVS_NACK_RECEIVED = 2, /**< IVS Link Layer receives NACK message. */
+ E_QL_MCM_VOICE_ECALL_EVENT_PROCESS_IVS_ACK_RECEIVED = 3, /**< IVS Link Layer receives the first LACK message. */
+ E_QL_MCM_VOICE_ECALL_EVENT_PROCESS_IVS_TX_COMPLETED = 4, /**< IVS MSD transmission is complete. */
+ E_QL_MCM_VOICE_ECALL_EVENT_PROCESS_IVS_HLACK_RECEIVED = 5 /**< IVS Link Layer receives first HACK message. */
+} E_QL_MCM_VOICE_ECALL_EVENT_PROCESS_T;
+
+typedef enum
+{
+ E_QL_MCM_VOICE_ECALL_EVENT_MSDUPDATE_IVS_UPDATING_MSD = 0, /**< Indicates MSD has been updated. */
+ E_QL_MCM_VOICE_ECALL_EVENT_MSDUPDATE_PSAP_REQURE_UPDATE_MSD = 1, /**< Indicate timeout of updating MSD and module starts to transfer the old MSD. */
+ E_QL_MCM_VOICE_ECALL_EVENT_MSDUPDATE_IVS_UPDATE_MSD_TIMEOUT = 2 /**< Indicate to update MSD in 5 seconds. */
+} E_QL_MCM_VOICE_ECALL_EVENT_MSDUPDATE_T;
+
+typedef enum
+{
+ E_QL_MCM_VOICE_ECALL_EVENT_ECALL_ESTABLISHNG_SUCCESS = 0, /**< Establish eCall successfully. */
+ E_QL_MCM_VOICE_ECALL_EVENT_ECALL_ESTABLISHNG_FAIL = 1 /**< Establish eCall fails. */
+} E_QL_MCM_VOICE_ECALL_EVENT_ESTABLISH_T;
+
+typedef struct
+{
+ uint16_t hack_code; /**< psap hack code.*/
+} ql_mcm_voice_ecall_event_hackcode_t; /* Type */
+
+typedef struct
+{
+ uint8_t ori_remainder_times; /**< originate fail remainder times*/
+ uint16_t time; /**< the minimum time duration between the previous call attempt*/
+} ql_mcm_voice_ecall_event_originate_fail_and_redial_t; /* Type */
+
+typedef struct
+{
+ uint8_t drop_remainder_times; /**< dorp remainder times*/
+ uint16_t time; /**< the minimum time duration between the previous call attempt*/
+} ql_mcm_voice_ecall_event_drop_and_redial_t; /* Type */
+
+
+typedef struct
+{
+ uint8_t ecall_event_fails_valid;
+ E_QL_MCM_VOICE_ECALL_EVENT_FAIL_T ecall_event_fails; /**< event of eCall Failed.*/
+ uint8_t ecall_event_process_valid;
+ E_QL_MCM_VOICE_ECALL_EVENT_PROCESS_T ecall_event_process; /**< event of eCall process.*/
+ uint8_t ecall_event_msdupdate_valid;
+ E_QL_MCM_VOICE_ECALL_EVENT_MSDUPDATE_T ecall_event_msdupdate; /**< event of ecall msd update.*/
+ uint8_t ecall_event_establish_valid;
+ E_QL_MCM_VOICE_ECALL_EVENT_ESTABLISH_T ecall_event_establish; /**< event of eCall establish.*/
+ uint8_t ecall_event_hackcode_valid;
+ ql_mcm_voice_ecall_event_hackcode_t ecall_event_hackcode; /**< event of eCall hack code.*/
+ uint8_t ecall_event_ori_redial_valid;
+ ql_mcm_voice_ecall_event_originate_fail_and_redial_t ecall_event_ori_redial; /**< event of originate fail and redial.*/
+ uint8_t ecall_event_drop_redial_valid;
+ ql_mcm_voice_ecall_event_drop_and_redial_t ecall_event_drop_redial; /**< event of drop and redial.*/
+} ql_mcm_voice_ecall_event_t; /* Message */
+
+
+typedef ql_mcm_voice_calls_state_t ql_mcm_voice_call_ind;
+typedef ql_mcm_voice_ecall_status_t ql_mcm_voice_ecall_status_ind;
+typedef ql_mcm_voice_ecall_urc_t ql_mcm_voice_ecall_urc_ind;
+typedef ql_mcm_voice_ecall_event_t ql_mcm_voice_ecall_event_ind;
+
+
+
+
+/* Callback function registered via QL_Voice_Call_AddStateHandler;
+ This will be called if any stated changed of call_id
+*/
+typedef void (*QL_VoiceCall_CommonStateHandlerFunc_t)
+(
+ unsigned long message_id,
+ void *ind_data,
+ uint32_t ind_data_len
+);
+
+
+typedef uint32 voice_client_handle_type;
+
+/* Callback function registered via QL_Voice_Call_AddStateHandler;
+ This will be called if any stated changed of call_id
+*/
+typedef void (*QL_VoiceCall_StateHandlerFunc_t)
+(
+ int call_id,
+ char* phone_num,
+ E_QL_VOICE_CALL_STATE_T state,
+ void *contextPtr
+);
+
+/* Init voice module and return h_voice, this should be called before any other APIs */
+int QL_Voice_Call_Client_Init(voice_client_handle_type *ph_voice);
+
+/* DeInit voice module and release resources, this should be called at last */
+int QL_Voice_Call_Client_Deinit(voice_client_handle_type h_voice);
+
+/* Add callback function, if any call state changed, handlerPtr will be called to notify App */
+int QL_Voice_Call_AddStateHandler(voice_client_handle_type h_voice,
+ QL_VoiceCall_StateHandlerFunc_t handlerPtr,
+ void* contextPtr);
+
+/* Remove callback function, won't receive any notify anymore */
+int QL_Voice_Call_RemoveStateHandler(voice_client_handle_type h_voice);
+
+//Laurence.yin-2018/04/03-QCM9XOL00004C011-P02, <[MCM-ECALL] : add ecall status ind info.>
+/* Add callback function, if any call state changed, handlerPtr will be called to notify App */
+int QL_Voice_Call_AddCommonStateHandler(voice_client_handle_type h_voice,
+ QL_VoiceCall_CommonStateHandlerFunc_t handlerPtr);
+
+/* Remove callback function, won't receive any notify anymore */
+int QL_Voice_Call_RemoveCommonStateHandler(voice_client_handle_type h_voice);
+
+
+/* Start call and return call_id, this can be used in the later */
+int QL_Voice_Call_Start(voice_client_handle_type h_voice,
+ E_QL_VCALL_ID_T simId,
+ char* phone_number, ///< [IN] Destination identifier for the voice
+ int *call_id); ///< [OUT] call id
+
+/* End call of call_id, which returned by QL_Voice_Call_Start or callback func register via QL_Voice_Call_AddStateHandler */
+int QL_Voice_Call_End( voice_client_handle_type h_voice,
+ int call_id); ///< [IN] call id, return by QL_Voice_Start
+
+/* Answer the call of call_id, which returned by callback func register via QL_Voice_Call_AddStateHandler */
+int QL_Voice_Call_Answer(voice_client_handle_type h_voice,
+ int call_id );
+
+int QL_Voice_Call_Hold( voice_client_handle_type h_voice);
+
+int QL_Voice_Call_UnHold( voice_client_handle_type h_voice);
+
+int QL_Voice_Call_Conference( voice_client_handle_type h_voice);
+
+int QL_Voice_Call_EndConference( voice_client_handle_type h_voice);
+
+int QL_Voice_Call_Ecall(voice_client_handle_type h_voice,
+ E_QL_VCALL_ID_T simId,
+ char* phone_number,
+ ql_mcm_ecall_info ecall_info,
+ int *call_id);
+
+
+int QL_Voice_Call_SetAutoAnswer(voice_client_handle_type h_voice,
+ E_QL_MCM_VOICE_AUTO_ANSWER_T eAnswerType,
+ uint32_t uAnswerTime);
+
+int QL_Voice_Call_Ecall_HangUp(voice_client_handle_type h_voice);
+
+int QL_Voice_Call_Ecall_UpdateMsd(voice_client_handle_type h_voice,const char *msd,uint32_t msd_len);
+
+//Ecall Push caommand
+int QL_Voice_Call_Ecall_MsdPush(voice_client_handle_type h_voice,
+ E_QL_MCM_ECALL_STATE_T *ecall_state);
+
+//Get Ecall config info
+int QL_Voice_Call_Ecall_GetConfigInfo(voice_client_handle_type h_voice,
+ ql_mcm_ecall_config_info *ecall_config);
+
+int QL_Voice_Call_Ecall_SetConfigInfo(voice_client_handle_type h_voice,
+ E_QL_MCM_ECALL_CONFIG_T ecall_config_type,
+ uint8_t value);
+
+
+
+//Cancel dial
+int QL_Voice_Call_CancelDial( voice_client_handle_type h_voice);
+
+//VTS API
+int QL_Voice_Call_Dtmf( voice_client_handle_type h_voice,uint8_t digit,int call_id);
+
+
+int QL_Voice_Call_GetCallStatus
+(
+ int h_voice,
+ int call_id, // If call_id<0, means to get all calls state, or get specified call_id info
+ ql_mcm_voice_calls_state_t *pt_callstate
+);
+
+//Set forwarding
+int QL_Voice_Call_SetForwarding
+(
+ int h_voice,
+ E_QL_MCM_VOICE_CALL_SERVICE_T service,
+ E_QL_MCM_VOICE_CALL_FORWARDING_REASON_T reason,
+ char *number
+);
+
+//Get forwarding status
+int QL_Voice_Call_GetForwardingStatus
+(
+ int h_voice,
+ E_QL_MCM_VOICE_CALL_FORWARDING_REASON_T reason,
+ ql_mcm_voice_call_forwarding_status_list_t *pt_status
+);
+
+//Set voice call waiting
+int QL_Voice_Call_SetWaiting
+(
+ int h_voice,
+ ql_mcm_voice_call_waiting_service_t e_service
+);
+
+//Get voice call waiting status
+int QL_Voice_Call_GetWaitingStatus
+(
+ int h_voice,
+ ql_mcm_voice_call_waiting_service_t *pe_service
+);
+
+
+/*
+Usage 1 (register callback and wait for new call in, then answer):
+1, QL_Voice_Call_Client_Init
+2, QL_Voice_Call_AddStateHandler(pf_cb)
+3, wait for new call arrive, pf_cb will pass the call_id to app.
+4, QL_Voice_Call_Answer(call_id)
+5, QL_Voice_Call_End
+6, QL_Voice_Call_Client_Deinit
+
+
+Usage 2 (call out):
+1, QL_Voice_Call_Client_Init
+2, QL_Voice_Call_AddStateHandler(pf_cb)
+3, QL_Voice_Call_Start
+4, QL_Voice_Call_End
+5, QL_Voice_Call_Client_Deinit
+
+
+*/
+
+
+#endif // __QL_MCM_VOICE_H__
diff --git a/mbtk/include/ql/ql_mcm_gnss.h b/mbtk/include/ql/ql_mcm_gnss.h
new file mode 100755
index 0000000..b2ee20a
--- /dev/null
+++ b/mbtk/include/ql/ql_mcm_gnss.h
@@ -0,0 +1,414 @@
+#ifndef __QL_MCM_GPS_H__
+#define __QL_MCM_GPS_H__
+#include "mbtk_type.h"
+
+
+#define LOC_IND_LOCATION_INFO_ON (1 << 0)
+#define LOC_IND_STATUS_INFO_ON (1 << 1)
+#define LOC_IND_SV_INFO_ON (1 << 2)
+#define LOC_IND_NMEA_INFO_ON (1 << 3)
+#define LOC_IND_CAP_INFO_ON (1 << 4)
+#define LOC_IND_UTC_TIME_REQ_ON (1 << 5)
+#define LOC_IND_XTRA_DATA_REQ_ON (1 << 6)
+#define LOC_IND_AGPS_DATA_CONN_CMD_REQ_ON (1 << 7)
+#define LOC_IND_NI_NFY_USER_RESP_REQ_ON (1 << 8)
+
+typedef uint32 loc_client_handle_type;
+
+typedef enum
+{
+ E_QL_LOC_POS_MODE_STANDALONE = 0, /**< Mode for running GPS standalone (no assistance). */
+ E_QL_LOC_POS_MODE_MS_BASED = 1, /**< AGPS MS-Based mode. */
+ E_QL_LOC_POS_MODE_MS_ASSISTED = 2, /**< AGPS MS-Assisted mode. */
+}E_QL_LOC_POS_MODE_T;
+
+typedef enum
+{
+ E_QL_LOC_POS_RECURRENCE_PERIODIC = 0, /**< Receive GPS fixes on a recurring basis at a specified period. */
+ E_QL_LOC_POS_RECURRENCE_SINGLE = 1, /**< Request a single-shot GPS fix. */
+}E_QL_LOC_POS_RECURRENCE_T;
+
+typedef struct
+{
+ E_QL_LOC_POS_MODE_T mode; /* Position mode. */
+ E_QL_LOC_POS_RECURRENCE_T recurrence; /* Recurrence */
+ uint32_t min_interval; /* Minimum Interval, NMEA report frequency, 1000 means 1Hz, 100 means 10Hz */
+ uint32_t preferred_accuracy; /* Preferred Accuracy , 30m or more, the less it takes longer timer. */
+ uint32_t preferred_time; /* Preferred Time, first cold-boot may take 100s or more, hot boot may take 2s */
+}QL_LOC_POS_MODE_INFO_T;
+
+typedef enum
+{
+ E_QL_LOC_LOCATION_LAT_LONG_VALID = 0x0001, /**< GPS location has valid latitude and longitude. */
+ E_QL_LOC_LOCATION_ALTITUDE_VALID = 0x0002, /**< GPS location has a valid altitude. */
+ E_QL_LOC_LOCATION_SPEED_VALID = 0x0004, /**< GPS location has a valid speed. */
+ E_QL_LOC_LOCATION_BEARING_VALID = 0x0008, /**< GPS location has a valid bearing. */
+ E_QL_LOC_LOCATION_ACCURACY_VALID = 0x0010, /**< GPS location has valid accuracy. */
+ E_QL_LOC_LOCATION_SOURCE_INFO_VALID= 0x0020, /**< GPS location has valid source information. */
+ E_QL_LOC_LOCATION_IS_INDOOR_VALID = 0x0040, /**< GPS location has a valid "is indoor?" flag. */
+ E_QL_LOC_LOCATION_FLOOR_NUMBE_VALID= 0x0080, /**< GPS location has a valid floor number. */
+ E_QL_LOC_LOCATION_MAP_URL_VALID = 0x0100, /**< GPS location has a valid map URL. */
+ E_QL_LOC_LOCATION_MAP_INDEX_VALID = 0x0200, /**< GPS location has a valid map index. */
+}E_QL_LOC_LOCATION_VALID_FLAG;
+
+typedef enum
+{
+ E_QL_LOC_ULP_LOCATION_SOURCE_HYBRID= 0x0001, /**< Position source is ULP. */
+ E_QL_LOC_ULP_LOCATION_SOURCE_GNSS = 0x0002, /**< Position source is GNSS only. */
+}E_QL_LOC_ULP_LOCATION_SOURCE;
+
+#define QL_LOC_GPS_RAW_DATA_LEN_MAX 256 /** Raw data maximum size. */
+#define QL_LOC_GPS_LOCATION_MAP_URL_SIZE 399 /** Location map URL maximum size (used for indoor positioning). */
+#define QL_LOC_GPS_LOCATION_MAP_IDX_SIZE 16 /** Location map index maximum size (used for indoor positioning). */
+typedef struct
+{
+ uint32_t size; /**< Set to the size of mcm_gps_location_t. */
+ E_QL_LOC_LOCATION_VALID_FLAG flags; /**< Contains GPS location flags bits. */
+ E_QL_LOC_ULP_LOCATION_SOURCE position_source; /**< Provider indicator for HYBRID or GPS. */
+ double latitude; /**< Latitude in degrees. */
+ double longitude; /**< Longitude in degrees. */
+ double altitude; /**< Altitude in meters above the WGS 84 reference ellipsoid. */
+ float speed; /**< Speed in meters per second. */
+ float bearing; /**< Heading in degrees. */
+ float accuracy; /**< Expected accuracy in meters. */
+ int64_t timestamp; /**< Timestamp for the location fix in UTC million-second base. */
+ int32_t is_indoor; /**< Location is indoors. */
+ float floor_number; /**< Indicates the floor number. */
+ uint32_t raw_data_len; /**< Must be set to # of elements in raw_data */
+ uint8_t raw_data[QL_LOC_GPS_RAW_DATA_LEN_MAX]; /**< Allows the HAL to pass additional information related to the location. */
+ char map_url[QL_LOC_GPS_LOCATION_MAP_URL_SIZE + 1]; /**< Map URL. */
+ uint8_t map_index[QL_LOC_GPS_LOCATION_MAP_IDX_SIZE]; /**< Map index. */
+}QL_LOC_LOCATION_INFO_T; /* Type */
+
+typedef enum
+{
+ E_QL_LOC_STATUS_NONE = 0, /**< GPS status unknown. */
+ E_QL_LOC_STATUS_SESSION_BEGIN = 1, /**< GPS has begun navigating. */
+ E_QL_LOC_STATUS_SESSION_END = 2, /**< GPS has stopped navigating. */
+ E_QL_LOC_STATUS_ENGINE_ON = 3, /**< GPS has powered on but is not navigating. */
+ E_QL_LOC_STATUS_ENGINE_OFF = 4, /**< GPS is powered off. */
+}E_QL_LOC_STATUS_VALUE_T;
+
+typedef struct
+{
+ uint32_t size; /**< Set to the size of mcm_gps_sv_info_t. */
+ int prn; /**< Pseudo-random number for the SV. */
+ float snr; /**< Signal-to-noise ratio. */
+ float elevation; /**< Elevation of the SV in degrees. */
+ float azimuth; /**< Azimuth of the SV in degrees. */
+}QL_LOC_SV_INFO_T; /* Type */
+
+#define QL_LOC_GPS_SUPPORT_SVS_MAX 32 /** Maximum number of satellites in view. */
+typedef struct
+{
+ uint32_t size; /**< Set to the size of mcm_gps_sv_status_t. */
+ int num_svs; /**< Number of SVs currently visible. */
+ QL_LOC_SV_INFO_T sv_list[QL_LOC_GPS_SUPPORT_SVS_MAX]; /**< Contains an array of SV information. */
+ uint32_t ephemeris_mask; /**< Bitmask indicating which SVs have ephemeris data. */
+ uint32_t almanac_mask; /**< Bitmask indicating which SVs have almanac data. */
+ uint32_t used_in_fix_mask; /**< Bitmask indicating which SVs were used for computing the most recent position fix. */
+}QL_LOC_SV_STATUS_T; /* Type */
+
+
+#define QL_LOC_NMEA_MAX_LENGTH 255 /** NMEA string maximum length. */
+typedef struct
+{
+ int64_t timestamp; /**< System Timestamp, marked for when got the nmea data */
+ int length; /**< NMEA string length. */
+ char nmea[QL_LOC_NMEA_MAX_LENGTH + 1]; /**< NMEA string.*/
+}QL_LOC_NMEA_INFO_T; /* Message */
+
+typedef enum
+{
+ E_QL_LOC_CAPABILITY_SCHEDULING = 0x01, /**< GPS HAL schedules fixes for GPS_POSITION_RECURRENCE_PERIODIC mode.
+ If this is not set, the framework uses \n 1000 ms for min_interval
+ and will call start() and stop() to schedule the GPS. */
+ E_QL_LOC_CAPABILITY_MSB = 0x02, /**< GPS supports MS-Based AGPS mode. */
+ E_QL_LOC_CAPABILITY_MSA = 0x04, /**< GPS supports MS-Assisted AGPS mode. */
+ E_QL_LOC_CAPABILITY_SINGLE_SHOT = 0x08, /**< GPS supports single-shot fixes. */
+ E_QL_LOC_CAPABILITY_ON_DEMAND_TIME = 0x10, /**< GPS supports on-demand time injection. */
+}E_QL_LOC_CAPABILITIES_T;
+
+
+#define QL_LOC_GPS_SSID_BUF_SIZE 32 /** Maximum SSID (Service Set Identifier) buffer size. */
+#define QL_LOC_IPV6_ADDR_LEN 16 /** IPv6 address length. */
+typedef enum
+{
+ E_QL_LOC_AGPS_TYPE_INVALID = -1, /**< Invalid. */
+ E_QL_LOC_AGPS_TYPE_ANY = 0, /**< Any. */
+ E_QL_LOC_AGPS_TYPE_SUPL = 1, /**< SUPL. */
+ E_QL_LOC_AGPS_TYPE_C2K = 2, /**< C2K. */
+ E_QL_LOC_AGPS_TYPE_WWAN_ANY = 3, /**< WWAN any. */
+ E_QL_LOC_AGPS_TYPE_WIFI = 4, /**< Wi-Fi. */
+ E_QL_LOC_AGPS_TYPE_SUPL_ES = 5, /**< SUPL_ES. */
+}E_QL_LOC_AGPS_TYPE_T;
+
+typedef enum
+{
+ E_QL_LOC_REQUEST_AGPS_DATA_CONN = 1, /**< GPS requests a data connection for AGPS. */
+ E_QL_LOC_RELEASE_AGPS_DATA_CONN = 2, /**< GPS releases the AGPS data connection. */
+ E_QL_LOC_AGPS_DATA_CONNECTED = 3, /**< AGPS data connection is initiated */
+ E_QL_LOC_AGPS_DATA_CONN_DONE = 4, /**< AGPS data connection is completed. */
+ E_QL_LOC_AGPS_DATA_CONN_FAILED = 5, /**< AGPS data connection failed. */
+}E_QL_LOC_AGPS_STATUS_VALUE_T;
+
+typedef struct
+{
+ uint32_t size; /**< Set to the size of mcm_agps_status_t. */
+ E_QL_LOC_AGPS_TYPE_T type; /**< Type. */
+ E_QL_LOC_AGPS_STATUS_VALUE_T status; /**< Status. */
+ int ipv4_addr; /**< IPv4 address. */
+ char ipv6_addr[QL_LOC_IPV6_ADDR_LEN + 1]; /**< IPv6 address. */
+ char ssid[QL_LOC_GPS_SSID_BUF_SIZE + 1]; /**< SSID. */
+ char password[QL_LOC_GPS_SSID_BUF_SIZE + 1]; /**< Password. */
+}QL_LOC_AGPS_STATUS_T;
+
+
+#define QL_LOC_NI_SHORT_STRING_MAXLEN 255 /** NI short string maximum length. */
+#define QL_LOC_NI_LONG_STRING_MAXLEN 2047 /** NI long string maximum length. */
+typedef enum
+{
+ E_QL_LOC_NI_TYPE_VOICE = 1, /**< Voice. */
+ E_QL_LOC_NI_TYPE_UMTS_SUPL = 2, /**< UMTS SUPL. */
+ E_QL_LOC_NI_TYPE_UMTS_CTRL_PLANE= 3, /**< UMTS control plane. */
+}E_QL_LOC_NI_TYPE_T;
+
+typedef enum
+{
+ E_QL_LOC_NI_NEED_NOTIFY = 0x0001, /**< NI requires notification. */
+ E_QL_LOC_NI_NEED_VERIFY = 0x0002, /**< NI requires verification. */
+ E_QL_LOC_NI_PRIVACY_OVERRIDE = 0x0004, /**< NI requires privacy override; no notification/minimal trace. */
+}E_QL_LOC_NI_NOTIFY_FLAGS_T;
+
+typedef enum
+{
+ E_QL_LOC_NI_RESPONSE_ACCEPT = 1, /**< Accept. */
+ E_QL_LOC_NI_RESPONSE_DENY = 2, /**< Deny. */
+ E_QL_LOC_NI_RESPONSE_NORESP = 3, /**< No response. */
+}E_QL_LOC_NI_USER_RESPONSE_TYPE_T;
+
+typedef enum
+{
+ E_QL_LOC_NI_ENC_NONE = 0, /**< None. */
+ E_QL_LOC_NI_ENC_SUPL_GSM_DEFAULT= 1, /**< SUPL GSM default. */
+ E_QL_LOC_NI_ENC_SUPL_UTF8 = 2, /**< SUPL UTF8. */
+ E_QL_LOC_NI_ENC_SUPL_UCS2 = 3, /**< SUPL UCS2. */
+ E_QL_LOC_NI_ENC_UNKNOWN = -1, /**< Unknown. */
+}E_QL_LOC_NI_ENC_TYPE_T;
+
+typedef struct
+{
+ uint32_t size; /**< Set to the size of mcm_gps_ni_notification_t. */
+ int notification_id; /**< An ID generated by the HAL to associate NI notifications and UI responses. */
+ E_QL_LOC_NI_TYPE_T ni_type; /**< An NI type used to distinguish different categories of NI events, such as GPS_NI_TYPE_VOICE, GPS_NI_TYPE_UMTS_SUPL, etc. */
+ E_QL_LOC_NI_NOTIFY_FLAGS_T notify_flags; /**< Notification/verification options; combinations of GpsNiNotifyFlags constants. */
+ int timeout; /**< Timeout period to wait for a user response. Set to 0 for no timeout limit. */
+ E_QL_LOC_NI_USER_RESPONSE_TYPE_T default_response; /**< Default response when the response times out. */
+ char requestor_id[QL_LOC_NI_SHORT_STRING_MAXLEN + 1]; /**< Requestor ID. */
+ char text[QL_LOC_NI_LONG_STRING_MAXLEN + 1]; /**< Notification message. It can also be used to store the client ID in some cases. */
+ E_QL_LOC_NI_ENC_TYPE_T requestor_id_encoding; /**< Client ID encoding scheme. */
+ E_QL_LOC_NI_ENC_TYPE_T text_encoding; /**< Client name encoding scheme. */
+ char extras[QL_LOC_NI_LONG_STRING_MAXLEN + 1]; /**< Pointer to extra data. Format:\n- key_1 = value_1, - key_2 = value_2 @tablebulletend */
+}QL_LOC_NI_NOTIFICATION_INTO_T;
+
+#define QL_LOC_MAX_SEVER_ADDR_LENGTH 255 /** Maximum generic server address length for the host name. */
+typedef struct
+{/** Indication Message; Indication with the reported XTRA server URLs. */
+ char server1[QL_LOC_MAX_SEVER_ADDR_LENGTH + 1]; /**< server1.*/
+ char server2[QL_LOC_MAX_SEVER_ADDR_LENGTH + 1]; /**< server2.*/
+ char server3[QL_LOC_MAX_SEVER_ADDR_LENGTH + 1]; /**< server3.*/
+}QL_LOC_XTRA_REPORT_SERVER_INTO_T;
+
+typedef enum
+{
+ E_QL_LOC_NFY_MSG_ID_STATUS_INFO = 0, /**< pv_data = &E_QL_LOC_STATUS_VALUE_T */
+ E_QL_LOC_NFY_MSG_ID_LOCATION_INFO, /**< pv_data = &QL_LOC_LOCATION_INFO_T */
+ E_QL_LOC_NFY_MSG_ID_SV_INFO, /**< pv_data = &QL_LOC_SV_STATUS_T */
+ E_QL_LOC_NFY_MSG_ID_NMEA_INFO, /**< pv_data = &QL_LOC_NMEA_INFO_T */
+ E_QL_LOC_NFY_MSG_ID_CAPABILITIES_INFO, /**< pv_data = &E_QL_LOC_CAPABILITIES_T */
+ E_QL_LOC_NFY_MSG_ID_AGPS_STATUS, /**< pv_data = &QL_LOC_AGPS_STATUS_T */
+ E_QL_LOC_NFY_MSG_ID_NI_NOTIFICATION, /**< pv_data = &QL_LOC_NI_NOTIFICATION_INTO_T */
+ E_QL_LOC_NFY_MSG_ID_XTRA_REPORT_SERVER, /**< pv_data = &QL_LOC_XTRA_REPORT_SERVER_INTO_T */
+}E_QL_LOC_NFY_MSG_ID_T;
+
+/* callback function register to QL_LOC_AddRxIndMsgHandler
+ e_msg_id: which kind of msg can be received depend on the bit_mask set in QL_LOC_Set_Indications;
+ pv_data: depend on the e_msg_id type.
+*/
+typedef void (*QL_LOC_RxIndMsgHandlerFunc_t)
+(
+ loc_client_handle_type h_loc,
+ E_QL_LOC_NFY_MSG_ID_T e_msg_id,
+ void *pv_data,
+ void *contextPtr
+);
+
+typedef enum
+{
+ E_QL_LOC_DELETE_EPHEMERIS = (1 << 0), /**< Delete ephemeris data. */
+ E_QL_LOC_DELETE_ALMANAC = (1 << 1), /**< Delete almanac data. */
+ E_QL_LOC_DELETE_POSITION = (1 << 2), /**< Delete position data. */
+ E_QL_LOC_DELETE_TIME = (1 << 3), /**< Delete time data. */
+ E_QL_LOC_DELETE_IONO = (1 << 4), /**< Delete IONO data. */
+ E_QL_LOC_DELETE_UTC = (1 << 5), /**< Delete UTC data. */
+ E_QL_LOC_DELETE_HEALTH = (1 << 6), /**< Delete health data. */
+ E_QL_LOC_DELETE_SVDIR = (1 << 7), /**< Delete SVDIR data. */
+ E_QL_LOC_DELETE_SVSTEER = (1 << 8), /**< Delete SVSTEER data. */
+ E_QL_LOC_DELETE_SADATA = (1 << 9), /**< Delete SA data. */
+ E_QL_LOC_DELETE_RTI = (1 << 10), /**< Delete RTI data. */
+ E_QL_LOC_DELETE_CELLDB_INFO = (1 << 11), /**< Delete cell DB information. */
+ E_QL_LOC_DELETE_ALMANAC_CORR = (1 << 12), /**< Delete almanac correction data. */
+ E_QL_LOC_DELETE_FREQ_BIAS_EST = (1 << 13), /**< Delete frequency bias estimate. */
+ E_QL_LOC_DELETE_EPHEMERIS_GLO = (1 << 14), /**< Delete ephemeris GLO data. */
+ E_QL_LOC_DELETE_ALMANAC_GLO = (1 << 15), /**< Delete almanac GLO data. */
+ E_QL_LOC_DELETE_SVDIR_GLO = (1 << 16), /**< Delete SVDIR GLO data. */
+ E_QL_LOC_DELETE_SVSTEER_GLO = (1 << 17), /**< Delete SVSTEER GLO data. */
+ E_QL_LOC_DELETE_ALMANAC_CORR_GLO= (1 << 18), /**< Delete almanac correction GLO data. */
+ E_QL_LOC_DELETE_TIME_GPS = (1 << 19), /**< Delete time GPS data. */
+ E_QL_LOC_DELETE_TIME_GLO = (1 << 20), /**< Delete time GLO data. */
+ E_QL_LOC_DELETE_ALL = 0xFFFFFFFF, /**< Delete all location data. */
+}E_QL_LOC_DELETE_AIDING_DATA_TYPE_T;
+
+typedef struct
+{
+ int64_t time; /**< Inject time.*/
+ int64_t time_reference; /**< Time reference.*/
+ int32_t uncertainty; /**< Uncertainty.*/
+}QL_LOC_INJECT_TIME_INTO_T; /* Message */
+
+typedef struct
+{
+ double latitude; /**< Latitude.*/
+ double longitude; /**< Longitude.*/
+ float accuracy; /**< Accuracy.*/
+}QL_LOC_INJECT_LOCATION_INTO_T;
+
+typedef enum
+{
+ E_QL_LOC_AGPS_APN_BEARER_INVALID= -1, /**< Invalid. */
+ E_QL_LOC_AGPS_APN_BEARER_IPV4 = 0, /**< IPv4. */
+ E_QL_LOC_AGPS_APN_BEARER_IPV6 = 1, /**< IPv6. */
+ E_QL_LOC_AGPS_APN_BEARER_IPV4V6 = 2, /**< IPv4/v6. */
+}E_QL_LOC_AGPS_APN_BEARER_TYPE_T;
+
+#define QL_LOC_APN_NAME_LENGTH_MAX 100
+typedef struct
+{
+ E_QL_LOC_AGPS_TYPE_T e_agps_type; /**< AGPS type.*/
+ char apn[QL_LOC_APN_NAME_LENGTH_MAX + 1];/**< APN.*/
+ E_QL_LOC_AGPS_APN_BEARER_TYPE_T e_bearer_type; /**< Bearer type.*/
+}QL_LOC_AGPS_DATA_CONN_OPEN_INTO_T;
+
+#define QL_LOC_SEVER_ADDR_LENGTH_MAX 255
+typedef struct
+{
+ E_QL_LOC_AGPS_TYPE_T e_agps_type; /**< AGPS type.*/
+ char host_name[QL_LOC_SEVER_ADDR_LENGTH_MAX + 1];/**< Host name.*/
+ uint32_t port; /**< Port.*/
+}QL_LOC_AGPS_SERVER_INTO_T;
+
+typedef struct
+{
+ int32_t notify_id; /**< Notification ID.*/
+ E_QL_LOC_NI_USER_RESPONSE_TYPE_T user_resp; /**< User response.*/
+}QL_LOC_NI_RESPONSE_INTO_T;
+
+
+
+/* Add callback function if anything changed specified by the mask in QL_LOC_Set_Indications*/
+int QL_LOC_AddRxIndMsgHandler(QL_LOC_RxIndMsgHandlerFunc_t handlerPtr, void* contextPtr);
+
+/* Set what we want callbacks for, for the detail mean of bit_mask, please refer to the macro of LOC_IND_xxxxx_INFO_ON */
+int QL_LOC_Set_Indications(loc_client_handle_type h_loc, int bit_mask);
+
+/* Set GPS position mode, detail info please refer to QL_LOC_POS_MODE_INFO_T */
+int QL_LOC_Set_Position_Mode(loc_client_handle_type h_loc, QL_LOC_POS_MODE_INFO_T *pt_mode);
+
+/* Start navigation, same as AT+QGPS=1, NMEA port start outputing nmea data */
+int QL_LOC_Start_Navigation(loc_client_handle_type h_loc);
+
+/* Stop navigation, same as AT+QGPSEND, NMEA port stop outputing nmea data */
+int QL_LOC_Stop_Navigation(loc_client_handle_type h_loc);
+
+/* Set up GPS connection and start getting coordinates , this api will call QL_LOC_Start_Navigation inside first,
+ then wait for LOC_IND_LOCATION_INFO_ON event happen, if timeout, it will use last time stored loc_info.
+ If got this event, location infor will save to pt_loc_info and call QL_LOC_Stop_Navigation stop and exit. */
+int QL_LOC_Get_Current_Location(loc_client_handle_type h_loc, QL_LOC_LOCATION_INFO_T *pt_loc_info, int timeout_sec);
+
+/* Init LOC module and return the h_loc, this should be called before any other QL_LOC_xxx api. */
+int QL_LOC_Client_Init(loc_client_handle_type *ph_loc);
+
+/* DeInit LOC module and release resource, this should be called at last. */
+int QL_LOC_Client_Deinit(loc_client_handle_type h_loc);
+
+/* Deletes location-aiding data. */
+int QL_LOC_Delete_Aiding_Data( loc_client_handle_type h_loc,
+ E_QL_LOC_DELETE_AIDING_DATA_TYPE_T flags);
+
+/* Injects time. */
+int QL_LOC_InjectTime( loc_client_handle_type h_loc,
+ QL_LOC_INJECT_TIME_INTO_T *pt_info);
+
+/* Injects Location. */
+int QL_LOC_InjectLocation( loc_client_handle_type h_loc,
+ QL_LOC_INJECT_LOCATION_INTO_T *pt_info);
+
+/** Injects XTRA data.
+ Since the IPC mechanism puts a limit on the size of the data transferable in one message at 64 KB,
+ the application using this command must break the data down into chunks of a smaller size and repeatedly
+ call this API until all the data has been injected. */
+int QL_LOC_Xtra_InjectData(loc_client_handle_type h_loc,
+ char *data,
+ int length); // QL_LOC_XTRA_FILE_DATA_SIZE_MAX
+
+#define QL_LOC_XTRA_FILE_DATA_SIZE_MAX 0xFC00
+/* Injects xtra data via file name. */
+int QL_LOC_Xtra_InjectFile( loc_client_handle_type h_loc,
+ char *filename);
+
+/** Indicates that the AGPS data connection is open. */
+int QL_LOC_Agps_DataConnOpen( loc_client_handle_type h_loc,
+ QL_LOC_AGPS_DATA_CONN_OPEN_INTO_T *pt_info);
+
+/** Indicates that the AGPS data connection is closed. */
+int QL_LOC_Agps_DataConnClose(loc_client_handle_type h_loc,
+ E_QL_LOC_AGPS_TYPE_T atype);
+
+/** Indicates that the AGPS data connection failed to start. */
+int QL_LOC_Agps_NfyDataConnFailed(loc_client_handle_type h_loc,
+ E_QL_LOC_AGPS_TYPE_T atype);
+
+/** Set AGPS server infor. */
+int QL_LOC_Agps_SetServer(loc_client_handle_type h_loc,
+ QL_LOC_AGPS_SERVER_INTO_T *pt_info);
+
+/** Sends a user response for NI. */
+int QL_LOC_NI_SetResponse(loc_client_handle_type h_loc,
+ QL_LOC_NI_RESPONSE_INTO_T *pt_info);
+
+/** Updates the network availability status. */
+int QL_LOC_Agps_UpdateNWAvailability(loc_client_handle_type h_loc,
+ int available,
+ const char *apn);
+
+/*
+Usage 1 (Normally use):
+1, QL_LOC_Client_Init
+2, QL_LOC_AddRxIndMsgHandler(pf_cb)
+3, QL_LOC_Set_Indications
+4, QL_LOC_Start_Navigation
+5, handle the events in pf_cb
+6, QL_LOC_Stop_Navigation
+7, QL_LOC_Client_Deinit
+
+
+Usage 2 (Just get position once):
+1, QL_LOC_Client_Init
+2, QL_LOC_AddRxIndMsgHandler(pf_cb) ---- This can be omitted!
+3, QL_LOC_Set_Indications, set bit_mask=LOC_IND_LOCATION_INFO_ON
+4, QL_LOC_Get_Current_Location, if not timeout, it will return current position infor or use last stored one.
+7, QL_LOC_Client_Deinit
+*/
+
+#endif // __QL_MCM_GPS_H__
+
diff --git a/mbtk/include/ql/ql_mcm_nw.h b/mbtk/include/ql/ql_mcm_nw.h
new file mode 100755
index 0000000..3ec6d62
--- /dev/null
+++ b/mbtk/include/ql/ql_mcm_nw.h
@@ -0,0 +1,467 @@
+/**
+ *@file ql_mcm_nw.h
+ *@date 2018-02-22
+ *@author
+ *@brief
+ */
+#ifndef __QL_MCM_NW_H__
+#define __QL_MCM_NW_H__
+#include "ql_mcm.h"
+#include "mbtk_type.h"
+
+typedef uint32 nw_client_handle_type;
+
+
+#define QL_MCM_NW_MODE_NONE 0x00 /**< No network. */
+#define QL_MCM_NW_MODE_GSM 0x01 /**< Include GSM networks. */
+#define QL_MCM_NW_MODE_WCDMA 0x02 /**< Include WCDMA networks. */
+#define QL_MCM_NW_MODE_CDMA 0x04 /**< Include CDMA networks. */
+#define QL_MCM_NW_MODE_EVDO 0x08 /**< Include EVDO networks. */
+#define QL_MCM_NW_MODE_LTE 0x10 /**< Include LTE networks. */
+#define QL_MCM_NW_MODE_TDSCDMA 0x20 /**< Include TDSCDMA networks. */
+#define QL_MCM_NW_MODE_PRL 0x10000 /**< Give preference according to the preferred roaming list. */
+
+typedef enum
+{
+ E_QL_MCM_NW_ROAM_STATE_OFF = 0, /**< None, or roaming indicator off. */
+ E_QL_MCM_NW_ROAM_STATE_ON = 1 /**< Roaming indicator on. */
+}E_QL_MCM_NW_ROAM_STATE_TYPE_T;
+
+/** Configures the settings that define the MCM network interface. */
+typedef struct
+{
+ /* Configuration parameters for MCM network registration Network registration details Technology dependent network registration details */
+ uint64_t preferred_nw_mode; /**< Preferred network mode for connections; a bitmask of QL_MCM_NW_MODE_xxxx.*/
+ E_QL_MCM_NW_ROAM_STATE_TYPE_T roaming_pref; /**< Roaming preference.*/
+}QL_MCM_NW_CONFIG_INFO_T;
+
+#define QL_MCM_NW_NITZ_BUF_LEN 30
+/** Get NITZ Time information. */
+typedef struct
+{
+ //i.e.: nitz_time="18/09/19,07:40:18+32,00" format: YY/MM/DD,HH:MM:SS'+/-'TZ,daylight, Here TZ multiplied by 4.
+ char nitz_time[QL_MCM_NW_NITZ_BUF_LEN + 1];
+ uint64_t abs_time; // 0 means invalid
+ int8_t leap_sec; // 0 means invalid
+}QL_MCM_NW_NITZ_TIME_INFO_T;
+
+
+//defined for QL_MCM_NW_EventRegister
+#define NW_IND_VOICE_REG_EVENT_IND_FLAG (1 << 0) /**< msg format : QL_MCM_NW_VOICE_REG_EVENT_IND_T */
+#define NW_IND_DATA_REG_EVENT_IND_FLAG (1 << 1) /**< msg format : QL_MCM_NW_DATA_REG_EVENT_IND_T */
+#define NW_IND_SIGNAL_STRENGTH_EVENT_IND_FLAG (1 << 2) /**< msg format : QL_MCM_NW_SINGNAL_EVENT_IND_T */
+#define NW_IND_CELL_ACCESS_STATE_CHG_EVENT_IND_FLAG (1 << 3) /**< msg format : QL_MCM_NW_CELL_ACCESS_STATE_EVENT_IND_T */
+#define NW_IND_NITZ_TIME_UPDATE_EVENT_IND_FLAG (1 << 4) /**< msg format : QL_MCM_NW_NITZ_TIME_EVENT_IND_T */
+
+
+
+typedef struct
+{
+ char long_eons[512 + 1]; /**< Long EONS.*/
+ char short_eons[512 + 1]; /**< Short EONS.*/
+ char mcc[3 + 1]; /**< Mobile country code.*/
+ char mnc[3 + 1]; /**< Mobile network code.*/
+}QL_MCM_NW_OPERATOR_NAME_INFO_T;
+
+typedef enum
+{
+ E_QL_MCM_NW_NETWORK_STATUS_NONE = 0, /**< Network status not available. */
+ E_QL_MCM_NW_NETWORK_STATUS_CURRENT_SERVING = 1, /**< Current serving network. */
+ E_QL_MCM_NW_NETWORK_STATUS_PREFERRED = 2, /**< Preferred network. */
+ E_QL_MCM_NW_NETWORK_STATUS_NOT_PREFERRED = 3, /**< Not the preferred network. */
+ E_QL_MCM_NW_NETWORK_STATUS_AVAILABLE = 4, /**< Service available. */
+ E_QL_MCM_NW_NETWORK_STATUS_FORBIDDEN = 5 /**< Forbidden service. */
+}E_QL_MCM_NW_NETWORK_STATUS_TYPE_T;
+
+typedef enum
+{
+ E_QL_MCM_NW_RADIO_TECH_TD_SCDMA = 1,
+ E_QL_MCM_NW_RADIO_TECH_GSM = 2, /**< GSM; only supports voice. */
+ E_QL_MCM_NW_RADIO_TECH_HSPAP = 3, /**< HSPA+. */
+ E_QL_MCM_NW_RADIO_TECH_LTE = 4, /**< LTE. */
+ E_QL_MCM_NW_RADIO_TECH_EHRPD = 5, /**< EHRPD. */
+ E_QL_MCM_NW_RADIO_TECH_EVDO_B = 6, /**< EVDO B. */
+ E_QL_MCM_NW_RADIO_TECH_HSPA = 7, /**< HSPA. */
+ E_QL_MCM_NW_RADIO_TECH_HSUPA = 8, /**< HSUPA. */
+ E_QL_MCM_NW_RADIO_TECH_HSDPA = 9, /**< HSDPA. */
+ E_QL_MCM_NW_RADIO_TECH_EVDO_A = 10, /**< EVDO A. */
+ E_QL_MCM_NW_RADIO_TECH_EVDO_0 = 11, /**< EVDO 0. */
+ E_QL_MCM_NW_RADIO_TECH_1xRTT = 12, /**< 1xRTT. */
+ E_QL_MCM_NW_RADIO_TECH_IS95B = 13, /**< IS95B. */
+ E_QL_MCM_NW_RADIO_TECH_IS95A = 14, /**< IS95A. */
+ E_QL_MCM_NW_RADIO_TECH_UMTS = 15, /**< UMTS. */
+ E_QL_MCM_NW_RADIO_TECH_EDGE = 16, /**< EDGE. */
+ E_QL_MCM_NW_RADIO_TECH_GPRS = 17, /**< GPRS. */
+ E_QL_MCM_NW_RADIO_TECH_NONE = 18 /**< No technology selected. */
+}E_QL_MCM_NW_RADIO_TECH_TYPE_T;
+
+typedef struct
+{
+ QL_MCM_NW_OPERATOR_NAME_INFO_T operator_name; /**< Operator name.*/
+ E_QL_MCM_NW_NETWORK_STATUS_TYPE_T network_status; /**< Network status.*/
+ E_QL_MCM_NW_RADIO_TECH_TYPE_T rat; /**< Radio technology.*/
+}QL_MCM_NW_SCAN_ENTRY_INFO_T; /* Type */
+
+#define QL_MCM_NW_SCAN_LIST_MAX 40
+/** Gets the status associated with the connection of \<id\>. */
+typedef struct
+{
+ uint32_t entry_len; /**< Must be set to the number of elements in entry. */
+ QL_MCM_NW_SCAN_ENTRY_INFO_T entry[QL_MCM_NW_SCAN_LIST_MAX]; /**< Scan entry.*/
+}QL_MCM_NW_SCAN_RESULT_LIST_INFO_T; /* Message */
+
+
+typedef enum
+{
+ E_QL_MCM_NW_TECH_DOMAIN_NONE = 0, /**< None. */
+ E_QL_MCM_NW_TECH_DOMAIN_3GPP = 1, /**< 3GPP. */
+ E_QL_MCM_NW_TECH_DOMAIN_3GPP2 = 2, /**< 3GPP2. */
+}E_QL_MCM_NW_TECH_DOMAIN_TYPE_T;
+
+typedef enum
+{
+ E_QL_MCM_NW_IMSI_UNKNOWN_HLR_DENY_REASON = 1, /**< IMSI unknown in HLR. */
+ E_QL_MCM_NW_ILLEGAL_MS_DENY_REASON = 2, /**< Illegal MS. */
+ E_QL_MCM_NW_IMSI_UNKNOWN_VLR_DENY_REASON = 3, /**< IMSI unknown in VLR. */
+ E_QL_MCM_NW_IMEI_NOT_ACCEPTED_DENY_REASON = 4, /**< IMEI not accepted. */
+ E_QL_MCM_NW_ILLEGAL_ME_DENY_REASON = 5, /**< Illegal ME. */
+ E_QL_MCM_NW_PLMN_NOT_ALLOWED_DENY_REASON = 6, /**< PLMN not allowed. */
+ E_QL_MCM_NW_LA_NOT_ALLOWED_DENY_REASON = 7, /**< Location area not allowed. */
+ E_QL_MCM_NW_ROAMING_NOT_ALLOWED_LA_DENY_REASON = 8, /**< Roaming not allowed in this location area. */
+ E_QL_MCM_NW_NO_SUITABLE_CELLS_LA_DENY_REASON = 9, /**< No suitable cells in location area. */
+ E_QL_MCM_NW_NETWORK_FAILURE_DENY_REASON = 10, /**< Network failure. */
+ E_QL_MCM_NW_MAC_FAILURE_DENY_REASON = 11, /**< MAC failure. */
+ E_QL_MCM_NW_SYNCH_FAILURE_DENY_REASON = 12, /**< Sync failure. */
+ E_QL_MCM_NW_CONGESTION_DENY_REASON = 13, /**< Congestion. */
+ E_QL_MCM_NW_GSM_AUTHENTICATION_UNACCEPTABLE_DENY_REASON = 14, /**< GSM authentication unacceptable. */
+ E_QL_MCM_NW_NOT_AUTHORIZED_CSG_DENY_REASON = 15, /**< Not authorized in this CSG. */
+ E_QL_MCM_NW_SERVICE_OPTION_NOT_SUPPORTED_DENY_REASON = 16, /**< Service option not supported. */
+ E_QL_MCM_NW_REQ_SERVICE_OPTION_NOT_SUBSCRIBED_DENY_REASON = 17, /**< Requested service option not subscribed. */
+ E_QL_MCM_NW_CALL_CANNOT_BE_IDENTIFIED_DENY_REASON = 18, /**< Call cannot be identified. */
+ E_QL_MCM_NW_SEMANTICALLY_INCORRECT_MSG_DENY_REASON = 19, /**< Semantically incorrect message. */
+ E_QL_MCM_NW_INVALID_MANDATORY_INFO_DENY_REASON = 20, /**< Invalid mandatory information. */
+ E_QL_MCM_NW_MSG_TYPE_NON_EXISTENT_DENY_REASON = 21, /**< Message type non-existent or not implemented. */
+ E_QL_MCM_NW_INFO_ELEMENT_NON_EXISTENT_DENY_REASON = 22, /**< Message type not compatible with the protocol state. */
+ E_QL_MCM_NW_CONDITIONAL_IE_ERR_DENY_REASON = 23, /**< Conditional IE error. */
+ E_QL_MCM_NW_MSG_INCOMPATIBLE_PROTOCOL_STATE_DENY_REASON = 24, /**< Message not compatible with the protocol state. */
+ E_QL_MCM_NW_PROTOCOL_ERROR_DENY_REASON = 25, /**< Unspecified protocol error. */
+}E_QL_MCM_NW_DENY_REASON_TYPE_T;
+
+
+typedef enum
+{
+ E_QL_MCM_NW_SERVICE_NONE = 0x0000, /**< Not registered or no data. */
+ E_QL_MCM_NW_SERVICE_LIMITED = 0x0001, /**< Registered; emergency service only. */
+ E_QL_MCM_NW_SERVICE_FULL = 0x0002, /**< Registered, full service. */
+}E_QL_MCM_NW_SERVICE_TYPE_T;
+
+typedef struct
+{
+ E_QL_MCM_NW_TECH_DOMAIN_TYPE_T tech_domain; /**< Technology, used to determine the structure type mcm_tech: 0 -- None, 1 -- 3GPP, 2 -- 3GPP2.*/
+ E_QL_MCM_NW_RADIO_TECH_TYPE_T radio_tech; /**< Radio technology; see #mcm_nw_radio_tech_t_v01.*/
+ E_QL_MCM_NW_ROAM_STATE_TYPE_T roaming; /**< 0 -- Off, 1 -- Roaming (3GPP2 has extended values).*/
+ E_QL_MCM_NW_DENY_REASON_TYPE_T deny_reason; /**< Set when registration state is #mcm_nw_deny_reason_t_v01.*/
+ E_QL_MCM_NW_SERVICE_TYPE_T registration_state; /**< Registration state.*/
+}QL_MCM_NW_COMMON_REG_INFO_T;
+
+
+typedef struct
+{
+ E_QL_MCM_NW_TECH_DOMAIN_TYPE_T tech_domain; /**< Technology, used to determine the structure type mcm_tech: 0 -- None, 1 -- 3GPP, 2 -- 3GPP2.*/
+ E_QL_MCM_NW_RADIO_TECH_TYPE_T radio_tech; /**< Radio technology; see #mcm_nw_radio_tech_t_v01.*/
+ char mcc[3+1]; /**< Mobile country code.*/
+ char mnc[3+1]; /**< Mobile network code.*/
+ E_QL_MCM_NW_ROAM_STATE_TYPE_T roaming; /**< 0 -- Off, 1 -- Roaming (3GPP2 has extended values).*/
+ uint8_t forbidden; /**< Forbidden: 0 -- No, 1 -- Yes.*/
+ uint32_t cid; /**< Cell ID for the registered 3GPP system.*/
+ uint16_t lac; /**< Locatin area code for the registered 3GPP system.*/
+ uint16_t psc; /**< Primary scrambling code (WCDMA only); 0 -- None.*/
+ uint16_t tac; /**< Tracking area code information for LTE.*/
+}QL_MCM_NW_3GPP_REG_INFO_T;
+
+
+typedef struct
+{
+ E_QL_MCM_NW_TECH_DOMAIN_TYPE_T tech_domain; /**< Technology, used to determine structure type mcm_tech: 0 -- None, 1 -- 3GPP, 2 -- 3GPP2.*/
+ E_QL_MCM_NW_RADIO_TECH_TYPE_T radio_tech; /**< Radio technology; see #mcm_nw_radio_tech_t_v01.*/
+ char mcc[3+1]; /**< Mobile country code.*/
+ char mnc[3+1]; /**< Mobile network code.*/
+ E_QL_MCM_NW_ROAM_STATE_TYPE_T roaming; /**< Roaming status; see #mcm_nw_roam_state_t_v01.*/
+ uint8_t forbidden; /**< Forbidden: 0 -- No, 1 -- Yes.*/
+ uint8_t inPRL; /**< 0 -- Not in PRL, 1 -- In PRL.*/
+ uint8_t css; /**< Concurrent services supported: 0 -- No, 1 -- Yes.*/
+ uint16_t sid; /**< CDMA system ID.*/
+ uint16_t nid; /**< CDMA network ID.*/
+ uint16_t bsid; /**< Base station ID. @newpagetable */
+}QL_MCM_NW_3GPP2_REG_INFO_T;
+
+/** Gets the status associated with the connection of \<id\>. */
+typedef struct
+{
+ uint8_t voice_registration_valid; /**< Must be set to TRUE if voice_registration is being passed. */
+ QL_MCM_NW_COMMON_REG_INFO_T voice_registration; /**< Voice registration. */
+
+ uint8_t data_registration_valid; /**< Must be set to TRUE if data_registration is being passed. */
+ QL_MCM_NW_COMMON_REG_INFO_T data_registration; /**< Data registration. */
+
+ uint8_t voice_registration_details_3gpp_valid; /**< Must be set to TRUE if voice_registration_details_3gpp is being passed. */
+ QL_MCM_NW_3GPP_REG_INFO_T voice_registration_details_3gpp; /**< Voice registration details for 3GPP. */
+
+ uint8_t data_registration_details_3gpp_valid; /**< Must be set to TRUE if data_registration_details_3gpp is being passed. */
+ QL_MCM_NW_3GPP_REG_INFO_T data_registration_details_3gpp; /**< Data registration details for 3GPP. */
+
+ uint8_t voice_registration_details_3gpp2_valid; /**< Must be set to TRUE if voice_registration_details_3gpp2 is being passed. */
+ QL_MCM_NW_3GPP2_REG_INFO_T voice_registration_details_3gpp2; /**< Voice registration details for 3GPP2. */
+
+ uint8_t data_registration_details_3gpp2_valid; /**< Must be set to TRUE if data_registration_details_3gpp2 is being passed. */
+ QL_MCM_NW_3GPP2_REG_INFO_T data_registration_details_3gpp2; /**< Data registration details for 3GPP2. */
+}QL_MCM_NW_REG_STATUS_INFO_T;
+
+
+typedef enum
+{
+ E_QL_MCM_NW_SELECTION_AUTOMATIC = 0, /**< Automatic network selection. */
+ E_QL_MCM_NW_SELECTION_MANUAL = 1, /**< Manual network selection. */
+}E_QL_MCM_NW_SELECTION_TYPE_T;
+
+typedef struct
+{
+ E_QL_MCM_NW_SELECTION_TYPE_T nw_selection_type; /**< Network selection type. */
+ char mcc[3 + 1]; /**< Mobile country code for a manual network selection.*/
+ char mnc[3 + 1]; /**< Mobile network code for a manual network selection.*/
+ E_QL_MCM_NW_RADIO_TECH_TYPE_T rat; /**< Radio technology.*/
+}QL_MCM_NW_SELECTION_INFO_T;
+
+
+typedef struct
+{
+ int8_t rssi; /**< RSSI in dBm. Indicates received signal strength. A signed value; -125 or lower indicates no signal.*/
+}QL_MCM_NW_GSM_SIGNAL_INFO_T;
+
+
+typedef struct
+{
+ int8_t rssi; /**< RSSI in dBm. Indicates forward link pilot Ec. A signed value; -125 or lower indicates no signal.*/
+ int16_t ecio; /**< Ec/Io value representing negative 0.5 dB increments, e.g., 2 equals -1 dbm.*/
+}QL_MCM_NW_WCDMA_SIGNAL_INFO_T;
+
+typedef struct
+{
+ int8_t rssi; /**< RSSI in dBm. Indicates forward link pilot Ec. a signed value; -125 or lower indicates no signal.*/
+ int8_t rscp; /**< RSCP in dBm.*/
+ int16_t ecio; /**< Ec/Io value representing negative 0.5 dB increments, e.g., 2 equals -1 dbm.*/
+ int8_t sinr; /**< Measured SINR in dB. @newpagetable */
+}QL_MCM_NW_TDSCDMA_SIGNAL_INFO_T;
+
+typedef struct
+{
+ int8_t rssi; /**< RSSI in dBm. Indicates forward link pilot Ec. A signed value; -125 or lower indicates no signal.*/
+ int8_t rsrq; /**< RSRQ value in dB (signed integer value), as measured by L1. Range: -3 to -20 (-3 equals -3 dB, -20 equals -20 dB).*/
+ int16_t rsrp; /**< Current RSRP in dBm, as measured by L1. Range: -44 to -140 (-44 equals -44 dBm, -140 equals -140 dBm).*/
+ int16_t snr; /**< SNR level as a scaled integer in units of 0.1 dB; e.g., -16 dB has a value of -160 and 24.6 dB has a value of 246.*/
+}QL_MCM_NW_LTE_SIGNAL_INFO_T;
+
+
+typedef struct
+{
+ int8_t rssi; /**< RSSI in dBm. Indicates forward link pilot Power (AGC) + Ec/Io. A signed value; -125 or lower indicates no signal.*/
+ int16_t ecio; /**< Ec/Io value representing negative 0.5 dB increments, e.g., 2 equals -1 dbm.*/
+}QL_MCM_NW_CDMA_SIGNAL_INFO_T;
+
+typedef struct
+{
+ int8_t rssi; /**< RSSI in dBm. Indicates forward link pilot Power (AGC) + Ec/Io. A signed value; -125 or lower indicates no signal.*/
+ int16_t ecio; /**< Ec/Io value representing negative 0.5 dB increments, e.g., 2 equals -1 dbm.*/
+ int8_t sinr; /**< SINR level.*/
+ int32_t io; /**< Received IO in dBm. */
+}QL_MCM_NW_HDR_SIGNAL_INFO_T;
+
+/** Gets signal strength information. */
+typedef struct
+{
+ uint8_t gsm_sig_info_valid; /**< Must be set to TRUE if gsm_sig_info is being passed. */
+ QL_MCM_NW_GSM_SIGNAL_INFO_T gsm_sig_info; /**< GSM signal information. */
+ uint8_t wcdma_sig_info_valid; /**< Must be set to TRUE if wcdma_sig_info is being passed. */
+ QL_MCM_NW_WCDMA_SIGNAL_INFO_T wcdma_sig_info; /**< WCDMA signal information. */
+ uint8_t tdscdma_sig_info_valid; /**< Must be set to TRUE if tdscdma_sig_info is being passed. */
+ QL_MCM_NW_TDSCDMA_SIGNAL_INFO_T tdscdma_sig_info; /**< TDSCDMA signal information. */
+ uint8_t lte_sig_info_valid; /**< Must be set to TRUE if lte_sig_info is being passed. */
+ QL_MCM_NW_LTE_SIGNAL_INFO_T lte_sig_info; /**< LTE signal information. */
+ uint8_t cdma_sig_info_valid; /**< Must be set to TRUE if cdma_sig_info is being passed. */
+ QL_MCM_NW_CDMA_SIGNAL_INFO_T cdma_sig_info; /**< CDMA signal information. */
+ uint8_t hdr_sig_info_valid; /**< Must be set to TRUE if hdr_sig_info is being passed. */
+ QL_MCM_NW_HDR_SIGNAL_INFO_T hdr_sig_info; /**< HDR signal information. */
+}QL_MCM_NW_SIGNAL_STRENGTH_INFO_T;
+
+
+
+typedef enum
+{
+ E_QL_MCM_NW_CELL_ACCESS_NONE = 0x00, /**< Unknown cell access state. */
+ E_QL_MCM_NW_CELL_ACCESS_NORMAL_ONLY = 0x01, /**< Cell access is allowed for normal calls only. */
+ E_QL_MCM_NW_CELL_ACCESS_EMERGENCY_ONLY = 0x02, /**< Cell access is allowed for emergency calls only. */
+ E_QL_MCM_NW_CELL_ACCESS_NO_CALLS = 0x03, /**< Cell access is not allowed for any call type. */
+ E_QL_MCM_NW_CELL_ACCESS_ALL_CALLS = 0x04, /**< Cell access is allowed for all call types. */
+}E_QL_MCM_NW_CELL_ACCESS_STATE_TYPE_T;
+
+
+/* @bridef Callback function registered to QL_MCM_NW_AddRxMsgHandler
+ * map of ind_flag and ind_msg_buf as bellow :
+ * NW_IND_VOICE_REG_EVENT_IND_FLAG : QL_MCM_NW_VOICE_REG_EVENT_IND_T
+ * NW_IND_DATA_REG_EVENT_IND_FLAG : QL_MCM_NW_DATA_REG_EVENT_IND_T
+ * NW_IND_SIGNAL_STRENGTH_EVENT_IND_FLAG : QL_MCM_NW_SINGNAL_EVENT_IND_T
+ * NW_IND_CELL_ACCESS_STATE_CHG_EVENT_IND_FLAG : QL_MCM_NW_CELL_ACCESS_STATE_EVENT_IND_T
+ * NW_IND_NITZ_TIME_UPDATE_EVENT_IND_FLAG : QL_MCM_NW_NITZ_TIME_EVENT_IND_T
+ * */
+typedef void (*QL_MCM_NW_RxMsgHandlerFunc_t)(
+ nw_client_handle_type h_nw,
+ uint32_t ind_flag,
+ void *ind_msg_buf,
+ uint32_t ind_msg_len,
+ void *contextPtr
+);
+
+
+/** Indication message; Indication for the corresponding registered event flag NW_IND_VOICE_REG_EVENT_IND_FLAG */
+typedef struct {
+
+ uint8_t registration_valid; /**< Must be set to TRUE if voice_registration is being passed. */
+ QL_MCM_NW_COMMON_REG_INFO_T registration; /**< Voice registration. */
+
+ uint8_t registration_details_3gpp_valid; /**< Must be set to TRUE if voice_registration_details_3gpp is being passed. */
+ QL_MCM_NW_3GPP_REG_INFO_T registration_details_3gpp; /**< Voice registration details for 3GPP. */
+
+ uint8_t registration_details_3gpp2_valid; /**< Must be set to TRUE if voice_registration_details_3gpp2 is being passed. */
+ QL_MCM_NW_3GPP2_REG_INFO_T registration_details_3gpp2; /**< Voice registration details for 3GPP2. */
+}QL_MCM_NW_VOICE_REG_EVENT_IND_T;
+
+/** Indication message; Indication for the corresponding registered event flag NW_IND_DATA_REG_EVENT_IND_FLAG */
+typedef struct {
+
+ uint8_t registration_valid; /**< Must be set to TRUE if data_registration is being passed. */
+ QL_MCM_NW_COMMON_REG_INFO_T registration; /**< Data registration. */
+
+ uint8_t registration_details_3gpp_valid; /**< Must be set to TRUE if data_registration_details_3gpp is being passed. */
+ QL_MCM_NW_3GPP_REG_INFO_T registration_details_3gpp; /**< Data registration details for 3GPP. */
+
+ uint8_t registration_details_3gpp2_valid; /**< Must be set to TRUE if data_registration_details_3gpp2 is being passed. */
+ QL_MCM_NW_3GPP2_REG_INFO_T registration_details_3gpp2; /**< Data registration details for 3GPP2. */
+}QL_MCM_NW_DATA_REG_EVENT_IND_T;
+
+
+/** Indication message; Indication for the corresponding registered event flag NW_IND_SIGNAL_STRENGTH_EVENT_IND_FLAG */
+typedef struct {
+ uint8_t gsm_sig_info_valid; /**< Must be set to TRUE if gsm_sig_info is being passed. */
+ QL_MCM_NW_GSM_SIGNAL_INFO_T gsm_sig_info; /**< GSM singal information. */
+
+ uint8_t wcdma_sig_info_valid; /**< Must be set to TRUE if wcdma_sig_info is being passed. */
+ QL_MCM_NW_WCDMA_SIGNAL_INFO_T wcdma_sig_info; /**< WCDMA singal information. */
+
+ uint8_t tdscdma_sig_info_valid; /**< Must be set to TRUE if tdscdma_sig_info is being passed. */
+ QL_MCM_NW_TDSCDMA_SIGNAL_INFO_T tdscdma_sig_info; /**< TDSCDMA singal information. */
+
+ uint8_t lte_sig_info_valid; /**< Must be set to TRUE if lte_sig_info is being passed. */
+ QL_MCM_NW_LTE_SIGNAL_INFO_T lte_sig_info; /**< LTE singal information. */
+
+ uint8_t cdma_sig_info_valid; /**< Must be set to TRUE if cdma_sig_info is being passed. */
+ QL_MCM_NW_CDMA_SIGNAL_INFO_T cdma_sig_info; /**< CDMA singal information. */
+
+ uint8_t hdr_sig_info_valid; /**< Must be set to TRUE if hdr_sig_info is being passed. */
+ QL_MCM_NW_HDR_SIGNAL_INFO_T hdr_sig_info; /**< HDR singal information. */
+}QL_MCM_NW_SINGNAL_EVENT_IND_T;
+
+
+/** Indication message; Indication for a change in the cell access state, e.g., emergency only, CS call only.
+ * Indication for the corresponding registered event flag NW_IND_CELL_ACCESS_STATE_CHG_EVENT_IND_FLAG */
+typedef struct {
+ E_QL_MCM_NW_CELL_ACCESS_STATE_TYPE_T state; /**< Network cell access state. */
+}QL_MCM_NW_CELL_ACCESS_STATE_EVENT_IND_T;
+
+/** Indication Message; Indication to update NITZ time.
+ * Indication for the corresponding registered event flag NW_IND_NITZ_TIME_UPDATE_EVENT_IND_FLAG */
+typedef struct {
+ QL_MCM_NW_NITZ_TIME_INFO_T info;
+}QL_MCM_NW_NITZ_TIME_EVENT_IND_T;
+
+
+
+
+E_QL_ERROR_CODE_T QL_MCM_NW_Client_Init(nw_client_handle_type *ph_nw);
+
+E_QL_ERROR_CODE_T QL_MCM_NW_Client_Deinit(nw_client_handle_type h_nw);
+
+E_QL_ERROR_CODE_T QL_MCM_NW_SetConfig
+(
+ nw_client_handle_type h_nw,
+ QL_MCM_NW_CONFIG_INFO_T *pt_info
+);
+
+E_QL_ERROR_CODE_T QL_MCM_NW_GetConfig
+(
+ nw_client_handle_type h_nw,
+ QL_MCM_NW_CONFIG_INFO_T *pt_info
+);
+
+E_QL_ERROR_CODE_T QL_MCM_NW_GetNitzTimeInfo
+(
+ nw_client_handle_type h_nw,
+ QL_MCM_NW_NITZ_TIME_INFO_T *pt_info
+);
+
+E_QL_ERROR_CODE_T QL_MCM_NW_EventRegister
+(
+ nw_client_handle_type h_nw,
+ uint32_t bitmask // bit OR of NW_IND_xxxx_EVENT_ON
+);
+
+E_QL_ERROR_CODE_T QL_MCM_NW_GetOperatorName
+(
+ nw_client_handle_type h_nw,
+ QL_MCM_NW_OPERATOR_NAME_INFO_T *pt_info //You should malloc this or may cause stack overflow
+);
+
+E_QL_ERROR_CODE_T QL_MCM_NW_PerformScan
+(
+ nw_client_handle_type h_nw,
+ QL_MCM_NW_SCAN_RESULT_LIST_INFO_T *pt_info
+);
+
+E_QL_ERROR_CODE_T QL_MCM_NW_GetRegStatus
+(
+ nw_client_handle_type h_nw,
+ QL_MCM_NW_REG_STATUS_INFO_T *pt_info
+);
+
+E_QL_ERROR_CODE_T QL_MCM_NW_SetLowPowerMode
+(
+ nw_client_handle_type h_nw,
+ uint32_t low_power_mode_on // 0: off, other: on
+);
+
+E_QL_ERROR_CODE_T QL_MCM_NW_SetSelection
+(
+ nw_client_handle_type h_nw,
+ QL_MCM_NW_SELECTION_INFO_T *pt_info
+);
+
+E_QL_ERROR_CODE_T QL_MCM_NW_GetSignalStrength
+(
+ nw_client_handle_type h_nw,
+ QL_MCM_NW_SIGNAL_STRENGTH_INFO_T *pt_info
+);
+
+E_QL_ERROR_CODE_T QL_MCM_NW_GetCellAccessState
+(
+ nw_client_handle_type h_nw,
+ E_QL_MCM_NW_CELL_ACCESS_STATE_TYPE_T *pe_state
+);
+
+E_QL_ERROR_CODE_T QL_MCM_NW_AddRxMsgHandler
+(
+ nw_client_handle_type h_nw,
+ QL_MCM_NW_RxMsgHandlerFunc_t handlerPtr,
+ void* contextPtr
+);
+
+
+#endif//__QL_MCM_NW_H__
diff --git a/mbtk/include/ql/ql_mcm_sim.h b/mbtk/include/ql/ql_mcm_sim.h
new file mode 100755
index 0000000..4fc7b1c
--- /dev/null
+++ b/mbtk/include/ql/ql_mcm_sim.h
@@ -0,0 +1,713 @@
+/**
+ *@file ql_mcm_sim.h
+ *@date 2017-05-02
+ *@author
+ *@brief
+ */
+#ifndef __QL_MCM_SIM_H__
+#define __QL_MCM_SIM_H__
+#include "mbtk_type.h"
+
+#include "ql_mcm.h"
+
+#define QL_SIM_IMSI_LEN_MAX 16 /** Maximum length of IMSI data. */
+#define QL_SIM_ICCID_LEN_MAX 20 /** Maximum length of ICCID data. */
+
+typedef uint32 sim_client_handle_type;
+
+typedef enum
+{
+ E_QL_MCM_SIM_SLOT_ID_1 = 0xB01, /**< Identify card in slot 1. */
+ E_QL_MCM_SIM_SLOT_ID_2 = 0xB02, /**< Identify card in slot 2. */
+}E_QL_MCM_SIM_SLOT_ID_TYPE_T;
+
+typedef enum
+{
+ E_QL_MCM_SIM_APP_TYPE_UNKNOWN = 0xB00, /**< Unknown application type */
+ E_QL_MCM_SIM_APP_TYPE_3GPP = 0xB01, /**< Identify the SIM/USIM application on the card. */
+ E_QL_MCM_SIM_APP_TYPE_3GPP2 = 0xB02, /**< Identify the RUIM/CSIM application on the card. */
+ E_QL_MCM_SIM_APP_TYPE_ISIM = 0xB03, /**< Identify the ISIM application on the card. */
+}E_QL_MCM_SIM_APP_TYPE_T;
+
+typedef struct
+{
+ E_QL_MCM_SIM_SLOT_ID_TYPE_T e_slot_id; /**< Indicates the slot to be used. */
+ E_QL_MCM_SIM_APP_TYPE_T e_app; /**< Indicates the type of the application. */
+}QL_SIM_APP_ID_INFO_T; /* Type */
+
+
+#define QL_SIM_MCC_LEN 3 /** Length of the MCC. */
+#define QL_SIM_MNC_MAX 3 /** Maximum length of the MNC. */
+#define QL_SIM_PLMN_NUM_MAX 24 /** Maximum number of PLMN data sets. */
+typedef struct
+{
+ char mcc[QL_SIM_MCC_LEN]; /**< MCC value in ASCII characters.*/
+ uint32_t mnc_len; /**< Must be set to the number of elements in the MNC. */
+ char mnc[QL_SIM_MNC_MAX]; /**< MNC value in ASCII characters.*/
+}QL_SIM_PLMN_INFO_T;
+
+typedef struct
+{
+ uint32_t preferred_operator_list_len; /**< Must be set to the number of elements in preferred_operator_list. */
+ QL_SIM_PLMN_INFO_T preferred_operator_list[QL_SIM_PLMN_NUM_MAX]; /**< Preferred operator list. */
+}QL_SIM_PREFERRED_OPERATOR_LIST_T; /* Message */
+
+
+#define QL_MCM_SIM_PIN_LEN_MAX 8 /** Maximum length of PIN data. */
+typedef enum
+{
+ E_QL_MCM_SIM_PIN_ID_1 = 0xB01, /**< Level 1 user verification. */
+ E_QL_MCM_SIM_PIN_ID_2 = 0xB02, /**< Level 2 user verification. */
+}E_QL_MCM_SIM_PIN_ID_TYPE_T;
+
+typedef struct
+{
+ QL_SIM_APP_ID_INFO_T app_info; /**< Application identification information. */
+ E_QL_MCM_SIM_PIN_ID_TYPE_T pin_id; /**< PIN ID. */
+ uint32_t pin_value_len; /**< Must be set to the number of elements in pin_value. */
+ char pin_value[QL_MCM_SIM_PIN_LEN_MAX]; /* Value of the PIN */
+}QL_SIM_VERIFY_PIN_INFO_T;
+
+/** Changes the PIN value of an application. The application must pass both the
+ new and the old values of the PIN to complete the operation.
+ The same PIN can be used by multiple sessions (i.e., the PIN is shared
+ between GSM and RUIM in an ICC card). The PIN is automatically verified
+ for all the sessions when the command is executed. */
+typedef struct
+{
+ QL_SIM_APP_ID_INFO_T app_info; /**< Application identification information. */
+ E_QL_MCM_SIM_PIN_ID_TYPE_T pin_id; /**< PIN ID. */
+ uint32_t old_pin_value_len; /**< Must be set to the number of elements in old_pin_value. */
+ char old_pin_value[QL_MCM_SIM_PIN_LEN_MAX]; /**< Value of the old PIN as a sequence of ASCII characters. */
+ uint32_t new_pin_value_len; /**< Must be set to the number of elements in new_pin_value. */
+ char new_pin_value[QL_MCM_SIM_PIN_LEN_MAX]; /**< Value of the new PIN as a sequence of ASCII characters. */
+}QL_SIM_CHANGE_PIN_INFO_T;
+
+/** Unblocks a blocked PIN using the PUK code. The client must pass PUK1 to unblock PIN1 or PUK2 to unblock PIN2.
+ The same PIN can be used by multiple sessions (i.e., the PIN is shared between GSM and RUIM in an ICC card).
+ The PIN is automatically verified for all the sessions when the command is executed. */
+typedef struct
+{
+ QL_SIM_APP_ID_INFO_T app_info; /**< Application identification information. */
+ E_QL_MCM_SIM_PIN_ID_TYPE_T pin_id; /**< PIN ID. */
+ uint32_t puk_value_len; /**< Must be set to the number of elements in puk_value. */
+ char puk_value[QL_MCM_SIM_PIN_LEN_MAX]; /**< Value of the PUK as a sequence of ASCII characters. */
+ uint32_t new_pin_value_len; /**< Must be set to the number of elements in new_pin_value. */
+ char new_pin_value[QL_MCM_SIM_PIN_LEN_MAX]; /**< Value of the new PIN as a sequence of ASCII characters. */
+}QL_SIM_UNBLOCK_PIN_INFO_T;
+
+/** Enables the PIN on an application. */
+typedef QL_SIM_VERIFY_PIN_INFO_T QL_SIM_ENABLE_PIN_INFO_T; //Same
+
+/** Disables the PIN of an application, */
+typedef QL_SIM_VERIFY_PIN_INFO_T QL_SIM_DISABLE_PIN_INFO_T; //Same
+
+
+typedef enum
+{
+ E_QL_MCM_SIM_PERSO_FEATURE_TYPE_UNKNOWN = 0xB00, /**< Unknown personalization feature. */
+ E_QL_MCM_SIM_PERSO_FEATURE_TYPE_3GPP_NETWORK = 0xB01, /**< Featurization based on 3GPP MCC and MNC. */
+ E_QL_MCM_SIM_PERSO_FEATURE_TYPE_3GPP_NETWORK_SUBSET = 0xB02, /**< Featurization based on 3GPP MCC, MNC, and IMSI digits 6 and 7. */
+ E_QL_MCM_SIM_PERSO_FEATURE_TYPE_3GPP_SERVICE_PROVIDER = 0xB03, /**< Featurization based on 3GPP MCC, MNC, and GID1. */
+ E_QL_MCM_SIM_PERSO_FEATURE_TYPE_3GPP_CORPORATE = 0xB04, /**< Featurization based on 3GPP MCC, MNC, GID1, and GID2. */
+ E_QL_MCM_SIM_PERSO_FEATURE_TYPE_3GPP_SIM = 0xB05, /**< Featurization based on the 3GPP IMSI. */
+ E_QL_MCM_SIM_PERSO_FEATURE_TYPE_3GPP2_NETWORK_TYPE_1 = 0xB06, /**< Featurization based on 3GPP2 MCC and MNC. */
+ E_QL_MCM_SIM_PERSO_FEATURE_TYPE_3GPP2_NETWORK_TYPE_2 = 0xB07, /**< Featurization based on 3GPP2 IRM code. */
+ E_QL_MCM_SIM_PERSO_FEATURE_TYPE_3GPP2_RUIM = 0xB08, /**< Featurization based on 3GPP2 IMSI_M. */
+}E_QL_MCM_SIM_PERSO_FEATURE_TYPE_T;
+
+typedef enum
+{
+ E_QL_MCM_SIM_PERSO_OPERATION_DEACTIVATE = 0xB00, /**< Disable an active personalization feature. */
+ E_QL_MCM_SIM_PERSO_OPERATION_UNBLOCK = 0xB01, /**< Unblock a personalization feature that has been blocked. */
+}E_QL_MCM_SIM_PERSO_OPERATION_TYPE_T;
+
+
+#define QL_MCM_SIM_CONTROL_KEY_LEN_MAX 16 /** Maximum length of personalization control key data */
+/** Deactivates or unblocks the personalization on the phone.
+ Each feature can be deactivated/unblocked independently of the other features. */
+typedef struct
+{
+ E_QL_MCM_SIM_PERSO_FEATURE_TYPE_T e_feature_type; /**< Indicates the personalization feature to deactivate or unblock. */
+ E_QL_MCM_SIM_PERSO_OPERATION_TYPE_T e_operation; /**< Indicates the operation to perform. */
+ uint32_t ctrl_key_value_len; /**< Must be set to the number of elements in ck_value. */
+ char ctrl_key_value[QL_MCM_SIM_CONTROL_KEY_LEN_MAX];/**< Control key value. This value is a sequence of ASCII characters.*/
+}QL_MCM_SIM_DEPERSONALIZE_INFO_T; /* Type */
+
+
+typedef struct
+{
+ char mcc[5]; /**< MCC value in ASCII characters.*/
+ uint32_t mnc_len; /**< Must be set to the number of elements in the MNC. */
+ char mnc[5]; /**< MNC value in ASCII characters.*/
+}QL_MCM_SIM_NW_PERSONAL_INFO_T;
+
+typedef struct
+{
+ QL_MCM_SIM_NW_PERSONAL_INFO_T network; /**< MCC and MNC network information.*/
+ char digit6; /**< Digit 6 of the IMSI in ASCII character.*/
+ char digit7; /**< Digit 7 of the IMSI in ASCII character.*/
+}QL_MCM_SIM_NW_SUBSET_PERSONAL_INFO_T;
+
+typedef struct
+{
+ QL_MCM_SIM_NW_PERSONAL_INFO_T network; /**< MCC and MNC network information.*/
+ uint8_t gid1; /**< Service provider code found in GID1.*/
+}QL_MCM_SIM_NW_SP_PERSONAL_INFO_T;
+
+typedef struct
+{
+ QL_MCM_SIM_NW_PERSONAL_INFO_T network; /**< MCC and MNC network information.*/
+ uint8_t gid1; /**< Service provider code found in GID1.*/
+ uint8_t gid2; /**< Corporate customer code found in GID2. @newpagetable */
+}QL_MCM_SIM_GW_CORPORATE_PERSONAL_INFO_T;
+
+#define QL_MCM_SIM_MSIN_LEN_MAX 10 /** Maximum length of the MSIN. */
+typedef struct
+{
+ QL_MCM_SIM_NW_PERSONAL_INFO_T network; /**< MCC and MNC network information.*/
+ uint32_t msin_len; /**< Must be set to the number of elements in MSIN. */
+ char msin[QL_MCM_SIM_MSIN_LEN_MAX];/**< MSIN value stored on the card in ASCII characters.*/
+}QL_MCM_SIM_SIM_PERSONAL_INFO_T; /* Type */
+
+typedef struct
+{
+ char irm_code[4];/**< First 4 digits of the IRM-based MIN of IMSI_M in ASCII characters.*/
+}QL_MCM_SIM_1X_NW_TYPE2_PERSONAL_INFO_T;
+
+
+#define QL_MCM_SIM_PERSO_NUM_NW_MAX 85 /** Maximum number of network personalization data sets. */
+#define QL_MCM_SIM_PERSO_NUM_NS_MAX 64 /** Maximum number of network subset personalization data sets. */
+#define QL_MCM_SIM_PERSO_NUM_GW_SP_MAX 64 /** Maximum number of service provider personalization data sets. */
+#define QL_MCM_SIM_PERSO_NUM_GW_CP_MAX 51 /** Maximum number of corporate personalization data sets. */
+#define QL_MCM_SIM_PERSO_NUM_SIM_MAX 32 /** Maximum number of SIM personalization data sets. */
+#define QL_MCM_SIM_PERSO_NUM_1X_NW2_MAX 128 /** Maximum number of network type 2 personalization data sets. */
+
+typedef union
+{
+ QL_MCM_SIM_NW_PERSONAL_INFO_T feature_gw_network_perso[QL_MCM_SIM_PERSO_NUM_NW_MAX]; /**< GW network personalization. */
+ QL_MCM_SIM_NW_SUBSET_PERSONAL_INFO_T feature_gw_network_subset_perso[QL_MCM_SIM_PERSO_NUM_NS_MAX]; /**< GW network subset personalization. */
+ QL_MCM_SIM_NW_SP_PERSONAL_INFO_T feature_gw_sp_perso[QL_MCM_SIM_PERSO_NUM_GW_SP_MAX]; /**< GW service provider personalization. */
+ QL_MCM_SIM_GW_CORPORATE_PERSONAL_INFO_T feature_gw_corporate_perso[QL_MCM_SIM_PERSO_NUM_GW_CP_MAX]; /**< GW corporate personalization. */
+ QL_MCM_SIM_SIM_PERSONAL_INFO_T feature_gw_sim_perso[QL_MCM_SIM_PERSO_NUM_SIM_MAX]; /**< GW SIM personalization. */
+ QL_MCM_SIM_NW_PERSONAL_INFO_T feature_1x_network1_perso[QL_MCM_SIM_PERSO_NUM_NW_MAX]; /**< 1X network type 1 personalization. */
+ QL_MCM_SIM_1X_NW_TYPE2_PERSONAL_INFO_T feature_1x_network2_perso[QL_MCM_SIM_PERSO_NUM_1X_NW2_MAX]; /**< 1X network type 3 personalization. */
+ QL_MCM_SIM_SIM_PERSONAL_INFO_T feature_1x_ruim_perso[QL_MCM_SIM_PERSO_NUM_SIM_MAX]; /* 1x RUIM Personalization */
+}QL_MCM_SIM_PERSONAL_FEATURE_INFO_DATA_T;
+
+/** Request message; Activates and sets the personalization data on the phone. Each feature can be activated
+ independently of one another; however, network data configurations must be consistent across activated personalization
+ modes in order to prevent contradicting featurization, and only one feature can be activated per message.
+ If personalization is already activated, it must first be deactivated before being reactivated with new data. */
+typedef struct
+{
+ uint32_t ctrl_key_value_len; /**< Must be set to the number of elements in ctrl_key_value. */
+ char ctrl_key_value[60]; /**< Control key value. This value is a sequence of ASCII characters.*/
+ E_QL_MCM_SIM_PERSO_FEATURE_TYPE_T e_feature_type;
+ uint32_t feature_data_len; //Valid array count of t_feature_data
+ QL_MCM_SIM_PERSONAL_FEATURE_INFO_DATA_T t_feature_data;
+}QL_MCM_SIM_PERSONALIZE_FEATURE_INFO_T;
+
+
+typedef enum
+{
+ E_QL_MCM_SIM_CARD_STATE_UNKNOWN = 0xB01, /**< Card state unknown. */
+ E_QL_MCM_SIM_CARD_STATE_ABSENT = 0xB02, /**< Card is absent. */
+ E_QL_MCM_SIM_CARD_STATE_PRESENT = 0xB03, /**< Card is present. */
+ E_QL_MCM_SIM_CARD_STATE_ERROR_UNKNOWN = 0xB04, /**< Unknown error state. */
+ E_QL_MCM_SIM_CARD_STATE_ERROR_POWER_DOWN = 0xB05, /**< Power down. */
+ E_QL_MCM_SIM_CARD_STATE_ERROR_POLL_ERROR = 0xB06, /**< Poll error. */
+ E_QL_MCM_SIM_CARD_STATE_ERROR_NO_ATR_RECEIVED = 0xB07, /**< Failed to receive an answer to reset. */
+ E_QL_MCM_SIM_CARD_STATE_ERROR_VOLT_MISMATCH = 0xB08, /**< Voltage mismatch. */
+ E_QL_MCM_SIM_CARD_STATE_ERROR_PARITY_ERROR = 0xB09, /**< Parity error. */
+ E_QL_MCM_SIM_CARD_STATE_ERROR_SIM_TECHNICAL_PROBLEMS= 0xB0A, /**< Card returned technical problems. */
+}E_QL_MCM_SIM_CARD_STATE_TYPE_T; /**< Card state. */
+
+typedef enum
+{
+ E_QL_MCM_SIM_CARD_TYPE_UNKNOWN = 0xB00, /**< Unidentified card type. */
+ E_QL_MCM_SIM_CARD_TYPE_ICC = 0xB01, /**< Card of SIM or RUIM type. */
+ E_QL_MCM_SIM_CARD_TYPE_UICC = 0xB02, /**< Card of USIM or CSIM type. */
+}E_QL_MCM_SIM_CARD_TYPE_T;
+
+typedef enum
+{
+ E_QL_MCM_SIM_PROV_STATE_NONE = 0xB00, /**< Nonprovisioning. */
+ E_QL_MCM_SIM_PROV_STATE_PRI = 0xB01, /**< Primary provisioning subscription. */
+ E_QL_MCM_SIM_PROV_STATE_SEC = 0xB02, /**< Secondary provisioning subscription. */
+}QL_MCM_SIM_SUBSCRIPTION_TYPE_T;
+
+typedef enum
+{
+ E_QL_MCM_SIM_APP_STATE_UNKNOWN = 0xB00, /**< Application state unknown. */
+ E_QL_MCM_SIM_APP_STATE_DETECTED = 0xB01, /**< Detected state. */
+ E_QL_MCM_SIM_APP_STATE_PIN1_REQ = 0xB02, /**< PIN1 required. */
+ E_QL_MCM_SIM_APP_STATE_PUK1_REQ = 0xB03, /**< PUK1 required. */
+ E_QL_MCM_SIM_APP_STATE_INITALIZATING = 0xB04, /**< Initializing. */
+ E_QL_MCM_SIM_APP_STATE_PERSO_CK_REQ = 0xB05, /**< Personalization control key required. */
+ E_QL_MCM_SIM_APP_STATE_PERSO_PUK_REQ = 0xB06, /**< Personalization unblock key required. */
+ E_QL_MCM_SIM_APP_STATE_PERSO_PERMANENTLY_BLOCKED= 0xB07, /**< Personalization is permanently blocked. */
+ E_QL_MCM_SIM_APP_STATE_PIN1_PERM_BLOCKED = 0xB08, /**< PIN1 is permanently blocked. */
+ E_QL_MCM_SIM_APP_STATE_ILLEGAL = 0xB09, /**< Illegal application state. */
+ E_QL_MCM_SIM_APP_STATE_READY = 0xB0A, /**< Application ready state. @newpage */
+}QL_MCM_SIM_APP_STATE_TYPE_T;
+
+typedef enum
+{
+ E_QL_MCM_SIM_PIN_STATE_UNKNOWN = 0xB01, /**< Unknown PIN state. */
+ E_QL_MCM_SIM_PIN_STATE_ENABLED_NOT_VERIFIED = 0xB02, /**< PIN required, but has not been verified. */
+ E_QL_MCM_SIM_PIN_STATE_ENABLED_VERIFIED = 0xB03, /**< PIN required and has been verified. */
+ E_QL_MCM_SIM_PIN_STATE_DISABLED = 0xB04, /**< PIN not required. */
+ E_QL_MCM_SIM_PIN_STATE_BLOCKED = 0xB05, /**< PIN verification has failed too many times and is blocked. Recoverable through PUK verification. */
+ E_QL_MCM_SIM_PIN_STATE_PERMANENTLY_BLOCKED = 0xB06, /**< PUK verification has failed too many times and is not recoverable. */
+}QL_MCM_SIM_PIN_STATE_TYPE_T;
+
+typedef struct
+{
+ QL_MCM_SIM_SUBSCRIPTION_TYPE_T subscription; /**< Type of subscription (i.e., primary, secondary, etc.). */
+ QL_MCM_SIM_APP_STATE_TYPE_T app_state; /**< Current state of the application. */
+ E_QL_MCM_SIM_PERSO_FEATURE_TYPE_T perso_feature; /**< Current personalization state and feature enabled. */
+ uint8_t perso_retries; /**< Number of personalization retries. */
+ uint8_t perso_unblock_retries; /**< Number of personalization unblock retries. */
+ QL_MCM_SIM_PIN_STATE_TYPE_T pin1_state; /**< Current PIN 1 state. */
+ uint8_t pin1_num_retries; /**< Number of PIN 1 retries. */
+ uint8_t puk1_num_retries; /**< Number of PUK 1 retries. */
+ QL_MCM_SIM_PIN_STATE_TYPE_T pin2_state; /**< Current PIN 2 state. */
+ uint8_t pin2_num_retries; /**< Number of PIN 2 retries. */
+ uint8_t puk2_num_retries; /**< Number of PUK 2 retries. */
+}QL_MCM_SIM_CARD_APP_INFO_T;
+
+typedef struct
+{
+ QL_MCM_SIM_CARD_APP_INFO_T app_3gpp; /**< Stores 3GPP application information. */
+ QL_MCM_SIM_CARD_APP_INFO_T app_3gpp2; /**< Stores 3GPP2 application information. */
+ QL_MCM_SIM_CARD_APP_INFO_T app_isim; /**< Stores ISIM application information. */
+}QL_MCM_SIM_CARD_ALL_APP_INFO_T;
+
+typedef struct
+{
+ E_QL_MCM_SIM_CARD_STATE_TYPE_T e_card_state;/**< Current card and card error state. */
+ E_QL_MCM_SIM_CARD_TYPE_T e_card_type; /**< Card type. */
+ QL_MCM_SIM_CARD_ALL_APP_INFO_T card_app_info; /**< Stores all relevant application information. */
+}QL_MCM_SIM_CARD_STATUS_INFO_T;
+
+#define QL_MCM_SIM_PATH_LEN_MAX 20 /** Maximum length of a full file path in ASCII format. */
+typedef struct
+{
+ uint16_t offset; /**< Offset is only required for write file access where data length is indicated.*/
+ uint8_t record_num; /**< Number of records involved in file access. A record number of 0 indicates transparent file access.*/
+ uint32_t path_len; /**< Must be set to the number of elements in the path. */
+ char path[QL_MCM_SIM_PATH_LEN_MAX]; /**< File path in ASCII characters. @newpagetable */
+}QL_MCM_SIM_CARD_FILE_ACCESS_INFO_T;
+
+#define QL_MCM_SIM_DATA_LEN_MAX 4096 /** Maximum size of data to be read/written. */
+typedef struct
+{
+ QL_SIM_APP_ID_INFO_T app_info; /**< Application identification information. */
+ QL_MCM_SIM_CARD_FILE_ACCESS_INFO_T file_access; /**< File access information. */
+ uint32_t data_len; /**< Must be set to the number of elements in data. */
+ uint8_t data[QL_MCM_SIM_DATA_LEN_MAX]; /**< Data to be updated on the card. */
+}QL_MCM_SIM_CARD_WRITE_FILE_INFO_T;
+
+
+/** Request message; Reads data to a specific file on a specified application on the card. The type of file is determined
+ by the record number field, which indicates a transparent file when zero and a record-based file otherwise.*/
+typedef struct
+{
+ QL_SIM_APP_ID_INFO_T app_info; /**< Application identification information. */
+ QL_MCM_SIM_CARD_FILE_ACCESS_INFO_T file_access; /**< File access information. */
+}QL_MCM_SIM_CARD_FILE_INFO_TO_READ_T;
+
+typedef struct
+{
+ uint32_t data_len; /**< Must be set to the number of elements in data. */
+ uint8_t data[QL_MCM_SIM_DATA_LEN_MAX]; /**< Data retrieved from the card. */
+}QL_MCM_SIM_CARD_FILE_DATA_T;
+
+/** Retrieves the size of a specific file on a specified application on the card. */
+typedef struct
+{
+ QL_SIM_APP_ID_INFO_T app_info; /**< Application identification information. */
+ uint32_t path_len; /**< Must be set to the number of elements in path. */
+ char path[QL_MCM_SIM_PATH_LEN_MAX]; /**< File path in ASCII characters.*/
+}QL_MCM_SIM_CARD_GET_FILE_SIZE_INPUT_INFO_T;
+
+typedef enum
+{
+ E_QL_MCM_SIM_FILE_TYPE_UNKNOWN = 0xB00,/**< Unknown file type */
+ E_QL_MCM_SIM_FILE_TYPE_TRANSPARENT = 0xB01,/**< File structure consisting of a sequence of bytes. */
+ E_QL_MCM_SIM_FILE_TYPE_CYCLIC = 0xB02,/**< File structure consisting of a sequence of records, each containing the same fixed size in
+ chronological order. Once all the records have been used, the oldest data is overwritten. */
+ MCM_SIM_FILE_TYPE_LINEAR_FIXED = 0xB03, /**< File structure consisting of a sequence of records, each containing the same fixed size. */
+}E_QL_MCM_SIM_FILE_TYPE_T;
+
+typedef struct
+{
+ E_QL_MCM_SIM_FILE_TYPE_T e_file_type; /**< File type: */
+ uint16_t file_size; /**< Size of transparent files.*/
+ uint16_t record_size; /**< Size of each cyclic or linear fixed file record.*/
+ uint16_t record_count; /**< Number of cyclic or linear fixed file records.*/
+}QL_MCM_SIM_FILE_SIZE_INFO_T;
+
+typedef enum
+{
+ E_QL_MCM_SIM_REFRESH_EVENT = 0xB00, /**< Card refresh event */
+ E_QL_MCM_SIM_CARD_STATUS_UPDATE_EVENT = 0xB01, /**< Card status update event. */
+}E_QL_SIM_NFY_MSG_ID_T;
+
+
+typedef void (*QL_SIM_CardStatusIndMsgHandlerFunc_t)
+(
+ sim_client_handle_type h_sim,
+ E_QL_SIM_NFY_MSG_ID_T e_msg_id,
+ void *pv_data,
+ void *contextPtr
+);
+
+
+int QL_MCM_SIM_Client_Init(sim_client_handle_type *ph_sim);
+
+int QL_MCM_SIM_Client_Deinit(sim_client_handle_type h_sim);
+
+/* Add callback function if anything changed specified by the mask in QL_LOC_Set_Indications*/
+int QL_MCM_SIM_AddRxIndMsgHandler(QL_SIM_CardStatusIndMsgHandlerFunc_t handlerPtr, void* contextPtr);
+
+
+/*===========================================================================
+
+ FUNCTION: QL_MCM_SIM_GetIMSI
+
+===========================================================================*/
+/*
+ @brief
+ Function sends a command to the modem to retrieve the IMSI (for 3GPP)
+ or IMSI_M (for 3GPP2) from the SIM in ASCII form
+
+ @return
+ void
+*/
+/*=========================================================================*/
+E_QL_ERROR_CODE_T QL_MCM_SIM_GetIMSI
+(
+ sim_client_handle_type h_sim,
+ QL_SIM_APP_ID_INFO_T *pt_info, ///< [IN] The SIM identifier info.
+ char *imsi, ///< [OUT] IMSI buffer
+ size_t imsiLen ///< [IN] IMSI buffer length
+);
+
+
+E_QL_ERROR_CODE_T QL_MCM_SIM_GetIMEI
+(
+ sim_client_handle_type h_sim,
+ char *imei, ///< [OUT] IMSI buffer
+ size_t imeiLen ///< [IN] IMSI buffer length
+);
+
+
+/*===========================================================================
+
+ FUNCTION: QL_MCM_SIM_GetICCID
+
+===========================================================================*/
+/*
+ @brief
+ Function sends a command to the modem to retrieve the ICCID from
+ SIM in ASCII form
+
+ @return
+ E_QL_ERROR_CODE_T
+*/
+/*=========================================================================*/
+E_QL_ERROR_CODE_T QL_MCM_SIM_GetICCID
+(
+ sim_client_handle_type h_sim,
+ E_QL_MCM_SIM_SLOT_ID_TYPE_T simId, ///< [IN] The SIM identifier.
+ char *iccid, ///< [OUT] ICCID
+ size_t iccidLen ///< [IN] ICCID buffer length
+);
+
+
+/*===========================================================================
+
+ FUNCTION: QL_MCM_SIM_GetPhoneNumber
+
+===========================================================================*/
+/*
+ @brief
+ Function sends a command to the modem to retrieve the device phone
+ number from MSISDN (for 3GPP) or MDN (for 3GPP2) from the SIM in
+ ASCII form
+
+ @return
+ E_QL_ERROR_CODE_T
+*/
+/*=========================================================================*/
+E_QL_ERROR_CODE_T QL_MCM_SIM_GetPhoneNumber
+(
+ sim_client_handle_type h_sim,
+ QL_SIM_APP_ID_INFO_T *pt_info, ///< [IN] The SIM identifier.
+ char *phone_num, ///< [OUT] phone number
+ size_t phoneLen ///< [IN] phone number buffer length
+);
+
+/*===========================================================================
+
+ FUNCTION: QL_MCM_SIM_GetOperatorPlmnList
+
+===========================================================================*/
+/*
+ @brief
+ Function sends multiple record based read commands to the modem
+ to retrieve a list of operator preffered PLMN.
+
+ @note
+ Function should only be called for SIM/USIM
+
+ @return
+ E_QL_ERROR_CODE_T
+*/
+/*=========================================================================*/
+E_QL_ERROR_CODE_T QL_MCM_SIM_GetOperatorPlmnList
+(
+ sim_client_handle_type h_sim,
+ E_QL_MCM_SIM_SLOT_ID_TYPE_T simId, ///< [IN] The SIM identifier.
+ QL_SIM_PREFERRED_OPERATOR_LIST_T *pt_info ///< [OUT] Preferred operator list
+);
+
+/*===========================================================================
+
+ FUNCTION: QL_MCM_SIM_VerifyPIN
+
+===========================================================================*/
+/*
+ @brief
+ Function sends a command to the modem to verify either PIN1 or PIN2
+
+ @return
+ E_QL_ERROR_CODE_T
+*/
+/*=========================================================================*/
+E_QL_ERROR_CODE_T QL_MCM_SIM_VerifyPIN
+(
+ sim_client_handle_type h_sim,
+ QL_SIM_VERIFY_PIN_INFO_T *pt_info ///< [IN] Verify PIN infor
+);
+
+
+/*===========================================================================
+
+ FUNCTION: QL_MCM_SIM_ChangePin
+
+===========================================================================*/
+/*
+ @brief
+ Function sends a command to the modem to change the value of
+ either PIN1 or PIN2
+
+ @return
+ E_QL_ERROR_CODE_T
+*/
+/*=========================================================================*/
+E_QL_ERROR_CODE_T QL_MCM_SIM_ChangePin
+(
+ sim_client_handle_type h_sim,
+ QL_SIM_CHANGE_PIN_INFO_T *pt_info ///< [IN] Change PIN infor
+);
+
+
+/*===========================================================================
+
+ FUNCTION: QL_MCM_SIM_UnblockPIN
+
+===========================================================================*/
+/*
+ @brief
+ Function sends a command to the modem to unblock a PIN1 or PIN2 that
+ has been blocked
+
+ @return
+ E_QL_ERROR_CODE_T
+*/
+/*=========================================================================*/
+E_QL_ERROR_CODE_T QL_MCM_SIM_UnblockPIN
+(
+ sim_client_handle_type h_sim,
+ QL_SIM_UNBLOCK_PIN_INFO_T *pt_info ///< [IN] Unblock PIN infor
+);
+
+/*===========================================================================
+
+ FUNCTION: QL_MCM_SIM_EnablePIN
+
+===========================================================================*/
+/*
+ @brief
+ Function sends a command to the modem to enable PIN1 or PIN2
+
+ @return
+ E_QL_ERROR_CODE_T
+*/
+/*=========================================================================*/
+E_QL_ERROR_CODE_T QL_MCM_SIM_EnablePIN
+(
+ sim_client_handle_type h_sim,
+ QL_SIM_ENABLE_PIN_INFO_T *pt_info ///< [IN] Enable PIN infor
+);
+
+/*===========================================================================
+
+ FUNCTION: QL_MCM_SIM_DisablePIN
+
+===========================================================================*/
+/*
+ @brief
+ Function sends a command to the modem to disable PIN1 or PIN2
+
+ @return
+ E_QL_ERROR_CODE_T
+*/
+/*=========================================================================*/
+E_QL_ERROR_CODE_T QL_MCM_SIM_DisablePIN
+(
+ sim_client_handle_type h_sim,
+ QL_SIM_DISABLE_PIN_INFO_T *pt_info ///< [IN] Disable PIN infor
+);
+
+
+/*===========================================================================
+
+ FUNCTION: QL_MCM_SIM_GetCardStatus
+
+===========================================================================*/
+/*
+ @brief
+ Function retrieves the server cached card status informations and
+ sends the information to the client
+
+ @return
+ E_QL_ERROR_CODE_T
+*/
+/*=========================================================================*/
+E_QL_ERROR_CODE_T QL_MCM_SIM_GetCardStatus
+(
+ sim_client_handle_type h_sim,
+ E_QL_MCM_SIM_SLOT_ID_TYPE_T simId, ///< [IN] The SIM identifier.
+ QL_MCM_SIM_CARD_STATUS_INFO_T *pt_info ///< [OUT] Cart status infor output
+);
+
+/*===========================================================================
+
+ FUNCTION: QL_MCM_SIM_Depersonalization
+
+===========================================================================*/
+/*
+ @brief
+ Function sends a command to the modem to disable or unblock SIM Lock
+
+ @return
+ E_QL_ERROR_CODE_T
+*/
+/*=========================================================================*/
+E_QL_ERROR_CODE_T QL_MCM_SIM_Depersonalization
+(
+ sim_client_handle_type h_sim,
+ QL_MCM_SIM_DEPERSONALIZE_INFO_T *pt_info ///< [OUT] Depersonalize information
+);
+
+
+/*===========================================================================
+
+ FUNCTION: QL_MCM_SIM_Personalization
+
+===========================================================================*/
+/*
+ @brief
+ Function sends a command to the modem to set the SIM Lock data
+ and concurrently enable SIM Lock.
+
+ @return
+ E_QL_ERROR_CODE_T
+*/
+/*=========================================================================*/
+E_QL_ERROR_CODE_T QL_MCM_SIM_Personalization
+(
+ sim_client_handle_type h_sim,
+ QL_MCM_SIM_PERSONALIZE_FEATURE_INFO_T *pt_info ///< [OUT] Unblock PIN infor
+);
+
+
+/*===========================================================================
+
+ FUNCTION: QL_MCM_SIM_WriteFile
+
+===========================================================================*/
+/*
+ @brief
+ Function will determine whether the request is for transparent or
+ record based write command based on the record number and calls the
+ corresponding function to send the message to the card.
+
+ record number = 0 - transparent
+ record number > 0 - record based
+
+ @return
+ E_QL_ERROR_CODE_T
+*/
+/*=========================================================================*/
+E_QL_ERROR_CODE_T QL_MCM_SIM_WriteFile
+(
+ sim_client_handle_type h_sim,
+ QL_MCM_SIM_CARD_WRITE_FILE_INFO_T *pt_info ///< [OUT] Verify PIN infor
+);
+
+
+/*===========================================================================
+
+ FUNCTION: QL_MCM_SIM_ReadFile
+
+===========================================================================*/
+/*
+ @brief
+ Function will determine whether the request is for transparent or
+ record based read command based on the record number and calls the
+ corresponding function to send the message to the card.
+
+ record number = 0 - transparent
+ record number > 0 - record based
+
+ @return
+ E_QL_ERROR_CODE_T
+*/
+/*=========================================================================*/
+E_QL_ERROR_CODE_T QL_MCM_SIM_ReadFile
+(
+ sim_client_handle_type h_sim,
+ QL_MCM_SIM_CARD_FILE_INFO_TO_READ_T *pt_info, ///< [IN] input file info which to be read
+ QL_MCM_SIM_CARD_FILE_DATA_T *pt_out ///< [OUT] File data of the specified one by pt_info
+);
+
+/*===========================================================================
+
+ FUNCTION: QL_MCM_SIM_GetFileSize
+
+===========================================================================*/
+/*
+ @brief
+ Function sends a command to the modem to retrieve the file type, file
+ size(transparent files) or record size and record count (record based files)
+
+ @return
+ E_QL_ERROR_CODE_T
+*/
+/*=========================================================================*/
+E_QL_ERROR_CODE_T QL_MCM_SIM_GetFileSize
+(
+ sim_client_handle_type h_sim,
+ QL_MCM_SIM_CARD_GET_FILE_SIZE_INPUT_INFO_T *pt_info, ///< [IN] input file info which to be read
+ QL_MCM_SIM_FILE_SIZE_INFO_T *pt_out ///< [OUT] output file size info
+);
+
+
+
+#endif // __QL_MCM_SIM_H__
+
diff --git a/mbtk/include/ql/ql_mcm_sms.h b/mbtk/include/ql/ql_mcm_sms.h
new file mode 100755
index 0000000..1055325
--- /dev/null
+++ b/mbtk/include/ql/ql_mcm_sms.h
@@ -0,0 +1,282 @@
+/**
+ *@file ql_sms.h
+ *@date 2017-05-02
+ *@author
+ *@brief
+ */
+
+#ifndef __QL_SMS_H__
+#define __QL_SMS_H__
+
+#include "mbtk_type.h"
+
+typedef uint32 sms_client_handle_type;
+
+/** Maximum length of an SMS. */
+#define QL_SMS_MAX_MT_MSG_LENGTH 1440
+
+/** Maximum string length. */
+#define QL_SMS_MAX_ADDR_LENGTH 252
+
+/** Maximum string length. */
+#define QL_SMS_MAX_SCA_TYPE_LENGTH 3
+
+
+typedef enum
+{
+ E_QL_SMS_FORMAT_GSM_7BIT = 0,
+ E_QL_SMS_FORMAT_BINARY_DATA = 1,
+ E_QL_SMS_FORMAT_UCS2 = 2,
+ //<2017/12/28-QCM9XOL00004C001-P01-Vicent.Gao, <[SMS] Segment 1==> CharSet to Alpha implementation.>
+ E_QL_SMS_FORMAT_IRA = 3,
+ //>2017/12/28-QCM9XOL00004C001-P01-Vicent.Gao
+
+}E_QL_SMS_FORMAT_T;
+
+typedef enum
+{
+ E_QL_SMS_TYPE_RX = 0, ///< SMS mobile terminated message.
+ E_QL_SMS_TYPE_TX = 1, ///< SMS mobile originated message.
+ E_QL_SMS_TYPE_BROADCAST_RX = 2 ///< SMS Cell Broadcast message.
+}E_QL_SMS_TYPE_T;
+
+typedef enum
+{
+ E_QL_SMS_STORAGE_TYPE_NONE = -1, /**< Message no need to store. */
+ E_QL_SMS_STORAGE_TYPE_UIM = 0, /**< Message store to UIM. */
+ E_QL_SMS_STORAGE_TYPE_NV = 1, /**< Message store to NV. */
+}E_QL_SMS_STORAGE_TYPE_T;
+
+typedef enum
+{
+ E_QL_SMS_MESSAGE_MODE_UNKNOWN = -1, /**< Message type CDMA */
+ E_QL_SMS_MESSAGE_MODE_CDMA = 0, /**< Message type CDMA */
+ E_QL_SMS_MESSAGE_MODE_GW = 1, /**< Message type GW. */
+}E_QL_SMS_MODE_TYPE_T;
+
+typedef struct
+ {
+ uint8_t total_segments; /**< The number of long short message*/
+ uint8_t seg_number; /**< Current number.*/
+ uint8_t reference_number; /**< reference_number.*/
+}ql_sms_user_data_head_t;
+
+typedef struct
+{
+ /* If sms is stored, it won't parse, you need read it by yourself */
+ E_QL_SMS_STORAGE_TYPE_T e_storage; ///specify where stored this msg
+
+ E_QL_SMS_FORMAT_T format;
+ E_QL_SMS_TYPE_T type;
+ char sms_number_addr[QL_SMS_MAX_ADDR_LENGTH]; ///Telephone number string
+ char sca_number_addr[QL_SMS_MAX_ADDR_LENGTH]; //.SMS Center Number
+ int sms_data_len;
+ char sms_data[QL_SMS_MAX_MT_MSG_LENGTH]; ///SMS content, data format depends on format
+ char timestamp[21]; ///Message time stamp (in text mode). string format: "yy/MM/dd,hh:mm:ss+/-TimeZone"
+ uint8_t user_data_head_valid; //indicate whether long sms. TRUE-long sms; FALSE-short message;
+ ql_sms_user_data_head_t user_data_head; //long sms user data head info.
+ E_QL_SMS_MODE_TYPE_T e_mode; ///specify where stored this msg cdma or gw area
+ uint32_t storage_index; ///storage index, -1 means not store
+} ql_sms_info_t;
+
+
+typedef struct
+{
+ E_QL_SMS_STORAGE_TYPE_T e_storage;
+ E_QL_SMS_MODE_TYPE_T e_mode;
+ uint32_t storage_idx;
+} ql_sms_storage_info_t;
+
+/* 0 = "REC UNREAD" */
+/* 1 = "REC READ" */
+/* 2 = "STO UNSENT" */
+/* 3 = "STO SENT" */
+typedef enum _ql_SMS_SIM_STATUS
+{
+ REC_UNREAD = 0,
+ REC_READ = 1,
+ STO_UNSENT = 2,
+ STO_SENT = 3
+}ql_SMS_SIM_STATUS;
+
+typedef enum
+{
+ E_QL_SMS_MESSAGE_CLASS_0 = 0x00, //display only
+ E_QL_SMS_MESSAGE_CLASS_1 = 0x01, //store in ME
+ E_QL_SMS_MESSAGE_CLASS_2 = 0x02, //store in SIM
+ E_QL_SMS_MESSAGE_CLASS_3 = 0x03, //
+ E_QL_SMS_MESSAGE_CLASS_NONE = 0x04,
+ E_QL_SMS_MESSAGE_CLASS_CDMA = 0x05,
+ E_QL_SMS_MESSAGE_CLASS_MAX = 0x06,
+}E_QL_SMS_MESSAGE_CLASS_TYPE_T;
+
+typedef enum
+{
+ E_QL_SMS_UNKNOWN = -1,
+ E_QL_SMS_DISCARD = 0x00, /* Incoming messages for this route are discarded by the WMS service without
+ notifying QMI_WMS clients */
+ E_QL_SMS_STORE_AND_NOTIFY = 0x01, /* Incoming messages for this route are stored to the specified device
+ memory, and new message notifications */
+ E_QL_SMS_TRANSFER_ONLY = 0x02, /* Incoming messages for this route are transferred to the client, and the
+ client is expected to send ACK to the network */
+ E_QL_SMS_TRANSFER_AND_ACK = 0x03, /* Incoming messages for this route are transferred to the client, and ACK is
+ sent to the network */
+}E_QL_SMS_RECEPTION_ACTION_TYPE_T;
+
+typedef struct
+{
+ E_QL_SMS_MESSAGE_CLASS_TYPE_T message_class;
+ E_QL_SMS_STORAGE_TYPE_T route_storage;
+ E_QL_SMS_RECEPTION_ACTION_TYPE_T receipt_action;
+}ql_sms_route_info_t; /* Type */
+
+typedef struct
+{
+ ql_sms_route_info_t route_list[E_QL_SMS_MESSAGE_CLASS_MAX];
+}ql_sms_route_info_list_t; /* Message */
+
+#define QL_WMS_MESSAGE_LENGTH_MAX 255
+
+typedef enum
+ {
+ E_QL_WMS_MESSAGE_FORMAT_CDMA = 0x00, //- 0x00 -- MESSAGE_FORMAT_CDMA -- CDMA \n
+ E_QL_WMS_MESSAGE_FORMAT_GW_PP = 0x06, //- 0x06 -- MESSAGE_FORMAT_GW_PP -- GW_PP
+}E_QL_WMS_MESSAGE_FORMAT_TYPE;
+
+
+typedef struct
+ {
+ E_QL_WMS_MESSAGE_FORMAT_TYPE format;
+ uint32_t raw_message_len; /**< Must be set to # of elements in raw_message */
+ uint8_t raw_message[QL_WMS_MESSAGE_LENGTH_MAX]; /**< Raw message data*/
+}ql_wms_send_raw_message_data_t;
+
+
+typedef enum
+{
+ E_QL_WMS_TL_CAUSE_CODE_ADDR_VACANT = 0x00,
+ E_QL_WMS_TL_CAUSE_CODE_ADDR_TRANSLATION_FAILURE = 0x01,
+ E_QL_WMS_TL_CAUSE_CODE_NETWORK_RESOURCE_SHORTAGE = 0x02,
+ E_QL_WMS_TL_CAUSE_CODE_NETWORK_FAILURE = 0x03,
+ E_QL_WMS_TL_CAUSE_CODE_INVALID_TELESERVICE_ID = 0x04,
+ E_QL_WMS_TL_CAUSE_CODE_NETWORK_OTHER = 0x05,
+ E_QL_WMS_TL_CAUSE_CODE_NO_PAGE_RESPONSE = 0x20,
+ E_QL_WMS_TL_CAUSE_CODE_DEST_BUSY = 0x21,
+ E_QL_WMS_TL_CAUSE_CODE_NO_ACK = 0x22,
+ E_QL_WMS_TL_CAUSE_CODE_DEST_RESOURCE_SHORTAGE = 0x23,
+ E_QL_WMS_TL_CAUSE_CODE_SMS_DELIVERY_POSTPONED = 0x24,
+ E_QL_WMS_TL_CAUSE_CODE_DEST_OUT_OF_SERV = 0x25,
+ E_QL_WMS_TL_CAUSE_CODE_DEST_NOT_AT_ADDR = 0x26,
+ E_QL_WMS_TL_CAUSE_CODE_DEST_OTHER = 0x27,
+ E_QL_WMS_TL_CAUSE_CODE_RADIO_IF_RESOURCE_SHORTAGE = 0x40,
+ E_QL_WMS_TL_CAUSE_CODE_RADIO_IF_INCOMPATABILITY = 0x41,
+ E_QL_WMS_TL_CAUSE_CODE_RADIO_IF_OTHER = 0x42,
+ E_QL_WMS_TL_CAUSE_CODE_ENCODING = 0x60,
+ E_QL_WMS_TL_CAUSE_CODE_SMS_ORIG_DENIED = 0x61,
+ E_QL_WMS_TL_CAUSE_CODE_SMS_TERM_DENIED = 0x62,
+ E_QL_WMS_TL_CAUSE_CODE_SUPP_SERV_NOT_SUPP = 0x63,
+ E_QL_WMS_TL_CAUSE_CODE_SMS_NOT_SUPP = 0x64,
+ E_QL_WMS_TL_CAUSE_CODE_MISSING_EXPECTED_PARAM = 0x65,
+ E_QL_WMS_TL_CAUSE_CODE_MISSING_MAND_PARAM = 0x66,
+ E_QL_WMS_TL_CAUSE_CODE_UNRECOGNIZED_PARAM_VAL = 0x67,
+ E_QL_WMS_TL_CAUSE_CODE_UNEXPECTED_PARAM_VAL = 0x68,
+ E_QL_WMS_TL_CAUSE_CODE_USER_DATA_SIZE_ERR = 0x69,
+ E_QL_WMS_TL_CAUSE_CODE_GENERAL_OTHER = 0x6A,
+}E_QL_WMS_TL_CAUSE_CODE_TYPE;
+
+typedef struct
+ {
+ uint16_t message_id; /* Message ID */
+ uint8_t cause_code_valid; /**< Must be set to true if cause_code is being passed */
+ E_QL_WMS_TL_CAUSE_CODE_TYPE cause_code;
+}ql_wms_raw_send_resp_t;
+
+typedef struct
+ {
+ char service_center_addr[QL_SMS_MAX_ADDR_LENGTH + 1]; /**< Address of the service center.*/
+ uint8_t service_center_addr_type_valid;
+ char service_center_addr_type[QL_SMS_MAX_SCA_TYPE_LENGTH + 1]; /**< 129 if the SMSC address does not start with a "+" characte;
+ 145 if the SMSC address starts with a "+" character*/
+}ql_sms_service_center_cfg_t;
+
+typedef ql_sms_info_t QL_SMS_Msg_t;
+typedef ql_sms_info_t* QL_SMS_MsgRef;
+
+/* Callback function registered to QL_SMS_AddRxMsgHandler, msgRef contains the detail msg infor */
+typedef void (*QL_SMS_RxMsgHandlerFunc_t)
+(
+ QL_SMS_MsgRef msgRef,
+ void* contextPtr
+);
+
+/* Init SMS module and return h_sms, this should be called before any othe ones */
+int QL_SMS_Client_Init(sms_client_handle_type *ph_sms);
+
+/* Add callback function, if any new msg arrived, it will notify app */
+int QL_SMS_AddRxMsgHandler(QL_SMS_RxMsgHandlerFunc_t handlerPtr, void* contextPtr);
+
+/* Send sms, you just need to fill format/src_addr/sms_data_len/sms_data,
+ if format is UCS2, the data should be Unicode-BE format.
+*/
+int QL_SMS_Send_Sms(sms_client_handle_type h_sms, ql_sms_info_t *pt_sms_info);
+
+/* DeInit SMS module and release resource, this should be called in the last one. */
+int QL_SMS_Client_Deinit(sms_client_handle_type h_sms);
+
+/* Delete the SMS specified in the pt_sms_storage */
+int QL_SMS_DeleteFromStorage(sms_client_handle_type h_sms, ql_sms_storage_info_t *pt_sms_storage);
+
+/* Set route list, normally, sms won't be stored, the route set to transfer_and_ack by default.
+ If you want to save to storage, you can specify it with this api.
+*/
+int QL_SMS_SetRouteList(sms_client_handle_type h_sms, ql_sms_route_info_list_t *pt_route_list);
+
+/* Send sms PDU.
+*/
+int QL_SMS_Send_SmsPdu( sms_client_handle_type h_sms,
+ ql_wms_send_raw_message_data_t *raw_message_data,
+ ql_wms_raw_send_resp_t *rawresp);
+
+int QL_SMS_Get_By_id(ql_sms_storage_info_t *pt_sms_storage);
+
+/* Get sms center address.
+*/
+int QL_SMS_GetSmsCenterAddress( sms_client_handle_type h_sms,
+ ql_sms_service_center_cfg_t *set_sca_cfg);
+
+/* Set sms center address.
+*/
+int QL_SMS_SetSmsCenterAddress( sms_client_handle_type h_sms,
+ ql_sms_service_center_cfg_t *get_sca_cfg);
+
+int QL_SMS_Get_Storage(sms_client_handle_type *ph_sms);
+
+int QL_SMS_Save_Sms(sms_client_handle_type h_sms, ql_sms_info_t *pt_sms_info);
+
+int QL_SMS_Delete_Sms(sms_client_handle_type h_sms, ql_sms_info_t *pt_sms_info);
+/*
+Usage 1 (register callback and wait for new sms arrive):
+1, QL_SMS_Client_Init
+2, QL_SMS_AddRxMsgHandler(pf_cb)
+3, wait for sms arrive, pf_cb will pass the detail sms info to app.
+4, QL_SMS_Client_Deinit
+
+
+Usage 2 (Send sms):
+1, QL_SMS_Client_Init
+2, QL_SMS_AddRxMsgHandler(pf_cb)
+3, QL_SMS_Send_Sms
+4, QL_SMS_Client_Deinit
+
+
+Usage 3 (store sms):
+1, QL_SMS_Client_Init
+2, QL_SMS_AddRxMsgHandler(pf_cb)
+3, QL_SMS_SetRouteList (Notice: class-0 not allowed to store, class-2 must be stored to UIM)
+4, pf_cb will be called when new sms arrived, and tell you where the sms stored
+5, you can call QL_SMS_DeleteFromStorage to delete specified sms, the location can be got from pf_cb.
+6, QL_SMS_Client_Deinit
+*/
+
+#endif // __QL_SMS_H__
+
diff --git a/mbtk/include/ql/ql_network.h b/mbtk/include/ql/ql_network.h
new file mode 100755
index 0000000..241c718
--- /dev/null
+++ b/mbtk/include/ql/ql_network.h
@@ -0,0 +1,51 @@
+/**
+ * @file ql_network.h
+ * @brief Quectel Openlinux network public function declarations.
+ *
+ * @note
+ *
+ * @copyright Copyright (c) 2009-2017 @ Quectel Wireless Solutions Co., Ltd.
+ */
+
+#ifndef __QL_NETWORK_H__
+#define __QL_NETWORK_H__
+#include "mbtk_type.h"
+#include "mbtk_info_api.h"
+
+
+ typedef struct {
+ char gw_ip[20]; /* Gateway Address*/
+ char netmask[20]; /* netmask */
+ unsigned char enable_dhcp; /* Whether to enable DHCP; boolean value. */
+ char dhcp_start_ip[20]; /*DHCP start IP address.*/
+ char dhcp_end_ip[20]; /*DHCP end IP address. */
+ unsigned int lease_time; /*DHCP lease time, in seconds.*/
+ }ql_lan_dhcp_config_s;
+
+
+
+/**
+* Set the network configuration: dhcp configuration.
+*s
+* @param [in] lan_dhcp_config
+*
+* @return
+* On success, 0 is returned. On error, -1 is returned.
+*
+*/
+extern int QL_LAN_DHCP_Config_Set(ql_lan_dhcp_config_s lan_dhcp_config);
+
+/**
+* Get the network configuration: dhcp configuration.
+*
+* @param [out] lan_dhcp_config
+*
+* @return
+* On success, 0 is returned. On error, -1 is returned.
+*
+*/
+extern int QL_LAN_DHCP_Config_Get(ql_lan_dhcp_config_s *lan_dhcp_config);
+
+#endif
+
+
diff --git a/mbtk/include/ql/ql_nw.h b/mbtk/include/ql/ql_nw.h
new file mode 100755
index 0000000..8e1d237
--- /dev/null
+++ b/mbtk/include/ql/ql_nw.h
@@ -0,0 +1,292 @@
+/**
+ @file
+ ql_nw.h
+
+ @brief
+ This file provides the definitions for nw, and declares the
+ API functions.
+
+*/
+/*============================================================================
+ Copyright (c) 2017 Quectel Wireless Solution, Co., Ltd. All Rights Reserved.
+ Quectel Wireless Solution Proprietary and Confidential.
+ =============================================================================*/
+/*===========================================================================
+
+ EDIT HISTORY FOR MODULE
+
+This section contains comments describing changes made to the module.
+Notice that changes are listed in reverse chronological order.
+
+
+WHEN WHO WHAT, WHERE, WHY
+---------- ------------ ----------------------------------------------------
+14/08/2019 Nebula.li create
+=============================================================================*/
+
+#ifndef __QL_NW_H__
+#define __QL_NW_H__
+
+#include <stdlib.h>
+#include <stdint.h>
+#include <string.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#define QL_NW_IND_VOICE_REG_EVENT_FLAG (1 << 0) //VOICE注册事件
+#define QL_NW_IND_DATA_REG_EVENT_FLAG (1 << 1) //DATA注册事件
+#define QL_NW_IND_SIGNAL_STRENGTH_EVENT_FLAG (1 << 2) //信号强度事件
+#define QL_NW_IND_NITZ_TIME_UPDATE_EVENT_FLAG (1 << 3) //时间跟新事件
+//START baron-2020.02.29: add for ims register state indication
+#define QL_NW_IND_IMS_NETWORK_STATE_CHANGED_FLAG (1 << 4) //ims register state change
+//END
+#define CELL_MAX_NUM 20
+
+typedef enum
+{
+ QL_NW_SUCCESS,
+ QL_NW_GENERIC_FAILURE,
+ QL_NW_RADIO_NOT_AVAILABLE,
+}QL_NW_ERROR_CODE;
+
+typedef enum {
+ QL_NW_PREF_NET_TYPE_GSM_WCDMA = 0,
+ QL_NW_PREF_NET_TYPE_GSM_ONLY = 1,
+ QL_NW_PREF_NET_TYPE_WCDMA = 2,
+ QL_NW_PREF_NET_TYPE_GSM_WCDMA_AUTO = 3, //根据 PRL自动选择GSM、WCDMA
+ QL_NW_PREF_NET_TYPE_LTE_GSM_WCDMA = 9, //自动选择LTE、GSM、WCDMA
+ QL_NW_PREF_NET_TYPE_LTE_ONLY = 11,
+ QL_NW_PREF_NET_TYPE_LTE_WCDMA = 12,
+ QL_NW_PREF_NET_TYPE_LTE_GSM_GSM_PREF = 13, //优先GSM
+ QL_NW_PREF_NET_TYPE_LTE_GSM_LTE_PREF = 14, //优先LTE
+ QL_NW_PREF_NET_TYPE_LTE_GSM = 15,
+ QL_NW_PREF_NET_TYPE_LTE_WCDMA_WCDMA_PREF = 16,
+ QL_NW_PREF_NET_TYPE_LTE_WCDMA_LTE_PREF = 17,
+ QL_NW_PREF_NET_TYPE_LTE_GSM_WCDMA_GSM_PREF = 19,
+ QL_NW_PREF_NET_TYPE_LTE_GSM_WCDMA_WCDMA_PREF = 20,
+ QL_NW_PREF_NET_TYPE_LTE_GSM_WCDMA_LTE_PREF = 21,
+} QL_NW_PREFERRED_NETWORK_TYPE;
+
+typedef struct
+{
+ QL_NW_PREFERRED_NETWORK_TYPE preferred_nw_mode; //首选的网络制式,见QL_NW_PREFERRED_NETWORK_TYPE
+ int roaming_pref; //漫游开关。 0 关; 1 开
+}QL_NW_CONFIG_INFO_T;
+
+typedef struct
+{
+ char nitz_time[32]; //格式:format: YY/MM/DD HH:MM:SS '+/-'TZ daylight, 18/09/19 07:40:18 +32 00.
+ unsigned long abs_time; //0表示不可用
+ unsigned char leap_sec; //0表示不可用
+}QL_NW_NITZ_TIME_INFO_T;
+
+typedef struct
+{
+ char long_eons[128];
+ char short_eons[128];
+ char mcc[4];
+ char mnc[4];
+}QL_NW_OPERATOR_INFO_T;
+
+//START baron-2020.02.29: add for ims register state
+typedef struct __volte_state
+{
+ int reg_state; /*0: not registered, 1: registered*/
+}VOLTE_STATE;
+//END
+
+typedef enum
+{
+ QL_NW_ACCESS_TECH_GSM = 0,
+ QL_NW_ACCESS_TECH_GSM_COMPACT = 1,
+ QL_NW_ACCESS_TECH_UTRAN = 2,
+ QL_NW_ACCESS_TECH_GSM_wEGPRS = 3,
+ QL_NW_ACCESS_TECH_UTRAN_wHSDPA = 4,
+ QL_NW_ACCESS_TECH_UTRAN_wHSUPA = 5,
+ QL_NW_ACCESS_TECH_UTRAN_wHSDPA_HSUPA = 6,
+ QL_NW_ACCESS_TECH_E_UTRAN = 7,
+ QL_NW_ACCESS_TECH_UTRAN_HSPAP = 8,
+ QL_NW_ACCESS_TECH_E_UTRAN_CA = 9,
+ QL_NW_ACCESS_TECH_NONE = 10,
+}QL_NW_ACCESS_TECHNOLOGY;
+
+typedef struct
+{
+ int status; //0:未知的网络;1:可用的网络;2:当前的网络;3:禁止使用的网络
+ QL_NW_OPERATOR_INFO_T operator_name; //运营商信息,见QL_NW_OPERATOR_INFO_T。
+ QL_NW_ACCESS_TECHNOLOGY act; //注网制式,见QL_NW_RADIO_TECH_TYPE_T。
+}QL_NW_SCAN_ENTRY_INFO_T;
+
+typedef struct
+{
+ int entry_len; //可用网络的个数
+ QL_NW_SCAN_ENTRY_INFO_T entry[40]; //可用网络的列表,见QL_NW_SCAN_ENTRY_INFO_T。
+}QL_NW_SCAN_RESULT_LIST_INFO_T;
+
+
+typedef enum {
+ QL_NW_RADIO_TECH_UNKNOWN = 0,
+ QL_NW_RADIO_TECH_GPRS = 1,
+ QL_NW_RADIO_TECH_EDGE = 2,
+ QL_NW_RADIO_TECH_UMTS = 3,
+ QL_NW_RADIO_TECH_IS95A = 4,
+ QL_NW_RADIO_TECH_IS95B = 5,
+ QL_NW_RADIO_TECH_1xRTT = 6,
+ QL_NW_RADIO_TECH_HSDPA = 9,
+ QL_NW_RADIO_TECH_HSUPA = 10,
+ QL_NW_RADIO_TECH_HSPA = 11,
+ QL_NW_RADIO_TECH_EHRPD = 13,
+ QL_NW_RADIO_TECH_LTE = 14,
+ QL_NW_RADIO_TECH_HSPAP = 15, // HSPA+
+ QL_NW_RADIO_TECH_GSM = 16,
+ QL_NW_RADIO_TECH_TD_SCDMA = 17,
+ QL_NW_RADIO_TECH_IWLAN = 18,
+ QL_NW_RADIO_TECH_LTEP = 19,
+ QL_NW_RADIO_TECH_DC_HSPA = 20
+} QL_NW_RADIO_TECHNOLOGY;
+
+typedef enum {
+ QL_NW_REG_STATE_NOT_REGISTERED=0, //not registered, MT is not currently searching an operator to register to
+ QL_NW_REG_STATE_HOME_NETWORK=1, //registered, home network
+ QL_NW_REG_STATE_TRYING_ATTACH_OR_SEARCHING=2, //not registered, but MT is currently trying to attach or searching an operator to register to
+ QL_NW_REG_STATE_DENIED=3, //registration denied
+ QL_NW_REG_STATE_UNKNOWN=4, //unknown
+ QL_NW_REG_STATE_ROAMING=5, //registered, roaming
+ QL_NW_REG_STATE_HOME_NETWORK_SMS_ONLY=6, //registered for “SMS only”, home network (not applicable)
+ QL_NW_REG_STATE_ROAMING_SMS_ONLY=7,// registered for “SMS only”, roaming (not applicable)
+ QL_NW_REG_STATE_ATTACHED_EMERGENCY_ONLY=8, //attached for emergency bearer services only
+ QL_NW_REG_STATE_HOME_NETWORK_CSFB_NOT_PREFERRED=9, //registered for “CSFB not preferred”, home network (not applicable)
+ QL_NW_REG_STATE_ROAMING_CSFB_NOT_PREFERRED=10,//registered for “CSFB not preferred”, roaming (not applicable)
+ QL_NW_REG_STATE_EMERGENCY_ONLY=11,//emergency bearer services only
+}QL_NW_REG_STATE;
+
+typedef struct
+{
+ QL_NW_REG_STATE state; //注册状态
+ int lac;
+ int cid;
+ QL_NW_RADIO_TECHNOLOGY rat;
+ int rejectCause; //注册被拒绝的原因
+ int psc; //Primary Scrambling Code
+} QL_NW_COMMON_REG_STATUS_INFO_T;
+
+typedef struct
+{
+ QL_NW_COMMON_REG_STATUS_INFO_T voice_reg; //VOICE注册信息,见QL_NW_COMMON_REG_STATUS_INFO_T
+ QL_NW_COMMON_REG_STATUS_INFO_T data_reg; //DATA注册信息。
+}QL_NW_REG_STATUS_INFO_T;
+
+typedef struct
+{
+ int nw_selection_mode; //0 自动;1手动
+ char mcc[4];
+ char mnc[4];
+ QL_NW_ACCESS_TECHNOLOGY act; //selection 制式,见QL_NW_ACCESS_TECHNOLOGY。
+}QL_NW_SELECTION_INFO_T;
+
+typedef struct {
+ int rssi;
+ int bitErrorRate;
+ int rscp;
+ int ecio;
+} QL_NW_GW_SIGNAL_STRENGTH_INFO_T;
+
+typedef struct {
+ int rssi;
+ int rsrp;
+ int rsrq;
+ int rssnr;
+ int cqi;
+} QL_NW_LTE_SIGNAL_STRENGTH_INFO_T;
+
+typedef struct {
+ QL_NW_GW_SIGNAL_STRENGTH_INFO_T GW_SignalStrength;
+ QL_NW_LTE_SIGNAL_STRENGTH_INFO_T LTE_SignalStrength;
+}QL_NW_SIGNAL_STRENGTH_INFO_T;
+
+/* CSQ: just get rssi and ber */
+typedef struct {
+ int rssi;
+ int bitErrorRate;
+} QL_NW_CSQ_SIGNAL_STRENGTH_INFO_T;
+
+typedef struct
+{
+ int flag; /**Cell type, 0:present,1:neighbor.*/
+ int cid; /**Cell ID, (0 indicates information is not represent).*/
+ int mcc; /**This field should be ignored when cid is not present*/
+ int mnc; /**This field should be ignored when cid is not present*/
+ int lac; /**Location area code.(This field should be ignord when cid is not present). */
+ int arfcn; /**Absolute RF channel number. */
+ char bsic; /**Base station identity code. (0 indicates information is not present). */
+ int lenOfMnc; /**Length of MNC, value range (2,3) */
+}QL_MCM_NW_GSM_CELL_INFO_T;
+
+typedef struct
+{
+ int flag; /**Cell type, 0:present,1:inter,2:intra.*/
+ int cid; /**Cell ID, (0 indicates information is not represent).*/
+ int lcid; /**UTRAN Cell ID (0 indicates information is not present). */
+ int mcc; /**This field should be ignored when cid is not present*/
+ int mnc; /**This field should be ignored when cid is not present*/
+ int lac; /**Location area code. (This field should be ignored when cid is not present). */
+ int uarfcn; /**UTRA absolute RF channel number. */
+ int psc; /**Primary scrambling code. */
+ int lenOfMnc; /**Length of MNC, value range (2,3) */
+}QL_MCM_NW_UMTS_CELL_INFO_T;
+
+typedef struct
+{
+ int flag; /**Cell type, 0:present,1:inter,2:intra.*/
+ int cid; /**<Cell ID, (0 indicates information is not represent).*/
+ int mcc; /**This field should be ignored when cid is not present*/
+ int mnc; /**This field should be ignored when cid is not present*/
+ int tac; /**Tracing area code (This field should be ignored when cid is not present). */
+ int pci; /**Physical cell ID. Range: 0 to 503. */
+ int earfcn; /**E-UTRA absolute radio frequency channel number of the cell. RANGE: 0 TO 65535. */
+ int lenOfMnc; /**Length of MNC, value range (2,3) */
+ int rsrp;
+ int rsrq;
+}QL_MCM_NW_LTE_CELL_INFO_T;
+
+/** Gets cell information. */
+typedef struct
+{
+ int gsm_info_valid; /**< Must be set to TRUE if gsm_info is being passed. */
+ int gsm_info_num; /**< Must be set to the number of elements in entry*/
+ QL_MCM_NW_GSM_CELL_INFO_T gsm_info[CELL_MAX_NUM]; /**< GSM cell information (Serving and neighbor. */
+ int umts_info_valid; /**< Must be set to TRUE if umts_info is being passed. */
+ int umts_info_num; /**< Must be set to the number of elements in entry*/
+ QL_MCM_NW_UMTS_CELL_INFO_T umts_info[CELL_MAX_NUM];/**< UMTS cell information (Serving and neighbor). */
+ int lte_info_valid; /**< Must be set to TRUE if lte_info is being passed. */
+ int lte_info_num; /**< Must be set to the number of elements in entry*/
+ QL_MCM_NW_LTE_CELL_INFO_T lte_info[CELL_MAX_NUM]; /**< LTE cell information (Serving and neighbor). */
+}QL_NW_CELL_INFO_T;
+
+
+typedef void (*QL_NW_EventHandlerFunc_t)(unsigned int ind_flag, void *ind_msg_buf, unsigned int ind_msg_len, void *contextPtr);
+
+QL_NW_ERROR_CODE ql_nw_init ();
+QL_NW_ERROR_CODE ql_nw_release();
+QL_NW_ERROR_CODE ql_nw_set_config(QL_NW_CONFIG_INFO_T *pt_info);
+QL_NW_ERROR_CODE ql_nw_get_config(QL_NW_CONFIG_INFO_T *pt_info);
+QL_NW_ERROR_CODE ql_nw_get_nitz_time_info(QL_NW_NITZ_TIME_INFO_T *pt_info);
+QL_NW_ERROR_CODE ql_nw_event_register(unsigned int bitmask);
+QL_NW_ERROR_CODE ql_nw_get_operator_name(QL_NW_OPERATOR_INFO_T *pt_info);
+QL_NW_ERROR_CODE ql_nw_perform_scan(QL_NW_SCAN_RESULT_LIST_INFO_T *pt_info);
+QL_NW_ERROR_CODE ql_nw_get_reg_status(QL_NW_REG_STATUS_INFO_T *pt_info);
+QL_NW_ERROR_CODE ql_nw_set_selection(QL_NW_SELECTION_INFO_T *pt_info);
+QL_NW_ERROR_CODE ql_nw_get_selection(QL_NW_SELECTION_INFO_T *pt_info);
+QL_NW_ERROR_CODE ql_nw_get_signal_strength(QL_NW_SIGNAL_STRENGTH_INFO_T *pt_info);
+QL_NW_ERROR_CODE ql_nw_get_cell_info(QL_NW_CELL_INFO_T *pt_info);
+QL_NW_ERROR_CODE ql_nw_add_event_handler(QL_NW_EventHandlerFunc_t handlerPtr, void* contextPtr);
+QL_NW_ERROR_CODE ql_nw_get_volte_state(VOLTE_STATE *state);
+/* CSQ: just get rssi and ber */
+QL_NW_ERROR_CODE ql_nw_csq_get_signal_strength(QL_NW_CSQ_SIGNAL_STRENGTH_INFO_T *pt_info);
+#ifdef __cplusplus
+}
+#endif
+
+#endif
diff --git a/mbtk/include/ql/ql_oe.h b/mbtk/include/ql/ql_oe.h
new file mode 100755
index 0000000..ad4f7db
--- /dev/null
+++ b/mbtk/include/ql/ql_oe.h
@@ -0,0 +1,41 @@
+/**
+ @file
+ ql_oe.h
+
+ @brief
+ Include related header file for quectel common api.
+
+*/
+/*============================================================================
+ Copyright (c) 2017 Quectel Wireless Solution, Co., Ltd. All Rights Reserved.
+ Quectel Wireless Solution Proprietary and Confidential.
+ =============================================================================*/
+/*===========================================================================
+
+ EDIT HISTORY FOR MODULE
+
+This section contains comments describing changes made to the module.
+Notice that changes are listed in reverse chronological order.
+
+
+WHEN WHO WHAT, WHERE, WHY
+---------- ------------ ----------------------------------------------------
+24/07/2019 Nebula.li create
+03/08/2019 Juson.zhang add spi and uart head file
+03/08/2019 Carola.zhang add i2c and gpio head file
+=============================================================================*/
+
+#ifndef _QL_OE_H_
+#define _QL_OE_H_
+
+#include "DSI_ConnectManager.h"
+#include "ql_log.h"
+
+//-------------------------peripheral head file-------------------//
+#include "ql_uart.h"
+#include "ql_spi.h"
+#include "ql_gpio.h"
+#include "ql_i2c.h"
+#include "ql_sms.h"
+
+#endif
diff --git a/mbtk/include/ql/ql_sgmii.h b/mbtk/include/ql/ql_sgmii.h
new file mode 100755
index 0000000..292ab8c
--- /dev/null
+++ b/mbtk/include/ql/ql_sgmii.h
@@ -0,0 +1,162 @@
+/**
+ * @file ql_sgmii.h
+ * @brief Quectel Openlinux SGMII public function declarations.
+ *
+ * @note
+ *
+ * @copyright Copyright (c) 2009-2017 @ Quectel Wireless Solutions Co., Ltd.
+ */
+
+#ifndef __QL_SGMII_H__
+#define __QL_SGMII_H__
+#include "mbtk_type.h"
+
+
+typedef enum {
+ QL_SGMII_AUTONEG_OFF = 0,
+ QL_SGMII_AUTONEG_ON
+} ql_sgmii_autoneg_e;
+
+typedef enum {
+ QL_SGMII_SPEED_10MHZ = 0,
+ QL_SGMII_SPEED_100MHZ,
+ QL_SGMII_SPEED_1000MHZ /* this speed can not support */
+} ql_sgmii_speed_e;
+
+typedef enum {
+ QL_SGMII_DUPLEX_FULL = 0,
+ QL_SGMII_DUPLEX_HALF
+} ql_sgmii_duplex_e;
+
+struct ql_sgmii_info {
+ ql_sgmii_autoneg_e autoneg;
+ ql_sgmii_speed_e speed;
+ ql_sgmii_duplex_e duplex;
+ unsigned long tx_bytes;
+ unsigned long rx_bytes;
+ unsigned long tx_pkts;
+ unsigned long rx_pkts;
+};
+
+/**
+ * Enables the SGMII ethernet module.
+ *
+ * @param None
+ *
+ * @return
+ * On success, 0 is returned. On error, -1 is returned.
+ *
+ */
+extern int ql_sgmii_enable(void);
+
+/**
+ * Disable the SGMII ethernet module.
+ *
+ * @param None
+ *
+ * @return
+ * On success, 0 is returned. On error, -1 is returned.
+ *
+ */
+extern int ql_sgmii_disable(void);
+
+/**
+ * Set the SGMII ethernet configuration: the ethernet auto negotiation configuration.
+ *
+ * @param [in] auto negotiation
+ *
+ * @return
+ * On success, 0 is returned. On error, -1 is returned.
+ *
+ * @dependencies
+ * the ql_sgmii_enable must be set enable
+ *
+ */
+extern int ql_sgmii_autoneg_set(ql_sgmii_autoneg_e autoneg);
+
+/**
+ * Get the SGMII ethernet configuration: the ethernet auto negotiation configuration.
+ *
+ * @param [out] auto negotiation
+ *
+ * @return
+ * On success, 0 is returned. On error, -1 is returned.
+ *
+ * @dependencies
+ * the ql_sgmii_enable must be set enable
+ *
+ */
+extern int ql_sgmii_autoneg_get(ql_sgmii_autoneg_e *autoneg);
+
+/**
+ * Set the SGMII ethernet configuration: the ethernet speed configuration.
+ *
+ * @param [in] ethernet speed
+ *
+ * @return
+ * On success, 0 is returned. On error, -1 is returned.
+ *
+ * @dependencies
+ * the ql_sgmii_enable must be set enable
+ *
+ */
+extern int ql_sgmii_speed_set(ql_sgmii_speed_e speed);
+
+/**
+ * Get the SGMII ethernet configuration: the ethernet speed configuration.
+ *
+ * @param [out] the ethernet current speed
+ *
+ * @return
+ * On success, 0 is returned. On error, -1 is returned.
+ *
+ * @dependencies
+ * the ql_sgmii_enable must be set enable
+ *
+ */
+extern int ql_sgmii_speed_get(ql_sgmii_speed_e *speed);
+
+/**
+ * Set the SGMII ethernet configuration: the ethernet duplex configuration.
+ *
+ * @param [in] ethernet duplex
+ *
+ * @return
+ * On success, 0 is returned. On error, -1 is returned.
+ *
+ * @dependencies
+ * the ql_sgmii_enable must be set enable
+ *
+ */
+extern int ql_sgmii_duplex_set(ql_sgmii_duplex_e duplex);
+
+/**
+ * Get the SGMII ethernet configuration: the ethernet duplex configuration.
+ *
+ * @param [out] the ethernet current duplex
+ *
+ * @return
+ * On success, 0 is returned. On error, -1 is returned.
+ *
+ * @dependencies
+ * the ql_sgmii_enable must be set enable
+ *
+ */
+extern int ql_sgmii_duplex_get(ql_sgmii_duplex_e *duplex);
+
+/**
+ * Get the sgmii ethernet information: transmit and receive bytes, transmit and receive packets, speed, duplex.
+ *
+ * @param [out] the ethernet information
+ *
+ * @return
+ * On success, 0 is returned. On error, -1 is returned.
+ *
+ * @dependencies
+ * the ql_sgmii_enable must be set enable
+ *
+ */
+extern int ql_smgii_info_get(struct ql_sgmii_info *info);
+
+
+#endif /* end of __QL_SGMII_H__ */
diff --git a/mbtk/include/ql/ql_sim.h b/mbtk/include/ql/ql_sim.h
new file mode 100755
index 0000000..38ad65c
--- /dev/null
+++ b/mbtk/include/ql/ql_sim.h
@@ -0,0 +1,840 @@
+/**
+ @file
+ ql_sim.h
+
+ @brief
+ This file provides the definitions for sim, and declares the
+ API functions.
+
+*/
+/*============================================================================
+ Copyright (c) 2017 Quectel Wireless Solution, Co., Ltd. All Rights Reserved.
+ Quectel Wireless Solution Proprietary and Confidential.
+ =============================================================================*/
+/*===========================================================================
+
+ EDIT HISTORY FOR MODULE
+
+This section contains comments describing changes made to the module.
+Notice that changes are listed in reverse chronological order.
+
+
+WHEN WHO WHAT, WHERE, WHY
+---------- ------------ ----------------------------------------------------
+21/08/2019 Nebula.li create
+=============================================================================*/
+
+#ifndef __QL_SIM_H__
+#define __QL_SIM_H__
+
+#include <stdlib.h>
+#include <stdint.h>
+#include <string.h>
+
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+typedef unsigned char UINT8;
+typedef unsigned short UINT16;
+typedef unsigned long UINT32;
+typedef unsigned int UINT;
+
+typedef enum
+{
+ QL_SIM_SUCCESS,
+ QL_SIM_GENERIC_FAILURE,
+ QL_SIM_RADIO_NOT_AVAILABLE,
+ QL_SIM_INCORRECT_PASSWORD,
+ QL_SIM_CARD_NO_INSERTED,
+ QL_SIM_CARD_BUSY,
+ QL_SIM_CARD_BLOCKED,
+}QL_SIM_ERROR_CODE;
+
+
+#define QL_SIM_MCC_LEN 4 /** Length of the MCC. */
+#define QL_SIM_MNC_MAX 4 /** Maximum length of the MNC. */
+#define QL_SIM_PLMN_NUM_MAX 24 /** Maximum number of PLMN data sets. */
+typedef struct
+{
+ uint8_t mcc[QL_SIM_MCC_LEN]; /**< MCC value in ASCII characters.*/
+ uint8_t mnc[QL_SIM_MNC_MAX]; /**< MNC value in ASCII characters.*/
+}QL_SIM_PLMN_INFO;
+typedef struct
+{
+ uint32_t preferred_operator_list_num; /**< Must be set to the number of elements in preferred_operator_list. */
+ QL_SIM_PLMN_INFO preferred_operator_list[QL_SIM_PLMN_NUM_MAX]; /**< Preferred operator list. */
+}QL_SIM_PREFERRED_OPERATOR_LIST; /* Message */
+
+#define QL_SIM_PIN_LEN_MAX 16 /** Maximum length of PIN data. */
+#define QUEC_CI_SIM_MAX_CMD_DATA_SIZE 261
+
+typedef struct
+{
+ uint8_t pin_value[QL_SIM_PIN_LEN_MAX]; /* Value of the PIN */
+}QL_SIM_VERIFY_PIN_INFO;
+
+typedef struct
+{
+ uint8_t old_pin_value[QL_SIM_PIN_LEN_MAX]; /**< Value of the old PIN as a sequence of ASCII characters. */
+ uint8_t new_pin_value[QL_SIM_PIN_LEN_MAX]; /**< Value of the new PIN as a sequence of ASCII characters. */
+}QL_SIM_CHANGE_PIN_INFO;
+
+typedef struct
+{
+ uint8_t puk_value[QL_SIM_PIN_LEN_MAX]; /**< Value of the PUK as a sequence of ASCII characters. */
+ uint8_t new_pin_value[QL_SIM_PIN_LEN_MAX]; /**< Value of the new PIN as a sequence of ASCII characters. */
+}QL_SIM_UNBLOCK_PIN_INFO;
+
+typedef enum
+{
+ QL_SIM_STAT_NOT_INSERTED,
+ QL_SIM_STAT_READY,
+ QL_SIM_STAT_SIM_PIN,
+ QL_SIM_STAT_SIM_PUK,
+ QL_SIM_STAT_PH_SIM_LOCK_PIN,
+ QL_SIM_STAT_PH_SIM_LOCK_PUK,
+ QL_SIM_STAT_PH_FSIM_PIN,
+ QL_SIM_STAT_PH_FSIM_PUK,
+ QL_SIM_STAT_SIM_PIN2,
+ QL_SIM_STAT_SIM_PUK2,
+ QL_SIM_STAT_PH_NET_PIN,
+ QL_SIM_STAT_PH_NET_PUK,
+ QL_SIM_STAT_PH_NET_SUB_PIN,
+ QL_SIM_STAT_PH_NET_SUB_PUK,
+ QL_SIM_STAT_PH_SP_PIN,
+ QL_SIM_STAT_PH_SP_PUK,
+ QL_SIM_STAT_PH_CORP_PIN,
+ QL_SIM_STAT_PH_CORP_PUK,
+ QL_SIM_STAT_BUSY,
+ QL_SIM_STAT_BLOCKED,
+ QL_SIM_STAT_UNKNOWN
+}QL_SIM_CARD_STATE; /**< Card state. */
+typedef enum
+{
+ QL_SIM_CARD_TYPE_UNKNOWN = 0, /**< Unidentified card type. */
+ QL_SIM_CARD_TYPE_ICC = 1, /**< Card of SIM or RUIM type. */
+ QL_SIM_CARD_TYPE_UICC = 2, /**< Card of USIM or CSIM type. */
+}QL_SIM_CARD_TYPE;
+
+typedef enum CI_SIM_PRIM
+{
+ CI_SIM_PRIM_EXECCMD_REQ = 1, /**< \brief Requests to execute a SIM command \details */
+ CI_SIM_PRIM_EXECCMD_CNF, /**< \brief Confirms the request to execute a SIM command \details */
+ CI_SIM_PRIM_DEVICE_IND, /**< \brief Indicates that the current SIM status changed \details */
+ CI_SIM_PRIM_PERSONALIZEME_REQ, /**< \brief Requests that ME personalization be activated, deactivated, disabled, or queried \details */
+ CI_SIM_PRIM_PERSONALIZEME_CNF, /**< \brief Confirms the request to activate, deactivate, disable, or query ME personalization \details */
+ CI_SIM_PRIM_OPERCHV_REQ, /**< \brief Requests that CHVs be verified, enabled, disabled, changed, unblocked, or queried \details */
+ CI_SIM_PRIM_OPERCHV_CNF, /**< \brief Confirms the request to verify, enable, disable, change, unblock, or query CHVs \details */
+ CI_SIM_PRIM_DOWNLOADPROFILE_REQ, /**< \brief Requests a download of the profile that shows ME capabilities relevant to SIM Application Toolkit functionality \details The functionality of this primitive is equivalent to using the SIM command TERMINAL PROFILE in the CI_SIM_PRIM_EXECCMD_REQ primitive.
+ * This primitive saves upper layer effort to build a header for the Terminal Profile SIM command.
+ * If the pProfile pointer is NULL for this request, the communications interface assumes that the application layer does not support
+ * SIM Application Toolkit operations. */
+ CI_SIM_PRIM_DOWNLOADPROFILE_CNF, /**< \brief Confirms the request to download the profile that shows ME capabilities relevant to SIM Application Toolkit functionality \details */
+ CI_SIM_PRIM_ENDATSESSION_IND, /**< \brief \details NOT SUPPORTED REMOVE FROM API */
+ CI_SIM_PRIM_PROACTIVE_CMD_IND, /**< \brief Indicates a SIMAT proactive command \details This primitive forwards the SIMAT proactive command with its original syntax. The primitive CI_SIM_PRIM_ENABLE_SIMAT_INDS_REQ enables and disables proactive command indication. */
+ CI_SIM_PRIM_PROACTIVE_CMD_RSP, /**< \brief Responds to the SIMAT proactive command \details The primitive forwards a SIMAT proactive command response from the entity, such as DISPLAY or TERMINAL, that received the proactive command. */
+ CI_SIM_PRIM_ENVELOPE_CMD_REQ, /**< \brief Requests that an ENVELOPE command be executed \details */
+ CI_SIM_PRIM_ENVELOPE_CMD_CNF, /**< \brief Confirms the request to execute an ENVELOPE command \details */
+ CI_SIM_PRIM_GET_SUBSCRIBER_ID_REQ, /**< \brief Requests the subscriber ID \details */
+ CI_SIM_PRIM_GET_SUBSCRIBER_ID_CNF, /**< \brief Confirms the request for the subscriber ID \details */
+ CI_SIM_PRIM_GET_PIN_STATE_REQ, /**< \brief Requests the current PIN state \details */
+ CI_SIM_PRIM_GET_PIN_STATE_CNF, /**< \brief Confirms the request for the current PIN state \details */
+ CI_SIM_PRIM_GET_TERMINALPROFILE_REQ, /**< \brief Requests the SIMAT terminal profile \details */
+ CI_SIM_PRIM_GET_TERMINALPROFILE_CNF, /**< \brief Confirms the request and returns the SIMAT terminal profile \details */
+ CI_SIM_PRIM_ENABLE_SIMAT_INDS_REQ, /**< \brief Requests that SIMAT related indications, such as the proactive SIM command indication and the SIMAT session ended indication, be enabled or disabled \details */
+ CI_SIM_PRIM_ENABLE_SIMAT_INDS_CNF, /**< \brief Confirms the request to enable or disable SIMAT related indications \details */
+ CI_SIM_PRIM_LOCK_FACILITY_REQ, /**< \brief Requests to lock, unlock, or query SIM-related ME \details */
+ CI_SIM_PRIM_LOCK_FACILITY_CNF, /**< \brief Confirms a request to lock, unlock, or query SIM-related ME \details */
+ CI_SIM_PRIM_GET_FACILITY_CAP_REQ, /**< \brief Requests the bitmask of supported SIM-related facility codes \details */
+ CI_SIM_PRIM_GET_FACILITY_CAP_CNF, /**< \brief Confirms the request for the bitmask of supported SIM-related facility codes \details */
+ CI_SIM_PRIM_GET_SIMAT_NOTIFY_CAP_REQ, /**< \brief Requests SIM Application Toolkit (SIMAT) notification capability information. \details */
+ CI_SIM_PRIM_GET_SIMAT_NOTIFY_CAP_CNF, /**< \brief Confirms the request for SIM Application Toolkit (SIMAT) notification capability information \details */
+ CI_SIM_PRIM_GET_CALL_SETUP_ACK_IND, /**< \brief Indicates that the SIM Application Toolkit (SIMAT) has initiated an outgoing CALL SETUP operation, and requests confirmation/acknowledgment from the mobile user \details The application returns the required acknowledgment in a CI_SIM_PRIM_GET_CALL_SETUP_ACK_RSP response. */
+ CI_SIM_PRIM_GET_CALL_SETUP_ACK_RSP, /**< \brief Responds with an acknowledgment from the mobile user for an outgoing CALL SETUP indication \details The mobile user may accept (allow) or reject (disallow) the SIMAT initiated CALL SETUP operation.
+* If the user allows the CALL SETUP, it proceeds. If the user disallows the CALL SETUP, it is aborted.
+* If the CALL SETUP is allowed to proceed, the MO call progression is managed by the normal call control procedures. See the
+* CI CC Service Group API definition for more information. */
+
+ /* service provider name */
+ CI_SIM_PRIM_GET_SERVICE_PROVIDER_NAME_REQ, /**< \brief Requests the service provider name, as stored on SIM or USIM \details The PIN status is not required to read this information. */
+ CI_SIM_PRIM_GET_SERVICE_PROVIDER_NAME_CNF, /**< \brief Confirms the request to get the service provider name, as stored on SIM or USIM \details The service provider name is coded as 7-bit GSM characters, with the most-significant bit of each character set to zero.
+ * The service provider name pointer is NULL if the result code indicates an error. */
+
+ /* Message Waiting Information */
+ CI_SIM_PRIM_GET_MESSAGE_WAITING_INFO_REQ, /**< \brief Requests to get message waiting information stored on SIM or USIM \details The PIN status is required to read this information. */
+ CI_SIM_PRIM_GET_MESSAGE_WAITING_INFO_CNF, /**< \brief Confirms the request to get message waiting information stored on SIM or USIM \details If the result code indicates an error, the message waiting status information is not useful.
+ * There is a difference between the message categories defined for 2G and 3G SIM storage. This is rationalized by the CCI implementation. */
+ CI_SIM_PRIM_SET_MESSAGE_WAITING_INFO_REQ, /**< \brief Requests to set message waiting information on SIM or USIM \details Requires PIN status to write this information. There is a difference between the message categories defined for 2G and 3G SIM storage. This is rationalized by the CCI implementation. */
+ CI_SIM_PRIM_SET_MESSAGE_WAITING_INFO_CNF, /**< \brief Confirms a request to set the message waiting information on SIM or USIM \details */
+
+ /* SIM Service Table */
+ CI_SIM_PRIM_GET_SIM_SERVICE_TABLE_REQ, /**< \brief Requests to get the SIM Service Table from SIM or USIM \details The PIN status is required to read this information. If CPHS features are not supported by the handset, this information is unavailable. */
+ CI_SIM_PRIM_GET_SIM_SERVICE_TABLE_CNF, /**< \brief Confirms the request to get the SIM Service Table from SIM or USIM \details If CPHS features are not supported by the handset, this information is unavailable. */
+
+ /* CPHS Customer Service Profile */
+ CI_SIM_PRIM_GET_CUSTOMER_SERVICE_PROFILE_REQ, /**< \brief Requests to get the CPHS customer service profile from SIM or USIM \details The PIN status is required to read this information. If CPHS features are not supported by the handset, this information is unavailable. */
+ CI_SIM_PRIM_GET_CUSTOMER_SERVICE_PROFILE_CNF, /**< \brief Confirms the request and returns the CPHS customer service profile from SIM or USIM. \details If CPHS features are not supported by the handset, this information is unavailable. */
+
+ /* Display Alpha and Icon Identifiers */
+ CI_SIM_PRIM_SIMAT_DISPLAY_INFO_IND, /**< \brief Indicates to the application that text and optionally an icon should be displayed.
+ * The text to be displayed results from a SAT transaction such as SS, SMS, USSD, SS, or send DTMF. \details */
+
+ /* Default Language */
+ CI_SIM_PRIM_GET_DEFAULT_LANGUAGE_REQ, /**< \brief Requests the default language stored on the SIM/USIM card \details */
+ CI_SIM_PRIM_GET_DEFAULT_LANGUAGE_CNF, /**< \brief Confirms the request to get the default language stored on the SIM/USIM card and returns the first entry in the EF_LP file \details Extract from ETSI TS 102.221: "the language code is a pair of alphanumeric characters, as defined in ISO 639 [30].
+ * Each alphanumeric character shall be coded on one byte using the SMS default 7-bit coded alphabet as defined in TS 23.038
+ * ("Man-machine Interface (MMI) of the User Equipment", revision 3.4.0, Doc Number 3GPP TS 22.030)
+ * with bit 8 set to 0.". 'FF FF' means undefined default language. */
+
+ /* Generic SIM commands */
+ CI_SIM_PRIM_GENERIC_CMD_REQ, /**< \brief Requests to send a generic command to the SIM/USIM card
+ * \details The request reflects the structure of a SIM application protocol data unit (APDU),
+ * as defined in ETSI 102.221. The 'class of instruction' element is not controlled by the user, comm. use class 0x0 or 0xa depending on the command.
+ * Note that updating a file using this command only updates the file on the SIM; it does not trigger a REFRESH of the ME memory. */
+ CI_SIM_PRIM_GENERIC_CMD_CNF, /**< \brief Confirms a request to send a generic command to the SIM or USIM \details */
+
+ /* Indication of card type, status and PIN state */
+ CI_SIM_PRIM_CARD_IND, /**< \brief Indicates that the current SIM/USIM status changed \details This indication is sent each time CI_SIM_PRIM_DEVICE_IND is sent. */
+
+ CI_SIM_PRIM_IS_EMERGENCY_NUMBER_REQ, /**< \brief Requests to determine if the specified dial number is an emergency call code \details */
+ CI_SIM_PRIM_IS_EMERGENCY_NUMBER_CNF, /**< \brief Confirms the request to determine if the specified number is an emergency call code \details If a SIM card is present, the EF_ECC SIM card file is searched for the specified number. If a SIM card is not present, a default table of possible emergency call codes is searched for the specified number, as per TS 22.101. */
+
+ CI_SIM_PRIM_SIM_OWNED_IND, /**< \brief Indicates whether the SIM is owned
+ * \details This indication is sent each time a SIM-OK notification is received
+ * from the protocol stack and indicates that the SIM card can be accessed. SIM owned is TRUE if the IMSI did not change
+ * since the last SIM-OK notification. */
+ CI_SIM_PRIM_SIM_CHANGED_IND, /**< \brief Indicates whether the IMSI on the current SIM has changed
+ * \details This indication is sent each time a SIM-OK notification is received
+ * from the protocol stack. */
+ CI_SIM_PRIM_DEVICE_STATUS_REQ, /**< \brief Requests SIM status \details */
+ CI_SIM_PRIM_DEVICE_STATUS_CNF, /**< \brief Confirms the request for the current SIM status \details */
+ CI_SIM_PRIM_READ_MEP_CODES_REQ, /**< \brief Requests the MEP codes for a specified category \details This operation does not require a password.*/
+ CI_SIM_PRIM_READ_MEP_CODES_CNF, /**< \brief Confirms the request and returns the MEP codes for the specified category \details */
+ CI_SIM_PRIM_UDP_LOCK_REQ, /**< \brief Requests an activate, deactivate, or query UDP lock \details An operation can be done on only one category at a time. A password is required for an unlock operation. */
+ CI_SIM_PRIM_UDP_LOCK_CNF, /**< \brief Confirms the UDP lock request \details */
+ CI_SIM_PRIM_UDP_CHANGE_PASSWORD_REQ, /**< \brief Requests to set a new password for a UDP lock \details */
+ CI_SIM_PRIM_UDP_CHANGE_PASSWORD_CNF, /**< \brief Confirms the request to set a new password for a UDP lock \details */
+ CI_SIM_PRIM_UDP_ASL_REQ, /**< \brief Requests to manipulate the UDP authorized SIM list \details */
+ CI_SIM_PRIM_UDP_ASL_CNF, /**< \brief Confirms the request to manipulate the UDP authorized SIM list \details */
+/* Michal Bukai - Virtual SIM support - START */
+ CI_SIM_PRIM_SET_VSIM_REQ, /**< \brief Requests to enable virtual SIM
+ * \details Virtual SIM can be enabled if no SIM is inserted.
+ * An error is sent if the user tried to enable virtual SIM while a SIM is inserted.
+ * The application needs to reset the communication subsystem after receiving a confirmation. */
+ CI_SIM_PRIM_SET_VSIM_CNF, /**< \brief Confirms setting virtual SIM
+ * \details Virtual SIM can be enabled if no SIM is inserted.
+ * An error is sent if the user tried to enable virtual SIM while a SIM is inserted.
+ * The application needs to reset the communication subsystem after receiving a confirmation. */
+ CI_SIM_PRIM_GET_VSIM_REQ, /**< \brief Requests the current setting of the virtual SIM (enabled / disabled) \details*/
+ CI_SIM_PRIM_GET_VSIM_CNF, /**< \brief Confirms the request and returns the current setting of the virtual SIM (enabled / disabled) \details*/
+/* Michal Bukai - Virtual SIM support - END */
+/*Michal Bukai - OTA support for AT&T - START*/
+ CI_SIM_PRIM_CHECK_MMI_STATE_IND, /**< \brief \details NOT SUPPORTED REMOVE FROM API */
+ CI_SIM_PRIM_CHECK_MMI_STATE_RSP, /**< \brief \details NOT SUPPORTED REMOVE FROM API */
+/*Michal Bukai - OTA support for AT&T - END*/
+/*Michal Bukai - BT SAP support - START*/
+ CI_SIM_PRIM_BTSAP_CONNECT_REQ, /**< \brief Requests to start a BT SAP session \details */
+ CI_SIM_PRIM_BTSAP_CONNECT_CNF, /**< \brief Confirms the request to start a BT SAP session \details */
+ CI_SIM_PRIM_BTSAP_DISCONNECT_REQ, /**< \brief Requests to disconnect from a BT SAP session \details */
+ CI_SIM_PRIM_BTSAP_DISCONNECT_CNF, /**< \brief Confirms the request to disconnect from a BT SAP session \details */
+ CI_SIM_PRIM_BTSAP_TRANSFER_APDU_REQ, /**< \brief Requests to transfer APDU to the SIM/USIM \details */
+ CI_SIM_PRIM_BTSAP_TRANSFER_APDU_CNF, /**< \brief Confirms the request to transfer APDU to the SIM/USIM and may return a response APDU from the SIM/USIM \details */
+ CI_SIM_PRIM_BTSAP_TRANSFER_ATR_REQ, /**< \brief Requests to get Answer To Reset data from SIM/USIM \details */
+ CI_SIM_PRIM_BTSAP_TRANSFER_ATR_CNF, /**< \brief Confirms the request to get Answer To Reset data from SIM/USIM \details */
+ CI_SIM_PRIM_BTSAP_SIM_CONTROL_REQ, /**< \brief Requests to control SIM/USIM status, this command can be used to power off, power on or reset the SIM/USIM \details */
+ CI_SIM_PRIM_BTSAP_SIM_CONTROL_CNF, /**< \brief Confirms the SIM control request \details */
+ CI_SIM_PRIM_BTSAP_STATUS_IND, /**< \brief indicates a change in the availably of the subscription module during BT SAP connection \details */
+ CI_SIM_PRIM_BTSAP_STATUS_REQ, /**< \brief Requests the subscription module availability status during BT SAP connection \details */
+ CI_SIM_PRIM_BTSAP_STATUS_CNF, /**< \brief Confirms the request and returns the status of the subscription module during BT SAP connection \details */
+ CI_SIM_PRIM_BTSAP_SET_TRANSPORT_PROTOCOL_REQ, /**< \brief Requests to set transport protocol \details */
+ CI_SIM_PRIM_BTSAP_SET_TRANSPORT_PROTOCOL_CNF, /**< \brief Confirms the request to set transport protocol \details */
+/*Michal Bukai - BT SAP support - END*/
+/*Michal Bukai - Add IMSI to MEP code group - START*/
+ CI_SIM_PRIM_MEP_ADD_IMSI_REQ, /**< \brief Requests to add the current IMSI to MEP SIM /USIM code group
+ * \details This operation requires a password.
+ * This operation requires that SIM/USIM personalization is deactivated.*/
+ CI_SIM_PRIM_MEP_ADD_IMSI_CNF, /**< \brief Confirms the request to add the current IMSI to MEP SIM /USIM code group. \details */
+/*Michal Bukai - Add IMSI to MEP code group - END*/
+/*Michal Bukai - SIM Logic CH - NFC\ISIM support - START*/
+ CI_SIM_PRIM_OPEN_LOGICAL_CHANNEL_REQ, /**< \brief Requests to open a logical channel that will be used to access the UICC application identified by DFname. \details The UICC will open a new logical channel; select the application identified by the DFname, and return a session ID that will be used to identify the new channel.*/
+ CI_SIM_PRIM_OPEN_LOGICAL_CHANNEL_CNF, /**< \brief Confirms the request to open a logical channel and returns the session ID. \details */
+ CI_SIM_PRIM_CLOSE_LOGICAL_CHANNEL_REQ, /**< \brief Requests to close a logical channel. \details */
+ CI_SIM_PRIM_CLOSE_LOGICAL_CHANNEL_CNF, /**< \brief Confirms the request to close a logical channel. \details */
+/*Michal Bukai - SIM Logic CH - NFC\ISIM support support - END*/
+/*Michal Bukai - additional SIMAT primitives - START*/
+ CI_SIM_PRIM_SIMAT_CC_STATUS_IND, /**< \brief Indicates the SIM Application Toolkit (SIMAT) call control status response
+ * \details If call control service in SIMAT is activated, all dialled digit strings, supplementary service control strings and USSD strings are passed to the UICC before the call setup request,
+ * the supplementary service operation or the USSD operation is sent to the network.
+ * The SIMAT has the ability to allow, bar or modify the request.
+ * In addition SIMAT has the ability to replace the request by another operation, for instance call request may be replaced by SS or USSD operation.
+ */
+ CI_SIM_PRIM_SIMAT_SEND_CALL_SETUP_RSP_IND, /**< \brief Indicates the response sent to SIM Application Toolkit (SIMAT) after call setup. \details */
+ CI_SIM_PRIM_SIMAT_SEND_SS_USSD_RSP_IND, /**< \brief Indicates the response sent to SIM Application Toolkit (SIMAT) after SS or USSD operation. \details */
+ CI_SIM_PRIM_SIMAT_SM_CONTROL_STATUS_IND, /**< \brief Indicates the SIM Application Toolkit (SIMAT) short message control status response.
+ \details If SM control service in SIMAT is activated, all MO short messages are passed to the UICC before the short message is sent to the network.
+ * The SIMAT has the ability to allow, bar or modify the destination address.
+ */
+ CI_SIM_PRIM_SIMAT_SEND_SM_RSP_IND, /**< \brief Indicates the response sent to SIM Application Toolkit (SIMAT) after SM operation. \details */
+/*Michal Bukai - additional SIMAT primitives - END*/
+
+/*Michal Bukai - RSAP support - START*/
+ CI_SIM_PRIM_RSAP_CONN_REQ_IND, /**< \brief Request to connect to a remote SIM received from the protocol stack \details */
+ CI_SIM_PRIM_RSAP_CONN_REQ_RSP, /**< \Response to protocol stack request to connect to a remote SIM \details */
+ CI_SIM_PRIM_RSAP_STAT_REQ, /**< \brief Request received from a SAP conversion module to update the RSAP card status.
+ * \details This request is actually an indication from a remote SAP conversion module indicating a status change in the remote connection or card status */
+ CI_SIM_PRIM_RSAP_STAT_CNF, /**< \brief Confirms that the update of the remote card status was received by the protocol stack \details */
+ CI_SIM_PRIM_RSAP_DISCONN_REQ_IND, /**< \brief Request to disconnect from a remote SIM received from the protocol stack \details */
+ CI_SIM_PRIM_RSAP_DISCONN_REQ_RSP, /**< \Response to protocol stack request to disconnect from a remote SIM \details */
+ CI_SIM_PRIM_RSAP_GET_ATR_IND, /**< \brief Request to get ATR from a remote SIM received from the protocol stack \details */
+ CI_SIM_PRIM_RSAP_GET_ATR_RSP, /**< \brief Response from a remote SIM with the ATR APDU \details */
+ CI_SIM_PRIM_RSAP_GET_STATUS_REQ_IND, /**< \brief Request from the protocol stack to get the RSAP connection status.
+ * \details The request is answered by CI_SIM_PRIM_RSAP_CONN_STAT_REQ */
+
+ CI_SIM_PRIM_RSAP_SET_TRAN_P_REQ_IND, /**< \brief Request from the protocol stack to change the transport protocol of the remote SIM \details */
+ CI_SIM_PRIM_RSAP_SET_TRAN_P_REQ_RSP, /**< \brief Response to a protocol stack request to change the transport protocol of the remote SIM.
+ * \details If the requested transport protocol is supported by the remote SIM and by the SAP conversion module,
+ * the requested transport protocol is selected and the remote SIM is reset. If the requested transport protocol is not supported,
+ * SIM status is changed to CARD_NOT_ACC. The request is followed by CI_SIM_PRIM_RSAP_CONN_STAT_REQ, which indicates the new remote SIM status.*/
+ CI_SIM_PRIM_RSAP_SIM_CONTROL_REQ_IND, /**< \brief Request from the protocol stack to control the remote SIM status.
+ * \details This command can be used to power off, power on, or reset the remote SIM */
+ CI_SIM_PRIM_RSAP_SIM_CONTROL_REQ_RSP, /**< \brief Response to a protocol stack request to control the remote SIM status.
+ * \details The response is followed by CI_SIM_PRIM_RSAP_CONN_STAT_REQ, which indicates the new status of the remote SIM.*/
+ CI_SIM_PRIM_RSAP_SIM_SELECT_REQ, /**< \brief Request to select the local or remote SIM \details */
+ CI_SIM_PRIM_RSAP_SIM_SELECT_CNF, /**< \brief Confirms the request to select the local or remote SIM \details */
+ CI_SIM_PRIM_RSAP_STATUS_IND, /**< \brief Indicates that the current SIM/USIM status changed during RSAP connection \details */
+ CI_SIM_PRIM_RSAP_TRANSFER_APDU_IND, /**< \brief Request from the protocol stack to transfer APDU to the remote SIM \details */
+ CI_SIM_PRIM_RSAP_TRANSFER_APDU_RSP, /**< \brief Request from the protocol stack to transfer APDU to the remote SIM.
+ * \details A response APDU is returned if the transfer of APDU is successful.*/
+ /*Michal Bukai - RSAP support - END*/
+
+ CI_SIM_PRIM_DEVICE_RSP, /**< \brief Response to CI_SIM_PRIM_DEVICE_RSP.
+ * \details This response is confirms that the CI_SIM_PRIM_DEVICE_RSP has been received and handled. Specially the SIM clock stop level. This indicates the Comm that D2 can be enabled on SIM driver level.*/
+//ICC ID feature
+ CI_SIM_PRIM_ICCID_IND, /**< \brief Indicates the content of the EF-ICCID file. This indication is sent at init. The EF-ICCID can be accessed even if PIN is required.*/
+ CI_SIM_PRIM_GET_ICCID_REQ, /**< \brief Request to get the content of the EF-ICCID file. Can be sent if ICC is ready.
+ * \details Can be sent when the SIM state is CI_SIM_ST_READY or CI_SIM_ST_INSERTED. Otherwise the request will fail.*/
+
+ CI_SIM_PRIM_GET_ICCID_CNF, /**< \brief Confirmation with the ICC id to the request to get the ICC Id.*/
+//ICC ID feature
+ CI_SIM_PRIM_EAP_AUTHENTICATION_REQ, /**< \brief Requests to exchange EAP packets with the UICC. */
+ CI_SIM_PRIM_EAP_AUTHENTICATION_CNF, /**< \brief Confirms the EAP authentication request and returns the authentication response */
+
+ CI_SIM_EAP_RETRIEVE_PARAMETERS_REQ, /**< \brief Requests to retrieve EAP parameters from the UICC. */
+ CI_SIM_EAP_RETRIEVE_PARAMETERS_CNF, /**< \brief Confirms the request to retrieve EAP parameters and returns the contents of the
+ * \elementary file corresponding to requested parameter.*/
+
+ CI_SIM_PRIM_GET_NUM_UICC_APPLICATIONS_REQ,/**< \brief Requests to get number of applications available on the UICC. */
+ CI_SIM_PRIM_GET_NUM_UICC_APPLICATIONS_CNF,/**< \brief Confirms the request to get number of applications available on the UICC. */
+
+ CI_SIM_PRIM_GET_UICC_APPLICATIONS_INFO_REQ, /**< \brief Requests to get list of applications available on the UICC. */
+ CI_SIM_PRIM_GET_UICC_APPLICATIONS_INFO_CNF, /**< \brief Confirms the request to get list of applications available on the UICC. */
+ /* ADD NEW COMMON PRIMITIVES HERE, BEFORE 'CI_SIM_PRIM_LAST_COMMON_PRIM' */
+ /*2013.12.11, added by Xili for CQ00051618, begin*/
+ CI_SIM_PRIM_ISIM_AID_IND, /**< \brief Indicates the content of the ISIM Aid. This indication is sent at init if it had one. */
+ /*2013.12.11, added by Xili for CQ00051618, end*/
+
+ /* Add by jungle for CQ00057999 on 2014-04-02 Begin */
+ CI_SIM_PRIM_APP_PIN_REQ,
+ CI_SIM_PRIM_APP_PIN_CNF,
+ /* Add by jungle for CQ00057999 on 2014-04-02 End*/
+
+ /*2014.05.08, added by Xili for CQ00060947, begin*/
+ CI_SIM_PRIM_ADMIN_DATA_IND,
+ /*2014.05.08, added by Xili for CQ00060947, end*/
+
+ /*2015.03.19, mod by Xili for adding ECC list indication, CQ00088196 begin*/
+ CI_SIM_PRIM_ECC_LIST_IND,
+ /*2015.03.19, mod by Xili for adding ECC list indication, CQ00088196 end*/
+
+ /* Mod by jungle for CQ00089692 on 2015-04-08 Begin */
+ CI_SIM_PRIM_EXEC_LARGE_CMD_CNF,
+ CI_SIM_PRIM_GENERIC_LARGE_CMD_CNF,
+ /* Mod by jungle for CQ00089692 on 2015-04-08 End */
+
+ CI_SIM_PRIM_UPDATE_COUNT_REQ,
+ CI_SIM_PRIM_UPDATE_COUNT_CNF,
+
+ /* END OF COMMON PRIMITIVES LIST */
+ CI_SIM_PRIM_LAST_COMMON_PRIM
+
+ /* The customer specific extension primitives are added starting from
+ * CI_SIM_PRIM_firstCustPrim = CI_SIM_PRIM_LAST_COMMON_PRIM as the first identifier.
+ * The actual primitive names and IDs are defined in the associated
+ * 'ci_sim_cust_xxx.h' file.
+ */
+
+ /* DO NOT ADD ANY MORE PRIMITIVES HERE */
+
+} _QuecCiSimPrim;
+
+typedef struct
+{
+ uint8_t pin1_num_retries; /**< Number of PIN 1 retries. */
+ uint8_t puk1_num_retries; /**< Number of PUK 1 retries. */
+ uint8_t pin2_num_retries; /**< Number of PIN 2 retries. */
+ uint8_t puk2_num_retries; /**< Number of PUK 2 retries. */
+}QL_SIM_CARD_PIN_INFO;
+
+typedef struct
+{
+ QL_SIM_CARD_TYPE card_type; // SIM card type
+ QL_SIM_CARD_STATE card_state; //SIM card state
+ QL_SIM_CARD_PIN_INFO card_pin_info; // PIN info
+}QL_SIM_CARD_STATUS_INFO;
+
+
+#define QL_SIM_DATA_LEN_MAX 255
+typedef struct
+{
+ uint32_t data_len; /**< Must be set to the number of elements in data. */
+ uint8_t data[QL_SIM_DATA_LEN_MAX]; /**< Data retrieved from the card. */
+}QL_SIM_CARD_FILE_DATA;
+
+typedef enum
+{
+ QL_SIM_FILE_TYPE_UNKNOWN = 0,/**< Unknown file type */
+ QL_SIM_FILE_TYPE_TRANSPARENT = 1,/**< File structure consisting of a sequence of bytes. */
+ QL_SIM_FILE_TYPE_CYCLIC = 2,/**< File structure consisting of a sequence of records, each containing the same fixed size in
+ chronological order. Once all the records have been used, the oldest data is overwritten. */
+ QL_SIM_FILE_TYPE_LINEAR_FIXED = 3, /**< File structure consisting of a sequence of records, each containing the same fixed size. */
+}QL_SIM_FILE_TYPE;
+
+typedef enum
+{
+ QL_SIM_FILE_ACCESS_TYPE_ALWAYS =0,
+ QL_SIM_FILE_ACCESS_TYPE_CHV1 =1,
+ QL_SIM_FILE_ACCESS_TYPE_CHV2 =2,
+ QL_SIM_FILE_ACCESS_TYPE_ADM =3,
+}QL_SIM_FILE_ACCESS_TYPE;
+
+typedef enum
+{
+ QL_SIM_FILE_STATUS_INVALID =0,
+ QL_SIM_FILE_STATUS_EFFECTIVE =1,
+}QL_SIM_FILE_STATUS;
+
+typedef struct
+{
+ QL_SIM_FILE_ACCESS_TYPE read_access;
+ QL_SIM_FILE_ACCESS_TYPE update_access;
+}QL_SIM_FILE_ACCESS_INFO;
+
+typedef struct
+{
+ unsigned int id;
+ QL_SIM_FILE_TYPE type; /**< File type: */
+ QL_SIM_FILE_ACCESS_INFO access; /**< File access conditions: */
+ QL_SIM_FILE_STATUS status; /**< File status: */
+ unsigned int size; /**< Size of transparent files.*/
+ unsigned int record_len; /**< Size of each cyclic or linear fixed file record.*/
+ unsigned int record_count; /**< Number of cyclic or linear fixed file records.*/
+}QL_SIM_FILE_INFO;
+
+typedef struct
+{
+ int sw1;
+ int sw2;
+}QL_SIM_FILE_OPERATION_RET;
+
+typedef struct
+{ // when write, if phonenum is empty, it means to delete this item specified by index
+ int index; // the record index in phone book
+ uint8_t username[32]; // username
+ uint8_t phonenum[24]; // Phone number, it can include '+'*/
+}QL_SIM_PHONE_BOOK_RECORD_INFO;
+
+typedef struct
+{
+ int total; //total number of locations
+ int used; //used number of locations
+}QL_SIM_PHONEBOOK_STATE;
+
+#define QL_SIM_PHONE_BOOK_RECORDS_MAX_COUNT 20
+typedef struct
+{
+ int record_count; //the count of record
+ QL_SIM_PHONE_BOOK_RECORD_INFO record[QL_SIM_PHONE_BOOK_RECORDS_MAX_COUNT]; // the list of record
+}QL_SIM_PHONE_BOOK_RECORDS_INFO;
+
+typedef enum
+{
+ QL_SIM_PHONE_BOOK_STORAGE_DC,
+ QL_SIM_PHONE_BOOK_STORAGE_EN,
+ QL_SIM_PHONE_BOOK_STORAGE_FD,
+ QL_SIM_PHONE_BOOK_STORAGE_LD,
+ QL_SIM_PHONE_BOOK_STORAGE_MC,
+ QL_SIM_PHONE_BOOK_STORAGE_ME,
+ QL_SIM_PHONE_BOOK_STORAGE_MT,
+ QL_SIM_PHONE_BOOK_STORAGE_ON,
+ QL_SIM_PHONE_BOOK_STORAGE_RC,
+ QL_SIM_PHONE_BOOK_STORAGE_SM,
+ QL_SIM_PHONE_BOOK_STORAGE_AP,
+ QL_SIM_PHONE_BOOK_STORAGE_MBDN,
+ QL_SIM_PHONE_BOOK_STORAGE_MN,
+ QL_SIM_PHONE_BOOK_STORAGE_SDN,
+ QL_SIM_PHONE_BOOK_STORAGE_ICI,
+ QL_SIM_PHONE_BOOK_STORAGE_OCI,
+}QL_SIM_PHONE_BOOK_STORAGE;
+
+
+
+typedef enum
+{
+ QL_SIM_CARD_STATUS_UPDATE_EVENT = 0, /**< Card status update event. */
+
+}QL_SIM_NFY_MSG_ID;
+
+typedef void (*QL_SIM_CardStatusIndMsgHandlerFunc_t)
+(
+ QL_SIM_NFY_MSG_ID msg_id,
+ void *pv_data,
+ int pv_data_len,
+ void *contextPtr
+);
+
+
+QL_SIM_ERROR_CODE ql_sim_init();
+
+QL_SIM_ERROR_CODE ql_sim_release();
+
+/* Add callback function if anything changed specified by the mask in QL_LOC_Set_Indications*/
+QL_SIM_ERROR_CODE ql_sim_add_event_handler(QL_SIM_CardStatusIndMsgHandlerFunc_t handlerPtr, void* contextPtr);
+
+/*===========================================================================
+
+ FUNCTION: ql_sim_get_imsi
+
+===========================================================================*/
+/*
+ @brief
+ Function sends a command to the modem to retrieve the IMSI (for 3GPP)
+ or IMSI_M (for 3GPP2) from the SIM in ASCII form
+
+ @return
+ void
+*/
+/*=========================================================================*/
+QL_SIM_ERROR_CODE ql_sim_get_imsi
+(
+ uint8_t *imsi, ///< [OUT] IMSI buffer
+ size_t imsiLen ///< [IN] IMSI buffer length
+);
+
+
+/*===========================================================================
+
+ FUNCTION: ql_sim_get_iccid
+
+===========================================================================*/
+/*
+ @brief
+ Function sends a command to the modem to retrieve the ICCID from
+ SIM in ASCII form
+
+ @return
+ QL_SIM_ERROR_CODE
+*/
+/*=========================================================================*/
+QL_SIM_ERROR_CODE ql_sim_get_iccid
+(
+ uint8_t *iccid, ///< [OUT] ICCID
+ size_t iccidLen ///< [IN] ICCID buffer length
+);
+
+
+/*===========================================================================
+
+ FUNCTION: QL_SIM_GetPhoql_sim_get_phonenumberneNumber
+
+===========================================================================*/
+/*
+ @brief
+ Function sends a command to the modem to retrieve the device phone
+ number from MSISDN (for 3GPP) or MDN (for 3GPP2) from the SIM in
+ ASCII form
+
+ @return
+ QL_SIM_ERROR_CODE
+*/
+/*=========================================================================*/
+QL_SIM_ERROR_CODE ql_sim_get_phonenumber
+(
+ uint8_t *phone_num, ///< [OUT] phone number
+ size_t phoneLen ///< [IN] phone number buffer length
+);
+
+/*===========================================================================
+
+ FUNCTION: ql_sim_get_operator_plmn_list
+
+===========================================================================*/
+/*
+ @brief
+ Function sends multiple record based read commands to the modem
+ to retrieve a list of operator preffered PLMN.
+
+ @note
+ Function should only be called for SIM/USIM
+
+ @return
+ QL_SIM_ERROR_CODE
+*/
+/*=========================================================================*/
+QL_SIM_ERROR_CODE ql_sim_get_operator_plmn_list
+(
+ QL_SIM_PREFERRED_OPERATOR_LIST *pt_info ///< [OUT] Preferred operator list
+);
+
+/*===========================================================================
+
+ FUNCTION: ql_sim_verify_pin
+
+===========================================================================*/
+/*
+ @brief
+ Function sends a command to the modem to verify either PIN1 or PIN2
+
+ @return
+ QL_SIM_ERROR_CODE
+*/
+/*=========================================================================*/
+QL_SIM_ERROR_CODE ql_sim_verify_pin
+(
+ QL_SIM_VERIFY_PIN_INFO *pt_info // [IN] PIN/PIN2
+);
+
+
+/*===========================================================================
+
+ FUNCTION: ql_sim_change_pin
+
+===========================================================================*/
+/*
+ @brief
+ Function sends a command to the modem to change the value of
+ either PIN
+
+ @return
+ QL_SIM_ERROR_CODE
+*/
+/*=========================================================================*/
+QL_SIM_ERROR_CODE ql_sim_change_pin
+(
+ QL_SIM_CHANGE_PIN_INFO *pt_info // [IN] PIN
+);
+
+
+/*===========================================================================
+
+ FUNCTION: ql_sim_unblock_pin
+
+===========================================================================*/
+/*
+ @brief
+ Function sends a command to the modem to unblock a PIN1 or PIN2 that
+ has been blocked
+
+ @return
+ QL_SIM_ERROR_CODE
+*/
+/*=========================================================================*/
+QL_SIM_ERROR_CODE ql_sim_unblock_pin
+(
+ QL_SIM_UNBLOCK_PIN_INFO *pt_info // [IN] input PUK/PUK2 and new PIN/PIN2
+);
+
+/*===========================================================================
+
+ FUNCTION: ql_sim_enable_pin
+
+===========================================================================*/
+/*
+ @brief
+ Function sends a command to the modem to enable PIN
+
+ @return
+ QL_SIM_ERROR_CODE
+*/
+/*=========================================================================*/
+QL_SIM_ERROR_CODE ql_sim_enable_pin
+(
+ QL_SIM_VERIFY_PIN_INFO *pt_info // [IN] PIN
+);
+
+/*===========================================================================
+
+ FUNCTION: ql_sim_disable_pin
+
+===========================================================================*/
+/*
+ @brief
+ Function sends a command to the modem to disable PIN
+
+ @return
+ QL_SIM_ERROR_CODE
+*/
+/*=========================================================================*/
+QL_SIM_ERROR_CODE ql_sim_disable_pin
+(
+ QL_SIM_VERIFY_PIN_INFO *pt_info // [IN] PIN
+);
+
+
+/*===========================================================================
+
+ FUNCTION: ql_sim_get_card_status
+
+===========================================================================*/
+/*
+ @brief
+ Function get sim card status informations
+
+ @return
+ QL_SIM_ERROR_CODE
+*/
+/*=========================================================================*/
+QL_SIM_ERROR_CODE ql_sim_get_card_status
+(
+ QL_SIM_CARD_STATUS_INFO *pt_info ///< [OUT] sim card status info output
+);
+
+
+
+/*===========================================================================
+
+ FUNCTION: ql_sim_get_file_info
+
+===========================================================================*/
+/*
+ @brief
+ Function sends a command to the modem to retrieve the file info
+
+ @return
+ QL_SIM_ERROR_CODE
+*/
+/*=========================================================================*/
+QL_SIM_ERROR_CODE ql_sim_get_file_info
+(
+ unsigned int fileid,
+ QL_SIM_FILE_INFO *file_info, // [OUT] output file info
+ QL_SIM_FILE_OPERATION_RET *operation_ret // [OUT] return the operation status code
+);
+
+/*===========================================================================
+
+ FUNCTION: ql_sim_read_file
+
+===========================================================================*/
+/*
+ @brief
+ Function get the data of a EF file.
+
+ @return
+ QL_SIM_ERROR_CODE
+*/
+/*=========================================================================*/
+QL_SIM_ERROR_CODE ql_sim_read_file
+(
+ unsigned int fileid, // EF file id
+ unsigned int index, // the index of record for a record EF file, the offest of date for a transparent EF file.
+ unsigned int data_max_len, // the max length of output data.
+ QL_SIM_CARD_FILE_DATA *file_data, // [OUT] File data
+ QL_SIM_FILE_OPERATION_RET *operation_ret // [OUT] return the operation status code
+);
+
+/*===========================================================================
+
+ FUNCTION: ql_sim_write_file
+
+===========================================================================*/
+/*
+ @brief
+ Function write data to a EF file.
+
+ @return
+ QL_SIM_ERROR_CODE
+*/
+/*=========================================================================*/
+QL_SIM_ERROR_CODE ql_sim_write_file
+(
+ unsigned int fileid, // EF file id
+ int index, // the index of record for a record EF file, the offest of date for a transparent EF file.
+ QL_SIM_CARD_FILE_DATA *file_data, ///< [IN] File data of the specified one by pt_info
+ QL_SIM_FILE_OPERATION_RET *operation_ret // [OUT] return the operation status code
+);
+
+
+/*===========================================================================
+
+ FUNCTION: ql_sim_read_phonebook_record
+
+===========================================================================*/
+/*
+ @brief
+ Function will get the phone book record.
+
+ @return
+ QL_SIM_ERROR_CODE
+*/
+/*=========================================================================*/
+QL_SIM_ERROR_CODE ql_sim_read_phonebook_record
+(
+ QL_SIM_PHONE_BOOK_STORAGE storage, //IN the storage position of the phone book
+ int start_index, // the start index of records, 0: read record by username.
+ int end_index, // the end index of records
+ uint8_t *username, // the username in a record, it is valid when start_index is 0
+ QL_SIM_PHONE_BOOK_RECORDS_INFO *records // the list of records
+);
+
+
+/*===========================================================================
+
+ FUNCTION: ql_sim_write_phonebook_record
+
+===========================================================================*/
+/*
+ @brief
+ Function will write a record to a phone book.
+
+ @return
+ QL_SIM_ERROR_CODE
+*/
+/*=========================================================================*/
+QL_SIM_ERROR_CODE ql_sim_write_phonebook_record
+(
+ QL_SIM_PHONE_BOOK_STORAGE storage, //IN the storage position of the phone book
+ QL_SIM_PHONE_BOOK_RECORD_INFO *record //IN a record
+);
+
+
+/*===========================================================================*/
+/*
+ @brief
+ Function will return the state of currently selected phonebook
+
+ @return
+ QL_SIM_ERROR_CODE
+*/
+/*=========================================================================*/
+QL_SIM_ERROR_CODE ql_sim_get_phonebook_state(QL_SIM_PHONEBOOK_STATE *state);
+
+
+/*===========================================================================*/
+/*
+ @brief
+ Function will request to select the local or remote SIM
+
+ @return
+ QL_SIM_ERROR_CODE
+*/
+/*=========================================================================*/
+QL_SIM_ERROR_CODE ql_sim_select(UINT service, UINT is_remote);
+
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif
diff --git a/mbtk/include/ql/ql_sleep_wakelock.h b/mbtk/include/ql/ql_sleep_wakelock.h
new file mode 100755
index 0000000..e3266d1
--- /dev/null
+++ b/mbtk/include/ql/ql_sleep_wakelock.h
@@ -0,0 +1,31 @@
+#ifndef __QL_SLEEP_WAKELOCK_H__
+#define __QL_SLEEP_WAKELOCK_H__
+#include <stddef.h>
+
+/*
+ * create wakelock, return the file description of the wakelock
+ */
+extern int Ql_SLP_WakeLock_Create(const char *name, size_t len);
+
+/*
+ * lock the wakelock by the file description of the wakelock
+ */
+extern int Ql_SLP_WakeLock_Lock(int fd);
+
+
+/*
+ * unlock the wakelock by the file description of the wakelock
+ */
+extern int Ql_SLP_WakeLock_Unlock(int fd);
+
+/*
+ * destroy the wakelock by the file description of the wakelock
+ */
+extern int Ql_SLP_WakeLock_Destroy(int fd);
+
+/*
+ * Enable/Disable autosleep function
+ */
+extern int Ql_Autosleep_Enable(char enable);
+
+#endif //__QL_SLEEP_WAKELOCK_H__
diff --git a/mbtk/include/ql/ql_sms.h b/mbtk/include/ql/ql_sms.h
new file mode 100755
index 0000000..cf5c872
--- /dev/null
+++ b/mbtk/include/ql/ql_sms.h
@@ -0,0 +1,196 @@
+/*****************************************************************************
+ * Copyright Statement:
+ * --------------------
+ * This software is protected by Copyright and the information contained
+ * herein is confidential. The software may not be copied and the information
+ * contained herein may not be used or disclosed except with the written
+ * permission of Quectel Co., Ltd. 2016
+ *
+ *****************************************************************************/
+/*****************************************************************************
+ *
+ * Filename:
+ * ---------
+ * ql_sms.h
+ *
+ * Project:
+ * --------
+ * OpenLinux
+ *
+ * Description:
+ * ------------
+ * API definition for SMS.
+ *
+ *============================================================================
+ * HISTORY
+ *----------------------------------------------------------------------------
+ * WHO WHEN WHAT
+ *----------------------------------------------------------------------------
+ * Pony.ma 19/09/2019 Create
+ ****************************************************************************/
+
+#ifndef __QL_SMS_H__
+#define __QL_SMS_H__
+
+#include <stdlib.h>
+#include <stdint.h>
+#include <string.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+#define MAX_ADDR_LEN 24
+#define FALSE 0
+#define TRUE 1
+
+#define QL_SMS_MIN_LEN 1
+#define MAX_LONGSMS_SEGMENT 8
+#define MAX_SMS_LENGTH (160*4)
+#define SMS_BUF_LEN (MAX_SMS_LENGTH + 32)
+#define MAX_LONGSMS_LENGTH (160*4*MAX_LONGSMS_SEGMENT)
+#define CI_MAX_COUNT_SMS_OF_SIM 50
+
+
+typedef unsigned char UINT8;
+typedef unsigned short UINT16;
+typedef unsigned int UINT32;
+
+typedef enum{
+ QL_SMS_SUCCESS,
+ QL_SMS_GENERIC_FAILURE,
+ QL_SMS_PRAR_ERROR,
+ QL_GET_RESPONSE_ERROR,
+}QL_SMS_ERROR_CODE;
+
+typedef enum
+{
+ QL_SMS_RECV_EVENT = 0, /**< SMS come event. */
+ QL_SMS_RECV_INDEX_EVENT, /**< SMS come event for index. */
+}QL_SMS_NFY_MSG_ID;
+
+typedef enum
+{
+ QL_SMS_MODE_GSM = 0, //GSM
+ QL_SMS_MODE_UCS2 //UCS2
+}QL_SMS_CODE_MODE;
+
+typedef struct
+{
+ char number[32];
+ char body[280]; // 姣忔潯鏀跺埌鐨勭煭淇¢暱搴︽渶澶т负280
+ char time[32];
+ int body_len;
+ QL_SMS_CODE_MODE code_mode;
+ char *pdu_str;
+}QL_SMS_STATUS_INFO;
+
+typedef struct
+{
+ int item;
+ char *name;
+}ql_sms_item;
+
+typedef void (*QL_SMS_StatusIndMsgHandlerFunc_t)
+ (
+ QL_SMS_NFY_MSG_ID msg_id,
+ void *pv_data,
+ int pv_data_len,
+ void *contextPtr
+ );
+
+typedef enum{
+ QL_SMS_ClientInit = 0,
+ QL_SMS_ClientRelease,
+ //QL_SMS_SendSMS,
+ QL_SMS_DeleteSMS,
+ QL_SMS_SearchSMSTextMessage,
+ QL_SMS_SearchSMSPduMessage,
+ QL_SMS_AddSMSEventHandler,
+ QL_SMS_GetSMSCenterAddress,
+ QL_SMS_SetSMSCenterAddress,
+ QL_SMS_SetSaveLocation,
+ QL_SMS_GetSaveLocation,
+ QL_SMS_SetSMSNotSave,
+ QL_SMS_SetSMSMsgMode,
+ QL_SMS_GetSMSMsgMode,
+ QL_SMS_SetSMSCodeMode,
+ QL_SMS_GetSMSCodeMode,
+ QL_SMS_SetSMSReceiveDealmode,
+ QL_SMS_SendTextSMS,
+ QL_SMS_SendPduSMS,
+ QL_SMS_GetSimNum,
+ QL_SMS_GetIndex,
+ QL_SMS_OptionMax,
+}QL_SMS_OPTION;
+
+typedef struct
+{
+ char mem[5];
+ int cur_num; //current sms numbers
+ int max_nums; //Maximum number of messages that can be stored
+}sms_mem_t;
+
+typedef struct
+{
+ sms_mem_t mem1; //messages to be read and deleted from this memory storage.
+ sms_mem_t mem2; //messages will be written and sent to this memory storage.
+ sms_mem_t mem3; //received messages will be placed in this memory storage if routing to PC is not set.
+}ql_sms_mem_info_t;
+
+typedef struct recvmessage_struct{
+ char num[32];
+ char buf[400];
+ int buflen;
+}recvmessage;
+typedef struct{
+ int storage_index; // 存贮索引
+} ql_sms_recv_index_event_t;
+
+
+typedef struct{
+ int sms_index[CI_MAX_COUNT_SMS_OF_SIM];
+ int count;
+} ql_auto_sms_index;
+
+
+
+
+/* init sms client */
+QL_SMS_ERROR_CODE ql_sms_init();
+/* deinit sms clint */
+QL_SMS_ERROR_CODE ql_sms_release();
+/* send message api */
+//QL_SMS_ERROR_CODE ql_sms_send_msg(uint8_t *destNum,uint8_t *data,size_t dataLen,int sms_type);
+/* get smsc api */
+QL_SMS_ERROR_CODE ql_sms_get_sms_center_address(uint8_t *sms_center_addree);
+/* register sms event header api*/
+QL_SMS_ERROR_CODE ql_sms_add_event_handler(QL_SMS_StatusIndMsgHandlerFunc_t handlerPtr, void* contextPtr);
+/* set smsc api */
+QL_SMS_ERROR_CODE ql_sms_set_sms_center_address(unsigned char *destNum);
+/* delete message api */
+QL_SMS_ERROR_CODE ql_sms_delete_msg(size_t index);
+/* set sms storage api */
+QL_SMS_ERROR_CODE ql_sms_set_sms_pref_storage(size_t location);
+/* set sms not storage api */
+QL_SMS_ERROR_CODE ql_sms_set_sms_desave();
+QL_SMS_ERROR_CODE ql_set_sms_msg_mode(int messagemode);
+QL_SMS_ERROR_CODE ql_get_sms_msg_mode(int *messagemode);
+QL_SMS_ERROR_CODE ql_set_sms_code_mode(char* codemode);
+QL_SMS_ERROR_CODE ql_get_sms_code_mode(char *codemode);
+QL_SMS_ERROR_CODE ql_sms_get_sms_pref_storage(ql_sms_mem_info_t *mem_info);
+//QL_SMS_ERROR_CODE ql_search_sms_message(int index, recvmessage* payload);
+QL_SMS_ERROR_CODE ql_search_sms_text_message(int index, recvmessage* payload);
+QL_SMS_ERROR_CODE ql_search_sms_pdu_message(int index, recvmessage* payload);
+QL_SMS_ERROR_CODE ql_set_sms_recive_dealmode(int dealmode);
+QL_SMS_ERROR_CODE ql_sms_send_pdu_msg(uint8_t *phone_num,uint8_t *data,int sms_type);
+QL_SMS_ERROR_CODE ql_sms_send_text_msg(uint8_t *phone_num,uint8_t *data,int sms_type);
+QL_SMS_ERROR_CODE ql_sms_get_sim_num(uint8_t *sim_num);
+QL_SMS_ERROR_CODE ql_get_sms_index( int *sms_msg_info_ptr,int *smsnum);
+QL_SMS_ERROR_CODE ql_sms_list_sms(int stat, int index, char *data);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif
+
diff --git a/mbtk/include/ql/ql_spi.h b/mbtk/include/ql/ql_spi.h
new file mode 100755
index 0000000..d33660b
--- /dev/null
+++ b/mbtk/include/ql/ql_spi.h
@@ -0,0 +1,79 @@
+/**
+ @file
+ ql_spi.h
+
+ @brief
+ This file provides the definitions for spi driver, and declares the
+ API functions.
+
+*/
+/*============================================================================
+ Copyright (c) 2017 Quectel Wireless Solution, Co., Ltd. All Rights Reserved.
+ Quectel Wireless Solution Proprietary and Confidential.
+ =============================================================================*/
+/*===========================================================================
+
+ EDIT HISTORY FOR MODULE
+
+This section contains comments describing changes made to the module.
+Notice that changes are listed in reverse chronological order.
+
+
+WHEN WHO WHAT, WHERE, WHY
+---------- ------------ ----------------------------------------------------
+2019/08/20 Juson create
+=============================================================================*/
+#ifndef __QL_SPI_H__
+#define __QL_SPI_H__
+
+#define SPI_CPHA 0x01
+#define SPI_CPOL 0x02
+
+typedef enum
+{
+ SPIMODE0 = (0|0),
+ SPIMODE1 = (0|SPI_CPHA),
+ SPIMODE2 = (SPI_CPOL|0),
+ SPIMODE3 = (SPI_CPOL|SPI_CPHA),
+}SPI_MODE;
+
+typedef enum
+{
+ S_6_5M = 6500000,
+ S_13M = 13000000,
+ S_26M = 26000000,
+ S_52M = 50000000,
+}SPI_SPEED;
+
+/**
+ * Function: Ql_SPI_Init
+ * Description: spi init
+ * Parameters: dev_name---device name
+ * mode---spi mode
+ * bits---spi per word
+ * speed---spi transfer clock
+ * Return: spi fd
+ **/
+int Ql_SPI_Init(const char *dev_name, SPI_MODE mode, unsigned char bits, SPI_SPEED speed);
+
+/**
+ * Function: Ql_SPI_DeInit
+ * Description: spi deinit
+ * Parameters: fd---spi fd
+ * Return:
+ */
+int Ql_SPI_DeInit(int fd);
+
+/**
+ * Function: Ql_SPI_Write_Read
+ * Description: spi write read function
+ * Parameters: fd---spi fd
+ * w_buf---write buffer
+ * r_buf---read buffer
+ * len---spi transfer length
+ * Return: 0---transfer success
+ * other---failed
+ **/
+int Ql_SPI_Write_Read(int fd, unsigned char *w_buf, unsigned char *r_buf, unsigned int len);
+
+#endif/* __QL_SPI_H__ */
\ No newline at end of file
diff --git a/mbtk/include/ql/ql_tlv_user.h b/mbtk/include/ql/ql_tlv_user.h
new file mode 100755
index 0000000..a4e710a
--- /dev/null
+++ b/mbtk/include/ql/ql_tlv_user.h
@@ -0,0 +1,38 @@
+/*******************************************************************************
+ *
+ * Filename: ql_tlv_user.h
+ *
+ * Description: flash tlv format param config header file.
+ *
+ * When Who Why
+ * 2019/09/28 juson Creation of file
+ *
+ * Notes:
+ *
+ ******************************************************************************/
+#ifndef __QL_TLV_USER_H__
+#define __QL_TLV_USER_H__
+
+typedef enum {
+ SYS_CONFIG_START = 0,
+ SYS_CONFIG_AP_RSTLEVEL_ID,
+ SYS_CONFIG_MODEM_RSTLEVEL_ID,
+ SYS_CONFIG_RECOVERY_ID,
+ SYS_CONFIG_CONSOLE_LOG_ID,
+ SYS_CONFIG_END,
+}SYS_CFG_ID_E;
+
+/* 128bytes */
+typedef struct ql_tlv_struct {
+ SYS_CFG_ID_E type;
+ unsigned int len;
+ char value[120];
+}ql_tlv_t;
+
+int quectel_tlv_write(SYS_CFG_ID_E param_id, ql_tlv_t tlv_data);
+int quectel_tlv_read(SYS_CFG_ID_E param_id, ql_tlv_t *tlv_data);
+int ql_onoff_console_log(unsigned char onoff_flag);
+
+#endif /* __QL_TLV_USER_H__ */
+
+
diff --git a/mbtk/include/ql/ql_uart.h b/mbtk/include/ql/ql_uart.h
new file mode 100755
index 0000000..3808419
--- /dev/null
+++ b/mbtk/include/ql/ql_uart.h
@@ -0,0 +1,89 @@
+/**
+ @file
+ ql_uart.h
+
+ @brief
+ This file provides the definitions for uart, and declares the
+ API functions.
+
+*/
+/*============================================================================
+ Copyright (c) 2017 Quectel Wireless Solution, Co., Ltd. All Rights Reserved.
+ Quectel Wireless Solution Proprietary and Confidential.
+ =============================================================================*/
+/*===========================================================================
+
+ EDIT HISTORY FOR MODULE
+
+This section contains comments describing changes made to the module.
+Notice that changes are listed in reverse chronological order.
+
+
+WHEN WHO WHAT, WHERE, WHY
+---------- ------------ ----------------------------------------------------
+2019/08/20 Juson create
+=============================================================================*/
+
+#ifndef __QL_UART_H__
+#define __QL_UART_H__
+
+typedef enum {
+ FC_NONE = 0, // None Flow Control
+ FC_RTSCTS, // Hardware Flow Control (rtscts)
+ FC_XONXOFF // Software Flow Control (xon/xoff)
+}Enum_FlowCtrl;
+
+typedef enum {
+ PB_NONE = 0, //none parity check
+ PB_ODD, //odd parity check
+ PB_EVEN //even parity check
+}Enum_ParityBit;
+
+typedef enum {
+ DB_CS5 = 5,
+ DB_CS6 = 6,
+ DB_CS7 = 7,
+ DB_CS8 = 8
+}Enum_DataBit;
+
+typedef enum {
+ SB_1 = 1,
+ SB_2 = 2
+}Enum_StopBit;
+
+typedef enum {
+ B_300 = 300,
+ B_600 = 600,
+ B_1200 = 1200,
+ B_2400 = 2400,
+ B_4800 = 4800,
+ B_9600 = 9600,
+ B_19200 = 19200,
+ B_38400 = 38400,
+ B_57600 = 57600,
+ B_115200 = 115200,
+ B_230400 = 230400,
+ B_460800 = 460800,
+ B_921600 = 921600,
+ B_3000000 = 3000000,
+ B_4000000 = 4000000,
+}Enum_BaudRate;
+
+typedef struct {
+ Enum_BaudRate baudrate;
+ Enum_DataBit databit;
+ Enum_StopBit stopbit;
+ Enum_ParityBit parity;
+ Enum_FlowCtrl flowctrl;
+}ST_UARTDCB;
+
+int Ql_UART_Open(const char* port, Enum_BaudRate baudrate, Enum_FlowCtrl flowctrl);
+int Ql_UART_Read(int fd, char* buf, unsigned int buf_len);
+int Ql_UART_Write(int fd, const char* buf, unsigned int buf_len);
+int Ql_UART_SetDCB(int fd, ST_UARTDCB *dcb);
+int Ql_UART_GetDCB(int fd, ST_UARTDCB *dcb);
+int Ql_UART_IoCtl(int fd, unsigned int cmd, void* pValue);
+int Ql_UART_Close(int fd);
+
+#endif /* __QL_UART_H__ */
+
diff --git a/mbtk/include/ql/ql_vcall.h b/mbtk/include/ql/ql_vcall.h
new file mode 100755
index 0000000..c1b0545
--- /dev/null
+++ b/mbtk/include/ql/ql_vcall.h
@@ -0,0 +1,296 @@
+/**
+ *@file ql_voicecall.h
+ *@date 2017-05-02
+ *@author
+ *@brief
+ */
+
+#ifndef __QL_VCALL_H__
+#define __QL_VCALL_H__
+
+#define QL_QMI_VCALL_ECALL_MSD_MAX_LEN 140
+
+
+//--------------------------------------------------------------------------------------------------
+/**
+ * Reference returned by Start function and used by End function
+ */
+//--------------------------------------------------------------------------------------------------
+//typedef struct QL_VCALL_Call* ST_VCALL_CallRef;
+typedef int ST_VCALL_CallRef;
+
+//--------------------------------------------------------------------------------------------------
+/**
+ * SIM identifiers.
+ *
+ */
+//--------------------------------------------------------------------------------------------------
+typedef enum
+{
+ E_QL_VCALL_EXTERNAL_SLOT_1,
+ E_QL_VCALL_EXTERNAL_SLOT_2,
+ E_QL_VCALL_EMBEDDED,
+ E_QL_VCALL_REMOTE,
+ E_QL_VCALL_ID_MAX
+}E_QL_VCALL_ID_T;
+
+//--------------------------------------------------------------------------------------------------
+/**
+ * Voice call establishment states.
+ */
+//--------------------------------------------------------------------------------------------------
+typedef enum
+{
+ E_QL_VCALL_EVENT_ALERTING = 0,
+ ///< Voice call establishment in progress.
+ ///< Far end is now alerting its user (outgoing call).
+
+ E_QL_VCALL_EVENT_CONNECTED = 1,
+ ///< Call has been established, and is media is active.
+
+ E_QL_VCALL_EVENT_TERMINATED = 2,
+ ///< Call has terminated.
+
+ E_QL_VCALL_EVENT_OFFLINE = 3,
+ ///< NO Service available to try establish a voice call.
+
+ E_QL_VCALL_EVENT_BUSY = 4,
+ ///< Remote party (callee) is busy.
+
+ E_QL_VCALL_EVENT_RESOURCE_BUSY = 5,
+ ///< All local connection resources (lines/channels) are in use.
+
+ E_QL_VCALL_EVENT_CALL_END_FAILED = 6,
+ ///< Call ending failed.
+
+ E_QL_VCALL_EVENT_CALL_ANSWER_FAILED = 7,
+ ///< Call answering failed.
+
+ E_QL_VCALL_EVENT_INCOMING = 8
+ ///< Incoming voice call in progress.
+}E_QL_VCALL_EVENT_T;
+
+
+//--------------------------------------------------------------------------------------------------
+/**
+ * Voice call termination reason.
+ */
+//--------------------------------------------------------------------------------------------------
+typedef enum
+{
+ E_QL_VCALL_TERM_NETWORK_FAIL = 0,
+ ///< Network could not complete the call.
+
+ E_QL_VCALL_TERM_BAD_ADDRESS = 1,
+ ///< Remote address could not be resolved.
+
+ E_QL_VCALL_TERM_BUSY = 2,
+ ///< Caller is currently busy and cannot take the call.
+
+ E_QL_VCALL_TERM_LOCAL_ENDED = 3,
+ ///< Local party ended the call.
+
+ E_QL_VCALL_TERM_REMOTE_ENDED = 4,
+ ///< Remote party ended the call.
+
+ E_QL_VCALL_TERM_UNDEFINED = 5
+ ///< Undefined reason.
+}E_QL_VCALL_TerminationReason_t;
+
+
+//--------------------------------------------------------------------------------------------------
+/**
+ * Reference type used by Add/Remove functions for EVENT 'QL_VCALL_State'
+ */
+//--------------------------------------------------------------------------------------------------
+//typedef struct QL_VCALL_StateHandler* QL_VCALL_StateHandlerRef_t;
+typedef int QL_VCALL_StateHandlerRef_t;
+
+
+typedef enum
+{
+ E_QL_VCALL_DIRECTION_MO = 1,
+ E_QL_VCALL_DIRECTION_MT = 2
+}E_QL_VCALL_DIRECTION_T;
+
+typedef enum
+{
+ E_QL_VCALL_STATE_ORIGINATING = 1, //Origination
+ E_QL_VCALL_STATE_INCOMING, //Incoming
+ E_QL_VCALL_STATE_CONVESATION, //Conversation
+ E_QL_VCALL_STATE_CC_IN_PROGRESS, //Call is originating but waiting for call control to complete
+ E_QL_VCALL_STATE_ALERTING, //Alerting
+ E_QL_VCALL_STATE_HOLD, //Hold
+ E_QL_VCALL_STATE_WAITING, //Waiting
+ E_QL_VCALL_STATE_DISCONNECTING, //Disconnecting
+ E_QL_VCALL_STATE_END, //End
+ E_QL_VCALL_STATE_SETUP, //MT call is in setup state in 3GPP
+}E_QL_VCALL_STATE_T;
+
+typedef enum
+{
+ E_QL_VCALL_TYPE_VOICE = 0, //Voice
+ E_QL_VCALL_TYPE_VOICE_FORCED, //Avoid modem call classification
+ E_QL_VCALL_TYPE_VOICE_IP, //Voice over IP
+ E_QL_VCALL_TYPE_VT, //VideoTelephony call over IP
+ E_QL_VCALL_TYPE_VIDEOSHARE , //Videoshare
+ E_QL_VCALL_TYPE_TEST, //Test call
+ E_QL_VCALL_TYPE_OTAPA, //OTAPA
+ E_QL_VCALL_TYPE_STD_OTASP, //Standard OTASP
+ E_QL_VCALL_TYPE_NON_STD_OTASP, //Nonstandard OTASP
+ E_QL_VCALL_TYPE_EMERGENCY, //Emergency
+ E_QL_VCALL_TYPE_SUPS, //Supplementary Service
+ E_QL_VCALL_TYPE_EMERGENCY_IP, //Emergency VoIP
+ E_QL_VCALL_TYPE_ECALL //eCall
+}E_QL_VCALL_TYPE_T;
+
+typedef struct
+{
+ uint8_t call_id;
+ char PhoneNum[20]; ///Telephone number string.
+ E_QL_VCALL_DIRECTION_T e_direct;
+ E_QL_VCALL_STATE_T e_state;
+ E_QL_VCALL_TYPE_T e_type;
+} vcall_info_t;
+
+typedef enum
+{
+ E_QL_VCALL_ECALL_MANUAL = 5,
+ E_QL_VCALL_ECALL_AUTO = 6
+}E_QL_VCALL_ECALL_CAT_T;
+
+typedef enum
+{
+ E_QL_VCALL_ECALL_TEST = 0x01,
+ E_QL_VCALL_ECALL_EMERGENCY = 0x02,
+ E_QL_VCALL_ECALL_RECONFIG = 0x03,
+}E_QL_VCALL_ECALL_VARIANT_T;
+
+
+//--------------------------------------------------------------------------------------------------
+/**
+ * Handler for voice call state changes.
+ *
+ * @param reference
+ * Event voice call object reference.
+ * @param identifier
+ * Identifier of the remote party
+ * @param event
+ * Voice call event.
+ * @param contextPtr
+ */
+//--------------------------------------------------------------------------------------------------
+typedef void (*QL_VCALL_StateHandlerFunc_t)
+(
+ ST_VCALL_CallRef reference,
+ const char* identifier,
+ E_QL_VCALL_STATE_T event,
+ void* contextPtr
+);
+
+//--------------------------------------------------------------------------------------------------
+/**
+ * Add handler function for EVENT 'QL_VCALL_State'
+ *
+ * This event provides information on voice call state changes
+ */
+//--------------------------------------------------------------------------------------------------
+QL_VCALL_StateHandlerRef_t QL_VCALL_AddStateHandler
+(
+ QL_VCALL_StateHandlerFunc_t handlerPtr,
+ ///< [IN]
+
+ void* contextPtr
+ ///< [IN]
+);
+
+//--------------------------------------------------------------------------------------------------
+/**
+ * Remove handler function for EVENT 'QL_VCALL_State'
+ */
+//--------------------------------------------------------------------------------------------------
+void QL_VCALL_RemoveStateHandler
+(
+ QL_VCALL_StateHandlerRef_t addHandlerRef
+ ///< [IN]
+);
+
+//--------------------------------------------------------------------------------------------------
+/**
+ * Start a voice call.
+ *
+ * @return
+ * - Reference to the voice call (to be used later for releasing the voice call)
+ * - NULL if the voice call could not be processed
+ */
+//--------------------------------------------------------------------------------------------------
+ST_VCALL_CallRef QL_VCALL_Start
+(
+ E_QL_VCALL_ID_T simId,
+ const char* DestinationID
+ ///< [IN] Destination identifier for the voice
+);
+
+//--------------------------------------------------------------------------------------------------
+/**
+ * Release a voice call.
+ *
+ * @return
+ * - E_QL_OK if the end of voice call can be processed.
+ * - E_QL_NOT_FOUND if the voice call object reference is not found.
+ */
+//--------------------------------------------------------------------------------------------------
+int QL_VCALL_End
+(
+ ST_VCALL_CallRef reference
+ ///< [IN] Voice call object reference to hang-up.
+);
+
+
+//--------------------------------------------------------------------------------------------------
+/**
+ * Answer to incoming voice call.
+ *
+ * @return
+ * - E_QL_OK if the incoming voice call can be answered
+ * - E_QL_NOT_FOUND if the incoming voice call object reference is not found.
+ */
+//--------------------------------------------------------------------------------------------------
+int QL_VCALL_Answer
+(
+ ST_VCALL_CallRef reference
+ ///< [IN] Incoming voice call object reference to answer.
+);
+
+//--------------------------------------------------------------------------------------------------
+/**
+ * Get the termination reason of a voice call reference.
+ *
+ * @return
+ * - E_QL_OK if the termination reason is got
+ * - E_QL_NOT_FOUND if the incoming voice call object reference is not found.
+ * - E_QL_FAULT if the voice call is not terminated.
+ */
+//--------------------------------------------------------------------------------------------------
+int QL_VCALL_GetTerminationReason
+(
+ ST_VCALL_CallRef reference,
+ ///< [IN] Voice call object reference to read from.
+
+ E_QL_VCALL_TerminationReason_t* reasonPtr
+ ///< [OUT] Termination reason of the voice call.
+);
+
+
+int QL_VCALL_Ecall(E_QL_VCALL_ID_T simId,
+ char* phone_number,
+ char* ecall_msd,
+ E_QL_VCALL_ECALL_CAT_T emer_cat,
+ E_QL_VCALL_ECALL_VARIANT_T eCallModeType,
+ ST_VCALL_CallRef *reference); //call id
+
+int QL_VCALL_UpdateMsd( const char *msd);
+
+
+#endif // __QL_VCALL_H__
+
diff --git a/mbtk/include/ql/ql_voice.h b/mbtk/include/ql/ql_voice.h
new file mode 100755
index 0000000..7d4e038
--- /dev/null
+++ b/mbtk/include/ql/ql_voice.h
@@ -0,0 +1,201 @@
+/**
+ @file
+ ql_voice.h
+
+ @brief
+ This file provides the definitions for voice, and declares the
+ API functions.
+
+*/
+/*============================================================================
+ Copyright (c) 2017 Quectel Wireless Solution, Co., Ltd. All Rights Reserved.
+ Quectel Wireless Solution Proprietary and Confidential.
+ =============================================================================*/
+/*===========================================================================
+
+ EDIT HISTORY FOR MODULE
+
+This section contains comments describing changes made to the module.
+Notice that changes are listed in reverse chronological order.
+
+
+WHEN WHO WHAT, WHERE, WHY
+---------- ------------ ----------------------------------------------------
+14/11/2019 gunner.yang create
+06/01/2020 pony.made add net_state
+18/02/2020 gale.gao Add API: imsd get, wait status get, voice unhold;
+=============================================================================*/
+
+#ifndef __QL_VOICE_H__
+#define __QL_VOICE_H__
+
+#include <stdlib.h>
+#include <stdint.h>
+#include <string.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+typedef enum
+{
+ QL_VOICE_SUCCESS,
+ QL_VOICE_GENERIC_FAILURE,
+ QL_VOICE_RADIO_NOT_AVAILABLE,
+}QL_VOICE_ERROR_CODE;
+
+typedef enum{
+ GSM = 0,
+ GSM_COMPACT,
+ GSM_wEGPRS,
+ UTRAN,
+ UTRAN_wHSDPA,
+ UTRAN_wHSUPA,
+ UTRAN_wHSDPA_HSUPA,
+ E_UTRAN,
+ UTRAN_HSPA_PLUS,
+}QL_REG_STATE;
+
+typedef enum{
+ REASON_INVALID=-1,
+ REASON_UNCONDITIONAL =0,
+ REASON_DEVICE_BUSY =1,
+ REASON_DEVICE_NO_REPLY =2,
+ REASON_DEVICE_UNREACHABLE =3,
+ REASON_DEVICE_ALL_FORWARDING =4,
+ REASON_DEVICE_ALL_CONDITIONAL =5,
+}QL_VOICE_CALL_FW_REASON;
+
+typedef enum{
+ MODE_DISABLE=0,
+ MODE_ENABLE,
+ MODE_QUERY_STATUS,
+ MODE_REGISTRATION,
+ MODE_ERASURE,
+}QL_VOICE_CALL_FW_MODE;
+
+typedef struct
+{
+ int status;
+ int fw_class;
+ char num[20];
+ int type;
+ char subaddr[20];
+ int satype;
+ int time;
+} ql_voice_call_fw_list_t;
+
+typedef enum {
+ QL_CALL_ACTIVE = 0,
+ QL_CALL_HOLDING = 1,
+ QL_CALL_DIALING = 2, /* MO call only */
+ QL_CALL_ALERTING = 3, /* MO call only */
+ QL_CALL_INCOMING = 4, /* MT call only */
+ QL_CALL_WAITING = 5, /* MT call only */
+ QL_CALL_OFFERING = 6, /*MT call offering (call setup)*/
+ QL_CALL_DISCONNECTING = 7, /*call in disconnect procedure*/
+ QL_CALL_DISCONNECTED = 8, /*call is disconnected*/
+} QL_CallState;
+
+typedef struct
+{
+ int idx; /*call index, identification number*/
+ int dir; /*0: mobile originated(MO) call, 1: mobile terminated(MT) call*/
+ int state; /*define in QL_CallState*/
+ char number[20]; /*string type phone number in format specified by <type>*/
+ int type; /*type of address octet in interger format(refer TS24.008 subclause 10.5.4.7)*/
+}ql_voice_call_item;
+
+typedef struct
+{
+ int count;
+ ql_voice_call_item items[16];
+}ql_voice_call_list_t;
+/*
+ callbackfunction prototype
+*/
+typedef void (*QL_VOICE_EventHandlerFunc_t)(QL_CallState voice_flag, char *number,void *contextPtr);
+
+QL_VOICE_ERROR_CODE ql_voice_call_init ();
+QL_VOICE_ERROR_CODE ql_voice_call_release();
+
+/*
+ Register voice call event.
+ -handlerPtr : user_cb
+ -contextPtr : user_cb_data
+*/
+QL_VOICE_ERROR_CODE ql_voice_call_event_register(QL_VOICE_EventHandlerFunc_t handlerPtr, void* contextPtr);
+
+
+/*
+ Phone call.
+ -call_num : dst phone number
+*/
+QL_VOICE_ERROR_CODE ql_voice_call_start(char* call_num);
+
+
+/*
+ Put through.
+*/
+QL_VOICE_ERROR_CODE ql_voice_call_answer();
+QL_VOICE_ERROR_CODE ql_voice_auto_answer(int seconds);
+
+
+/*
+ Hang up.
+*/
+QL_VOICE_ERROR_CODE ql_voice_call_end();
+
+
+/* dfmf call */
+QL_VOICE_ERROR_CODE ql_voice_call_dtmf(char *dtmf,int duration);
+
+/* get voice net state
+ * Just use in call to judge Volte or CS-vioce
+ * regstate:
+ * 7 -> Volte call
+ * else -> CS call
+*/
+QL_VOICE_ERROR_CODE ql_voice_call_get_regstate(int* regstate);
+
+/* set imsd value
+ 1: open votle
+ 0: close votle
+ */
+QL_VOICE_ERROR_CODE ql_voice_call_set_imsd(int imsd);
+
+/* get imsd value
+ 1: open volte
+ 0: close volte
+ */
+QL_VOICE_ERROR_CODE ql_voice_call_get_imsd(int *imsd);
+
+/* set call wait
+ 0: close
+ 1: open */
+QL_VOICE_ERROR_CODE ql_voice_call_set_wait(int wait);
+
+/* get call wait status
+ 0: close
+ 1: open */
+QL_VOICE_ERROR_CODE ql_voice_call_get_wait(int *wait);
+
+/* hold the voice */
+QL_VOICE_ERROR_CODE ql_voice_call_hold();
+
+/* unhold the voice */
+QL_VOICE_ERROR_CODE ql_voice_call_unhold();
+
+QL_VOICE_ERROR_CODE ql_voice_call_fw_set(QL_VOICE_CALL_FW_REASON reason, QL_VOICE_CALL_FW_MODE mode, char *num);
+
+QL_VOICE_ERROR_CODE ql_voice_call_fw_query(QL_VOICE_CALL_FW_REASON reason, ql_voice_call_fw_list_t *resp_data);
+
+/**
+ * get the current call list, same as AT+CLCC
+*/
+QL_VOICE_ERROR_CODE ql_voice_call_get_current_list(ql_voice_call_list_t *resp_data);
+#ifdef __cplusplus
+}
+#endif
+
+#endif
diff --git a/mbtk/include/ql/ql_wifi.h b/mbtk/include/ql/ql_wifi.h
new file mode 100755
index 0000000..a5f97d7
--- /dev/null
+++ b/mbtk/include/ql/ql_wifi.h
@@ -0,0 +1,652 @@
+/**
+ * @file ql_wifi.h
+ * @brief Quectel Openlinux WiFi public function declarations.
+ *
+ * @note
+ *
+ * @copyright Copyright (c) 2009-2017 @ Quectel Wireless Solutions Co., Ltd.
+ */
+/*================================================================
+ Copyright (c) 2018 Quectel Wireless Solution, Co., Ltd. All Rights Reserved.
+ Quectel Wireless Solution Proprietary and Confidential.
+=================================================================*/
+
+/*=====================================================================
+
+ EDIT HISTORY FOR MODULE
+
+ This section contains comments describing changes made to the module.
+ Notice that changes are listed in reverse chronological order.
+
+ WHEN WHO WHAT, WHERE, WHY
+ ------------ ------- ----------------------------------------
+ 11/20/2011 Paddy Initial creation.
+
+=======================================================================*/
+
+#ifndef __QL_WIFI_H__
+#define __QL_WIFI_H__
+
+#include <stdbool.h>
+#include <netinet/in.h>
+
+#define QL_WIFI_AP_AUTH_OPEN "none"
+#define QL_WIFI_AP_AUTH_WPA_PSK "psk"
+#define QL_WIFI_AP_AUTH_WPA2_PSK "psk2"
+#define QL_WIFI_AP_AUTH_WPA_WPA2_PSK "psk-mixed"
+
+#define QL_WIFI_AP_AUTH_WPA_PAIRWISE_TKIP "tkip"
+#define QL_WIFI_AP_AUTH_WPA_PAIRWISE_AES "aes"
+#define QL_WIFI_AP_AUTH_WPA_PAIRWISE_BOTH "tkip+aes"
+
+#define QL_WIFI_AP_BANDWIDTH_20MHZ "HT20"
+#define QL_WIFI_AP_BANDWIDTH_40MHZ "HT40-"
+#define QL_WIFI_AP_BANDWIDTH_80MHZ "HT40+"
+
+#define QL_WIFI_AP_MODE_80211B "11b"
+#define QL_WIFI_AP_MODE_80211BG "11bg"
+#define QL_WIFI_AP_MODE_80211BGN "11bgn"
+
+
+typedef enum {
+ WIFI_WORK_MODE_E_MIN_ENUM_VAL_V01 = -2147483647, /**< To force a 32 bit signed enum. Do not change or use*/
+ WIFI_WORK_MODE_AP_V01 = 0,
+ WIFI_WORK_MODE_STA_V01 = 1,
+ WIFI_WORK_MODE_AP_STA_V01 = 2,
+ WIFI_WORK_MODE_AP_AP_V01 = 3,
+ WIFI_WORK_MODE_MAX_V01 = 4,
+ WIFI_WORK_MODE_E_MAX_ENUM_VAL_V01 = 2147483647 /**< To force a 32 bit signed enum. Do not change or use*/
+}wifi_work_mode_e_v01;
+
+typedef enum {
+ WIFI_IEEE80211_MODE_E_MIN_ENUM_VAL_V01 = -2147483647, /**< To force a 32 bit signed enum. Do not change or use*/
+ WIFI_MODE_11A_V01 = 0,
+ WIFI_MODE_11AN_V01 = 1,
+ WIFI_MODE_11B_V01 = 2,
+ WIFI_MODE_11BG_V01 = 3,
+ WIFI_MODE_11BGN_V01 = 4,
+ WIFI_MODE_11AC_V01 = 5,
+ WIFI_IEEE80211_MODE_E_MAX_ENUM_VAL_V01 = 2147483647 /**< To force a 32 bit signed enum. Do not change or use*/
+}wifi_ieee80211_mode_e_v01;;
+
+
+
+typedef enum {
+ WIFI_BANDWIDTH_E_MIN_ENUM_VAL_V01 = -2147483647, /**< To force a 32 bit signed enum. Do not change or use*/
+ WIFI_BANDWIDTH_20MHZ_V01 = 0,
+ WIFI_BANDWIDTH_40MHZ_V01 = 1,
+ WIFI_BANDWIDTH_80MHZ_V01 = 2,
+ WIFI_BANDWIDTH_160MHZ_V01 = 3,
+ WIFI_BANDWIDTH_MAX_V01 = 4,
+ WIFI_BANDWIDTH_E_MAX_ENUM_VAL_V01 = 2147483647 /**< To force a 32 bit signed enum. Do not change or use*/
+}wifi_bandwidth_e_v01;
+
+typedef enum {
+ WIFI_AUTH_E_MIN_ENUM_VAL_V01 = -2147483647, /**< To force a 32 bit signed enum. Do not change or use*/
+ WIFI_AUTH_OPEN_V01 = 0,
+ WIFI_AUTH_WEP_V01 = 1,
+ WIFI_AUTH_WPA_PSK_V01 = 2,
+ WIFI_AUTH_WPA2_PSK_V01 = 3,
+ WIFI_AUTH_WPA_WPA2_PSK_BOTH_V01 = 4,
+ WIFI_AUTH_WPA_V01 = 5,
+ WIFI_AUTH_WPA2_V01 = 6,
+ WIFI_AUTH_WPA_WPA2_BOTH_V01 = 7,
+ WIFI_AUTH_WPS_V01 = 8,
+ WIFI_AUTH_E_MAX_ENUM_VAL_V01 = 2147483647 /**< To force a 32 bit signed enum. Do not change or use*/
+}wifi_auth_e_v01;
+/**
+ @}
+ */
+
+/** @addtogroup ql_manager_access_msgr_wifi_qmi_enums
+ @{
+ */
+typedef enum {
+ WIFI_WPA_PAIRWISE_E_MIN_ENUM_VAL_V01 = -2147483647, /**< To force a 32 bit signed enum. Do not change or use*/
+ WIFI_AUTH_WPA_PAIRWISE_TKIP_V01 = 0,
+ WIFI_AUTH_WPA_PAIRWISE_AES_V01 = 1,
+ WIFI_AUTH_WPA_PAIRWISE_BOTH_V01 = 2,
+ WIFI_WPA_PAIRWISE_E_MAX_ENUM_VAL_V01 = 2147483647 /**< To force a 32 bit signed enum. Do not change or use*/
+}wifi_wpa_pairwise_e_v01;
+
+typedef enum {
+ QL_WIFI_EVENT_ENABLE_STATUS = 0,
+ QL_WIFI_EVENT_DISABLE_STATUS,
+ QL_WIFI_EVENT_AP_STATION,
+ QL_WIFI_EVENT_STA_STATUS,
+ QL_WIFI_EVENT_STA_SCAN_DONE,
+} ql_wifi_event_type_e;
+
+typedef enum {
+ QL_WIFI_STATUS_ENABLE = 0,
+ QL_WIFI_STATUS_DISABLE,
+ QL_WIFI_STATUS_ERR_DRIVER,
+ QL_WIFI_STATUS_ERR_SOFTWARE,
+} ql_wifi_status_e;
+
+typedef enum {
+ QL_WIFI_STATION_DISABLE = 0, /* WiFi station is not enable */
+ QL_WIFI_STATION_CONNECTED, /* WiFi station is connected hotspot */
+ QL_WIFI_STATION_DISCONNECTED /* WiFi station is disconnect hotspot */
+} ql_wifi_station_status_e;
+
+typedef struct {
+ ql_wifi_event_type_e id;
+ union {
+ /* the QL_WIFI_ENABLE_STATUS or QL_WIFI_DISABLE_STATUS event */
+ ql_wifi_status_e status;
+ struct {
+ /*
+ * If connected is true, the station is connected wifi hotspot.
+ * If connected is false, the station is disconnected wifi hotspot.
+ */
+ bool connected;
+ unsigned char mac[6];
+ } ap_sta_info;
+ ql_wifi_station_status_e sta_status;
+ };
+} ql_wifi_event_s;
+
+typedef void (*wifi_event_handle)(ql_wifi_event_s *event, void *arg);
+
+typedef enum {
+ QL_WIFI_WORK_MODE_STA = 0, /* WiFi is in STA Mode */
+ QL_WIFI_WORK_MODE_AP0, /* WiFi is in AP Mode */
+ QL_WIFI_WORK_MODE_AP0_STA, /* WiFi is in AP/STA Mode */
+ QL_WIFI_WORK_MODE_AP0_AP1 /* WiFi is in AP/AP Mode */
+} ql_wifi_work_mode_e;
+
+typedef enum {
+ QL_WIFI_AP_INDEX_AP0 = 0, /* Index 0 of AP/AP-STA/AP-AP Mode */
+ QL_WIFI_AP_INDEX_AP1 /* Index 1 of AP/AP-STA/AP-AP Mode */
+} ql_wifi_ap_index_e;
+
+typedef enum {
+ QL_WIFI_MODE_80211B = 0, /* IEEE 802.11b (2.4 GHz) */
+ QL_WIFI_MODE_80211BG, /* IEEE 802.11bg (2.4 GHz) */
+ QL_WIFI_MODE_80211BGN, /* IEEE 802.11bgn (2.4 GHz) */
+ QL_WIFI_MODE_80211A, /* IEEE 802.11a (5 GHz) */
+ QL_WIFI_MODE_80211AN, /* IEEE 802.11an (5 GHz) */
+ QL_WIFI_MODE_80211AC /* IEEE 802.11ac (5 GHz) */
+} ql_wifi_mode_type_e;
+
+typedef enum {
+ QL_WIFI_BANDWIDTH_HT20 = 0,
+ QL_WIFI_BANDWIDTH_HT40,
+ QL_WIFI_BANDWIDTH_HT80
+} ql_wifi_bandwidth_type_e;
+
+typedef enum {
+ QL_WIFI_SSID_HIDE_DISABLE = 0,
+ QL_WIFI_SSID_HIDE_ENABLE,
+} ql_wifi_ssidhide_type_e;
+
+typedef enum {
+ QL_WIFI_AUTH_OPEN = 0, /* Open */
+ QL_WIFI_AUTH_WPA_PSK, /* WPA Personal */
+ QL_WIFI_AUTH_WPA2_PSK, /* WPA2 Personal */
+ QL_WIFI_AUTH_WPA_WPA2_PSK_BOTH, /* WPA&WPA2 Personal */
+} ql_wifi_auth_e;
+
+typedef enum {
+ QL_WIFI_AUTH_WPA_PAIRWISE_AUTO = 0, /* contain TKIP and AES */
+ QL_WIFI_AUTH_WPA_PAIRWISE_TKIP,
+ QL_WIFI_AUTH_WPA_PAIRWISE_AES
+} ql_wifi_auth_wpa_psk_e;
+
+typedef struct {
+ int auth;
+ union {
+ struct {
+ int default_index;
+ char passwd[4][64];
+ } wep;
+
+ struct {
+ short pairwise;
+ char passwd[64];
+ int group_rekey;
+ } wpa_psk;
+ };
+} ql_wifi_ap_auth_s;
+
+
+typedef enum {
+ WIFI_IDX_AP_0 = 1,
+ WIFI_IDX_AP_1,
+ WIFI_IDX_STA_0
+} wifi_index_e;
+
+typedef enum {
+ WIFI_WORK_MODE_AP = 0,
+ WIFI_WORK_MODE_STA,
+ WIFI_WORK_MODE_AP_STA,
+ WIFI_WORK_MODE_AP_AP,
+ WIFI_WORK_MODE_MAX
+} wifi_work_mode_e;
+
+typedef enum {
+ WIFI_START = 0,
+ WIFI_STOP,
+ WIFI_RESTART,
+} wifi_active_e;
+
+typedef enum {
+ WIFI_MODE_11A = 0,
+ WIFI_MODE_11AN,
+ WIFI_MODE_11B,
+ WIFI_MODE_11BG,
+ WIFI_MODE_11BGN,
+ WIFI_MODE_11AC
+} wifi_ieee80211_mode_e;
+
+typedef enum {
+ WIFI_BANDWIDTH_20MHZ = 0,
+ WIFI_BANDWIDTH_40MHZ,
+ WIFI_BANDWIDTH_80MHZ,
+ WIFI_BANDWIDTH_160MHZ,
+ WIFI_BANDWIDTH_MAX,
+} wifi_bandwidth_e;
+
+typedef enum {
+ WIFI_AUTH_OPEN = 0,
+ WIFI_AUTH_WEP,
+ WIFI_AUTH_WPA_PSK,
+ WIFI_AUTH_WPA2_PSK,
+ WIFI_AUTH_WPA_WPA2_PSK_BOTH,
+ WIFI_AUTH_WPA,
+ WIFI_AUTH_WPA2,
+ WIFI_AUTH_WPA_WPA2_BOTH,
+ WIFI_AUTH_WPS
+} wifi_auth_e;
+
+typedef enum {
+ WIFI_AUTH_WPA_PAIRWISE_TKIP = 0,
+ WIFI_AUTH_WPA_PAIRWISE_AES,
+ WIFI_AUTH_WPA_PAIRWISE_BOTH
+} wifi_wpa_pairwise_e;
+
+typedef enum {
+ WIFI_SSID_HIDE_DISABLE = 0,
+ WIFI_SSID_HIDE_ENABLE
+} wifi_ssid_hide_state_e;
+
+
+struct _auth {
+ unsigned char auth;
+ struct {
+ unsigned char pairwise;
+ unsigned char group_rekey;
+ unsigned char passwd[64];
+ } wpa_psk;
+
+};
+
+
+typedef enum {
+ WIFI_INDEX_E_MIN_ENUM_VAL_V01 = -2147483647, /**< To force a 32 bit signed enum. Do not change or use*/
+ WIFI_IDX_AP_0_V01 = 1,
+ WIFI_IDX_AP_1_V01 = 2,
+ WIFI_IDX_STA_0_V01 = 3,
+ WIFI_INDEX_E_MAX_ENUM_VAL_V01 = 2147483647 /**< To force a 32 bit signed enum. Do not change or use*/
+}wifi_index_e_v01;
+
+typedef enum {
+ RTK_WIFI_IEEE80211_MODE_E_MIN_ENUM_VAL_V01 = -2147483647, /**< To force a 32 bit signed enum. Do not change or use*/
+ RTK_WIFI_WORKMODE_11B_V01 = 1,
+ RTK_WIFI_WORKMODE_11BG_V01 = 3,
+ RTK_WIFI_WORKMODE_11BGN_V01 = 11,
+ RTK_WIFI_IEEE80211_MODE_E_MAX_ENUM_VAL_V01 = 2147483647 /**< To force a 32 bit signed enum. Do not change or use*/
+}rtk_wifi_ieee80211_mode_e_v01;
+
+typedef enum {
+ QL_WIFI_AUTH_OPEN_V01 = 0, /* Open */
+ QL_WIFI_SHARED_KEY, /* Shared key */
+ QL_WIFI_AUTO /* Auto */
+} ql_wifi_auth_type_e;
+
+typedef enum {
+ QL_WIFI_ENCRYPT_TKIP = 2, /* TKIP */
+ QL_WIFI_ENCRYPT_AES = 8, /* AES */
+ QL_WIFI_ENCRYPT_TKIP_AES_MIXED = 10 /* TKIP & AES MIXED */
+} ql_wifi_encrypt_mode_e;
+
+typedef enum {
+ QL_WIFI_PSK_DISABLE = 0, /* Encrypt disable */
+ QL_WIFI_PSK_WPA, /* WPA */
+ QL_WIFI_PSK_WPA2, /* WPA2 */
+ QL_WIFI_PSK_WPA_WPA2, /* WPA-WPA2 */
+} ql_wifi_psk_enable_e;
+
+
+
+#define QL_WIFI_MAX_STA_NUM 16
+
+ struct ql_mgmt_client_wifi_work_mode {
+ /*
+ * WiFi work mode support AP, STA, AP+STA, AP-AP
+ */
+ wifi_work_mode_e work_mode;
+ };
+
+ struct ql_mgmt_client_wifi_enable {
+ bool state;
+ };
+
+ struct ql_mgmt_client_wifi_country_code {
+ char country_code[2];
+ };
+
+ struct ql_mgmt_client_wifi_mode {
+ wifi_index_e id;
+ wifi_ieee80211_mode_e mode;
+ };
+
+ struct ql_mgmt_client_wifi_channel {
+ wifi_index_e id;
+ int channel;
+ };
+
+ struct ql_mgmt_client_wifi_essid {
+ wifi_index_e id;
+ char ssid[32];
+ };
+
+ struct ql_mgmt_client_wifi_ssid_hide {
+ wifi_index_e id;
+ wifi_ssid_hide_state_e state;
+ };
+
+ struct ql_mgmt_client_wifi_bandwidth {
+ wifi_index_e id;
+ wifi_bandwidth_e bandwidth;
+ };
+
+ struct ql_mgmt_client_wifi_max_sta {
+ wifi_index_e id;
+ int num;
+ };
+
+
+ struct ql_mgmt_client_wifi_active {
+ wifi_index_e_v01 id;
+ unsigned char action_type;
+ };
+
+ struct ql_mgmt_client_wifi_auth {
+ wifi_index_e id;
+ wifi_auth_e auth;
+ union {
+ struct {
+ int default_index;
+ char password[4][64];
+ } wep;
+ struct {
+ wifi_wpa_pairwise_e pairwise;
+ char password[64];
+ int group_rekey;
+ } wpa_psk;
+ };
+ };
+
+ struct ql_mgmt_client_wifi_rssi {
+ wifi_index_e id;
+ int rssi;
+ };
+
+ struct ql_mgmt_client_wifi_sta_info {
+ int count;
+ struct {
+ int ip;
+ char mac[6];
+ char hostname[32];
+ char ssid[32];
+ int uptime;
+ long long tx_bytes;
+ long long rx_bytes;
+ } sta[QL_WIFI_MAX_STA_NUM];
+ };
+ typedef struct{
+ struct ql_mgmt_client_wifi_enable enable;
+
+
+ }ql_mgmt_client_wifi_s_test;
+
+ typedef struct {
+ union {
+ struct ql_mgmt_client_wifi_work_mode work_mode;
+ struct ql_mgmt_client_wifi_enable enable;
+ struct ql_mgmt_client_wifi_country_code country_code;
+ struct ql_mgmt_client_wifi_mode mode;
+ struct ql_mgmt_client_wifi_channel channel;
+ struct ql_mgmt_client_wifi_essid ssid;
+ struct ql_mgmt_client_wifi_ssid_hide ssid_hide;
+ struct ql_mgmt_client_wifi_bandwidth bandwidth;
+ struct ql_mgmt_client_wifi_max_sta max_sta;
+ struct ql_mgmt_client_wifi_active active;
+ struct ql_mgmt_client_wifi_auth auth;
+ struct ql_mgmt_client_wifi_rssi rssi;
+ struct ql_mgmt_client_wifi_sta_info sta_info;
+ };
+ } ql_mgmt_client_wifi_s;
+
+
+extern int ql_wifi_enable(void);
+
+/**
+ * Disables the WLAN. This function removes the kernel module for the Wi-Fi driver.
+ *
+ * @param None
+ *
+ * @return
+ * On success, 0 is returned. On error, -1 is returned.
+ *
+ */
+extern int ql_wifi_disable(void);
+
+/**
+ * Create thread to enables the WLAN. This function enables the WLAN based on the hostpad or wpa_supplicant
+ * configuration provided. This function inserts the WLAN kernel module and advertises the SSID.
+ *
+ * @param None
+ *
+ * @return
+ * On success, 0 is returned. On error, -1 is returned.
+ *
+ */
+
+
+extern int ql_wifi_status_get(ql_wifi_status_e *status);
+
+/**
+ * Set the WiFi configuration: WiFi work mode configuration.
+ *
+ * @param [in] WiFi work mode
+ *
+ * @return
+ * On success, 0 is returned. On error, -1 is returned.
+ *
+ * @dependencies
+ * ql_wifi_disable is must be disable
+ *
+ */
+
+extern int ql_wifi_ap_ssid_set(ql_wifi_ap_index_e idx, char *ssid);
+
+/**
+ * Get the WiFi configuration: the hotspot ssid mode configuration.
+ *
+ * @param [in] Index of AP mode
+ * @param [out] the hotspot ssid name
+ *
+ * @return
+ * On success, 0 is returned. On error, -1 is returned.
+ *
+ */
+extern int ql_wifi_ap_ssid_get(ql_wifi_ap_index_e idx, char *ssid);
+
+/**
+ * Set the WiFi configuration: hidden hotspot configuration.
+ *
+ * @param [in] Index of AP mode
+ * @param [in] If set true, hidden hotspot
+ * If set false, open hotspot
+ *
+ * @return
+ * On success, 0 is returned. On error, -1 is returned.
+ *
+ */
+extern int ql_wifi_ap_ssid_hide_set(ql_wifi_ap_index_e idx, bool hide);
+
+/**
+ * Get the WiFi configuration: hidden hotspot configuration.
+ *
+ * @param [in] Index of AP mode
+ * @param [in] Get the hotspot hidden status
+ *
+ * @return
+ * On success, 0 is returned. On error, -1 is returned.
+ *
+ */
+extern int ql_wifi_ap_ssid_hide_get(ql_wifi_ap_index_e idx, bool *hide);
+
+/**
+ * Set the WiFi configuration: Operation mode configuration, such as 802.11a/b/n/ac.
+ *
+ * @param [in] Index of AP mode
+ * @param [in] Operation mode
+ *
+ * @return
+ * On success, 0 is returned. On error, -1 is returned.
+ *
+ */
+extern int ql_wifi_ap_mode_set(ql_wifi_ap_index_e idx, ql_wifi_mode_type_e mode);
+
+/**
+ * Get the WiFi configuration: Operation mode configuration, such as 802.11a/b/n/ac.
+ *
+ * @param [in] Index of AP mode
+ * @param [out] Operation mode
+ *
+ * @return
+ * On success, 0 is returned. On error, -1 is returned.
+ *
+ */
+extern int ql_wifi_ap_mode_get(ql_wifi_ap_index_e idx, ql_wifi_mode_type_e *mode);
+
+/**
+ * Set the WiFi configuration: HT or VHT capabilities (20MHz, 40MHz, 80MHz).
+ *
+ * @param [in] Index of AP mode
+ * @param [in] Bandwidth
+ *
+ * @return
+ * On success, 0 is returned. On error, -1 is returned.
+ *
+ * @dependencies
+ * The WiFi Operation mode must be set 802.11bgn/802.11an/802.11ac.
+ */
+extern int ql_wifi_ap_bandwidth_set(ql_wifi_ap_index_e idx, ql_wifi_bandwidth_type_e bandwidth);
+
+/**
+ * Get the WiFi configuration: HT or VHT capabilities (20MHz, 40MHz, 80MHz).
+ *
+ * @param [in] Index of AP mode
+ * @param [Out] Bandwidth
+ *
+ * @return
+ * On success, 0 is returned. On error, -1 is returned.
+ *
+ * @dependencies
+ * The WiFi Operation mode must be set 802.11bgn/802.11an/802.11ac.
+ */
+extern int ql_wifi_ap_bandwidth_get(ql_wifi_ap_index_e idx, ql_wifi_bandwidth_type_e *bandwidth);
+
+/**
+ * Set the WiFi configuration: channel number configuration.
+ *
+ * @param [in] Index of AP mode
+ * @param [in] Channel number
+ *
+ * @return
+ * On success, 0 is returned. On error, -1 is returned.
+ *
+ * @dependencies
+ * 1. if WiFi set 2.4GHz, the channel list:
+ * 0/1/2/3/4/5/6/7/8/9/10/11/12/13/14
+ * 2. if WiFi set 5GHz, the channel list:
+ * 36/40/44/48/52/56/60/64/100/104/108/112/116/120/124/128/132/136/140/144/149/153/157/161/165/175/181
+ */
+extern int ql_wifi_ap_channel_set(ql_wifi_ap_index_e idx, int channel);
+
+/**
+ * Get the WiFi configuration: channel number configuration.
+ *
+ * @param [in] Index of AP mode
+ * @param [out] Channel number
+ *
+ * @return
+ * On success, 0 is returned. On error, -1 is returned.
+ *
+ * @dependencies
+ * 1. if WiFi set 2.4GHz, the channel list:
+ * 0/1/2/3/4/5/6/7/8/9/10/11/12/13/14
+ * 2. if WiFi set 5GHz, the channel list:
+ * 36/40/44/48/52/56/60/64/100/104/108/112/116/120/124/128/132/136/140/144/149/153/157/161/165/175/181
+ */
+extern int ql_wifi_ap_channel_get(ql_wifi_ap_index_e idx, int *channel);
+
+/**
+ * Set the WiFi configuration: IEEE 802.11 specifies two authentication algorithms and WPA/IEEE 802.11i configuration.
+ *
+ * @param [in] Index of AP mode
+ * @param [in] authentication configuration
+ *
+ * @return
+ * On success, 0 is returned. On error, -1 is returned.
+ *
+ */
+extern int ql_wifi_ap_auth_set(ql_wifi_ap_index_e idx, ql_wifi_ap_auth_s *auth);
+
+/**
+ * Get the WiFi configuration: IEEE 802.11 specifies two authentication algorithms and WPA/IEEE 802.11i configuration.
+ *
+ * @param [in] Index of AP mode
+ * @param [out] authentication configuration
+ *
+ * @return
+ * On success, 0 is returned. On error, -1 is returned.
+ *
+ */
+extern int ql_wifi_ap_auth_get(ql_wifi_ap_index_e idx, ql_wifi_ap_auth_s *auth);
+
+/**
+ * Set the WiFi configuration: Maximum number of stations allowed in station table.
+ *
+ * @param [in] Index of AP mode
+ * @param [in] Maximum number of stations
+ *
+ * @return
+ * On success, 0 is returned. On error, -1 is returned.
+ *
+ */
+extern int ql_wifi_ap_max_sta_set(ql_wifi_ap_index_e idx, int max_sta_num);
+
+/**
+ * Get the WiFi configuration: Maximum number of stations allowed in station table.
+ *
+ * @param [in] Index of AP mode
+ * @param [out] Maximum number of stations
+ *
+ * @return
+ * On success, 0 is returned. On error, -1 is returned.
+ *
+ */
+extern int ql_wifi_ap_max_sta_get(ql_wifi_ap_index_e idx, int *max_sta_num);
+
+extern int ql_wifi_set_to_ap(ql_wifi_ap_index_e idx);
+
+extern int ql_wifi_set_to_sta(ql_wifi_ap_index_e idx);
+
+#endif /* end of __QL_WIFI_H__ */
+
diff --git a/mbtk/libgsw_lib/Makefile b/mbtk/libgsw_lib/Makefile
new file mode 100755
index 0000000..edeb244
--- /dev/null
+++ b/mbtk/libgsw_lib/Makefile
@@ -0,0 +1,55 @@
+BUILD_ROOT = $(shell pwd)/..
+include $(BUILD_ROOT)/Make.defines
+INSTALL_DIR := $(BUILD_ROOT)/../mbtk/rootfs/lib
+
+LOCAL_PATH=$(BUILD_ROOT)/libgsw_lib
+
+INC_DIR += \
+ -I$(LOCAL_PATH)
+
+LIB_DIR +=
+
+LIBS += -lmbtk_lib -llog -ldl
+
+CFLAGS += -shared -Wl,-shared,-Bsymbolic
+
+DEFINE +=
+
+MY_FILES_PATH:=$(LOCAL_PATH)
+#ifeq ($(CONFIG_MBTK_QL_SUPPORT),y)
+#MY_FILES_PATH += $(LOCAL_PATH)/ql
+#endif
+
+#ifeq ($(CONFIG_MBTK_PLATFORM),linux)
+#MY_FILES_PATH += $(LOCAL_PATH)/platform/linux
+#endif
+
+MY_FILES_SUFFIX:=%.c %.cpp
+My_All_Files := $(foreach src_path,$(MY_FILES_PATH), $(shell find "$(src_path)" -type f))
+MY_SRC_LIST := $(filter $(MY_FILES_SUFFIX),$(My_All_Files))
+MY_SRC_LIST := $(MY_SRC_LIST:$(LOCAL_PATH)/%=%)
+LOCAL_SRC_FILES += $(MY_SRC_LIST)
+$(info LOCAL_SRC_FILES = $(LOCAL_SRC_FILES))
+OBJS = $(patsubst %.c, %.o, $(patsubst %.cpp, %.o, $(LOCAL_SRC_FILES)))
+$(info OBJS = $(OBJS))
+
+dtarget := $(OUT_DIR)/lib/libgsw_lib.so
+
+all: $(dtarget) install
+
+$(dtarget): $(OBJS)
+ $(CC) $(CFLAGS) $(LIB_DIR) $(LIBS) $(OBJS) -o $@
+
+install:
+ cp $(dtarget) $(INSTALL_DIR)
+ @echo "Installed $(dtarget) to $(INSTALL_DIR)"
+
+%.o:%.c
+ $(CC) $(CFLAGS) $(INC_DIR) $(DEFINE) -c $< -o $@
+
+%.o:%.cpp
+ $(CC) $(CFLAGS) $(INC_DIR) $(DEFINE) -c $< -o $@
+
+clean:
+ rm -f $(OBJS) $(dtarget)
+
diff --git a/mbtk/libgsw_lib/gsw_at.c b/mbtk/libgsw_lib/gsw_at.c
new file mode 100755
index 0000000..fa34eda
--- /dev/null
+++ b/mbtk/libgsw_lib/gsw_at.c
@@ -0,0 +1,342 @@
+#include <sys/types.h>
+#include <sys/socket.h>
+#include <sys/un.h>
+#include <unistd.h>
+#include <arpa/inet.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <signal.h>
+#include <string.h>
+#include <pthread.h>
+#include <fcntl.h>
+#include <errno.h>
+#include <stdint.h>
+#include <dlfcn.h>
+#include <stdbool.h>
+#include "gsw_at.h"
+
+#ifndef LOG_ERR_LEVEL
+#define LOG_ERR_LEVEL 3 /* error conditions */
+#endif
+#ifndef LOG_WARN_LEVEL
+#define LOG_WARN_LEVEL 4 /* warning conditions */
+#endif
+#ifndef LOG_INFO_LEVEL
+#define LOG_INFO_LEVEL 6 /* informational */
+#endif
+#ifndef LOG_DEBUG_LEVEL
+#define LOG_DEBUG_LEVEL 7 /* debug-level messages */
+#endif
+#ifndef LOG_VERBOSE_LEVEL
+#define LOG_VERBOSE_LEVEL 8
+#endif
+
+#define LOGV(fmt, args ...) \
+ do{ \
+ char *file_ptr_1001 = __FILE__; \
+ char *ptr_1001 = file_ptr_1001 + strlen(file_ptr_1001) - 1; \
+ char line_1001[10] = {0}; \
+ sprintf(line_1001, "%d", __LINE__); \
+ while(ptr_1001 >= file_ptr_1001 && *ptr_1001){ \
+ if(*ptr_1001 == '/') \
+ break; \
+ ptr_1001--; \
+ } \
+ fun_ptr_log(LOG_VERBOSE_LEVEL, "%s#%s: " fmt, ptr_1001 + 1, line_1001, ##args); \
+ } while(0)
+
+#define LOGI(fmt, args...) \
+ do{ \
+ char *file_ptr_1001 = __FILE__; \
+ char *ptr_1001 = file_ptr_1001 + strlen(file_ptr_1001) - 1; \
+ char line_1001[10] = {0}; \
+ sprintf(line_1001, "%d", __LINE__); \
+ while(ptr_1001 >= file_ptr_1001 && *ptr_1001){ \
+ if(*ptr_1001 == '/') \
+ break; \
+ ptr_1001--; \
+ } \
+ fun_ptr_log(LOG_INFO_LEVEL, "%s#%s: " fmt, ptr_1001 + 1, line_1001, ##args); \
+ } while(0)
+
+#define LOGD(fmt, args...) \
+ do{ \
+ char *file_ptr_1001 = __FILE__; \
+ char *ptr_1001 = file_ptr_1001 + strlen(file_ptr_1001) - 1; \
+ char line_1001[10] = {0}; \
+ sprintf(line_1001, "%d", __LINE__); \
+ while(ptr_1001 >= file_ptr_1001 && *ptr_1001){ \
+ if(*ptr_1001 == '/') \
+ break; \
+ ptr_1001--; \
+ } \
+ fun_ptr_log(LOG_DEBUG_LEVEL, "%s#%s: " fmt, ptr_1001 + 1, line_1001, ##args); \
+ } while(0)
+
+#define LOGW(fmt, args...) \
+ do{ \
+ char *file_ptr_1001 = __FILE__; \
+ char *ptr_1001 = file_ptr_1001 + strlen(file_ptr_1001) - 1; \
+ char line_1001[10] = {0}; \
+ sprintf(line_1001, "%d", __LINE__); \
+ while(ptr_1001 >= file_ptr_1001 && *ptr_1001){ \
+ if(*ptr_1001 == '/') \
+ break; \
+ ptr_1001--; \
+ } \
+ fun_ptr_log(LOG_WARN_LEVEL, "%s#%s: " fmt, ptr_1001 + 1, line_1001, ##args); \
+ } while(0)
+
+#define LOGE(fmt, args...) \
+ do{ \
+ char *file_ptr_1001 = __FILE__; \
+ char *ptr_1001 = file_ptr_1001 + strlen(file_ptr_1001) - 1; \
+ char line_1001[10] = {0}; \
+ sprintf(line_1001, "%d", __LINE__); \
+ while(ptr_1001 >= file_ptr_1001 && *ptr_1001){ \
+ if(*ptr_1001 == '/') \
+ break; \
+ ptr_1001--; \
+ } \
+ fun_ptr_log(LOG_ERR_LEVEL, "%s#%s: " fmt, ptr_1001 + 1, line_1001, ##args); \
+ } while(0)
+
+
+#define GSW_HAL_SUCCESS 0
+#define GSW_HAL_FAIL -1 //表示失败(通用性)
+#define GSW_HAL_MEM_INVAILD -2 //表示入参地址为NULL
+
+#define OUT_MAX_SIZE 1024
+#define LINE __LINE__
+#define FUNC __FUNCTION__
+#define AT_EXTERSION_SOCKET_NAME "/tmp/atcmdext"
+#define SOCKET_ZERO 0
+#define SOCKET_SUCC 1
+#define SOCKET_FAIL -1
+
+typedef void (*mbtk_log)(int level, const char *format,...);
+typedef enum
+{
+ A_SUCCESS = 0,
+ A_ERROR = -1
+}LYNQ_AT_E;
+
+static mbtk_log fun_ptr_log = NULL;
+void *dlHandle_at = NULL;
+char *lynqLib_at = "/lib/libmbtk_lib.so";
+char *output = NULL;
+int sockfd = 0;
+int result = A_SUCCESS;
+char buffer_at[OUT_MAX_SIZE] = {0};
+struct sockaddr_in addr_serv;
+struct sockaddr_un addr_server;
+AT_CALLBACK tmp = NULL;
+static pthread_mutex_t s_startupMutex = PTHREAD_MUTEX_INITIALIZER;
+socklen_t len;
+bool connect_state = false;
+
+
+int socket_local_client (char* name) {
+ LOGD("[%d][%s] enter",LINE,FUNC);
+ sockfd = socket(AF_UNIX, SOCK_STREAM, 0);
+ if (sockfd < 0)
+ {
+ LOGD("Can't open stream socket (%s)", name);
+ return -1;
+ }
+ addr_server.sun_family = AF_UNIX;
+ memset(addr_server.sun_path, '\0', sizeof(addr_server.sun_path));
+ strncpy(addr_server.sun_path, name, sizeof(addr_server.sun_path) - 1);
+ if (connect(sockfd, (struct sockaddr *) &addr_server, sizeof(struct sockaddr_un)) < 0)
+ {
+ close(sockfd);
+ LOGD("Can't connect to server side, path: %s, %s", name, strerror(errno));
+ return -1;
+ }
+ LOGD("[%d][%s] connect %s success",LINE,FUNC,name);
+ return sockfd;
+}
+bool send_msg_to_service(int fd,char *msg,int size)
+{
+ LOGD("[%d][%s] enter",LINE,FUNC);
+ if (fd < 0)
+ {
+ LOGD("fd invalid when send to atci service. errno = %d", errno);
+ return false;
+ }
+ if(NULL == msg)
+ {
+ LOGD("atcmd is null.");
+ return false;
+ }
+ int sendLen = send(fd, msg, size, 0);
+ if (sendLen != size)
+ {
+ LOGD("lose data when send to atci service. errno = %d", errno);
+ return false;
+ }
+ LOGD("client send to app demo: %s", msg);
+ return true;
+}
+
+int atsvc_cmd_recv(int fd, char *buf, int len)
+{
+ int ret = 0;
+ ret = recv(fd, buf, len, 0);
+ LOGD("[%d][%s] recv after",LINE,FUNC);
+ if (ret < 0)
+ {
+ LOGD("acti_cmd_recv client select error, ret=%d, error=%s(%d),fd=%d", ret,strerror(errno), errno, fd);
+ return SOCKET_FAIL;
+ }
+ else if(ret == 0)
+ {
+ LOGD("acti_cmd_recv client recv error, ret=%d, error=%s(%d),fd=%d", ret,strerror(errno), errno, fd);
+ return SOCKET_ZERO;
+ }
+ return SOCKET_SUCC;
+}
+/**
+ * @brief send third cmd to service and receive input,then send output to service
+ *
+ * @param parm
+ * @return void*
+ */
+void *thread_recv(void *parm)
+{
+ LOGD("[%d][%s] enter",LINE,FUNC);
+ char at_cmd[100] = {0};
+ int fd = -1;
+ int ret = 0;
+ fd = socket_local_client(AT_EXTERSION_SOCKET_NAME);
+ if(fd <= 0)
+ {
+ LOGE("socket_local_client fail\n");
+ connect_state = false;
+ pthread_mutex_unlock(&s_startupMutex);
+ return NULL;
+ }
+ int len_buf = strlen(buffer_at);
+ if(!send_msg_to_service(fd,buffer_at,len_buf))
+ {
+ LOGE("send_msg_to_service fail\n");
+ connect_state = false;
+ pthread_mutex_unlock(&s_startupMutex);
+ return NULL;
+ }
+ connect_state = true;
+ pthread_mutex_unlock(&s_startupMutex);
+ char *input = NULL;
+ output = (char *)malloc(sizeof(char)*OUT_MAX_SIZE);
+ if(NULL == output)
+ {
+ LOGE("thread_recv malloc fail\n");
+ return NULL;
+ }
+ TryNewLink:
+ if(connect_state == false)
+ {
+ if (connect(fd, (struct sockaddr *) &addr_server, sizeof(struct sockaddr_un)) < 0)
+ {
+ close(fd);
+ LOGE("Can't connect to server side, path: %s, errno:%d", AT_EXTERSION_SOCKET_NAME, errno);
+ return NULL;
+ }
+ connect_state = true;
+ }
+ while (1)
+ {
+ /*receive at cmd*/
+ memset(at_cmd, 0, sizeof(at_cmd));
+ ret = atsvc_cmd_recv(fd, at_cmd,sizeof(at_cmd));
+ if (ret < 0)
+ {
+ LOGE("[%d][%s]receive CMD error",LINE,FUNC);
+ continue;
+ }
+ else if(ret == SOCKET_ZERO)
+ {
+ LOGE("maybe client socket closed 1. retry new link!");
+ connect_state = false;
+ goto TryNewLink;
+ }
+ input = at_cmd;
+ int len = strlen(input);
+ while (len > 0 && (input[len - 1] == '\r' || input[len - 1] == '\n'))
+ {
+ input[--len] = '\0';
+ }
+ //begin deal with callback
+ tmp(input, output, OUT_MAX_SIZE);
+ LOGD("lynq_reg_third_at send output to service\n");
+ if(!send_msg_to_service(fd,output, strlen(output)))
+ {
+ LOGE("thread_recv send fail\n");
+ continue;
+ }
+ }
+ free(output);
+ output = NULL;
+ if(fd != 0)
+ {
+ close(fd);
+ }
+ return NULL;
+}
+
+/**
+ * @brief Threads are created to communicate with the server
+ *
+ * @return int
+ */
+int lynq_connect_service_start(void)
+{
+ LOGD("[%d][%s] enter",LINE,FUNC);
+ pthread_t lynq_at_tid;
+ int rt = pthread_create(&lynq_at_tid, NULL, thread_recv, NULL);
+ pthread_mutex_lock(&s_startupMutex);
+ LOGD("[%d][%s] pthread mutex unlock",LINE,FUNC);
+ if((connect_state != true) && rt < 0)
+ {
+ LOGE("connect fail,rt:%d,connect state:%d\n",rt,connect_state);
+ return -1;
+ }
+ return 0;
+}
+
+/**
+ * @brief Type:[IN] send third at cmd to service
+ * @param ext_at Type:[IN] input at cmd
+ * @param callback Type:[IN]
+ * @return int
+ */
+int32_t gsw_reg_atcmd(const char *atcmd,AT_CALLBACK func)
+{
+ if(NULL == atcmd || NULL == func)
+ {
+ return GSW_HAL_FAIL;
+ }
+ dlHandle_at = dlopen(lynqLib_at, RTLD_NOW);
+ fun_ptr_log = (mbtk_log)dlsym(dlHandle_at, "mbtk_log");
+ if(fun_ptr_log == NULL || dlHandle_at == NULL)
+ {
+ return GSW_HAL_FAIL;
+ }
+ memcpy(buffer_at, atcmd, strlen(atcmd));
+ tmp = func;
+ LOGD("lynq_reg_third_at start\n");
+ int ret = lynq_connect_service_start();
+
+ if(ret != 0)
+ {
+ LOGE("lynq_connect_service_start start failed\n");
+ return GSW_HAL_FAIL;
+ }
+ LOGD("lynq_connect_service_start success ret:%d\n",ret);
+ return GSW_HAL_SUCCESS;
+}
+
+int32_t gsw_sdk_at_init(void)
+{
+ return GSW_HAL_SUCCESS;
+}
diff --git a/mbtk/libgsw_lib/gsw_data.c b/mbtk/libgsw_lib/gsw_data.c
new file mode 100755
index 0000000..e26e35b
--- /dev/null
+++ b/mbtk/libgsw_lib/gsw_data.c
@@ -0,0 +1,931 @@
+#include "gsw_nw_interface.h"
+#include <stdint.h>
+#include <string.h>
+#include <stdbool.h>
+#include <stdio.h>
+#include <dlfcn.h>
+#include <stdlib.h>
+#include <sys/socket.h>
+#include <netinet/in.h>
+#include <arpa/inet.h>
+#include <pthread.h>
+
+
+//mbtk include
+#define MBTK_APN_NAME_SIZE 150+1
+#define MBTK_APN_USERNAME_SIZE 127+1
+#define MBTK_APN_PASSWORD_SIZE 127+1
+#define MBTK_APN_TYPE_SIZE 127+1
+
+
+#ifndef FALSE
+#define FALSE (0)
+#endif
+
+
+#ifndef TRUE
+#define TRUE (!FALSE)
+#endif
+
+
+
+
+typedef unsigned int uint32;
+typedef unsigned char uint8;
+typedef unsigned short uint16;
+typedef void (*mbtk_info_callback_func)(const void* data, int data_len);
+typedef unsigned long long uint64_t;
+
+typedef struct
+{
+ int client_fd;
+ pthread_t read_thread_id;
+ int exit_fd[2];
+ bool is_waitting;
+ pthread_cond_t cond;
+ pthread_mutex_t mutex;
+
+ pthread_mutex_t send_mutex;
+
+ // Temp response data.
+ uint16 info_err;
+ uint16 data_len;
+ void *data;
+
+ //mbtk wyq for server_ready_status add start
+ char server_ready_status;
+ //mbtk wyq for server_ready_status add end
+
+ mbtk_info_callback_func net_state_cb;
+ mbtk_info_callback_func call_state_cb;
+ mbtk_info_callback_func sms_state_cb;
+ mbtk_info_callback_func radio_state_cb;
+ mbtk_info_callback_func sim_state_cb;
+ mbtk_info_callback_func pdp_state_cb;
+ //add signal by xr
+ mbtk_info_callback_func signal_state_cb;
+} mbtk_info_handle_t;
+
+typedef enum {
+ MBTK_IP_TYPE_IP,
+ MBTK_IP_TYPE_IPV6,
+ MBTK_IP_TYPE_IPV4V6,
+ MBTK_IP_TYPE_PPP
+} mbtk_ip_type_enum;
+
+typedef enum {
+ MBTK_APN_REQ_TYPE_SET = 0, // set apn req
+ MBTK_APN_REQ_TYPE_ADD // add apn req
+}mbtk_apn_req_type_enum;
+
+typedef enum {
+ MBTK_APN_AUTH_PROTO_DEFAULT = 0,
+ MBTK_APN_AUTH_PROTO_NONE,
+ MBTK_APN_AUTH_PROTO_PAP,
+ MBTK_APN_AUTH_PROTO_CHAP,
+#if 0
+ MBTK_APN_AUTH_PROTO_PAP_CHAP,
+ //NOT SUPPORT
+#endif
+} mbtk_apn_auth_proto_enum;
+
+
+typedef struct {
+ bool valid;
+ uint32 IPAddr;
+ uint32 PrimaryDNS;
+ uint32 SecondaryDNS;
+ uint32 GateWay;
+ uint32 NetMask;
+} __attribute__((packed)) mbtk_ipv4_info_t;
+
+typedef struct {
+ bool valid;
+ uint32 IPV6Addr[4];
+ uint32 PrimaryDNS[4];
+ uint32 SecondaryDNS[4];
+ uint32 GateWay[4];
+ uint32 NetMask[4];
+} __attribute__((packed)) mbtk_ipv6_info_t;
+
+
+
+typedef struct {
+ int cid; /*!< UMTS/CDMA profile ID. range: 0 - 7*/
+ mbtk_ip_type_enum ip_type; /*!< Packet Data Protocol (PDP) type specifies the type of data payload
+ exchanged over the airlink when the packet data session is
+ established with this profile. */
+ mbtk_apn_req_type_enum req_type; /*!< apn req type*/
+ mbtk_apn_auth_proto_enum auth_proto; /*!< Authentication Protocol. */
+ uint8 apn_name[MBTK_APN_NAME_SIZE]; /*!< A string parameter that is a logical name used to select the GGSN
+ and external packet data network. */
+ uint8 user_name[MBTK_APN_USERNAME_SIZE]; /*!< Username used during data network authentication. */
+ uint8 user_pass[MBTK_APN_PASSWORD_SIZE]; /*!< Password to be used during data network authentication. */
+ uint8 apn_type[MBTK_APN_TYPE_SIZE];
+} mbtk_qser_apn_info_s;
+
+static mbtk_info_handle_t* (*mbtk_info_handle_get)(void);
+static int (*mbtk_info_handle_free)(mbtk_info_handle_t** handle);
+int (*mbtk_pdp_state_change_cb_reg)(mbtk_info_handle_t* handle, mbtk_info_callback_func cb);
+int (*mbtk_qser_apn_set)(mbtk_info_handle_t* handle, mbtk_qser_apn_info_s *apninfo, unsigned char *cid);
+int (*mbtk_data_call_start)(mbtk_info_handle_t* handle, int cid, int auto_conn_interval, bool boot_conn, int timeout);
+int (*mbtk_data_call_stop)(mbtk_info_handle_t* handle, int cid, int timeout);
+int (*mbtk_data_call_state_get)(mbtk_info_handle_t* handle, int cid, mbtk_ipv4_info_t *ipv4, mbtk_ipv6_info_t *ipv6);
+int (*mbtk_apn_set)(mbtk_info_handle_t* handle, int cid, mbtk_ip_type_enum ip_type, const void* apn_name, const void *user_name, const void *user_pass, const void *auth);
+int (*ipv6_2_str)(const void *ipv6, void *ipv6_str);
+static void (*mbtk_log)(int level, const char *format, ...);
+static void (*mbtk_log_init)(char *path, char *tag);
+
+#ifndef LOG_ERR_LEVEL
+#define LOG_ERR_LEVEL 3 /* error conditions */
+#endif
+#ifndef LOG_WARN_LEVEL
+#define LOG_WARN_LEVEL 4 /* warning conditions */
+#endif
+#ifndef LOG_INFO_LEVEL
+#define LOG_INFO_LEVEL 6 /* informational */
+#endif
+#ifndef LOG_DEBUG_LEVEL
+#define LOG_DEBUG_LEVEL 7 /* debug-level messages */
+#endif
+#ifndef LOG_VERBOSE_LEVEL
+#define LOG_VERBOSE_LEVEL 8
+#endif
+
+#define LOGV(fmt, args ...) \
+ do{ \
+ char *file_ptr_1001 = __FILE__; \
+ char *ptr_1001 = file_ptr_1001 + strlen(file_ptr_1001) - 1; \
+ char line_1001[10] = {0}; \
+ sprintf(line_1001, "%d", __LINE__); \
+ while(ptr_1001 >= file_ptr_1001 && *ptr_1001){ \
+ if(*ptr_1001 == '/') \
+ break; \
+ ptr_1001--; \
+ } \
+ mbtk_log(LOG_VERBOSE_LEVEL, "%s#%s: " fmt, ptr_1001 + 1, line_1001, ##args); \
+ } while(0)
+
+#define LOGI(fmt, args...) \
+ do{ \
+ char *file_ptr_1001 = __FILE__; \
+ char *ptr_1001 = file_ptr_1001 + strlen(file_ptr_1001) - 1; \
+ char line_1001[10] = {0}; \
+ sprintf(line_1001, "%d", __LINE__); \
+ while(ptr_1001 >= file_ptr_1001 && *ptr_1001){ \
+ if(*ptr_1001 == '/') \
+ break; \
+ ptr_1001--; \
+ } \
+ mbtk_log(LOG_INFO_LEVEL, "%s#%s: " fmt, ptr_1001 + 1, line_1001, ##args); \
+ } while(0)
+
+#define LOGD(fmt, args...) \
+ do{ \
+ char *file_ptr_1001 = __FILE__; \
+ char *ptr_1001 = file_ptr_1001 + strlen(file_ptr_1001) - 1; \
+ char line_1001[10] = {0}; \
+ sprintf(line_1001, "%d", __LINE__); \
+ while(ptr_1001 >= file_ptr_1001 && *ptr_1001){ \
+ if(*ptr_1001 == '/') \
+ break; \
+ ptr_1001--; \
+ } \
+ mbtk_log(LOG_DEBUG_LEVEL, "%s#%s: " fmt, ptr_1001 + 1, line_1001, ##args); \
+ } while(0)
+
+#define LOGW(fmt, args...) \
+ do{ \
+ char *file_ptr_1001 = __FILE__; \
+ char *ptr_1001 = file_ptr_1001 + strlen(file_ptr_1001) - 1; \
+ char line_1001[10] = {0}; \
+ sprintf(line_1001, "%d", __LINE__); \
+ while(ptr_1001 >= file_ptr_1001 && *ptr_1001){ \
+ if(*ptr_1001 == '/') \
+ break; \
+ ptr_1001--; \
+ } \
+ mbtk_log(LOG_WARN_LEVEL, "%s#%s: " fmt, ptr_1001 + 1, line_1001, ##args); \
+ } while(0)
+
+#define LOGE(fmt, args...) \
+ do{ \
+ char *file_ptr_1001 = __FILE__; \
+ char *ptr_1001 = file_ptr_1001 + strlen(file_ptr_1001) - 1; \
+ char line_1001[10] = {0}; \
+ sprintf(line_1001, "%d", __LINE__); \
+ while(ptr_1001 >= file_ptr_1001 && *ptr_1001){ \
+ if(*ptr_1001 == '/') \
+ break; \
+ ptr_1001--; \
+ } \
+ mbtk_log(LOG_ERR_LEVEL, "%s#%s: " fmt, ptr_1001 + 1, line_1001, ##args); \
+ } while(0)
+
+
+//define
+#define GSW_HAL_FAIL GSW_HAL_NORMAL_FAIL
+#define lib_mbtk_path "/lib/libmbtk_lib.so"
+pthread_mutex_t data_mutex = PTHREAD_MUTEX_INITIALIZER;
+static int data_call_lock = 0;
+static int data_init_flag = 0;
+static void *dlHandle_mbtk;
+static mbtk_info_handle_t* data_info_handle = NULL;
+static gsw_data_call_evt_cb_t gsw_data_call_evt_cb;
+
+Wan_State_ind_s *linkState_arr;
+
+static int Wan_State_ind_malloc(Wan_State_ind_s **linkState)
+{
+ (*linkState) = (Wan_State_ind_s *)malloc(sizeof(Wan_State_ind_s));
+ if((*linkState) == NULL)
+ {
+ LOGE("malloc Wan_State_ind_s fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ memset((*linkState), 0x00, sizeof(Wan_State_ind_s));
+
+ (*linkState)->handle = -1;
+ (*linkState)->cid = -1;
+ (*linkState)->state = 0;
+ (*linkState)->fail_cause = 0;
+
+ (*linkState)->type = (char *)malloc(GSW_PDP_TYPE_MAX_LEN);
+ memset((*linkState)->type, 0x00, GSW_PDP_TYPE_MAX_LEN);
+
+ (*linkState)->ifname = (char *)malloc(GSW_IFACE_NAME_MAX_LEN);
+ memset((*linkState)->ifname, 0x00, GSW_IFACE_NAME_MAX_LEN);
+
+ (*linkState)->v4_ip = (char *)malloc(GSW_PDP_ADDR_MAX_LEN);
+ memset((*linkState)->v4_ip, 0x00, GSW_PDP_ADDR_MAX_LEN);
+
+ (*linkState)->v4_pdns = (char *)malloc(GSW_DNS_ADDR_MAX_LEN);
+ memset((*linkState)->v4_pdns, 0x00, GSW_DNS_ADDR_MAX_LEN);
+
+ (*linkState)->v4_sdns = (char *)malloc(GSW_DNS_ADDR_MAX_LEN);
+ memset((*linkState)->v4_sdns, 0x00, GSW_DNS_ADDR_MAX_LEN);
+
+ (*linkState)->v4_gw = (char *)malloc(GSW_GETWAYS_ADDR_MAX_LEN);
+ memset((*linkState)->v4_gw, 0x00, GSW_GETWAYS_ADDR_MAX_LEN);
+
+ (*linkState)->v6_ip = (char *)malloc(GSW_PDP_ADDR_MAX_LEN);
+ memset((*linkState)->v6_ip, 0x00, GSW_PDP_ADDR_MAX_LEN);
+
+ (*linkState)->v6_pdns = (char *)malloc(GSW_DNS_ADDR_MAX_LEN);
+ memset((*linkState)->v6_pdns, 0x00, GSW_DNS_ADDR_MAX_LEN);
+
+ (*linkState)->v6_sdns = (char *)malloc(GSW_DNS_ADDR_MAX_LEN);
+ memset((*linkState)->v6_sdns, 0x00, GSW_DNS_ADDR_MAX_LEN);
+
+ return GSW_HAL_SUCCESS;
+}
+
+static int Wan_State_ind_free(Wan_State_ind_s **linkState)
+{
+ if ((*linkState) == NULL)
+ {
+ LOGE("(*linkState) is null\n");
+ return GSW_HAL_FAIL;
+ }
+
+ free((*linkState)->type);
+ (*linkState)->type = NULL;
+
+ free((*linkState)->ifname);
+ (*linkState)->ifname = NULL;
+
+ free((*linkState)->v4_ip);
+ (*linkState)->v4_ip = NULL;
+
+ free((*linkState)->v4_pdns);
+ (*linkState)->v4_pdns = NULL;
+
+ free((*linkState)->v4_sdns);
+ (*linkState)->v4_sdns = NULL;
+
+ free((*linkState)->v4_gw);
+ (*linkState)->v4_gw = NULL;
+
+ free((*linkState)->v6_ip);
+ (*linkState)->v6_ip = NULL;
+
+ free((*linkState)->v6_pdns);
+ (*linkState)->v6_pdns = NULL;
+
+ free((*linkState)->v6_sdns);
+ (*linkState)->v6_sdns = NULL;
+
+
+ free((*linkState));
+ (*linkState) = NULL;
+
+ return GSW_HAL_SUCCESS;
+}
+
+static int mbtk_data_api_import()
+{
+ dlHandle_mbtk = dlopen(lib_mbtk_path, RTLD_NOW);
+ if (dlHandle_mbtk == NULL)
+ {
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_log_init = (void (*)(char *path, char *tag))dlsym(dlHandle_mbtk, "mbtk_log_init");
+ if (mbtk_log_init == NULL)
+ {
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_log = (void (*)(int level, const char *format, ...))dlsym(dlHandle_mbtk, "mbtk_log");
+ if (mbtk_log == NULL)
+ {
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_info_handle_get = (mbtk_info_handle_t* (*)(void))dlsym(dlHandle_mbtk, "mbtk_info_handle_get");
+ if (mbtk_info_handle_get == NULL)
+ {
+ LOGE("mbtk_info_handle_get dlsym fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_info_handle_free = (int (*)(mbtk_info_handle_t** handle))dlsym(dlHandle_mbtk, "mbtk_info_handle_free");
+ if (mbtk_info_handle_free == NULL)
+ {
+ LOGE("mbtk_info_handle_free dlsym fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_pdp_state_change_cb_reg = (int (*)(mbtk_info_handle_t* handle, mbtk_info_callback_func cb))dlsym(dlHandle_mbtk, "mbtk_pdp_state_change_cb_reg");
+ if (mbtk_pdp_state_change_cb_reg == NULL)
+ {
+ LOGE("mbtk_pdp_state_change_cb_reg dlsym fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_qser_apn_set = (int (*)(mbtk_info_handle_t* handle, mbtk_qser_apn_info_s *apninfo, unsigned char *cid))dlsym(dlHandle_mbtk, "mbtk_qser_apn_set");
+ if (mbtk_qser_apn_set == NULL)
+ {
+ LOGE("mbtk_qser_apn_set dlsym fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_data_call_start = (int (*)(mbtk_info_handle_t* handle, int cid, int auto_conn_interval, bool boot_conn, int timeout))dlsym(dlHandle_mbtk, "mbtk_data_call_start");
+ if (mbtk_data_call_start == NULL)
+ {
+ LOGE("mbtk_data_call_start dlsym fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_data_call_stop = (int (*)(mbtk_info_handle_t* handle, int cid, int timeout))dlsym(dlHandle_mbtk, "mbtk_data_call_stop");
+ if (mbtk_data_call_stop == NULL)
+ {
+ LOGE("mbtk_data_call_stop dlsym fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_data_call_state_get = (int (*)(mbtk_info_handle_t* handle, int cid, mbtk_ipv4_info_t *ipv4, mbtk_ipv6_info_t *ipv6))dlsym(dlHandle_mbtk, "mbtk_data_call_state_get");
+ if (mbtk_data_call_state_get == NULL)
+ {
+ LOGE("mbtk_data_call_state_get dlsym fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_apn_set = (int (*)(mbtk_info_handle_t* handle, int cid, mbtk_ip_type_enum ip_type, const void* apn_name, const void *user_name, const void *user_pass, const void *auth))dlsym(dlHandle_mbtk, "mbtk_apn_set");
+ if (mbtk_apn_set == NULL)
+ {
+ LOGE("mbtk_apn_set dlsym fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ ipv6_2_str = (int (*)(const void *ipv6, void *ipv6_str))dlsym(dlHandle_mbtk, "ipv6_2_str");
+ if (ipv6_2_str == NULL)
+ {
+ LOGE("ipv6_2_str dlsym fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ return GSW_HAL_SUCCESS;
+}
+
+
+
+static int data_call_state_query(int call_id,Wan_State_ind_s *linkState)
+{
+ int ret = -1;
+ mbtk_ipv4_info_t ipv4;
+ mbtk_ipv6_info_t ipv6;
+
+ LOGE("mbtk_data_call_state_get start\n");
+ ret = mbtk_data_call_state_get(data_info_handle, call_id, &ipv4, &ipv6);
+ LOGE("mbtk_data_call_state_get end\n");
+ if (ret != 0)
+ {
+ LOGE("mbtk_data_call_state_get fail\n");
+ return ret;
+ }
+
+ //ifname
+ sprintf(linkState->ifname, "ccinet%d", call_id-1);
+
+ //type
+ if(ipv4.valid)
+ {
+ if(ipv6.valid)
+ {
+ strcpy(linkState->type, "IPV4V6");
+ }
+ else {
+ strcpy(linkState->type, "IP");
+ }
+ }
+ else if(ipv6.valid)
+ {
+ strcpy(linkState->type, "IPV6");
+ }
+
+ //ip
+ LOGE("ipv4.valid = %d\n", ipv4.valid);
+ if(ipv4.valid)
+ {
+ if(linkState==NULL)
+ {
+ LOGE("linkState is NULL\n");
+ return GSW_HAL_FAIL;
+ }
+
+ //parse ipv4_addr,gw,dns,sdns
+ if(inet_ntop(AF_INET, &(ipv4.IPAddr), linkState->v4_ip , GSW_PDP_ADDR_MAX_LEN) == NULL) {
+ LOGE("IPv4 error.\n");
+ } else {
+ LOGE("IPv4 : %s\n", linkState->v4_ip);
+
+ }
+
+
+ if(inet_ntop(AF_INET, &(ipv4.GateWay), linkState->v4_gw , GSW_PDP_ADDR_MAX_LEN) == NULL) {
+ LOGE("GateWay error.\n");
+ } else {
+ LOGE("GateWay : %s\n", linkState->v4_gw);
+ }
+
+ if(inet_ntop(AF_INET, &(ipv4.PrimaryDNS), linkState->v4_pdns , GSW_DNS_ADDR_MAX_LEN) == NULL) {
+ LOGE("PrimaryDNS error.\n");
+ } else {
+ LOGE("PrimaryDNS : %s\n", linkState->v4_pdns);
+ }
+
+ if(inet_ntop(AF_INET, &(ipv4.SecondaryDNS), linkState->v4_sdns , GSW_DNS_ADDR_MAX_LEN) == NULL) {
+ LOGE("SecondaryDNS error.\n");
+ } else {
+ LOGE("SecondaryDNS : %s\n", linkState->v4_sdns);
+ }
+ }
+
+ LOGE("ipv6.valid = %d\n", ipv6.valid);
+ if(ipv6.valid)
+ {
+ //parse ipv6_addr,gw,dns,sdns
+ if(ipv6_2_str(&(ipv6.IPV6Addr), linkState->v6_ip)) {
+ LOGE("IPv6 error.\n");
+ } else {
+ LOGE("IPv6 : %s\n", linkState->v6_ip);
+ }
+
+ if(ipv6_2_str(&(ipv6.PrimaryDNS), linkState->v6_pdns)) {
+ LOGE("PrimaryDNS error.\n");
+ } else {
+ LOGE("PrimaryDNS : %s\n", linkState->v6_pdns);
+ }
+
+ if(ipv6_2_str(&(ipv6.SecondaryDNS), linkState->v6_sdns)) {
+ LOGE("SecondaryDNS error.\n");
+ } else {
+ LOGE("SecondaryDNS : %s\n", linkState->v6_sdns);
+ }
+ }
+
+
+
+ return GSW_HAL_SUCCESS;
+}
+
+
+static void data_call_state_change_cb(const void* data, int data_len)
+{
+ LOGE("data_call_state_change_cb() start\n");
+
+ if(data == NULL || data_len == 0)
+ {
+ return;
+ }
+
+ int ret = -1;
+
+ LOGD("Wan_State_ind_malloc start\n");
+ ret = Wan_State_ind_malloc(&linkState_arr);
+ if (ret != 0)
+ {
+ LOGE("Wan_State_ind_malloc[0] fail\n");
+ return ;
+ }
+
+ if(linkState_arr == NULL)
+ {
+ LOGE("linkState_arr is NULL");
+ return ;
+ }
+ else
+ {
+ LOGE("linkState_arr is not NULL");
+ }
+
+ uint8 *net_data = NULL;
+ net_data = (uint8 *)data;
+ //disconnected
+ LOGE("net_data = %d\n", *net_data);
+ if(*net_data > 100 && *net_data < 200)
+ {
+ int apn_id = *net_data - 100;
+ int handle_temp = apn_id-2;
+ LOGE("apn_id = %d\n", apn_id);
+ linkState_arr->state = 0;//disconnected
+ linkState_arr->cid = -1;
+ linkState_arr->handle = handle_temp;
+
+ //get data_call_state
+ if(!data_call_lock)
+ {
+ data_call_state_query(apn_id, linkState_arr);
+ }
+
+ if(gsw_data_call_evt_cb)
+ {
+ gsw_data_call_evt_cb(linkState_arr);
+ }
+ }
+
+ else if(*net_data > 200 && *net_data < 220)
+ {
+ LOGE("cid[%d] is open.\n", *net_data - 200);
+ int apn_id = *net_data-200;
+ int handle_temp = apn_id-2;
+
+ linkState_arr->state = 2;//connected
+ linkState_arr->cid = apn_id;
+ linkState_arr->handle = handle_temp;
+ //get data_call_state
+ if(!data_call_lock)
+ {
+ data_call_state_query(apn_id, linkState_arr);
+ }
+
+ if(gsw_data_call_evt_cb)
+ {
+ gsw_data_call_evt_cb(linkState_arr);
+ }
+ }
+
+ else if(*net_data > 220)
+ {
+ LOGE("cid [%d] is reopen.\n", *net_data - 220);
+ int apn_id = *net_data-220;
+ int handle_temp = apn_id-2;
+
+ linkState_arr->state = 2;//connected
+ linkState_arr->cid = apn_id;
+ linkState_arr->handle = handle_temp;
+
+ //get data_call_state
+ if(!data_call_lock)
+ {
+ data_call_state_query(apn_id, linkState_arr);
+ }
+
+ if(gsw_data_call_evt_cb)
+ {
+ gsw_data_call_evt_cb(linkState_arr);
+ }
+ }
+
+ else if(*net_data == 1)
+ {
+ LOGE("pdp is open.\n");
+ }
+
+ else
+ {
+ LOGE("unknown param [%d].\n", *net_data);
+ }
+
+ ret = Wan_State_ind_free(&linkState_arr);
+ if (ret != 0)
+ {
+ LOGE("Wan_State_ind_free fail\n");
+ }
+
+}
+
+
+
+
+
+
+/**
+ * @brief datacall sdk init
+ * @param [in] evt_cb callback function for data connection state change event
+ * call back;
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_data_call_init(gsw_data_call_evt_cb_t evt_cb)
+{
+ int ret;
+ ret = mbtk_data_api_import();
+ if (ret != 0)
+ {
+ return GSW_HAL_FAIL;
+ }
+
+ if(data_init_flag != 0 && data_info_handle != NULL)
+ {
+ return GSW_HAL_FAIL;
+ }
+
+ if (ret != GSW_HAL_SUCCESS)
+ {
+ LOGE("mbtk_data_api_import fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ data_info_handle = (mbtk_info_handle_t*)mbtk_info_handle_get();
+ if (data_info_handle == NULL)
+ {
+ LOGE("mbtk_info_handle_get fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ ret = mbtk_pdp_state_change_cb_reg((mbtk_info_handle_t*)data_info_handle, data_call_state_change_cb);
+ if (ret != 0)
+ {
+ LOGE("mbtk_pdp_state_change_cb_reg fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ gsw_data_call_evt_cb = evt_cb;
+ data_init_flag = 1;
+ return GSW_HAL_SUCCESS;
+}
+
+
+/**
+ * @brief data_call sdk deinit
+ * @param
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_data_call_deinit(void)
+{
+ int ret;
+ if(data_init_flag == 0 && data_info_handle == NULL)
+ {
+ return GSW_HAL_FAIL;
+ }
+
+ ret = mbtk_info_handle_free((mbtk_info_handle_t**)&data_info_handle);
+ if (ret != 0)
+ {
+ LOGE("mbtk_info_handle_free fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ data_init_flag = 0;
+ return GSW_HAL_SUCCESS;
+}
+
+/**
+ * @brief set apn parameters for data call
+ * @param [in/out] LinkInf apn info for pub or private datacall
+ * inlcude apn name mcc mnc, passwork apnid type cid etc
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_data_call_set_apn(Link_Info_s *LinkInf)
+{
+ if(data_init_flag == 0 && data_info_handle == NULL)
+ {
+ return GSW_HAL_FAIL;
+ }
+
+ if(LinkInf == NULL)
+ {
+ LOGE("apn info is null\n");
+ return GSW_HAL_FAIL;
+ }
+
+ int ret = 0;
+ mbtk_ip_type_enum ip_type;
+ int auth_type = -1;
+
+ //pdp type
+ if(strcmp(LinkInf->normalProtocol,"IPV4") == 0)
+ {
+ ip_type = MBTK_IP_TYPE_IP;
+ LOGE("pdp_type(protocol) is IPV4\n");
+ }
+ else if(strcmp(LinkInf->normalProtocol,"IPV6") == 0)
+ {
+ ip_type = MBTK_IP_TYPE_IPV6;
+ LOGE("pdp_type(protocol) is IPV6\n");
+ }
+ else if(strcmp(LinkInf->normalProtocol,"IPV4V6") == 0)
+ {
+ ip_type = MBTK_IP_TYPE_IPV4V6;
+ LOGE("pdp_type(protocol) is IPV4V6\n");
+ }
+ else
+ {
+ LOGE("pdp_type(protocol) error\n");
+ return GSW_HAL_FAIL;
+ }
+
+ //auth type
+ auth_type = atoi(LinkInf->authType);
+
+ ret = mbtk_apn_set(data_info_handle, LinkInf->handle+2, ip_type, LinkInf -> apn, LinkInf -> usr, LinkInf -> pwd, (const void *)auth_type);
+
+ if(ret != 0)
+ {
+ LOGE("mbtk_apn_set fail.");
+ return GSW_HAL_FAIL;
+ }
+
+ return GSW_HAL_SUCCESS;
+}
+
+
+/**
+ * @brief set apn parameters for data call
+ * @param [in] linkid data connetion link number
+ * @param [in/out] LinkInf link info req: apn info for pub or private datacall
+ * inlcude apn name mcc mnc, passwork apnid etc
+ * resp: data call link state ipaddress type etc
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_data_call_connect(int linkid, Link_Info_s *LinkInf)
+{
+ int ret = -1;
+ if(data_init_flag == 0 && data_info_handle == NULL)
+ {
+ return GSW_HAL_FAIL;
+ }
+
+ if(LinkInf == NULL)
+ {
+ LOGE("apn info is null\n");
+ return GSW_HAL_FAIL;
+ }
+
+ data_call_lock = 1;
+ ret = mbtk_data_call_start((mbtk_info_handle_t*)data_info_handle, linkid + 2, 0, FALSE, 0);
+ data_call_lock = 0;
+ if(ret != 0)
+ {
+ LOGE("mbtk_data_call_start fail,\n");
+ return GSW_HAL_FAIL;
+ }
+
+ uint8_t cid_temp = (uint8_t)(linkid + 202);
+ data_call_state_change_cb(&cid_temp,1);
+
+ return GSW_HAL_SUCCESS;
+}
+
+
+/**
+ * @brief set apn parameters for data call
+ * @param [in] linkid
+ * @param [in/out] LinkInf link info req: apn info for pub or private datacall
+ * inlcude apn name mcc mnc, passwork apnid etc
+ * resp: data call link state ipaddress type etc
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_data_call_disconnect(int linkid, Link_Info_s *LinkInf)
+{
+ int ret = -1;
+ if(data_init_flag == 0 && data_info_handle == NULL)
+ {
+ return GSW_HAL_FAIL;
+ }
+
+ if(LinkInf == NULL)
+ {
+ LOGE("apn info is null\n");
+ return GSW_HAL_FAIL;
+ }
+ data_call_lock = 1;
+ ret = mbtk_data_call_stop((mbtk_info_handle_t*)data_info_handle, linkid + 2, 15);
+ data_call_lock = 0;
+ if(ret != 0)
+ {
+ LOGE("mbtk_data_call_stop fail,ret = %d\n",ret);
+ return GSW_HAL_FAIL;
+ }
+
+ uint8_t cid_temp = (uint8_t)(linkid + 102);
+ data_call_state_change_cb(&cid_temp,1);
+
+ return GSW_HAL_SUCCESS;
+}
+
+
+/*
+ * @brief get mobile operator name
+ @param [in] linkid apn id
+ @param [out] data_pkt obtian actual data call network card data traffic
+ @retval 0: success
+ @retval 0: other: fail
+ */
+int gsw_get_data_call_pkt_stats(int linkid, gsw_data_pkt_stats *data_pkt)
+{
+ char temp_linkid[12] = {0};
+ char interface_name[32] = {0};
+ sprintf(temp_linkid,"%d",linkid+1);
+ snprintf(interface_name, sizeof(interface_name),"ccinet%s", temp_linkid);
+
+ uint64_t tx_bytes = 0;
+ uint64_t tx_packets = 0;
+ uint64_t tx_dropped = 0;
+ uint64_t rx_bytes = 0;
+ uint64_t rx_packets = 0;
+ uint64_t rx_dropped = 0;
+ char command[128] = {0};
+ char* temp;
+ char buffer[512] = {0};
+
+ snprintf(command, sizeof(command), "ifconfig %s", interface_name);
+
+ FILE *fp = popen(command, "r");
+ if(fp == NULL)
+ {
+ LOGE("popen fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ //read line by line
+ while (fgets(buffer, sizeof(buffer), fp) != NULL) {
+ // TX bytes
+ if (strstr(buffer, "TX bytes")) {
+ temp = strstr(buffer, "TX bytes");
+ sscanf(temp, " TX bytes:%llu ", &tx_bytes);
+ }
+ // TX packets
+ if (strstr(buffer, "TX packets")) {
+ sscanf(buffer, " TX packets:%llu ", &tx_packets);
+ sscanf(buffer, " TX packets:%*u errors:%*u dropped:%llu", &tx_dropped);
+ }
+ // RX bytes
+ if (strstr(buffer, "RX bytes")) {
+ LOGE("RX bytes %s\n",strstr(buffer, "RX bytes"));
+ sscanf(buffer, " RX bytes:%llu ", &rx_bytes);
+ }
+ // RX packets
+ if (strstr(buffer, "RX packets")) {
+ sscanf(buffer, " RX packets:%llu ", &rx_packets);
+ sscanf(buffer, " RX packets:%*u errors:%*u dropped:%llu", &rx_dropped);
+ }
+ }
+
+ // 关闭管道
+ pclose(fp);
+
+ // 输出结果
+ LOGE("TX Bytes: %llu\n", tx_bytes);
+ LOGE("TX Packets: %llu\n", tx_packets);
+ LOGE("TX Dropped: %llu\n", tx_dropped);
+ LOGE("RX Bytes: %llu\n", rx_bytes);
+ LOGE("RX Packets: %llu\n", rx_packets);
+ LOGE("RX Dropped: %llu\n", rx_dropped);
+
+ if(data_pkt == NULL)
+ {
+ LOGE("data_pkt is null\n");
+ return GSW_HAL_FAIL;
+ }
+
+ else
+ {
+ data_pkt->tx_bytes = tx_bytes;
+ data_pkt->tx_pkts = tx_packets;
+ data_pkt->tx_dropped_pkts = tx_dropped;
+ data_pkt->rx_bytes = rx_bytes;
+ data_pkt->rx_pkts = rx_packets;
+ data_pkt->rx_dropped_pkts = rx_dropped;
+ }
+
+ return GSW_HAL_SUCCESS;
+
+}
diff --git a/mbtk/libgsw_lib/gsw_ecall.c b/mbtk/libgsw_lib/gsw_ecall.c
new file mode 100755
index 0000000..e2c6d8f
--- /dev/null
+++ b/mbtk/libgsw_lib/gsw_ecall.c
@@ -0,0 +1,1193 @@
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
+#include <sys/stat.h>
+#include <sys/types.h>
+#include <unistd.h>
+#include <dlfcn.h>
+#include <stdint.h>
+
+#include <errno.h>
+#include <stdbool.h>
+#include <pthread.h>
+
+#include "gsw_ecall.h"
+
+#define RIL_MAX_NUMBER_LEN 40
+#define MBTK_ECALL_MSD_LEN_MAX 600
+
+#ifndef LOG_ERR_LEVEL
+#define LOG_ERR_LEVEL 3 /* error conditions */
+#endif
+#ifndef LOG_WARN_LEVEL
+#define LOG_WARN_LEVEL 4 /* warning conditions */
+#endif
+#ifndef LOG_INFO_LEVEL
+#define LOG_INFO_LEVEL 6 /* informational */
+#endif
+#ifndef LOG_DEBUG_LEVEL
+#define LOG_DEBUG_LEVEL 7 /* debug-level messages */
+#endif
+#ifndef LOG_VERBOSE_LEVEL
+#define LOG_VERBOSE_LEVEL 8
+#endif
+
+#define LOGV(fmt, args ...) \
+ do{ \
+ char *file_ptr_1001 = __FILE__; \
+ char *ptr_1001 = file_ptr_1001 + strlen(file_ptr_1001) - 1; \
+ char line_1001[10] = {0}; \
+ sprintf(line_1001, "%d", __LINE__); \
+ while(ptr_1001 >= file_ptr_1001 && *ptr_1001){ \
+ if(*ptr_1001 == '/') \
+ break; \
+ ptr_1001--; \
+ } \
+ fun_ptr_log(LOG_VERBOSE_LEVEL, "%s#%s: " fmt, ptr_1001 + 1, line_1001, ##args); \
+ } while(0)
+
+#define LOGI(fmt, args...) \
+ do{ \
+ char *file_ptr_1001 = __FILE__; \
+ char *ptr_1001 = file_ptr_1001 + strlen(file_ptr_1001) - 1; \
+ char line_1001[10] = {0}; \
+ sprintf(line_1001, "%d", __LINE__); \
+ while(ptr_1001 >= file_ptr_1001 && *ptr_1001){ \
+ if(*ptr_1001 == '/') \
+ break; \
+ ptr_1001--; \
+ } \
+ fun_ptr_log(LOG_INFO_LEVEL, "%s#%s: " fmt, ptr_1001 + 1, line_1001, ##args); \
+ } while(0)
+
+#define LOGD(fmt, args...) \
+ do{ \
+ char *file_ptr_1001 = __FILE__; \
+ char *ptr_1001 = file_ptr_1001 + strlen(file_ptr_1001) - 1; \
+ char line_1001[10] = {0}; \
+ sprintf(line_1001, "%d", __LINE__); \
+ while(ptr_1001 >= file_ptr_1001 && *ptr_1001){ \
+ if(*ptr_1001 == '/') \
+ break; \
+ ptr_1001--; \
+ } \
+ fun_ptr_log(LOG_DEBUG_LEVEL, "%s#%s: " fmt, ptr_1001 + 1, line_1001, ##args); \
+ } while(0)
+
+#define LOGW(fmt, args...) \
+ do{ \
+ char *file_ptr_1001 = __FILE__; \
+ char *ptr_1001 = file_ptr_1001 + strlen(file_ptr_1001) - 1; \
+ char line_1001[10] = {0}; \
+ sprintf(line_1001, "%d", __LINE__); \
+ while(ptr_1001 >= file_ptr_1001 && *ptr_1001){ \
+ if(*ptr_1001 == '/') \
+ break; \
+ ptr_1001--; \
+ } \
+ fun_ptr_log(LOG_WARN_LEVEL, "%s#%s: " fmt, ptr_1001 + 1, line_1001, ##args); \
+ } while(0)
+
+#define LOGE(fmt, args...) \
+ do{ \
+ char *file_ptr_1001 = __FILE__; \
+ char *ptr_1001 = file_ptr_1001 + strlen(file_ptr_1001) - 1; \
+ char line_1001[10] = {0}; \
+ sprintf(line_1001, "%d", __LINE__); \
+ while(ptr_1001 >= file_ptr_1001 && *ptr_1001){ \
+ if(*ptr_1001 == '/') \
+ break; \
+ ptr_1001--; \
+ } \
+ fun_ptr_log(LOG_ERR_LEVEL, "%s#%s: " fmt, ptr_1001 + 1, line_1001, ##args); \
+ } while(0)
+
+typedef void (*mbtk_log)(int level, const char *format,...);
+
+
+typedef unsigned int uint32;
+typedef unsigned char uint8;
+typedef unsigned short uint16;
+
+typedef enum {
+ MBTK_ECALL_URC_ID_ALACK = 0, // AL-ACK signal received (refer to : urc_data)
+ MBTK_ECALL_URC_ID_SYNC_LOST, // eIM lost synchronization with PSAP
+ // (A resynch occurs after the synchronization is lost.)
+ MBTK_ECALL_URC_ID_NACK, // NACK signal received
+ MBTK_ECALL_URC_ID_RESERVED_3,
+ MBTK_ECALL_URC_ID_RESERVED_4,
+ MBTK_ECALL_URC_ID_RESERVED_5, // 5
+ MBTK_ECALL_URC_ID_3GPP_FATAL, // eIM is terminated: fatal error (3GPP Abort function)
+ MBTK_ECALL_URC_ID_CALL_DROP, // eIM is terminated: call drop
+ MBTK_ECALL_URC_ID_GENERIC, // Generic error
+ MBTK_ECALL_URC_ID_MSD_REQ, // PSAP request MSD (Only for PULL modem)
+ MBTK_ECALL_URC_ID_MSD_SEND_START, // 10 : eIM starts sending MSD
+ MBTK_ECALL_URC_ID_INITIATION, // The eIM starts sending the Initiation signal (Only for PUSH modem).
+ // It also indicates that the call setup is completed.
+ MBTK_ECALL_URC_ID_SEND_MSD, // PUSH: SEND_MSD -> MSD_SEND_START
+ // PULL: SEND_MSD -> MSD_REQ -> MSD_SEND_START
+ MBTK_ECALL_URC_ID_SEND_MSD_FULL,// SEND MSD signal received too often, PSAP sync failure assumed
+ MBTK_ECALL_URC_ID_SYNCED_PSAP, // IVS eIM is synced with PSAP
+ MBTK_ECALL_URC_ID_SYNCED_PSAP_EIM, // 15: IVS eIM is synced with PSAP eIM
+ MBTK_ECALL_URC_ID_LLACK, // Link layer ACK received
+ MBTK_ECALL_URC_ID_HLACK, // Higher Layer ACK received (similar to AL-ACK (#0) but without data)
+ MBTK_ECALL_URC_ID_EIM_RESET, // The eIM transmitter idles after a full reset. The eIM transmitter is reset after sync loss
+ // (for example, because of the end of PSAP transmission).
+ MBTK_ECALL_URC_ID_EIM_IDLES, // The eIM transmitter idles after the transmission of the Initiation signal (push mode)
+ MBTK_ECALL_URC_ID_MSD_UPDATE, // 20 : MSD update request is received.
+ MBTK_ECALL_URC_ID_MSD_UPDATE_DONE, // MSD update is done.
+ MBTK_ECALL_URC_ID_MSD_UPDATE_ERR, // MSD update request cannot be processed.
+ MBTK_ECALL_URC_ID_T3_EXPIRED, // T3 expired
+ MBTK_ECALL_URC_ID_T5_EXPIRED, // T5 expired
+ MBTK_ECALL_URC_ID_T6_EXPIRED, // 25 : T6 expired
+ MBTK_ECALL_URC_ID_T7_EXPIRED, // T7 expired
+ MBTK_ECALL_URC_ID_TH_EXPIRED, // TH expired
+ MBTK_ECALL_URC_ID_RESERVED_28,
+ MBTK_ECALL_URC_ID_RESERVED_29,
+ MBTK_ECALL_URC_ID_RESERVED_30, // 30
+ MBTK_ECALL_URC_ID_IVS_EVENT_TIMEOUT,
+ MBTK_ECALL_URC_ID_PSAP_REQ, // Only for ERA
+ MBTK_ECALL_URC_ID_MSD_SEND_FAIL_FOR_NG // NG-eCall fail to transfer MSD
+} mbtk_ecall_urc_id_enum;
+
+typedef enum {
+ MBTK_CLCC = 1,
+ MBTK_CPAS,
+ MBTK_DISCONNECTED,
+} mbtk_call_enum;
+
+typedef enum {
+ MBTK_CALL_RADY, //MT allows commands from TA/TE
+ MBTK_CALL_UNAVAILABLE, //MT does not allow commands from TA/TE
+ MBTK_CALL_UNKNOWN, //MT is not guaranteed to respond to instructions
+ MBTK_CALL_RINGING, //MT is ready for commands from TA/TE, but the ringer is active
+ MBTK_CALL_PROGRESS, //MT is ready for commands from TA/TE, but a call is in progress
+ MBTK_CALL_ASLEEP, //MT is unable to process commands from TA/TE because it is in a low functionality state
+ MBTK_CALL_ACTIVE,
+} mbtk_call_pas_enum;
+
+#define MBTK_ECALL_CFG_T3 (1 << MBTK_ECALL_CFG_ITEM_T3) // ms
+#define MBTK_ECALL_CFG_T5 (1 << MBTK_ECALL_CFG_ITEM_T5) // ms
+#define MBTK_ECALL_CFG_T6 (1 << MBTK_ECALL_CFG_ITEM_T6) // ms
+#define MBTK_ECALL_CFG_T7 (1 << MBTK_ECALL_CFG_ITEM_T7) // ms
+#define MBTK_ECALL_CFG_TH (1 << MBTK_ECALL_CFG_ITEM_TH) // ms
+#define MBTK_ECALL_CFG_TIMER_CALLBACK (1 << MBTK_ECALL_CFG_ITEM_TIMER_CALLBACK) // T9
+#define MBTK_ECALL_CFG_TIMER_CLEARDOWN (1 << MBTK_ECALL_CFG_ITEM_TIMER_CLEARDOWN) // T2
+#define MBTK_ECALL_CFG_TIMER_DEREG (1 << MBTK_ECALL_CFG_ITEM_TIMER_DEREG) // T10
+#define MBTK_ECALL_CFG_TIMER_DIAL (1 << MBTK_ECALL_CFG_ITEM_TIMER_DIAL) // "dial"
+#define MBTK_ECALL_CFG_TIMER_REDIAL (1 << MBTK_ECALL_CFG_ITEM_TIMER_REDIAL) // "redialtmr"
+#define MBTK_ECALL_CFG_TIMER_SMS (1 << MBTK_ECALL_CFG_ITEM_TIMER_SMS) // "sms" // 10
+#define MBTK_ECALL_CFG_REDIALCNT (1 << MBTK_ECALL_CFG_ITEM_REDIALCNT) // "redialcnt"
+#define MBTK_ECALL_CFG_SMSPROCESS (1 << MBTK_ECALL_CFG_ITEM_SMSPROCESS) // "smsprocess"
+#define MBTK_ECALL_CFG_SMSMSDCNT (1 << MBTK_ECALL_CFG_ITEM_SMSMSDCNT) // "smsmsdcnt"
+
+
+typedef void (*mbtk_info_callback_func)(const void* data, int data_len);
+
+typedef struct
+{
+ int client_fd;
+ pthread_t read_thread_id;
+ int exit_fd[2];
+ bool is_waitting;
+ pthread_cond_t cond;
+ pthread_mutex_t mutex;
+
+ pthread_mutex_t send_mutex;
+
+ // Temp response data.
+ uint16 info_err;
+ uint16 data_len;
+ void *data;
+
+ //mbtk wyq for server_ready_status add start
+ char server_ready_status;
+ //mbtk wyq for server_ready_status add end
+
+ mbtk_info_callback_func net_state_cb;
+ mbtk_info_callback_func call_state_cb;
+ mbtk_info_callback_func sms_state_cb;
+ mbtk_info_callback_func radio_state_cb;
+ mbtk_info_callback_func sim_state_cb;
+ mbtk_info_callback_func pdp_state_cb;
+ //add signal by xr
+ mbtk_info_callback_func signal_state_cb;
+} mbtk_info_handle_t;
+
+typedef enum {
+ MBTK_ECALL_CFG_ITEM_T3 = 0, // ms
+ MBTK_ECALL_CFG_ITEM_T5, // ms
+ MBTK_ECALL_CFG_ITEM_T6, // ms
+ MBTK_ECALL_CFG_ITEM_T7, // ms
+ MBTK_ECALL_CFG_ITEM_TH, // ms
+ MBTK_ECALL_CFG_ITEM_TIMER_CALLBACK, // T9 // 5
+ MBTK_ECALL_CFG_ITEM_TIMER_CLEARDOWN, // T2
+ MBTK_ECALL_CFG_ITEM_TIMER_DEREG, // T10
+ MBTK_ECALL_CFG_ITEM_TIMER_DIAL, // "dial"
+ MBTK_ECALL_CFG_ITEM_TIMER_REDIAL, // "redialtmr"
+ MBTK_ECALL_CFG_ITEM_TIMER_SMS, // "sms" // 10
+ MBTK_ECALL_CFG_ITEM_REDIALCNT, // "redialcnt"
+ MBTK_ECALL_CFG_ITEM_SMSPROCESS, // "smsprocess"
+ MBTK_ECALL_CFG_ITEM_SMSMSDCNT, // "smsmsdcnt"
+
+ MBTK_ECALL_CFG_ITEM_MAX
+} mbtk_ecall_cfg_item_enum;
+
+
+typedef enum {
+ MBTK_ECALL_MSD_ITEM_VERSION = 0,
+ MBTK_ECALL_MSD_ITEM_MSG_ID,
+ MBTK_ECALL_MSD_ITEM_CONTROLTYPE,
+ MBTK_ECALL_MSD_ITEM_VIN,
+ MBTK_ECALL_MSD_ITEM_STORAGETYPE,
+ MBTK_ECALL_MSD_ITEM_TIMESTAMP,
+ MBTK_ECALL_MSD_ITEM_LOCATION,
+ MBTK_ECALL_MSD_ITEM_DIRECTION,
+ MBTK_ECALL_MSD_ITEM_LOCATIONN1,
+ MBTK_ECALL_MSD_ITEM_LOCATIONN2,
+ MBTK_ECALL_MSD_ITEM_NUMBEROFOCCUPANTS,
+ MBTK_ECALL_MSD_ITEM_ADDITIONALDATA,
+ MBTK_ECALL_MSD_ITEM_ALL_IN_ONE,
+ MBTK_ECALL_MSD_ITEM_ASI,
+ MBTK_ECALL_MSD_ITEM_VEHICLE_DIAGNOSTIC,
+ MBTK_ECALL_MSD_ITEM_CRASH_INFO,
+ MBTK_ECALL_MSD_ITEM_GNSS_TYPE
+} mbtk_ecall_msd_item_enum;
+
+typedef enum {
+ MBTK_ECALL_ONLY_TYPE_DISABLE = 0,
+ MBTK_ECALL_ONLY_TYPE_ENABLE_ECALL,
+ MBTK_ECALL_ONLY_TYPE_ENABLE_NG_ECALL,
+ MBTK_ECALL_ONLY_TYPE_ENABLE_ALL,
+ MBTK_ECALL_ONLY_TYPE_CONF_NUM,
+ MBTK_ECALL_ONLY_TYPE_NORMAL
+} mbtk_ecall_only_type_enum;
+
+typedef struct
+{
+ mbtk_ecall_msd_item_enum item_type;
+
+ uint8 data[64];
+} mbtk_ecall_msd_cfg_info_t;
+
+typedef enum {
+ MBTK_ECALL_SIM_TYPE_NO_SUPPORT = 0,
+ MBTK_ECALL_SIM_TYPE_SUPPORT_ECALL,
+ MBTK_ECALL_SIM_TYPE_SUPPORT_ECALL_ONLY
+} mbtk_ecall_sim_type_enum;
+
+
+typedef struct {
+ mbtk_ecall_only_type_enum active : 8;
+ mbtk_ecall_sim_type_enum sim_type : 8; // Only for GET.
+ uint8 test_num[RIL_MAX_NUMBER_LEN];
+ uint8 reconfig_num[RIL_MAX_NUMBER_LEN];
+} mbtk_ecall_only_info_t;
+
+typedef enum {
+ MBTK_ECALL_MODE_TYPE_EU = 0,
+ MBTK_ECALL_MODE_TYPE_ERA
+} mbtk_ecall_mode_type_enum;
+
+
+typedef enum {
+ MBTK_ECALL_DIAL_TYPE_TEST = 0,
+ MBTK_ECALL_DIAL_TYPE_RECONFIG,
+ MBTK_ECALL_DIAL_TYPE_MANUALLY,
+ MBTK_ECALL_DIAL_TYPE_AUTO,
+ MBTK_ECALL_DIAL_TYPE_NOT_ACTIVATED,
+ MBTK_ECALL_DIAL_TYPE_RELEASE
+} mbtk_ecall_dial_type_enum;
+
+typedef struct {
+ uint32 type; // mbtk_ecall_cfg_item_enum
+
+#if 0
+ uint32 timer_t3; // ms
+ uint32 timer_t5; // ms
+ uint32 timer_t6; // ms
+ uint32 timer_t7; // ms
+ uint32 timer_th; // ms
+
+ uint32 timer_callback; // s (T9)
+ uint32 timer_cleardown; // s (T2)
+ uint32 timer_dereg; // s (T10)
+ uint32 timer_dial; // s
+ uint32 timer_redialtmr; // s
+ uint32 timer_sms; // s
+
+ uint32 redialcnt;
+ uint32 smsprocess;
+ uint32 smsmsdcnt;
+#else
+ uint8 data_valid[MBTK_ECALL_CFG_ITEM_MAX];
+ uint32 data[MBTK_ECALL_CFG_ITEM_MAX];
+#endif
+} mbtk_ecall_cfg_info_t;
+
+
+typedef struct
+{
+ uint8 urc_id;
+ uint8 urc_data[5];
+} mbtk_ril_ecall_state_info_t;
+
+
+typedef mbtk_info_handle_t* (*mbtk_info_handle_get)(void);
+static mbtk_info_handle_get mbtk_info_handle_get_ptr = NULL;
+
+typedef int (*mbtk_info_handle_free)(mbtk_info_handle_t** handle);
+static mbtk_info_handle_free mbtk_info_handle_free_ptr = NULL;
+
+static gsw_eu_ecall_status_cb_f gsw_eu_ecall_status_cb;
+
+static pthread_t gsw_ecall_status_cb_thread;
+static pthread_mutex_t g_mutex = PTHREAD_MUTEX_INITIALIZER;
+static pthread_cond_t g_cond = PTHREAD_COND_INITIALIZER;
+static bool g_thread_running = false;
+
+static uint32_t g_sta_cb_id = 0;
+static gsw_eu_ecall_msd_trans_status_e g_msd_send_status = 0;
+
+#define LIB_PATH "/lib/libmbtk_lib.so"
+
+
+
+
+
+
+typedef int (*mbtk_ecall_msd_set)(mbtk_info_handle_t* handle, const void* msd);
+static mbtk_ecall_msd_set mbtk_ecall_msd_set_ptr = NULL;
+
+typedef int (*mbtk_ecall_push)(mbtk_info_handle_t* handle);
+static mbtk_ecall_push mbtk_ecall_push_ptr = NULL;
+
+typedef int (*mbtk_ecall_only_set)(mbtk_info_handle_t* handle, const mbtk_ecall_only_info_t* info);
+static mbtk_ecall_only_set mbtk_ecall_only_set_ptr = NULL;
+
+
+typedef int (*mbtk_ecall_reg_set)(mbtk_info_handle_t* handle, int reg);
+static mbtk_ecall_reg_set mbtk_ecall_reg_set_ptr = NULL;
+
+typedef int (*mbtk_ecall_dial_start)(mbtk_info_handle_t* handle, mbtk_ecall_dial_type_enum type);
+static mbtk_ecall_dial_start mbtk_ecall_dial_start_ptr = NULL;
+
+typedef int (*mbtk_ecall_mode_set)(mbtk_info_handle_t* handle, mbtk_ecall_mode_type_enum mode);
+static mbtk_ecall_mode_set mbtk_ecall_mode_set_ptr = NULL;
+
+
+typedef int (*mbtk_ecall_cfg_set)(mbtk_info_handle_t* handle, const mbtk_ecall_cfg_info_t *cfg);
+static mbtk_ecall_cfg_set mbtk_ecall_cfg_set_ptr = NULL;
+
+typedef int (*mbtk_ecall_cfg_get)(mbtk_info_handle_t* handle, mbtk_ecall_cfg_info_t* cfg);
+static mbtk_ecall_cfg_get mbtk_ecall_cfg_get_ptr = NULL;
+
+typedef int (*mbtk_ecall_state_change_cb_reg)(mbtk_info_handle_t* handle, mbtk_info_callback_func cb);
+static mbtk_ecall_state_change_cb_reg mbtk_ecall_state_change_cb_reg_ptr = NULL;
+
+typedef int (*mbtk_call_state_change_cb_reg)(mbtk_info_handle_t* handle, mbtk_info_callback_func cb);
+static mbtk_call_state_change_cb_reg mbtk_call_state_change_cb_reg_ptr = NULL;
+
+
+
+static int state_t = -1;
+
+
+
+typedef struct
+{
+ uint8 call_wait;
+ uint8 dir1;
+ uint8 dir;
+ uint8 state;
+ uint8 mode;
+ uint8 mpty;
+ char phone_number[100];
+ uint8 type;
+ uint8 pas;
+ uint8 disconnected_id;
+ uint8 end_reason[128];
+} __attribute__((packed)) mbtk_call_info_t;
+
+
+//static mbtk_info_handle_t* ecall_info_handle = NULL;
+
+
+typedef void (*mbtk_log_init)(char *path, char *tag);
+static mbtk_log_init mbtk_log_init_ptr = NULL;
+
+static void *handle = NULL;
+typedef void (*mbtk_log)(int level, const char *format,...);
+static mbtk_log fun_ptr_log = NULL;
+static int ecall_init_flag = 0;
+static mbtk_info_handle_t* ecall_info_handle = NULL;
+
+
+
+static uint8_t fail_redial = 1;
+
+static gsw_eu_ecall_event_cb_f gsw_eu_ecall_event_cb = NULL;
+static bool g_setevent_cb = false;
+
+static void mbtk_send_singnal()
+{
+ pthread_mutex_lock(&g_mutex);
+ pthread_cond_signal(&g_cond);
+ pthread_mutex_unlock(&g_mutex);
+
+}
+
+static void mbtk_wait_signal()
+{
+
+ pthread_mutex_lock(&g_mutex);
+ pthread_cond_wait(&g_cond, &g_mutex);
+ pthread_mutex_unlock(&g_mutex);
+}
+
+static void mbtk_ecall_api_ptr_deinit()
+{
+ dlclose(handle);
+ handle = NULL;
+ mbtk_log_init_ptr = NULL;
+ mbtk_info_handle_get_ptr=NULL;
+ mbtk_info_handle_free_ptr=NULL;
+ mbtk_ecall_msd_set_ptr=NULL;
+ mbtk_ecall_push_ptr=NULL;
+ mbtk_ecall_only_set_ptr=NULL;
+ mbtk_ecall_reg_set_ptr=NULL;
+ mbtk_ecall_dial_start_ptr=NULL;
+ mbtk_ecall_mode_set_ptr=NULL;
+ mbtk_ecall_cfg_set_ptr=NULL;
+ mbtk_ecall_cfg_get_ptr=NULL;
+ mbtk_ecall_state_change_cb_reg_ptr=NULL;
+ gsw_eu_ecall_status_cb=NULL;
+ gsw_eu_ecall_event_cb=NULL;
+ g_setevent_cb=false;
+ mbtk_ecall_only_set_ptr = NULL;
+ fun_ptr_log=NULL;
+
+}
+
+
+static int mbtk_ecall_api_import()
+{
+ handle = dlopen(LIB_PATH, RTLD_NOW);
+ if (handle == NULL)
+ {
+ return GSW_HAL_FAIL;
+ }
+
+ if(fun_ptr_log == NULL)
+ {
+ fun_ptr_log = (mbtk_log)dlsym(handle, "mbtk_log");
+ if(fun_ptr_log == NULL)
+ {
+ return GSW_HAL_FAIL;
+ }
+ }
+
+ if(mbtk_log_init_ptr == NULL)
+ {
+ mbtk_log_init_ptr = (mbtk_log_init)dlsym(handle, "mbtk_log_init");
+ if(mbtk_log_init_ptr == NULL)
+ {
+ return GSW_HAL_FAIL;
+ }
+ }
+
+ if(mbtk_info_handle_get_ptr == NULL)
+ {
+ mbtk_info_handle_get_ptr = (mbtk_info_handle_get)dlsym(handle, "mbtk_info_handle_get");
+ if(mbtk_info_handle_get_ptr == NULL)
+ {
+ return GSW_HAL_FAIL;
+ }
+ }
+
+ if(mbtk_info_handle_free_ptr == NULL)
+ {
+ mbtk_info_handle_free_ptr = (mbtk_info_handle_free)dlsym(handle, "mbtk_info_handle_free");
+ if(mbtk_info_handle_free_ptr == NULL)
+ {
+ return GSW_HAL_FAIL;
+ }
+ }
+
+
+
+ if(mbtk_ecall_msd_set_ptr == NULL)
+ {
+ mbtk_ecall_msd_set_ptr = (mbtk_ecall_msd_set)dlsym(handle, "mbtk_ecall_msd_set");
+ if(mbtk_ecall_msd_set_ptr == NULL)
+ {
+ return GSW_HAL_FAIL;
+ }
+ }
+
+ if(mbtk_ecall_push_ptr == NULL)
+ {
+ mbtk_ecall_push_ptr = (mbtk_ecall_push)dlsym(handle, "mbtk_ecall_push");
+ if(mbtk_ecall_push_ptr == NULL)
+ {
+ return GSW_HAL_FAIL;
+ }
+ }
+ if(mbtk_ecall_only_set_ptr == NULL)
+ {
+ mbtk_ecall_only_set_ptr = (mbtk_ecall_only_set)dlsym(handle, "mbtk_ecall_only_set");
+ if(mbtk_ecall_only_set_ptr == NULL)
+ {
+ return GSW_HAL_FAIL;
+ }
+ }
+
+ if(mbtk_ecall_reg_set_ptr == NULL)
+ {
+ mbtk_ecall_reg_set_ptr = (mbtk_ecall_reg_set)dlsym(handle, "mbtk_ecall_reg_set");
+ if(mbtk_ecall_reg_set_ptr == NULL)
+ {
+ return GSW_HAL_FAIL;
+ }
+ }
+ if(mbtk_ecall_dial_start_ptr == NULL)
+ {
+ mbtk_ecall_dial_start_ptr = (mbtk_ecall_dial_start)dlsym(handle, "mbtk_ecall_dial_start");
+ if(mbtk_ecall_dial_start_ptr == NULL)
+ {
+ return GSW_HAL_FAIL;
+ }
+ }
+
+ if(mbtk_ecall_mode_set_ptr == NULL)
+ {
+ mbtk_ecall_mode_set_ptr = (mbtk_ecall_mode_set)dlsym(handle, "mbtk_ecall_mode_set");
+ if(mbtk_ecall_mode_set_ptr == NULL)
+ {
+ return GSW_HAL_FAIL;
+ }
+ }
+
+ if(mbtk_ecall_cfg_set_ptr == NULL)
+ {
+ mbtk_ecall_cfg_set_ptr = (mbtk_ecall_cfg_set)dlsym(handle, "mbtk_ecall_cfg_set");
+ if(mbtk_ecall_cfg_set_ptr == NULL)
+ {
+ return GSW_HAL_FAIL;
+ }
+ }
+ if(mbtk_ecall_cfg_get_ptr == NULL)
+ {
+ mbtk_ecall_cfg_get_ptr = (mbtk_ecall_cfg_get)dlsym(handle, "mbtk_ecall_cfg_get");
+ if(mbtk_ecall_cfg_get_ptr == NULL)
+ {
+ return GSW_HAL_FAIL;
+ }
+ }
+ if(mbtk_ecall_state_change_cb_reg_ptr == NULL)
+ {
+ mbtk_ecall_state_change_cb_reg_ptr = (mbtk_ecall_state_change_cb_reg)dlsym(handle, "mbtk_ecall_state_change_cb_reg");
+ if(mbtk_ecall_state_change_cb_reg_ptr == NULL)
+ {
+ return GSW_HAL_FAIL;
+ }
+ }
+
+ if(mbtk_call_state_change_cb_reg_ptr == NULL)
+ {
+ mbtk_call_state_change_cb_reg_ptr = (mbtk_call_state_change_cb_reg)dlsym(handle, "mbtk_call_state_change_cb_reg");
+ if(mbtk_call_state_change_cb_reg_ptr == NULL)
+ {
+ return GSW_HAL_FAIL;
+ }
+ }
+
+ return GSW_HAL_SUCCESS;
+}
+
+
+static void gsw_call_state_change_cb(const void *data, int data_len)
+{
+ mbtk_call_info_t *reg = (mbtk_call_info_t *)data;
+ switch (reg->call_wait)
+ {
+ case MBTK_CLCC:
+ {
+ LOGD("RING : %d, %d, %d, %d, %d, %s, %d, %d", reg->dir1, reg->dir, reg->state, reg->mode, reg->mpty, reg->phone_number, reg->type, reg->disconnected_id);
+ switch(reg->state)
+ {
+ case 0:
+ state_t = 0;
+ LOGD("reg->state = GSW_VOICE_CALL_CONNECTED ");
+ break;
+ case 1:
+ //state_t = GSW_VOICE_CALL_HOLDING;
+ LOGD("reg->state = GSW_VOICE_CALL_HOLDING ");
+ break;
+ case 2:
+ //state_t = GSW_VOICE_CALL_DIALING;
+ LOGD("reg->state = GSW_VOICE_CALL_DIALING ");
+ break;
+ case 3:
+ //state_t = GSW_VOICE_CALL_ALERTING;
+ LOGD("reg->state = GSW_VOICE_CALL_ALERTING ");
+ break;
+ case 4:
+ //state_t = GSW_VOICE_CALL_INCOMING;
+
+ LOGD("reg->state = GSW_VOICE_CALL_INCOMING ");
+ break;
+ case 5:
+ //state_t = GSW_VOICE_CALL_WAITING;
+ LOGD("reg->state = GSW_VOICE_CALL_WAITING ");
+ break;
+ case 6:
+ //state_t = GSW_VOICE_CALL_END;
+ LOGD("reg->state = GSW_VOICE_CALL_END ");
+ break;
+ }
+
+ g_sta_cb_id = reg->dir1;
+ }
+
+ break;
+ default:
+ LOGE("RING : None call_wait = %d", reg->call_wait);
+ break;
+ }
+}
+
+
+/**
+* @brief init the Europe Ecall voice
+* @param [in] None
+* @param [out] None
+* @retval GSW_HAL_SUCCESS\GSW_HAL_FAIL
+*/
+
+int32_t gsw_eu_ecall_voice_init(void)
+{
+ int ret =-1;
+ ret = mbtk_ecall_api_import();
+ if(ret <0)
+ {
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_log_init_ptr("syslog", "GSW_ECALL");
+
+ ecall_info_handle = mbtk_info_handle_get_ptr();
+ if(ecall_info_handle == NULL)
+ {
+ LOGE("mbtk_info_handle_get_ptr fail!!!");
+ return GSW_HAL_FAIL;
+ }
+
+ if(ecall_init_flag == 0)
+ {
+ ecall_init_flag = 1;
+ }
+ ret = mbtk_call_state_change_cb_reg_ptr(ecall_info_handle, gsw_call_state_change_cb);
+ if(ret < 0)
+ {
+ LOGE("mbtk_call_state_change_cb_reg_ptr failed");
+ return GSW_HAL_FAIL;
+ }
+ return GSW_HAL_SUCCESS;
+
+}
+
+
+/**
+* @brief deinit the Europe Ecall voice
+* @param [in] None
+* @param [out] None
+* @retval GSW_HAL_SUCCESS\GSW_HAL_FAIL
+*/
+int32_t gsw_eu_ecall_voice_deinit(void)
+{
+ int ret = -1;
+ if(ecall_info_handle == NULL || ecall_init_flag ==0)
+ {
+ LOGE("No init can not deinit");
+ return GSW_HAL_FAIL;
+ }
+
+ g_thread_running = false;
+ mbtk_send_singnal();
+ if (gsw_ecall_status_cb_thread != 0)
+ {
+ pthread_cancel(gsw_ecall_status_cb_thread);
+ pthread_join(gsw_ecall_status_cb_thread, NULL);
+ gsw_ecall_status_cb_thread = 0;
+ }
+
+ ret = mbtk_info_handle_free_ptr(&ecall_info_handle);
+ if(ret < 0 )
+ {
+ LOGE("mbtk_info_handle_free handle faile");
+ }
+ ecall_info_handle = NULL;
+ ecall_init_flag = 0;
+
+ mbtk_ecall_api_ptr_deinit();
+ return GSW_HAL_SUCCESS;
+
+}
+
+
+/**
+* @brief start a Europe Ecall
+* @param [in] gsw_eu_ecall_info_t *p_info: ecall info
+* @param [out] None
+* @retval GSW_HAL_SUCCESS\GSW_HAL_FAIL
+*/
+int32_t gsw_eu_ecall_start(gsw_eu_ecall_info_t *p_info)
+{
+ int ret = -1;
+ mbtk_ecall_dial_type_enum ecall_type= -1;
+ mbtk_ecall_only_info_t only_info;
+
+
+ char tmp_number[GSW_EU_ECALL_MAX_PHONE_NUMBER] = {0};
+
+ char msd_data[500] = {0};
+
+ memset(&only_info, 0, sizeof(mbtk_ecall_only_info_t));
+
+ if(ecall_init_flag !=1)
+ {
+ return GSW_HAL_FAIL;
+ }
+
+ if(p_info == NULL || p_info->msd_len > GSW_EU_ECALL_MAX_MSD )
+ {
+ return GSW_HAL_FAIL;
+ }
+
+
+ if(p_info->type == GSW_EU_ECALL_TYPE_TEST)
+ {
+ //AT+CECALL =0
+ ecall_type = MBTK_ECALL_DIAL_TYPE_TEST;
+ snprintf(tmp_number,sizeof(tmp_number),"%s",p_info->ecall_number);
+ strncpy((char *)only_info.test_num,tmp_number,RIL_MAX_NUMBER_LEN);
+ //snprintf((char*)only_info.test_num,sizeof(only_info.test_num),"%s",p_info->ecall_number);
+ }
+
+ if(p_info->type == GSW_EU_ECALL_TYPE_RECONFIG )
+ {
+ //AT+CECALL =1
+ ecall_type = MBTK_ECALL_DIAL_TYPE_RECONFIG;
+ snprintf(tmp_number,sizeof(tmp_number),"%s",p_info->ecall_number);
+ strncpy((char *)only_info.test_num,tmp_number,RIL_MAX_NUMBER_LEN);
+ }
+
+ if(p_info->type == GSW_EU_ECALL_TYPE_EMERGENCY )
+ {
+ if(p_info->auto_trigger)
+ {
+ //AT+CECALL =1
+ ecall_type = MBTK_ECALL_DIAL_TYPE_AUTO;
+ }
+ else
+ {
+ //AT+CECALL =1
+ ecall_type = MBTK_ECALL_DIAL_TYPE_MANUALLY;//手动
+ }
+
+ }
+
+ //msd
+ for (int i = 0; i < p_info->msd_len; i++)
+ {
+ sprintf(msd_data + (i * 2), "%02x", p_info->msd[i]);
+ }
+
+ //
+ only_info.active = MBTK_ECALL_ONLY_TYPE_DISABLE ;
+
+ ret=mbtk_ecall_only_set_ptr(ecall_info_handle,&only_info);
+ if (ret != 0)
+ {
+ LOGE("mbtk_ecall_only_set_success failed");
+ return GSW_HAL_FAIL;
+ }
+
+ //set msd
+ ret= mbtk_ecall_msd_set_ptr(ecall_info_handle,(const void*)msd_data);
+ if (ret != 0)
+ {
+ LOGE("mbtk_ecall_msd_set_ptr failed");
+ return GSW_HAL_FAIL;
+ }
+
+ //dial
+ ret= mbtk_ecall_dial_start_ptr(ecall_info_handle,ecall_type);
+ if (ret != 0)
+ {
+ LOGE("mbtk_ecall_dial_start_ptr failed");
+ return GSW_HAL_FAIL;
+ }
+
+ //push mst
+ ret= mbtk_ecall_push_ptr(ecall_info_handle);
+ if (ret != 0)
+ {
+ g_msd_send_status = GSW_EU_ECALL_MSD_TRANS_STATUS_FAILURE;
+ mbtk_send_singnal();
+ LOGE("mbtk_ecall_push_ptr failed");
+ return GSW_HAL_FAIL;
+ }
+
+ g_msd_send_status = GSW_EU_ECALL_MSD_TRANS_STATUS_SUCCESS;
+ mbtk_send_singnal();
+ return GSW_HAL_SUCCESS;
+
+}
+
+
+/**
+* @brief hangup a Europe Ecall
+* @param [in] None
+* @param [out] None
+* @retval GSW_HAL_SUCCESS\GSW_HAL_FAIL
+*/
+int32_t gsw_eu_ecall_hangup(void)
+{
+ int32_t ret = -1;
+ if(ecall_info_handle == NULL)
+ {
+ return GSW_HAL_FAIL;
+ }
+
+ ret = mbtk_ecall_dial_start_ptr(ecall_info_handle,MBTK_ECALL_DIAL_TYPE_RELEASE);
+ if(ret != 0)
+ {
+ LOGE("hangup ecall faile ");
+ return GSW_HAL_FAIL;
+ }
+
+ return GSW_HAL_SUCCESS;
+}
+
+/**
+* @brief using push mode send msd data
+* @param [in] GSW_EU_ECALL_STATE_E state: ecall state
+* @param [out] None
+* @retval GSW_HAL_SUCCESS\GSW_HAL_FAIL
+*/
+
+int32_t gsw_eu_ecall_updateMsd(const uint8_t *msd, uint32_t msd_len)
+{
+ int ret = -1;
+ char msd_data[500] = {0};
+
+ if(msd == NULL || msd_len == 0 ||ecall_info_handle == NULL)
+ {
+ return GSW_HAL_MEM_INVAILD;
+ }
+
+ //msd
+ for (int i = 0; i < msd_len; i++)
+ {
+ sprintf(msd_data + i * 2, "%02x", *(msd + i));
+ }
+ ret = mbtk_ecall_msd_set_ptr(ecall_info_handle,(const void*)msd_data);
+ if (ret != 0)
+ {
+ LOGE("mbtk_ecall_msd_get_ptr failed");
+ return GSW_HAL_FAIL;
+ }
+ return GSW_HAL_SUCCESS;
+
+}
+
+
+int32_t gsw_eu_ecall_pushMsd(gsw_eu_ecall_state_e state)
+{
+ int ret = -1;
+ if(ecall_info_handle == NULL)
+ {
+ return GSW_HAL_FAIL;
+ }
+
+ ret = mbtk_ecall_push_ptr(ecall_info_handle);
+ if(ret != 0)
+ {
+ g_msd_send_status = GSW_EU_ECALL_MSD_TRANS_STATUS_FAILURE;
+ mbtk_send_singnal();
+ return GSW_HAL_FAIL;
+ }
+ g_msd_send_status = GSW_EU_ECALL_MSD_TRANS_STATUS_SUCCESS;
+ mbtk_send_singnal();
+ return GSW_HAL_SUCCESS;
+
+
+}
+
+/**
+* @brief get ecall config
+* @param [in] None
+* @param [out] gsw_eu_ecall_config_t *p_config: ecall config
+* @retval GSW_HAL_SUCCESS\GSW_HAL_FAIL
+*/
+int32_t gsw_eu_ecall_getConfig(gsw_eu_ecall_config_t *p_config)
+{
+
+ if(ecall_info_handle==NULL || p_config == NULL)
+ {
+ LOGE("mbtk_ecall_cfg_get() fail.");
+ return GSW_HAL_MEM_INVAILD;
+ }
+
+ p_config->fail_redial = fail_redial;
+
+ return GSW_HAL_SUCCESS;
+}
+
+/**
+* @brief set ecall config
+* @param [in] int32_t item: config item
+* @param [in] gsw_eu_ecall_config_t *p_config: config info
+* @param [out] None
+* @retval GSW_HAL_SUCCESS\GSW_HAL_FAIL
+*/
+
+int32_t gsw_eu_ecall_setConfig(int32_t item, gsw_eu_ecall_config_t *p_config)
+{
+ if(ecall_info_handle == NULL || p_config == NULL)
+ {
+ LOGE("gsw_eu_ecall_setConfig no init");
+ return GSW_HAL_MEM_INVAILD;
+ }
+
+ mbtk_ecall_cfg_info_t cfg_info = {0};
+
+ int ret =-1;
+ cfg_info.type = 0;
+
+ if(item & GSW_EU_ECALL_CONFIG_FAIL_REDIAL)
+ {
+ fail_redial = p_config->fail_redial;
+ if(p_config->fail_redial)
+ {
+ cfg_info.type |= MBTK_ECALL_CFG_TIMER_DIAL;
+ cfg_info.data[MBTK_ECALL_CFG_ITEM_TIMER_DIAL] = 60000;//timer 60s
+
+ }
+ else
+ {
+ cfg_info.type |= MBTK_ECALL_CFG_TIMER_DIAL;
+ cfg_info.data[MBTK_ECALL_CFG_ITEM_TIMER_DIAL] = 0;
+ }
+ }
+
+ ret = mbtk_ecall_cfg_set_ptr(ecall_info_handle, &cfg_info);
+ if (ret < 0)
+ {
+ LOGE("mbtk_ecall_cfg_set_ptr fail");
+ return GSW_HAL_FAIL;
+ }
+ return GSW_HAL_SUCCESS;
+
+}
+
+
+
+static void mbtk_ecall_state_change_cb(const void* data, int data_len)
+{
+ static gsw_eu_ecall_event_t event;
+ if(data)
+ {
+ mbtk_ril_ecall_state_info_t *ecall_data = (mbtk_ril_ecall_state_info_t*)data;
+ switch(ecall_data->urc_id)
+ {
+ case MBTK_ECALL_URC_ID_MSD_REQ:
+ {
+ LOGD("MBTK_ECALL_URC_ID_MSD_REQ");
+ event.process = GSW_EU_ECALL_EVENT_PROCESS_IVS_START_RECEIVED_MSD;
+ event.msdupdate = GSW_EU_ECALL_EVENT_MSDUPDATE_PSAP_REQURE_UPDATE_MSD;
+ event.extend_state = GSW_EU_ECALL_EVENT_EXTEND_STATE_NONE;
+ event.establish = GSW_EU_ECALL_EVENT_ESTABLISH_NONE;
+ break;
+ }
+ case MBTK_ECALL_URC_ID_MSD_SEND_START:
+ {
+ LOGD("MBTK_ECALL_URC_ID_MSD_SEND_START");
+
+ event.process = GSW_EU_ECALL_EVENT_PROCESS_IVS_START_RECEIVED_MSD;
+ event.msdupdate = GSW_EU_ECALL_EVENT_MSDUPDATE_PSAP_REQURE_UPDATE_MSD;
+ event.extend_state = GSW_EU_ECALL_EVENT_EXTEND_STATE_NONE;
+ event.establish = GSW_EU_ECALL_EVENT_ESTABLISH_NONE;
+ break;
+ }
+ case MBTK_ECALL_URC_ID_NACK:
+ {
+ LOGD("MBTK_ECALL_URC_ID_NACK");
+
+ event.process = GSW_EU_ECALL_EVENT_PROCESS_IVS_NACK_RECEIVED;
+ event.msdupdate = GSW_EU_ECALL_EVENT_MSDUPADTE_NONE;
+ event.extend_state = GSW_EU_ECALL_EVENT_EXTEND_STATE_NONE;
+ event.establish = GSW_EU_ECALL_EVENT_ESTABLISH_NONE;
+ break;
+ }
+ case MBTK_ECALL_URC_ID_LLACK:
+ {
+ LOGD("MBTK_ECALL_URC_ID_LLACK");
+
+ event.process = GSW_EU_ECALL_EVENT_PROCESS_IVS_ACK_RECEIVED;
+ event.msdupdate = GSW_EU_ECALL_EVENT_MSDUPADTE_NONE;
+ event.extend_state = GSW_EU_ECALL_EVENT_EXTEND_STATE_IVS_LLACK_RECEIVED;
+ event.establish = GSW_EU_ECALL_EVENT_ESTABLISH_SUCCESS;
+ g_msd_send_status = GSW_EU_ECALL_MSD_TRANS_STATUS_SUCCESS;
+ mbtk_send_singnal();
+ break;
+ }
+ case MBTK_ECALL_URC_ID_HLACK:
+ {
+ LOGD("MBTK_ECALL_URC_ID_HLACK");
+ event.fail = GSW_EU_ECALL_EVENT_FAIL_NONE;
+ event.process = GSW_EU_ECALL_EVENT_PROCESS_IVS_HLACK_RECEIVED;
+
+ event.msdupdate = GSW_EU_ECALL_EVENT_MSDUPADTE_NONE;
+ event.extend_state = GSW_EU_ECALL_EVENT_EXTEND_STATE_NONE;
+ event.establish = GSW_EU_ECALL_EVENT_ESTABLISH_SUCCESS;
+ g_msd_send_status = GSW_EU_ECALL_MSD_TRANS_STATUS_SUCCESS;
+ mbtk_send_singnal();
+ break;
+ }
+ case MBTK_ECALL_URC_ID_ALACK:
+ {
+ LOGD("MBTK_ECALL_URC_ID_ALACK");
+ event.extend_state = GSW_EU_ECALL_EVENT_EXTEND_STATE_IVS_ALACK_RECEIVED;
+ }
+ case MBTK_ECALL_URC_ID_MSD_UPDATE_DONE:
+ {
+ LOGD("MBTK_ECALL_URC_ID_MSD_UPDATE_DONE");
+ event.process = GSW_EU_ECALL_EVENT_PROCESS_IVS_NONE;
+ event.msdupdate = GSW_EU_ECALL_EVENT_MSDUPADTE_NONE;
+ event.extend_state = GSW_EU_ECALL_EVENT_EXTEND_STATE_NONE;
+ event.establish = GSW_EU_ECALL_EVENT_ESTABLISH_SUCCESS;
+
+ }
+ case MBTK_ECALL_URC_ID_T5_EXPIRED:
+ case MBTK_ECALL_URC_ID_T6_EXPIRED:
+ case MBTK_ECALL_URC_ID_T7_EXPIRED:
+ {
+ LOGD("MBTK_ECALL_URC_ID_T5_EXPIRED | MBTK_ECALL_URC_ID_T5_EXPIRED | MBTK_ECALL_URC_ID_T7_EXPIRED");
+ event.msdupdate = GSW_EU_ECALL_EVENT_MSDUPDATE_IVS_UPDATE_MSD_TIMEOUT;
+ event.extend_state = GSW_EU_ECALL_EVENT_EXTEND_STATE_NONE;
+ event.establish = GSW_EU_ECALL_EVENT_ESTABLISH_SUCCESS;
+ g_msd_send_status = GSW_EU_ECALL_MSD_TRANS_STATUS_FAILURE;
+ mbtk_send_singnal();
+ break;
+ }
+ case MBTK_ECALL_URC_ID_3GPP_FATAL:
+ case MBTK_ECALL_URC_ID_GENERIC:
+ {
+ LOGD("MBTK_ECALL_URC_ID_GENERIC|MBTK_ECALL_URC_ID_3GPP_FATAL");
+ event.extend_state = GSW_EU_ECALL_EVENT_EXTEND_STATE_NONE;
+ }
+ case MBTK_ECALL_URC_ID_MSD_UPDATE_ERR:
+ {
+ LOGD("MBTK_ECALL_URC_ID_MSD_UPDATE_ERR");
+ event.msdupdate = GSW_EU_ECALL_EVENT_MSDUPDATE_IVS_UPDATE_MSD_TIMEOUT;
+
+ }
+ default:
+ {
+
+ LOGE("No process urc_id : %d", ecall_data->urc_id);
+ break;
+ }
+ }
+
+ }
+ if(gsw_eu_ecall_event_cb)
+ {
+ gsw_eu_ecall_event_cb(&event);
+ }
+}
+
+
+/**
+ * @brief register the ecall status callback
+* @param [in] gsw_eu_ecall_status_cb_f cb:callback
+* @param [out] None
+* @retval GSW_HAL_SUCCESS\GSW_HAL_FAIL
+*/
+int32_t gsw_eu_ecall_setEventCB(gsw_eu_ecall_event_cb_f cb)
+{
+ int ret = -1;
+ if(ecall_info_handle==NULL)
+ {
+ return GSW_HAL_MEM_INVAILD;
+ }
+
+ gsw_eu_ecall_event_cb = cb;
+ if(!g_setevent_cb)
+ {
+ ret = mbtk_ecall_state_change_cb_reg_ptr(ecall_info_handle, mbtk_ecall_state_change_cb);
+ if(ret < 0)
+ {
+
+ LOGE("mbtk_ecall_state_change_cb_reg_ptr failed");
+ return GSW_HAL_FAIL;
+ }
+ g_setevent_cb = true;
+ }
+
+ return GSW_HAL_SUCCESS;
+
+}
+
+
+
+static void* ecall_msd_status_cb_thread(void* arg)
+{
+ while(g_thread_running)
+ {
+ mbtk_wait_signal();
+ if(g_thread_running == false)
+ {
+ return NULL;
+ }
+ if(gsw_eu_ecall_status_cb)
+ {
+ gsw_eu_ecall_status_cb(g_sta_cb_id,g_msd_send_status);
+ }
+
+ }
+ return NULL;
+}
+
+/**
+* @brief register the ecall status callback
+* @param [in] gsw_eu_ecall_status_cb_f cb:callback
+* @param [out] None
+* @retval GSW_HAL_SUCCESS\GSW_HAL_FAIL
+*/
+int32_t gsw_eu_ecall_setStatusCB(gsw_eu_ecall_status_cb_f cb)
+{
+ int ret = -1;
+ if(ecall_info_handle==NULL)
+ {
+ return GSW_HAL_FAIL;
+ }
+ gsw_eu_ecall_status_cb = cb;
+ if (!g_thread_running)
+ {
+ ret = pthread_create(&gsw_ecall_status_cb_thread, NULL, ecall_msd_status_cb_thread, NULL);
+ if(ret < 0)
+ {
+ LOGE("pthread_create failed");
+ g_thread_running = false;
+ return GSW_HAL_FAIL;
+ }
+ g_thread_running = true;
+ }
+
+ return GSW_HAL_SUCCESS;
+
+}
diff --git a/mbtk/libgsw_lib/gsw_gnss.c b/mbtk/libgsw_lib/gsw_gnss.c
new file mode 100755
index 0000000..7beb0d1
--- /dev/null
+++ b/mbtk/libgsw_lib/gsw_gnss.c
@@ -0,0 +1,567 @@
+#include <stdio.h>
+#include <string.h>
+#include <strings.h>
+#include <stdlib.h>
+#include <errno.h>
+#include <fcntl.h>
+#include <signal.h>
+#include <sys/types.h>
+#include <unistd.h>
+#include <pthread.h>
+#include <termios.h>
+#include <time.h>
+#include <sys/ioctl.h>
+#include <dlfcn.h>
+#include <stdint.h>
+#include <stdbool.h>
+
+#include "gsw_gnss.h"
+
+#ifndef LOG_ERR_LEVEL
+#define LOG_ERR_LEVEL 3 /* error conditions */
+#endif
+#ifndef LOG_WARN_LEVEL
+#define LOG_WARN_LEVEL 4 /* warning conditions */
+#endif
+#ifndef LOG_INFO_LEVEL
+#define LOG_INFO_LEVEL 6 /* informational */
+#endif
+#ifndef LOG_DEBUG_LEVEL
+#define LOG_DEBUG_LEVEL 7 /* debug-level messages */
+#endif
+#ifndef LOG_VERBOSE_LEVEL
+#define LOG_VERBOSE_LEVEL 8
+#endif
+
+#define LOGV(fmt, args ...) \
+ do{ \
+ char *file_ptr_1001 = __FILE__; \
+ char *ptr_1001 = file_ptr_1001 + strlen(file_ptr_1001) - 1; \
+ char line_1001[10] = {0}; \
+ sprintf(line_1001, "%d", __LINE__); \
+ while(ptr_1001 >= file_ptr_1001 && *ptr_1001){ \
+ if(*ptr_1001 == '/') \
+ break; \
+ ptr_1001--; \
+ } \
+ fun_ptr_log(LOG_VERBOSE_LEVEL, "%s#%s: " fmt, ptr_1001 + 1, line_1001, ##args); \
+ } while(0)
+
+#define LOGI(fmt, args...) \
+ do{ \
+ char *file_ptr_1001 = __FILE__; \
+ char *ptr_1001 = file_ptr_1001 + strlen(file_ptr_1001) - 1; \
+ char line_1001[10] = {0}; \
+ sprintf(line_1001, "%d", __LINE__); \
+ while(ptr_1001 >= file_ptr_1001 && *ptr_1001){ \
+ if(*ptr_1001 == '/') \
+ break; \
+ ptr_1001--; \
+ } \
+ fun_ptr_log(LOG_INFO_LEVEL, "%s#%s: " fmt, ptr_1001 + 1, line_1001, ##args); \
+ } while(0)
+
+#define LOGD(fmt, args...) \
+ do{ \
+ char *file_ptr_1001 = __FILE__; \
+ char *ptr_1001 = file_ptr_1001 + strlen(file_ptr_1001) - 1; \
+ char line_1001[10] = {0}; \
+ sprintf(line_1001, "%d", __LINE__); \
+ while(ptr_1001 >= file_ptr_1001 && *ptr_1001){ \
+ if(*ptr_1001 == '/') \
+ break; \
+ ptr_1001--; \
+ } \
+ fun_ptr_log(LOG_DEBUG_LEVEL, "%s#%s: " fmt, ptr_1001 + 1, line_1001, ##args); \
+ } while(0)
+
+#define LOGW(fmt, args...) \
+ do{ \
+ char *file_ptr_1001 = __FILE__; \
+ char *ptr_1001 = file_ptr_1001 + strlen(file_ptr_1001) - 1; \
+ char line_1001[10] = {0}; \
+ sprintf(line_1001, "%d", __LINE__); \
+ while(ptr_1001 >= file_ptr_1001 && *ptr_1001){ \
+ if(*ptr_1001 == '/') \
+ break; \
+ ptr_1001--; \
+ } \
+ fun_ptr_log(LOG_WARN_LEVEL, "%s#%s: " fmt, ptr_1001 + 1, line_1001, ##args); \
+ } while(0)
+
+#define LOGE(fmt, args...) \
+ do{ \
+ char *file_ptr_1001 = __FILE__; \
+ char *ptr_1001 = file_ptr_1001 + strlen(file_ptr_1001) - 1; \
+ char line_1001[10] = {0}; \
+ sprintf(line_1001, "%d", __LINE__); \
+ while(ptr_1001 >= file_ptr_1001 && *ptr_1001){ \
+ if(*ptr_1001 == '/') \
+ break; \
+ ptr_1001--; \
+ } \
+ fun_ptr_log(LOG_ERR_LEVEL, "%s#%s: " fmt, ptr_1001 + 1, line_1001, ##args); \
+ } while(0)
+
+
+#define GSW_HAL_SUCCESS 0
+#define GSW_HAL_FAIL -1 //表示失败(通用性)
+#define GSW_HAL_MEM_INVAILD -2 //表示入参地址为NULL
+
+#define MOPEN_GNSS_NMEA_MAX_LENGTH 255 /** NMEA string maximum length. */
+static gsw_gnss_cb *gsw_cb = NULL;
+static bool inited = false;
+static bool strated = false;
+
+typedef void (*mbtk_gnss_callback_func)(uint32_t ind_type, const void* data, uint32_t data_len);
+typedef void (*mbtk_log)(int level, const char *format,...);
+static mbtk_log fun_ptr_log = NULL;
+
+int (*mbtk_gnss_init)(mbtk_gnss_callback_func cb);
+int (*mbtk_gnss_deinit)();
+
+int (*mbtk_gnss_ind_set)(uint32_t ,int);
+int (*mbtk_gnss_open)(int, int);
+int (*mbtk_gnss_close)(int);
+int (*mbtk_gnss_setting)(const char *setting_cmd, int);
+
+int (*mbtk_gnss_eph_download)(int);
+int (*mbtk_gnss_eph_inject)(int);
+
+int gnss_freq = -1;
+GSW_GNSS_MODE_CONFIGURATION gnss_startmode = -1;
+GSW_GNSS_CONF_SWITCH gnss_switch_op = -1;
+void *dlHandle_gnss;
+char *lynqLib_gnss = "/lib/libmbtk_lib.so";
+
+typedef enum
+{
+ E_MT_LOC_MSG_ID_LOCATION_INFO = 1, /**< pv_data = & mopen_location_info_t */
+ E_MT_LOC_MSG_ID_NMEA_INFO = 3, /**< pv_data = & mopen_gnss_nmea_info_t */
+} e_msg_id_t;
+
+typedef struct
+{
+ int64_t timestamp; /**< System Timestamp, marked for when got the nmea data */
+ int length; /**< NMEA string length. */
+ char nmea[MOPEN_GNSS_NMEA_MAX_LENGTH + 1]; /**< NMEA string.*/
+}mopen_gnss_nmea_info_t; /* Message */
+
+typedef struct
+{
+ uint32_t size; /**< Set to the size of mcm_gps_location_t. */
+ int flags; /**< Contains GPS location flags bits. */
+ int position_source; /**< Provider indicator for HYBRID or GPS. */ //功能暂未实现,可不用添加进结构体
+ double latitude; /**< Latitude in degrees. */
+ double longitude; /**< Longitude in degrees. */
+ double altitude; /**< Altitude in meters above the WGS 84 reference ellipsoid. */
+ float speed; /**< Speed in meters per second. */
+ float bearing; /**< Heading in degrees. */ //功能暂未实现,可不用添加进结构体
+ float accuracy; /**< Expected accuracy in meters. */ //功能暂未实现,可不用添加进结构体
+ int64_t timestamp; /**< Timestamp for the location fix in UTC million-second base. */
+ int32_t is_indoor; /**< Location is indoors. */ //功能暂未实现,可不用添加进结构体
+ float floor_number; /**< Indicates the floor number. */
+}mopen_location_info_t;//功能暂未实现,可不用添加进结构体
+
+
+typedef struct {
+ uint32_t flags;
+ double latitude; /**< Latitude in degrees. */
+ double longitude; /**< Longitude in degrees. */
+ double altitude; /**< Altitude in meters above the WGS 84 reference ellipsoid. */
+ float speed; /**< Speed in meters per second. */
+ float bearing; /**< Heading in degrees. */
+ int64_t timestamp; /**< Timestamp for the location fix in UTC million-second base. */
+} mbtk_gnss_location_info_t;
+
+typedef enum{
+ MODE_GPS = 1, /**< GPS only */
+ MODE_BEIDOU, /**< BEIDOU only*/
+ MODE_GPS_BEIDOU, /**< GPS+BEIDOU */
+ MODE_GLONASS, /**< GLONASS only */
+ MODE_GPS_GLONASS, /**< GPS+GLONASS */
+ MODE_GLONASS_BEIDOU, /**< GLONASS+BEIDOU */ /* The type does not support this type */
+ MODE_GPS_GLONASS_BEIDOU, /**< GPS+GLONASS+BEIDOU */ /* The type does not support this type */
+ MODE_GALILEO, /**< GALILEO only */
+ MODE_GPS_GALILEO, /**< GPS+GALILEO */
+ MODE_BEIDOU_GALILEO, /**< BEIDOU+GALILEO */
+ MODE_GPS_BEIDOU_GALILEO, /**< GPS+BEIDOU+GALILEO */
+ MODE_GLONASS_GALILEO, /**< GLONASS+GALILEO */
+ MODE_GPS_GLONASS_GALILEO, /**< GPS+GLONASS+GALILEO */
+ MODE_BEIDOU_GLONASS_GALILEO, /**< BEIDOU+GLONASS+GALILEO */ /* The type does not support this type */
+ MODE_END = -1, /**< init value */
+}GSW_GNSS_MODE_CONFIGURATION_HD;
+
+
+GSW_GNSS_MODE_CONFIGURATION_HD map_gnss_mode(GSW_GNSS_MODE_CONFIGURATION mode)
+{
+ switch (mode)
+ {
+ case GSW_MODE_GPS_GLONASS:
+ return MODE_GPS_GLONASS;
+ case GSW_MODE_GPS_BEIDOU:
+ return MODE_GPS_BEIDOU;
+ case GSW_MODE_GPS_GLONASS_BEIDOU:
+ return MODE_END;
+ case GSW_MODE_GPS:
+ return MODE_GPS;
+ case GSW_MODE_BEIDOU:
+ return MODE_BEIDOU;
+ case GSW_MODE_GLONASS:
+ return MODE_GLONASS;
+ case GSW_MODE_GPS_GLONASS_BEIDOU_GALILEO:
+ return MODE_END;
+ case GSW_MODE_GPS_GALILEO:
+ return MODE_GPS_GALILEO;
+ case GSW_MODE_GPS_GLONASS_GALILEO:
+ return MODE_GPS_GLONASS_GALILEO;
+ case GSW_MODE_GPS_GALILEO_ONLY:
+ return MODE_GALILEO;
+ case GSW_MODE_GPS_GLONASS_BEIDOU_GALILEO_NAVIC:
+ return MODE_END;
+ case GSW_MODE_GNSS_END:
+ return MODE_END;
+ default:
+ return MODE_END;
+ }
+}
+
+int mbtk_gnss_set_VTG()
+{
+ int ret;
+ char param_buf[32] = {0};
+ snprintf(param_buf, 32, "$MSGCFG,2,1000");
+ mbtk_gnss_setting=(int(*)(const char *setting_cmd, int))dlsym(dlHandle_gnss, "mbtk_gnss_setting");
+ ret = mbtk_gnss_setting(param_buf, QSER_GNSS_TIMEOUT);
+ if(ret != 0)
+ {
+ LOGE("[qser_gnss] mbtk_gnss_setting fail.ret = [%d]", ret);
+ return GSW_HAL_FAIL;
+ }
+ return GSW_HAL_SUCCESS;
+}
+
+/**
+ * @brief SDK interface to set gnss sampling frequency, support 1Hz、2Hz、5Hz
+ * @param [in] freq
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_gnss_set_freq(int freq)
+{
+ int ret;
+ if (!strated)
+ {
+ gnss_freq = freq;
+ return GSW_HAL_SUCCESS;
+ }
+ char param_buf[32] = {0};
+ snprintf(param_buf, 32, "$FREQCFG,%d", freq);
+ mbtk_gnss_setting=(int(*)(const char *setting_cmd, int))dlsym(dlHandle_gnss, "mbtk_gnss_setting");
+ ret = mbtk_gnss_setting(param_buf, QSER_GNSS_TIMEOUT);
+ if(ret != 0)
+ {
+ LOGE("[qser_gnss] mbtk_gnss_setting fail.ret = [%d]", ret);
+ return GSW_HAL_FAIL;
+ }
+ return GSW_HAL_SUCCESS;
+}
+
+/**
+ * @brief SDK interface to set gnss start mode,specific mode refreence GSW_HAL_GNSS_MODE_CONFIGURATION
+ * @param [in] start_mode
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_gnss_set_start_mode(GSW_GNSS_MODE_CONFIGURATION start_mode)
+{
+ int ret;
+ if (!strated)
+ {
+ gnss_startmode = start_mode;
+ return GSW_HAL_SUCCESS;
+ }
+ char param_buf[32] = {0};
+ snprintf(param_buf, 32, "$SYSCFG,%d", map_gnss_mode(start_mode));
+ if(map_gnss_mode(start_mode) == -1)
+ {
+ LOGE("[qser_gnss] mbtk_gnss_start_mode con't support");
+ return GSW_HAL_FAIL;
+ }
+ mbtk_gnss_setting=(int(*)(const char *setting_cmd, int))dlsym(dlHandle_gnss, "mbtk_gnss_setting");
+ ret = mbtk_gnss_setting(param_buf, QSER_GNSS_TIMEOUT);
+ if(ret != 0)
+ {
+ LOGE("[qser_gnss] mbtk_gnss_setting fail.ret = [%d]", ret);
+ return GSW_HAL_FAIL;
+ }
+ return GSW_HAL_SUCCESS;
+}
+
+/**
+ * @brief SDK interface to set EPO switch if open or close
+ * @param [in] switch_op
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_gnss_epo_switch(GSW_GNSS_CONF_SWITCH switch_op)
+{
+ int ret;
+ if (!strated)
+ {
+ gnss_switch_op = switch_op;
+ return GSW_HAL_SUCCESS;
+ }
+
+ if(switch_op)
+ {
+ mbtk_gnss_eph_download=(int(*)(int))dlsym(dlHandle_gnss, "mbtk_gnss_eph_download");
+ ret = mbtk_gnss_eph_download(QSER_GNSS_TIMEOUT);
+ if(ret != 0)
+ {
+ LOGE("[qser_gnss] mbtk_gnss_eph_download fail.ret = [%d]", ret);
+ return GSW_HAL_FAIL;
+ }
+ mbtk_gnss_eph_inject=(int(*)(int))dlsym(dlHandle_gnss, "mbtk_gnss_eph_inject");
+ ret = mbtk_gnss_eph_inject(QSER_GNSS_TIMEOUT);
+ if(ret != 0)
+ {
+ LOGE("[qser_gnss] mbtk_gnss_eph_inject fail.ret = [%d]", ret);
+ return GSW_HAL_FAIL;
+ }
+ }
+ return GSW_HAL_SUCCESS;
+}
+
+static void gnss_callback(uint32_t ind_type, const void* data, uint32_t data_len)
+{
+ if(data == NULL || data_len <= 0)
+ {
+ LOGE("[GSW_gnss] data is NULL.");
+ return;
+ }
+
+ if(gsw_cb == NULL)
+ {
+ //LOGE("[qser_gnss] qser_gnss_callback is NULL.");
+ return;
+ }
+
+ if(ind_type == MBTK_GNSS_IND_LOCATION) {
+ if(data_len != sizeof(mbtk_gnss_location_info_t))
+ {
+ LOGE("[GSW_gnss] data size error");
+ return;
+ }
+ GSW_GNSS_LOCATION_EXT_T gsw_location;
+ GSW_GNSS_LOCATION_T gsw_location_t;
+ mbtk_gnss_location_info_t *locl_info = (mbtk_gnss_location_info_t *)data;
+ gsw_location_t.altitude = locl_info->altitude;
+ gsw_location_t.latitude = locl_info->latitude;
+ gsw_location_t.longitude = locl_info->longitude;
+ gsw_location_t.speed = locl_info->speed;
+ gsw_location_t.bearing = locl_info->bearing;
+ gsw_location_t.timestamp = locl_info->timestamp;
+ gsw_location.legacyLocation = gsw_location_t;
+ gsw_cb->gsw_location_cb(&gsw_location);
+ } else if(ind_type == MBTK_GNSS_IND_NMEA) {
+ mopen_gnss_nmea_info_t qser_nmea = {0};
+ memset(&qser_nmea, 0x0, sizeof(mopen_gnss_nmea_info_t));
+ qser_nmea.length = data_len;
+ memcpy(qser_nmea.nmea, (char *)data, data_len);
+ //qser_nmea.timestamp = qser_get_gnss_time_sec(data, data_len);
+ gsw_cb->gsw_nmea_cb(data,data_len);
+ } else {
+ LOGD("Unknown IND : %d\n", ind_type);
+ }
+}
+
+int gsw_gnss_init(void)
+{
+ int ret;
+ if(!inited)
+ {
+ dlHandle_gnss = dlopen(lynqLib_gnss, RTLD_NOW);
+ fun_ptr_log = (mbtk_log)dlsym(dlHandle_gnss, "mbtk_log");
+ if(fun_ptr_log == NULL || dlHandle_gnss == NULL)
+ {
+ return GSW_HAL_FAIL;
+ }
+ mbtk_gnss_init=(int(*)(mbtk_gnss_callback_func))dlsym(dlHandle_gnss, "mbtk_gnss_init");
+ ret = mbtk_gnss_init(gnss_callback);
+ if(ret == 0)
+ {
+ mbtk_gnss_ind_set=(int(*)(uint32_t ,int))dlsym(dlHandle_gnss, "mbtk_gnss_ind_set");
+ ret = mbtk_gnss_ind_set(MBTK_GNSS_IND_NMEA, QSER_GNSS_TIMEOUT);
+ if(ret == 0)
+ {
+ inited = true;
+ }
+ else
+ {
+ LOGE("[GSW_gnss] init mbtk_gnss_ind_set() fail.ret = [%d]", ret);
+ return GSW_HAL_FAIL;
+ }
+ }
+ else
+ {
+ LOGE("[GSW_gnss] mbtk_gnss_init() fail.ret = [%d]", ret);
+ return GSW_HAL_FAIL;
+ }
+ }
+
+ return GSW_HAL_SUCCESS;
+}
+
+/**
+ * @brief SDK interface to registered callback function
+ * @param [in] callback
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_gnss_reg_cb_group(gsw_gnss_cb callback)
+{
+ if(callback.gsw_location_cb == NULL && callback.gsw_nmea_cb == NULL)
+ {
+ LOGE("[GSW_gnss] handler_ptr is NULL.");
+ return GSW_HAL_FAIL;
+ }
+ if (gsw_cb == NULL)
+ {
+ gsw_cb = (gsw_gnss_cb *)malloc(sizeof(gsw_gnss_cb));
+ if (gsw_cb == NULL)
+ {
+ LOGE("[GSW_gnss] Memory allocation failed.");
+ return GSW_HAL_FAIL;
+ }
+ }
+ gsw_cb->gsw_location_cb = callback.gsw_location_cb;
+ gsw_cb->gsw_nmea_cb = callback.gsw_nmea_cb;
+ return GSW_HAL_SUCCESS;
+}
+/**
+ * @brief SDK interface to start gnss
+ * @param
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_gnss_start(void)
+{
+ int ret;
+ mbtk_gnss_open=(int(*)(int,int))dlsym(dlHandle_gnss, "mbtk_gnss_open");
+ ret = mbtk_gnss_open(255, QSER_GNSS_TIMEOUT);
+ if(ret != 0)
+ {
+ LOGE("[GSW_gnss] mbtk_gnss_open is error.ret = [%d]", ret);
+ return GSW_HAL_FAIL;
+ }
+ strated = true;
+ if (gnss_freq > 0)
+ gsw_gnss_set_freq(gnss_freq);
+ if (gnss_startmode >= 0)
+ gsw_gnss_set_start_mode(gnss_startmode);
+ if (gnss_switch_op > 0)
+ gsw_gnss_epo_switch(gnss_switch_op);
+
+ mbtk_gnss_set_VTG();
+
+ return GSW_HAL_SUCCESS;
+}
+
+/**
+ * @brief SDK interface to stop gnss
+ * @param
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_gnss_stop(void)
+{
+ int ret;
+ mbtk_gnss_close=(int(*)(int))dlsym(dlHandle_gnss, "mbtk_gnss_close");
+ ret = mbtk_gnss_close(QSER_GNSS_TIMEOUT);
+ if(ret != 0)
+ {
+ LOGE("[GSW_gnss] mbtk_gnss_close is error.ret = [%d]", ret);
+ return GSW_HAL_FAIL;
+ }
+ strated = false;
+ return GSW_HAL_SUCCESS;
+}
+
+/**
+ * @brief SDK interface to de initialization gnss
+ * @param
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_gnss_deinit(void)
+{
+ int ret;
+ if(inited)
+ {
+ mbtk_gnss_deinit=(int(*)())dlsym(dlHandle_gnss, "mbtk_gnss_deinit");
+ ret = mbtk_gnss_deinit();
+ if(ret == 0)
+ {
+ inited = false;
+ }
+ else
+ {
+ LOGE("[GSW_gnss] mbtk_gnss_init() fail.ret = [%d]", ret);
+ dlclose(dlHandle_gnss);
+ dlHandle_gnss = NULL;
+ return GSW_HAL_FAIL;
+ }
+ }
+
+ dlclose(dlHandle_gnss);
+ dlHandle_gnss = NULL;
+ gnss_freq = -1;
+ gnss_startmode = -1;
+ gnss_switch_op = -1;
+ return GSW_HAL_SUCCESS;
+}
+
+
+/**
+ * @brief SDK interface to enable XTRA switch
+ * @param [in] state
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_gnss_xtra_is_enable(gsw_xtra_state_e state)
+{
+ return GSW_HAL_SUCCESS;
+}
+
+/**
+ * @brief SDK interface to delete aiding data,delete aiding data for cold start(1-H,2-W,3-C)
+ * @param [in] switch_op
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_gnss_delete_aiding_data(unsigned int flags) /*1-don`t delete == hot_start ; 2-delete EPH == warm start ; 3-delete all == cold start*/
+{
+ int ret;
+ char param_buf[32] = {0};
+ snprintf(param_buf, 32, "$RESET,%u", flags);
+ mbtk_gnss_setting=(int(*)(const char *setting_cmd, int))dlsym(dlHandle_gnss, "mbtk_gnss_setting");
+ ret = mbtk_gnss_setting(param_buf, QSER_GNSS_TIMEOUT);
+ if(ret != 0)
+ {
+ LOGE("[qser_gnss] mbtk_gnss_setting fail.ret = [%d]", ret);
+ return GSW_HAL_FAIL;
+ }
+ return GSW_HAL_SUCCESS;
+}
+
+/**
+ * @brief init and configure gps
+ * @param [in] init_configure
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_gnss_init_configure_gps(gsw_gnss_init_configure_t init_configure)
+{
+ return GSW_HAL_SUCCESS;
+}
diff --git a/mbtk/libgsw_lib/gsw_gpio.c b/mbtk/libgsw_lib/gsw_gpio.c
new file mode 100755
index 0000000..9bd8a79
--- /dev/null
+++ b/mbtk/libgsw_lib/gsw_gpio.c
@@ -0,0 +1,379 @@
+#include <stdio.h>
+#include <stdlib.h>
+#include <unistd.h>
+#include <fcntl.h>
+#include <errno.h>
+#include <stdint.h>
+#include <string.h>
+#include <dlfcn.h>
+
+#include "gsw_gpio.h"
+
+#ifndef LOG_ERR_LEVEL
+#define LOG_ERR_LEVEL 3 /* error conditions */
+#endif
+#ifndef LOG_WARN_LEVEL
+#define LOG_WARN_LEVEL 4 /* warning conditions */
+#endif
+#ifndef LOG_INFO_LEVEL
+#define LOG_INFO_LEVEL 6 /* informational */
+#endif
+#ifndef LOG_DEBUG_LEVEL
+#define LOG_DEBUG_LEVEL 7 /* debug-level messages */
+#endif
+#ifndef LOG_VERBOSE_LEVEL
+#define LOG_VERBOSE_LEVEL 8
+#endif
+
+#define LOGV(fmt, args ...) \
+ do{ \
+ char *file_ptr_1001 = __FILE__; \
+ char *ptr_1001 = file_ptr_1001 + strlen(file_ptr_1001) - 1; \
+ char line_1001[10] = {0}; \
+ sprintf(line_1001, "%d", __LINE__); \
+ while(ptr_1001 >= file_ptr_1001 && *ptr_1001){ \
+ if(*ptr_1001 == '/') \
+ break; \
+ ptr_1001--; \
+ } \
+ fun_ptr_log(LOG_VERBOSE_LEVEL, "%s#%s: " fmt, ptr_1001 + 1, line_1001, ##args); \
+ } while(0)
+
+#define LOGI(fmt, args...) \
+ do{ \
+ char *file_ptr_1001 = __FILE__; \
+ char *ptr_1001 = file_ptr_1001 + strlen(file_ptr_1001) - 1; \
+ char line_1001[10] = {0}; \
+ sprintf(line_1001, "%d", __LINE__); \
+ while(ptr_1001 >= file_ptr_1001 && *ptr_1001){ \
+ if(*ptr_1001 == '/') \
+ break; \
+ ptr_1001--; \
+ } \
+ fun_ptr_log(LOG_INFO_LEVEL, "%s#%s: " fmt, ptr_1001 + 1, line_1001, ##args); \
+ } while(0)
+
+#define LOGD(fmt, args...) \
+ do{ \
+ char *file_ptr_1001 = __FILE__; \
+ char *ptr_1001 = file_ptr_1001 + strlen(file_ptr_1001) - 1; \
+ char line_1001[10] = {0}; \
+ sprintf(line_1001, "%d", __LINE__); \
+ while(ptr_1001 >= file_ptr_1001 && *ptr_1001){ \
+ if(*ptr_1001 == '/') \
+ break; \
+ ptr_1001--; \
+ } \
+ fun_ptr_log(LOG_DEBUG_LEVEL, "%s#%s: " fmt, ptr_1001 + 1, line_1001, ##args); \
+ } while(0)
+
+#define LOGW(fmt, args...) \
+ do{ \
+ char *file_ptr_1001 = __FILE__; \
+ char *ptr_1001 = file_ptr_1001 + strlen(file_ptr_1001) - 1; \
+ char line_1001[10] = {0}; \
+ sprintf(line_1001, "%d", __LINE__); \
+ while(ptr_1001 >= file_ptr_1001 && *ptr_1001){ \
+ if(*ptr_1001 == '/') \
+ break; \
+ ptr_1001--; \
+ } \
+ fun_ptr_log(LOG_WARN_LEVEL, "%s#%s: " fmt, ptr_1001 + 1, line_1001, ##args); \
+ } while(0)
+
+#define LOGE(fmt, args...) \
+ do{ \
+ char *file_ptr_1001 = __FILE__; \
+ char *ptr_1001 = file_ptr_1001 + strlen(file_ptr_1001) - 1; \
+ char line_1001[10] = {0}; \
+ sprintf(line_1001, "%d", __LINE__); \
+ while(ptr_1001 >= file_ptr_1001 && *ptr_1001){ \
+ if(*ptr_1001 == '/') \
+ break; \
+ ptr_1001--; \
+ } \
+ fun_ptr_log(LOG_ERR_LEVEL, "%s#%s: " fmt, ptr_1001 + 1, line_1001, ##args); \
+ } while(0)
+
+
+#define GSW_HAL_SUCCESS 0
+#define GSW_HAL_FAIL -1 //表示失败(通用性)
+#define GSW_HAL_MEM_INVAILD -2 //表示入参地址为NULL
+
+#define wakeout 117
+
+typedef void (*mbtk_log)(int level, const char *format,...);
+static mbtk_log fun_ptr_log = NULL;
+void *dlHandle_gpio = NULL;
+char *lynqLib_gpio = "/lib/libmbtk_lib.so";
+
+int gpio_check(int gpio)
+{
+ char buffer[128];
+ memset(buffer,0,128);
+ sprintf(buffer,"/sys/class/gpio/gpio%d/direction", gpio);
+ return access(buffer , F_OK);
+}
+
+static int handle()
+{
+ if(dlHandle_gpio == NULL || fun_ptr_log == NULL)
+ {
+ dlHandle_gpio = dlopen(lynqLib_gpio, RTLD_NOW);
+ fun_ptr_log = (mbtk_log)dlsym(dlHandle_gpio, "mbtk_log");
+ if(fun_ptr_log == NULL || dlHandle_gpio == NULL)
+ {
+ return GSW_HAL_FAIL;
+ }
+ }
+ return GSW_HAL_SUCCESS;
+}
+
+static int gpio_export(int gpio)
+{
+ int file=-1;
+ int result =-1;
+ char pin_index_buffer[5]= {0};
+
+ if (gpio_check(gpio) == 0)
+ {
+ LOGE("export has been add\n");
+ return 0;
+ }
+
+ file = open("/sys/class/gpio/export",O_WRONLY);
+ if(file == -1)
+ {
+ LOGE("Open gpio export file fail.");
+ return -1;
+ }
+
+ memset(pin_index_buffer,0,5);
+ sprintf(pin_index_buffer,"%d", gpio);
+ result = write(file,pin_index_buffer,strlen(pin_index_buffer));
+ if(result < 0)
+ {
+ LOGE("Gpio[%d] export fail.", gpio);
+ close(file);
+ return -1;
+ }
+ close(file);
+
+ return 0;
+}
+
+static int gpio_unexport(int gpio)
+{
+ int file=-1;
+ int result =-1;
+ char pin_index_buffer[5]= {0};
+ if (gpio_check(gpio) == -1)
+ {
+ LOGE("export has been not add\n");
+ return -1;
+ }
+
+ file = open("/sys/class/gpio/unexport",O_WRONLY);
+ if(file == -1)
+ {
+ LOGE("Open gpio unexport file fail.");
+ return -1;
+ }
+
+ memset(pin_index_buffer,0,5);
+ sprintf(pin_index_buffer,"%d", gpio);
+ result=write(file,pin_index_buffer,strlen(pin_index_buffer));
+ if(result < 0)
+ {
+ close(file);
+ LOGE("Gpio[%d] unexport fail.", gpio);
+ return -1;
+ }
+ close(file);
+
+ return 0;
+}
+
+int32_t gsw_gpio_SetDirection(uint32_t gpioNum, gsw_hal_pinDirection dir)
+{
+ char buffer[128]= {0};
+ int file =-1;
+ int result =-1;
+ char direction[10] = {0};
+ memset(buffer,0,128);
+ if (handle())
+ return GSW_HAL_FAIL;
+
+ if (gpio_check(gpioNum) == -1)
+ {
+ LOGD("in dir export has been not add\n");
+ gpio_export(gpioNum);
+ }
+
+
+ sprintf(buffer,"/sys/class/gpio/gpio%u/direction", gpioNum);
+ file = open(buffer, O_WRONLY);
+ if(file == -1)
+ {
+ LOGE("Open gpio[%d] direct fail.", gpioNum);
+ return -1;
+ }
+ if (dir == GSW_HAL_PINDIR_IN)
+ sprintf(direction,"in");
+ else if (dir == GSW_HAL_PINDIR_OUT)
+ sprintf(direction,"out");
+
+ result = write(file,direction,strlen(direction));
+ if(result != strlen(direction))
+ {
+ LOGE("Set gpio[%d] direct fail.", gpioNum);
+ close(file);
+ gpio_unexport(gpioNum);
+ return GSW_HAL_FAIL;
+ }
+ close(file);
+ gpio_unexport(gpioNum);
+ return GSW_HAL_SUCCESS;
+}
+
+gsw_hal_pinLevel gsw_gpio_GetLevel(uint32_t gpioNum)
+{
+ char buffer[50];
+ char path[128];
+ int file =-1;
+ int result =-1;
+ memset(path,0,128);
+ memset(buffer,0,50);
+ if (handle())
+ return GSW_HAL_FAIL;
+
+ if (gpio_check(gpioNum) == -1)
+ {
+ LOGD("in get value export has been not add\n");
+ gpio_export(gpioNum);
+ }
+ sprintf(path,"/sys/class/gpio/gpio%u/value", gpioNum);
+ file = open(path,O_RDONLY);
+ if(file == -1)
+ {
+ LOGE("Open gpio[%d] fail.", gpioNum);
+ return -1;
+ }
+ result = read(file,buffer,50);
+ if(result <= 0)
+ {
+ LOGE("Get gpio[%d] value fail", gpioNum);
+ close(file);
+ gpio_unexport(gpioNum);
+ return GSW_HAL_FAIL;
+ }
+ close(file);
+ gpio_unexport(gpioNum);
+ return atoi(buffer);
+}
+
+int32_t gsw_gpio_SetLevel(uint32_t gpioNum, gsw_hal_pinLevel level)
+{
+ char buffer[128]= {0};
+ int file =-1;
+ int result =-1;
+ memset(buffer,0,50);
+ if (handle())
+ return GSW_HAL_FAIL;
+
+ if (gpio_check(gpioNum) == -1)
+ {
+ LOGD("in set value export has been not add\n");
+ gpio_export(gpioNum);
+ }
+
+ sprintf(buffer,"/sys/class/gpio/gpio%u/value", gpioNum);
+ file = open(buffer,O_WRONLY);
+ if(file == -1)
+ {
+ LOGE("Open gpio[%d] value fail.", gpioNum);
+ return -1;
+ }
+ if(level == GSW_HAL_LEVEL_LOW) {
+ result = write(file,"0",1);
+ } else {
+ result = write(file,"1",1);
+ }
+ if(result != 1)
+ {
+ LOGE("Set gpio[%d] value fail err =%d.", gpioNum, errno);
+ close(file);
+ gpio_unexport(gpioNum);
+ return GSW_HAL_FAIL;
+ }
+ close(file);
+ gpio_unexport(gpioNum);
+ return GSW_HAL_SUCCESS;
+}
+
+
+int32_t gsw_gpio_Init(uint32_t gpioNum, gsw_hal_pinDirection dir, gsw_hal_pinLevel level, gsw_hal_pinPullSel pullsel)
+{
+ if (handle())
+ return GSW_HAL_FAIL;
+
+ if (dir != 1 && dir != 0)
+ {
+ LOGE("[lynq_gpio_init] direction fail.");
+ return -1;
+ }
+
+ if (level != 1 && level != 0)
+ {
+ LOGE("[lynq_gpio_init] value fail.");
+ return GSW_HAL_FAIL;
+ }
+
+ if(gpio_export(gpioNum))
+ {
+ LOGE("[lynq_gpio_init]gpio_export fail.");
+ return GSW_HAL_FAIL;
+ }
+
+ if(gsw_gpio_SetDirection(gpioNum, dir))
+ {
+ LOGE("[lynq_gpio_init]gpio_direct_set fail.");
+ return GSW_HAL_FAIL;
+ }
+
+ if(dir == 1 && (gsw_gpio_SetLevel(gpioNum, level) != 0))
+ {
+ LOGE("[lynq_gpio_init]gpio_value_set fail.");
+ return GSW_HAL_FAIL;
+ }
+ return GSW_HAL_SUCCESS;
+}
+gsw_hal_usbStatus gsw_hwpin_is_usb_connected(void)
+{
+ FILE *fp;
+ char cmd[128] = {0};
+ char tmp_rsp[20] = {0};
+ //char *CONNECTED = "configured";
+ char *DISCONNECTED = "not attached";
+ if (handle())
+ return GSW_HAL_FAIL;
+
+ sprintf(cmd,"cat /sys/devices/platform/soc/d4200000.axi/c0000000.usb/udc/c0000000.usb/state");
+ fp=popen(cmd, "r");
+ if (fgets(tmp_rsp,sizeof(tmp_rsp),fp) == NULL)
+ LOGE("gsw_hwpin_is_usb_connected fail.");
+ pclose(fp);
+ if (strncmp(tmp_rsp,DISCONNECTED,strlen(DISCONNECTED)) == 0)
+ return GSW_HAL_USB_DISCONNECTED;
+ else
+ return GSW_HAL_USB_CONNECTED;
+}
+
+int32_t gsw_setWakeupLevel(gsw_hal_pinLevel level)
+{
+ if (gsw_gpio_SetLevel(wakeout, level) == GSW_HAL_FAIL)
+ {
+ return GSW_HAL_FAIL;
+ }
+ return GSW_HAL_SUCCESS;
+}
diff --git a/mbtk/libgsw_lib/gsw_nw.c b/mbtk/libgsw_lib/gsw_nw.c
new file mode 100755
index 0000000..e485574
--- /dev/null
+++ b/mbtk/libgsw_lib/gsw_nw.c
@@ -0,0 +1,2572 @@
+#include "gsw_nw_interface.h"
+#include <dlfcn.h>
+#include <time.h>
+#include <pthread.h>
+
+//mbtk include
+#define LYNQ_AIR_PLANE_MODE_OFF 1 //at+cfun = 1
+#define LYNQ_AIR_PLANE_MODE_ON 4 // at+cfun = 4
+#define LYNQ_AIR_CFUN_MODE_OFF 0 // at+cfun = 0
+
+#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
+
+#define FPLMN_STRING_LENGTH 120
+#define ENTRY_LENGTH 6
+#define FPLMN_ARRAY_SIZE (FPLMN_STRING_LENGTH / 6) + 1
+
+#ifndef FALSE
+#define FALSE (0)
+#endif
+
+
+#ifndef TRUE
+#define TRUE (!FALSE)
+#endif
+
+typedef unsigned int uint32;
+typedef unsigned char uint8;
+typedef unsigned short uint16;
+typedef void (*mbtk_info_callback_func)(const void* data, int data_len);
+
+typedef enum
+{
+ MBTK_DEV_MODEM_MIN_FUN, //Modem 最小功能
+ MBTK_DEV_MODEM_FULL_FUN, //Modem 全功能
+ MBTK_DEV_MODEM_DISABLE_RECEIVE_RF_CIRCUITS = 3, //Modem 禁用射频接收电路
+ MBTK_DEV_MODEM_DISABLE_TRANSMIT_AND_RECEIVE_RF_CIRCUITS, //Modem禁用射频发射和接收电路
+ MBTK_DEV_MODEM_DISABLE_SIM, //Modem 禁用(U)SIM 卡
+ MBTK_DEV_MODEM_TURN_OFF_FULL_SECONDARY_RECEIVE, //Modem 完全禁用辅助接收
+}MBTK_DEV_MODEM_FUNCTION;
+
+typedef enum
+{
+ MBTK_CELL_TYPE_GSM = 0,
+ MBTK_CELL_TYPE_UMTS,
+ MBTK_CELL_TYPE_LTE
+} mbtk_cell_type_enum;
+
+typedef struct
+{
+ MBTK_DEV_MODEM_FUNCTION fun;
+ int rst;
+} mbtk_modem_info_t;
+
+typedef struct
+{
+ int client_fd;
+ pthread_t read_thread_id;
+ int exit_fd[2];
+ bool is_waitting;
+ pthread_cond_t cond;
+ pthread_mutex_t mutex;
+
+ pthread_mutex_t send_mutex;
+
+ // Temp response data.
+ uint16 info_err;
+ uint16 data_len;
+ void *data;
+
+ //mbtk wyq for server_ready_status add start
+ char server_ready_status;
+ //mbtk wyq for server_ready_status add end
+
+ mbtk_info_callback_func net_state_cb;
+ mbtk_info_callback_func call_state_cb;
+ mbtk_info_callback_func sms_state_cb;
+ mbtk_info_callback_func radio_state_cb;
+ mbtk_info_callback_func sim_state_cb;
+ mbtk_info_callback_func pdp_state_cb;
+ //add signal by xr
+ mbtk_info_callback_func signal_state_cb;
+} mbtk_info_handle_t;
+
+
+
+typedef struct
+{
+ // LTE server cell: tac, PCI, dlEuarfcn, ulEuarfcn, band
+ // LTE cell: phyCellId,euArfcn,rsrp,rsrq
+ // WCDMA server cell: lac, ci, arfcn
+ // WCDMA cell: lac, ci, arfcn
+ // GSM server cell: lac, ci, arfcn, bsic
+ // GSM cell:
+ uint32 value1;
+ uint32 value2;
+ uint32 value3;
+ uint32 value4;
+ uint32 value5;
+ uint32 value6;
+ uint32 value7;
+ uint32 value8;
+ uint32 value9;
+ uint32 value10;
+} __attribute__((packed)) mbtk_cell_info_t;
+
+
+
+
+
+typedef struct
+{
+ uint8 net_pref; // mbtk_net_pref_enum
+ uint16 gsm_band; // mbtk_gsm_band_enum
+ uint16 umts_band; // mbtk_umts_band_enum
+ uint32 tdlte_band; // mbtk_tdlte_band_enum
+ uint32 fddlte_band; // mbtk_fddlte_band_enum
+ uint32 lte_ext_band; // mbtk_lte_ext_band_enum
+} __attribute__((packed)) mbtk_band_info_t;
+
+typedef struct list_arraynode
+{
+ void *data;
+ struct list_arraynode *next;
+} list_arraynode_t;
+
+typedef struct list_treenode
+{
+ list_arraynode_t *data;
+ int count;
+ struct list_treenode *left;
+ struct list_treenode *right;
+} list_treenode_t;
+
+typedef int (*list_sort_func)(void *data1, void *data2);
+typedef void (*list_free_func)(void *data);
+
+typedef struct list_node
+{
+ uint32 size;
+ list_sort_func sort_func;
+ list_free_func free_func;
+
+ uint32 cur_index;
+ list_arraynode_t *cur_array_data;
+
+ list_arraynode_t array_data;
+ list_treenode_t tree_data;
+} list_node_t;
+
+/*
+0: GSM
+1: GSM Compact
+2: UTRAN
+3: GSM w/EGPRS
+4: UTRAN w/HSDPA
+5: UTRAN w/HSUPA
+6: UTRAN w/HSDPA and HSUPA
+7: E-UTRAN
+8: UTRAN HSPA+
+*/
+typedef enum {
+ MBTK_RADIO_TECH_GSM = 0,
+ MBTK_RADIO_TECH_GSM_COMPACT,
+ MBTK_RADIO_TECH_UTRAN,
+ MBTK_RADIO_TECH_GSM_EGPRS,
+ MBTK_RADIO_TECH_UTRAN_HSDPA,
+ MBTK_RADIO_TECH_UTRAN_HSUPA,
+ MBTK_RADIO_TECH_UTRAN_HSDPA_HSUPA,
+ MBTK_RADIO_TECH_E_UTRAN, // LTE
+ MBTK_RADIO_TECH_UTRAN_HSPA
+} mbtk_radio_technology_enum;
+
+typedef struct
+{
+ /*
+ 0: automatic
+ 1: manual
+ */
+ uint8 net_sel_mode;
+ /*
+ 0: GSM
+ 1: GSM Compact
+ 2: UTRAN
+ 3: GSM w/EGPRS
+ 4: UTRAN w/HSDPA
+ 5: UTRAN w/HSUPA
+ 6: UTRAN w/HSDPA and HSUPA
+ 7: E-UTRAN
+ 8: UTRAN HSPA+
+ 0xFF: Unused
+ */
+ uint8 net_type;
+ //uint8 plmn[10]; // 46000
+ /*
+ 0: unknown
+ 1: available
+ 2: current
+ 3: forbidden
+ */
+ uint8 net_state;
+ uint32 plmn;
+} __attribute__((packed)) mbtk_net_info_t;
+
+
+typedef enum
+{
+ MBTK_NET_REG_STATE_NON = 0,
+ MBTK_NET_REG_STATE_HOME,
+ MBTK_NET_REG_STATE_SEARCHING,
+ MBTK_NET_REG_STATE_DENIED,
+ MBTK_NET_REG_STATE_UNKNOWN,
+ MBTK_NET_REG_STATE_ROAMING,
+ MBTK_NET_REG_STATE_SMS_ONLY,
+ MBTK_NET_REG_STATE_ROAMING_SMS,
+ MBTK_NET_REG_STATE_ATTACHED_EMERGENCY,
+ MBTK_NET_REG_STATE_CSFB_HOME,
+ MBTK_NET_REG_STATE_CSFB_ROAMING,
+ MBTK_NET_REG_STATE_EMERGENCY_ONLY
+} mbtk_net_reg_state_enum;
+
+typedef struct
+{
+ uint8 call_state;// mbtk_net_reg_state_enum
+ uint8 data_state;// mbtk_net_reg_state_enum
+ uint8 ims_state;// mbtk_net_reg_state_enum
+ uint8 type; // mbtk_radio_technology_enum
+ uint16 lac;
+ uint32 ci;
+} __attribute__((packed)) mbtk_net_reg_info_t;
+
+typedef struct
+{
+ uint8 type; // mbtk_radio_technology_enum
+ uint8 rssi; // 0: 113 dBm or less
+ // 1: 111 dBm
+ // 2��30: 109��53 dBm
+ // 31: 51 dBm or greater
+ // 99: not known or not detectable
+ uint8 rxlev;// 0:rssi < -110 dBm
+ // 1: -110 dBm �� rssi < -109 dBm
+ // 2: -109 dBm �� rssi < -108 dBm
+ // ......
+ // 61: -50 dBm �� rssi < -49 dBm
+ // 62: -49 dBm �� rssi < -48 dBm
+ // 63: -48 dBm �� rssi
+ // 99: not known or not detectable
+ uint8 ber; // 0...7 as RXQUAL values in the table in 3GPP TS 45.008 [20] subclause 8.2.4
+ // 99 not known or not detectable
+ uint8 rscp; // 0: rscp < -120 dBm
+ // 1: -120 dBm �� rscp < -119 dBm
+ // 2: -119 dBm �� rscp < -118 dBm
+ // ......
+ // 94: -27 dBm �� rscp < -26 dBm
+ // 95: -26 dBm �� rscp < -25 dBm
+ // 96: - 25 dBm �� rscp
+ // 255: not known or not detectable
+ uint8 ecno; // 0: Ec/Io < -24 dB
+ // 1: -24 dB �� Ec/Io < -23.5 dB
+ // 2: -23.5 dB �� Ec/Io < -23 dB
+ // ......
+ // 47: -1 dB �� Ec/Io < -0.5 dB
+ // 48: -0.5 dB �� Ec/Io < 0 dB
+ // 49: 0 dB �� Ec/Io
+ // 255: not known or not detectable
+ uint8 rsrq; // 0: rsrq < -19.5 dB
+ // 1: -19.5 dB �� rsrq < -19 dB
+ // 2: -19 dB �� rsrq < -18.5 dB
+ // ......
+ // 32: -4 dB �� rsrq < -3.5 dB
+ // 33: -3.5 dB �� rsrq < -3 dB
+ // 34: -3 dB �� rsrq
+ // 255: not known or not detectable
+ uint8 rsrp; // 0: rsrp < -140 dBm
+ // 1: -140 dBm �� rsrp < -139 dBm
+ // 2: -139 dBm �� rsrp < -138 dBm
+ // ......
+ // 95: -46 dBm �� rsrp < -45 dBm
+ // 96: -45 dBm �� rsrp < -44 dBm
+ // 97: -44 dBm �� rsrp
+ // 255: not known or not detectable
+} __attribute__((packed)) mbtk_signal_info_t;
+
+typedef struct{
+ uint8_t mode;
+ uint32_t oosPhase[3]; //单位为秒
+} mbtk_oos_info;
+
+typedef struct
+{
+ /* Configuration parameters for MCM network full band network scan when OOS (out of service)*/
+ int t_min;
+ int t_step;
+ int t_max;
+}GSW_NW_OOS_CONFIG_INFO_T;
+
+
+#define GSW_HAL_FAIL GSW_HAL_NORMAL_FAIL
+#define GSW_HAL_MEM_INVAILD GSW_HAL_ARG_INVALID
+#define lib_mbtk_path "/lib/libmbtk_lib.so"
+mbtk_info_handle_t* nw_info_handle = NULL;
+
+static GSW_NW_ServingInfoHandlePtr serving_cb;
+static GSW_NW_SigInfoHandlePtr sig_cb;
+static GSW_NW_RejectCauseHandlePtr reject_cb;
+static GSW_NW_ModemStateHandlePtr modem_cb;
+
+static void *dlHandle_mbtk;
+int nw_init_flag = 0;
+int mode = -1;
+int fplmn_max_length = 0;
+
+gsw_nw_plmn_list_t gsw_nw_plmn_list;
+char fplmn_array[FPLMN_ARRAY_SIZE][7];
+int fplmn_index = 0;
+
+static mbtk_info_handle_t* (*mbtk_info_handle_get)(void);
+static int (*mbtk_info_handle_free)(mbtk_info_handle_t** handle);
+int (*mbtk_net_sel_mode_get)(mbtk_info_handle_t* handle, mbtk_net_info_t *net);
+int (*mbtk_net_reg_get)(mbtk_info_handle_t* handle, mbtk_net_reg_info_t *reg);
+int (*mbtk_cell_get)(mbtk_info_handle_t* handle, mbtk_cell_type_enum *type, list_node_t **cell_list);
+int (*mbtk_get_modem_fun)(mbtk_info_handle_t* handle, int* fun);
+static int (*mbtk_set_modem_fun)(mbtk_info_handle_t* handle, mbtk_modem_info_t *info);
+int (*mbtk_current_band_get)(mbtk_info_handle_t* handle, mbtk_band_info_t *band);
+int (*mbtk_current_band_set)(mbtk_info_handle_t* handle, const mbtk_band_info_t *band);
+int (*mbtk_net_signal_get)(mbtk_info_handle_t* handle, mbtk_signal_info_t *signal);
+int (*mbtk_wakeup_state_set)(mbtk_info_handle_t* handle, uint32 wakeup_state);
+int (*mbtk_signal_state_change_cb_reg)(mbtk_info_handle_t* handle, mbtk_info_callback_func cb);
+int (*mbtk_net_state_change_cb_reg)(mbtk_info_handle_t* handle, mbtk_info_callback_func cb);
+int (*mbtk_fplmn_get)(mbtk_info_handle_t *handle, void *fplmn);
+int (*mbtk_fplmn_set)(mbtk_info_handle_t *handle, void *fplmn);
+int (*mbtk_radio_state_change_cb_reg)(mbtk_info_handle_t* handle, mbtk_info_callback_func cb);
+int (*mbtk_oos_get)(mbtk_info_handle_t* handle, mbtk_oos_info *oos_info);
+int (*mbtk_oos_set)(mbtk_info_handle_t* handle, mbtk_oos_info *oos_info);
+
+static void (*mbtk_log)(int level, const char *format, ...);
+static void (*mbtk_log_init)(char *path, char *tag);
+
+#ifndef LOG_ERR_LEVEL
+#define LOG_ERR_LEVEL 3 /* error conditions */
+#endif
+#ifndef LOG_WARN_LEVEL
+#define LOG_WARN_LEVEL 4 /* warning conditions */
+#endif
+#ifndef LOG_INFO_LEVEL
+#define LOG_INFO_LEVEL 6 /* informational */
+#endif
+#ifndef LOG_DEBUG_LEVEL
+#define LOG_DEBUG_LEVEL 7 /* debug-level messages */
+#endif
+#ifndef LOG_VERBOSE_LEVEL
+#define LOG_VERBOSE_LEVEL 8
+#endif
+
+#define LOGV(fmt, args ...) \
+ do{ \
+ char *file_ptr_1001 = __FILE__; \
+ char *ptr_1001 = file_ptr_1001 + strlen(file_ptr_1001) - 1; \
+ char line_1001[10] = {0}; \
+ sprintf(line_1001, "%d", __LINE__); \
+ while(ptr_1001 >= file_ptr_1001 && *ptr_1001){ \
+ if(*ptr_1001 == '/') \
+ break; \
+ ptr_1001--; \
+ } \
+ mbtk_log(LOG_VERBOSE_LEVEL, "%s#%s: " fmt, ptr_1001 + 1, line_1001, ##args); \
+ } while(0)
+
+#define LOGI(fmt, args...) \
+ do{ \
+ char *file_ptr_1001 = __FILE__; \
+ char *ptr_1001 = file_ptr_1001 + strlen(file_ptr_1001) - 1; \
+ char line_1001[10] = {0}; \
+ sprintf(line_1001, "%d", __LINE__); \
+ while(ptr_1001 >= file_ptr_1001 && *ptr_1001){ \
+ if(*ptr_1001 == '/') \
+ break; \
+ ptr_1001--; \
+ } \
+ mbtk_log(LOG_INFO_LEVEL, "%s#%s: " fmt, ptr_1001 + 1, line_1001, ##args); \
+ } while(0)
+
+#define LOGD(fmt, args...) \
+ do{ \
+ char *file_ptr_1001 = __FILE__; \
+ char *ptr_1001 = file_ptr_1001 + strlen(file_ptr_1001) - 1; \
+ char line_1001[10] = {0}; \
+ sprintf(line_1001, "%d", __LINE__); \
+ while(ptr_1001 >= file_ptr_1001 && *ptr_1001){ \
+ if(*ptr_1001 == '/') \
+ break; \
+ ptr_1001--; \
+ } \
+ mbtk_log(LOG_DEBUG_LEVEL, "%s#%s: " fmt, ptr_1001 + 1, line_1001, ##args); \
+ } while(0)
+
+#define LOGW(fmt, args...) \
+ do{ \
+ char *file_ptr_1001 = __FILE__; \
+ char *ptr_1001 = file_ptr_1001 + strlen(file_ptr_1001) - 1; \
+ char line_1001[10] = {0}; \
+ sprintf(line_1001, "%d", __LINE__); \
+ while(ptr_1001 >= file_ptr_1001 && *ptr_1001){ \
+ if(*ptr_1001 == '/') \
+ break; \
+ ptr_1001--; \
+ } \
+ mbtk_log(LOG_WARN_LEVEL, "%s#%s: " fmt, ptr_1001 + 1, line_1001, ##args); \
+ } while(0)
+
+#define LOGE(fmt, args...) \
+ do{ \
+ char *file_ptr_1001 = __FILE__; \
+ char *ptr_1001 = file_ptr_1001 + strlen(file_ptr_1001) - 1; \
+ char line_1001[10] = {0}; \
+ sprintf(line_1001, "%d", __LINE__); \
+ while(ptr_1001 >= file_ptr_1001 && *ptr_1001){ \
+ if(*ptr_1001 == '/') \
+ break; \
+ ptr_1001--; \
+ } \
+ mbtk_log(LOG_ERR_LEVEL, "%s#%s: " fmt, ptr_1001 + 1, line_1001, ##args); \
+ } while(0)
+
+
+
+typedef struct
+{
+ char *lynq_operator_l;
+ char *lynq_operator_s;
+ uint32 lynq_mcc_mnc;
+} lynq_operator_mcc_mnc_t;
+
+static lynq_operator_mcc_mnc_t lynq_operator_mcc_mnc[] =
+{
+ {"China Mobile","CMCC",46000},
+ {"China Unicom","CU",46001},
+ {"China Mobile","CMCC",46002},
+ {"China Telecom","CT",46003},
+ {"China Mobile","CMCC",46004},
+ {"China Telecom","CT",46005},
+ {"China Unicom","CU",46006},
+ {"China Mobile","CMCC",46007},
+ {"China Mobile","CMCC",46008},
+ {"China Unicom","CU",46009},
+ {"China Telecom","CT",46011}
+};
+
+
+//GSW include
+typedef enum prefer_mode
+{
+ GSW_PREFER_MODE_GSW = 1, /**<2G only*/
+ GSW_PREFER_MODE_WCDMA = 2, /**< 3G only*/
+ GSW_PREFER_MODE_WCDMA_GSM = 3, /**< 3G/2G*/
+ GSW_PREFER_MODE_LTE = 4, /**< 4G only*/
+ GSW_PREFER_MODE_NR5G = 5, /**< 5G only*/
+ GSW_PREFER_MODE_NR5G_LTE = 8, /**< 5G/4G*/
+ GSW_PREFER_MODE_LTE_WCDMA_GSM = 9, /**< 4G/3G/2G*/
+ GSW_PREFER_MODE_NR5G_LTE_WCDMA_GSM = 32, /**< 5G/4G/3G/2G*/
+} PREFER_MODE_E;
+
+static int mbtk_nw_api_import()
+{
+ dlHandle_mbtk = dlopen(lib_mbtk_path, RTLD_NOW);
+ if (dlHandle_mbtk == NULL)
+ {
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_log_init = (void (*)(char *path, char *tag))dlsym(dlHandle_mbtk, "mbtk_log_init");
+ if (mbtk_log_init == NULL)
+ {
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_log = (void (*)(int level, const char *format, ...))dlsym(dlHandle_mbtk, "mbtk_log");
+ if (mbtk_log == NULL)
+ {
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_info_handle_get = (mbtk_info_handle_t* (*)(void))dlsym(dlHandle_mbtk, "mbtk_info_handle_get");
+ if (mbtk_info_handle_get == NULL)
+ {
+ LOGE("mbtk_info_handle_get dlsym fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_info_handle_free = (int (*)(mbtk_info_handle_t** handle))dlsym(dlHandle_mbtk, "mbtk_info_handle_free");
+ if (mbtk_info_handle_free == NULL)
+ {
+ LOGE("mbtk_info_handle_free dlsym fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_net_sel_mode_get = (int (*)(mbtk_info_handle_t* handle, mbtk_net_info_t *net))dlsym(dlHandle_mbtk, "mbtk_net_sel_mode_get");
+ if (mbtk_net_sel_mode_get == NULL)
+ {
+ LOGE("mbtk_net_sel_mode_get dlsym fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_net_reg_get = (int (*)(mbtk_info_handle_t* handle, mbtk_net_reg_info_t *reg))dlsym(dlHandle_mbtk, "mbtk_net_reg_get");
+ if (mbtk_net_reg_get == NULL)
+ {
+ LOGE("mbtk_net_reg_get dlsym fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_get_modem_fun = (int (*)(mbtk_info_handle_t* handle, int* fun))dlsym(dlHandle_mbtk, "mbtk_get_modem_fun");
+ if (mbtk_get_modem_fun == NULL)
+ {
+ LOGE("mbtk_get_modem_fun dlsym fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_set_modem_fun = (int (*)(mbtk_info_handle_t* handle, mbtk_modem_info_t *info))dlsym(dlHandle_mbtk, "mbtk_set_modem_fun");
+ if (mbtk_set_modem_fun == NULL)
+ {
+ LOGE("mbtk_set_modem_fun dlsym fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_current_band_get = (int (*)(mbtk_info_handle_t* handle, mbtk_band_info_t *band))dlsym(dlHandle_mbtk, "mbtk_current_band_get");
+ if (mbtk_current_band_get == NULL)
+ {
+ LOGE("mbtk_current_band_get dlsym fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_current_band_set = (int (*)(mbtk_info_handle_t* handle, const mbtk_band_info_t *band))dlsym(dlHandle_mbtk, "mbtk_current_band_set");
+ if (mbtk_current_band_set == NULL)
+ {
+ LOGE("mbtk_current_band_set dlsym fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_net_signal_get = (int (*)(mbtk_info_handle_t* handle, mbtk_signal_info_t *signal))dlsym(dlHandle_mbtk, "mbtk_net_signal_get");
+ if (mbtk_net_signal_get == NULL)
+ {
+ LOGE("mbtk_net_signal_get dlsym fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_wakeup_state_set = (int (*)(mbtk_info_handle_t* handle, uint32 wakeup_state))dlsym(dlHandle_mbtk, "mbtk_wakeup_state_set");
+ if (mbtk_wakeup_state_set == NULL)
+ {
+ LOGE("mbtk_wakeup_state_set dlsym fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_cell_get = (int (*)(mbtk_info_handle_t* handle, mbtk_cell_type_enum *type, list_node_t **cell_list))dlsym(dlHandle_mbtk, "mbtk_cell_get");
+ if (mbtk_cell_get == NULL)
+ {
+ LOGE("mbtk_cell_get dlsym fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_signal_state_change_cb_reg = (int (*)(mbtk_info_handle_t* handle, mbtk_info_callback_func cb))dlsym(dlHandle_mbtk, "mbtk_signal_state_change_cb_reg");
+ if (mbtk_signal_state_change_cb_reg == NULL)
+ {
+ LOGE("mbtk_signal_state_change_cb_reg dlsym fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_net_state_change_cb_reg = (int (*)(mbtk_info_handle_t* handle, mbtk_info_callback_func cb))dlsym(dlHandle_mbtk, "mbtk_net_state_change_cb_reg");
+ if (mbtk_net_state_change_cb_reg == NULL)
+ {
+ LOGE("mbtk_net_state_change_cb_reg dlsym fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_fplmn_get = (int(*)(mbtk_info_handle_t *handle, void *fplmn))dlsym(dlHandle_mbtk, "mbtk_fplmn_get");
+ if (mbtk_fplmn_get == NULL)
+ {
+ LOGE("mbtk_fplmn_get dlsym fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_fplmn_set = (int(*)(mbtk_info_handle_t *handle, void *fplmn))dlsym(dlHandle_mbtk, "mbtk_fplmn_set");
+ if (mbtk_fplmn_set == NULL)
+ {
+ LOGE("mbtk_fplmn_get dlsym fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_radio_state_change_cb_reg = (int (*)(mbtk_info_handle_t* handle, mbtk_info_callback_func cb))dlsym(dlHandle_mbtk, "mbtk_radio_state_change_cb_reg");
+ if (mbtk_radio_state_change_cb_reg == NULL)
+ {
+ LOGE("mbtk_radio_state_change_cb_reg dlsym fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_oos_get = (int (*)(mbtk_info_handle_t* handle, mbtk_oos_info *oos))dlsym(dlHandle_mbtk, "mbtk_oos_get");
+ if (mbtk_oos_get == NULL)
+ {
+ LOGE("mbtk_oos_get dlsym fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_oos_set = (int (*)(mbtk_info_handle_t* handle, mbtk_oos_info *oos))dlsym(dlHandle_mbtk, "mbtk_oos_set");
+ if (mbtk_oos_set == NULL)
+ {
+ LOGE("mbtk_oos_set dlsym fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ return GSW_HAL_SUCCESS;
+}
+
+void list_first(list_node_t *list)
+{
+ if (list) {
+ list->cur_index = 0;
+ list->cur_array_data = list->array_data.next;
+ }
+}
+
+void* list_next(list_node_t *list)
+{
+ if (list) {
+ list_arraynode_t *node = list->cur_array_data;
+ if (node) {
+ LOGE("node is not null\n");
+ list->cur_array_data = list->cur_array_data->next;
+ list->cur_index++;
+ return node->data;
+ } else {
+ LOGE("node is null\n");
+ return NULL;
+ }
+ } else {
+ LOGE("list is null\n");
+ return NULL;
+ }
+}
+
+void list_free(list_node_t *list)
+{
+ if (list) {
+ list_arraynode_t *node = &(list->array_data); // Head node
+ list_arraynode_t *node_temp = NULL;
+ while (node->next) {
+ node_temp = node->next;
+ node->next = node->next->next;
+
+ if (list->free_func) {
+ list->free_func(node_temp->data);
+ } else {
+ free(node_temp->data);
+ }
+ free(node_temp);
+ }
+ free(list);
+ }
+}
+
+static int gsw_rssi_to_csq(int rssi)
+{
+ LOGD("rssi = %d\n",rssi);
+ if(rssi >= -113 && rssi <= -51)
+ {
+ return (rssi + 113) / 2;
+ }
+
+ else
+ {
+ return 99;
+ }
+}
+
+static int gsw_rscp_to_csq(int rscp)
+{
+ LOGD("rscp = %d\n",rscp);
+ if(rscp <= -25 && rscp > -120)
+ {
+ return rscp + 120;
+ }
+ else
+ {
+ return 255;
+ }
+
+}
+
+static int gsw_rsrp_to_csq(int rsrp)
+{
+ LOGD("rsrp = %d\n",rsrp);
+
+ if(rsrp <= -44 && rsrp > -140)
+ {
+ return rsrp + 140;
+ }
+
+ else
+ {
+ return 255;
+ }
+}
+
+static int rscp_convert_to_dBm(int rscp)
+{
+ if(rscp <= 96 && rscp >= 0)
+ {
+ return rscp - 120;
+ }
+ else
+ {
+ return -25;
+ }
+}
+
+
+static int8_t rssi_convert_to_dBm(uint8 rssi)
+{
+ if(rssi <= 31)
+ {
+ return rssi * 2 - 113;
+ }
+ else
+ {
+ return -125;
+ }
+}
+
+static int16_t rsrp_convert_to_dBm(uint8 rsrp)
+{
+ if(rsrp <= 96)
+ {
+ return rsrp - 140;
+ }
+ else
+ {
+ return -44;
+ }
+}
+
+static int16_t rsrq_convert_to_dB(uint8 rsrq)
+{
+ if(rsrq >= 1 && rsrq <= 34)
+ {
+ return (rsrq + 1) / 2 - 20;
+ }
+ else
+ {
+ return -20;
+ }
+}
+
+static int16_t ecno_convert_to_dB(uint8 ecno)
+{
+ if(ecno >= 48)
+ {
+ return 0;
+ }
+ else if(ecno == 255)
+ {
+ return 255;
+ }
+ else
+ {
+ return 48 - ecno;
+ }
+}
+
+
+static int convert_reg_state(int reg_state_t)
+{
+ LOGD("reg_state_t = %d\n",reg_state_t);
+ int reg_state = 0;
+
+ switch (reg_state_t)
+ {
+ case MBTK_NET_REG_STATE_NON:
+ {
+ reg_state = GSW_NETWORK_REG_NOT_REGISTERED;
+ break;
+ }
+ case MBTK_NET_REG_STATE_HOME:
+ {
+ reg_state = GSW_NETWORK_REG_REGISTERED;
+ break;
+ }
+ case MBTK_NET_REG_STATE_SEARCHING:
+ {
+ reg_state = GSW_NETWORK_REG_NOT_REGISTERED_SEARCHING;
+ break;
+ }
+ case MBTK_NET_REG_STATE_DENIED:
+ {
+ reg_state = GSW_NETWORK_REG_REGISTRATION_DENIED;
+ break;
+ }
+ case MBTK_NET_REG_STATE_UNKNOWN:
+ {
+ reg_state = GSW_NETWORK_REG_REGISTRATION_UNKNOWN;
+ break;
+ }
+ case MBTK_NET_REG_STATE_ROAMING:
+ {
+ reg_state = GSW_NETWORK_REG_REGISTRATION_ROAMING;
+ break;
+ }
+ case MBTK_NET_REG_STATE_SMS_ONLY:
+ case MBTK_NET_REG_STATE_ROAMING_SMS:
+ case MBTK_NET_REG_STATE_ATTACHED_EMERGENCY:
+ case MBTK_NET_REG_STATE_CSFB_HOME:
+ case MBTK_NET_REG_STATE_CSFB_ROAMING:
+ case MBTK_NET_REG_STATE_EMERGENCY_ONLY:
+ {
+ reg_state = GSW_NETWORK_REG_LIMITED_SERVICE;
+ break;
+ }
+ }
+
+ return reg_state;
+}
+
+
+static int convert_net_mode(int net_mode)
+{
+ LOGD("net_mode = %d\n",net_mode);
+ switch(net_mode)
+ {
+ case MBTK_RADIO_TECH_GSM:
+ case MBTK_RADIO_TECH_GSM_COMPACT:
+ case MBTK_RADIO_TECH_GSM_EGPRS:
+ {
+ return GSW_NETWORK_RADIO_GSM;
+ }
+ case MBTK_RADIO_TECH_UTRAN:
+ case MBTK_RADIO_TECH_UTRAN_HSDPA:
+ case MBTK_RADIO_TECH_UTRAN_HSUPA:
+ case MBTK_RADIO_TECH_UTRAN_HSDPA_HSUPA:
+ case MBTK_RADIO_TECH_UTRAN_HSPA:
+ {
+ return GSW_NETWORK_RADIO_UMTS;
+ }
+ case MBTK_RADIO_TECH_E_UTRAN:
+ {
+ return GSW_NETWORK_RADIO_LTE;
+ }
+
+ default:
+ {
+ return GSW_NETWORK_RADIO_NO_SVC;
+ }
+ }
+
+ return GSW_NETWORK_RADIO_NO_SVC;
+}
+
+static int convert_mbtk_net_config(int config)
+{
+ int net_pref = -1;
+
+ switch(config)
+ {
+ case GSW_PREFER_MODE_GSW:
+ {
+ net_pref = 0;
+ break;
+ }
+
+ case GSW_PREFER_MODE_WCDMA:
+ {
+ net_pref = 1;
+ break;
+ }
+
+ case GSW_PREFER_MODE_WCDMA_GSM:
+ {
+ net_pref = 2;
+ break;
+ }
+
+ case GSW_PREFER_MODE_LTE:
+ case GSW_PREFER_MODE_NR5G:
+ case GSW_PREFER_MODE_NR5G_LTE:
+ {
+ net_pref = 5;
+ break;
+ }
+
+ case GSW_PREFER_MODE_LTE_WCDMA_GSM:
+ case GSW_PREFER_MODE_NR5G_LTE_WCDMA_GSM:
+ {
+ net_pref = 15;
+ break;
+ }
+ }
+
+ return net_pref;
+}
+
+
+static int convert_gsw_net_config(int config)
+{
+ int net_config = -1;
+ LOGD("config = %d\n");
+
+ switch (config)
+ {
+ case 0:
+ {
+ net_config = GSW_PREFER_MODE_GSW;
+ break;
+ }
+
+ case 1:
+ {
+ net_config = GSW_PREFER_MODE_WCDMA;
+ break;
+ }
+
+ case 2:
+ {
+ net_config = GSW_PREFER_MODE_WCDMA_GSM;
+ break;
+ }
+
+ case 5:
+ {
+ net_config = GSW_PREFER_MODE_LTE;
+ break;
+ }
+
+ case 15:
+ {
+ net_config = GSW_PREFER_MODE_LTE_WCDMA_GSM;
+ break;
+ }
+ }
+
+ return net_config;
+}
+
+//64F010 -> 46001 (64->46,F0->0,10->01)
+static void transform_fplmn_str_to_plmn(char *entry)
+{
+ if (strncmp(entry, "FFFFFF", ENTRY_LENGTH) == 0) {
+ return; //if FFFFFF,means invalid fplmn, do nothing
+ }
+
+ char temp = entry[0];
+ entry[0] = entry[1];
+ entry[1] = temp;
+
+ temp = entry[ENTRY_LENGTH - 2];
+ entry[ENTRY_LENGTH - 2] = entry[ENTRY_LENGTH - 1];
+ entry[ENTRY_LENGTH - 1] = temp;
+
+ memmove(entry + 2, entry + 3, ENTRY_LENGTH - 2);
+
+ LOGE("after transform_fplmn_str_to_plmn: %s\n", entry);
+
+ //valid fplmn
+ fplmn_index++;
+}
+
+static void extract_mcc_mnc(char *entry, char *mcc, char *mnc)
+{
+ strncpy(mcc,entry,3);
+ mcc[3] = '\0';
+ strncpy(mnc,entry + 3,2);
+ mnc[2] = '\0';
+
+ LOGE("entry = %s, mcc = %s, mnc = %s\n", entry, mcc, mnc);
+}
+
+
+static void update_fplmn_list(char *fplmn_str)
+{
+ LOGE("fplmn_str = %s\n",fplmn_str);
+ char temp_fplmn_array[FPLMN_ARRAY_SIZE][7];
+ memset(fplmn_array, 0, sizeof(fplmn_array));
+ memset(temp_fplmn_array, 0, sizeof(temp_fplmn_array));
+ fplmn_index = 0;
+ int array_length = 0;
+
+ for (int i = 0; i < strlen(fplmn_str); i += 6) {
+
+ int length = (i + 6 < strlen(fplmn_str)) ? 6 : strlen(fplmn_str) - i;
+ strncpy(temp_fplmn_array[array_length], fplmn_str + i, length);
+ temp_fplmn_array[array_length][length] = '\0';
+ array_length++;
+ if (i + 6 >= strlen(fplmn_str)) {
+ break;
+ }
+ }
+
+ for (int i = 0; i < array_length; i++) {
+ LOGE("array[%d] = %s\n", i, temp_fplmn_array[i]);
+ transform_fplmn_str_to_plmn(temp_fplmn_array[i]);
+ strncpy(fplmn_array[i], temp_fplmn_array[i], ENTRY_LENGTH);
+ LOGE("fplmn_array[%d] = %s\n", i, fplmn_array[i]);
+ }
+
+}
+
+static void format_plmn(char *result, char *plmn_entry)
+{
+ strncpy(result, plmn_entry, strlen(plmn_entry));
+ LOGE("result = %s, numStr = %s\n",result, plmn_entry);
+
+ if (strlen(result) >= 2) {
+ char temp = result[0];
+ result[0] = result[1];
+ result[1] = temp;
+ }
+
+ LOGE("1.result = %s\n",result);
+
+ if (strlen(result) >= 3) {
+ memmove(&result[3], &result[2], strlen(result) - 2 + 1);
+ result[2] = 'F';
+ }
+
+ LOGE("2.result = %s\n",result);
+
+ if (strlen(result) >= 2) {
+ char temp = result[strlen(result) - 1];
+ result[strlen(result) - 1] = result[strlen(result) - 2];
+ result[strlen(result) - 2] = temp;
+ }
+
+ LOGE("3.result = %s\n",result);
+}
+
+
+static void convert_plmn_to_fplmn_str(char *fplmn_str)
+{
+ char temp_fplmn_str[128] = {0};
+ char temp[20]; // 临时存储单个格式化后的数字
+ int index = 0;
+
+ for (int i = 0; i < fplmn_index; i++) {
+ memset(temp, 0x0, sizeof(temp));
+ format_plmn(temp, fplmn_array[i]);
+ strcat(temp_fplmn_str, temp);
+ index += strlen(temp);
+ }
+
+ while(index < (6 * fplmn_max_length))
+ {
+ temp_fplmn_str[index++] = 'F';
+ }
+
+ // 修剪或截断formattedNumbers,确保它不超过6 * fplmn_max_length个字符
+ if (index > (6 * fplmn_max_length)) {
+ temp_fplmn_str[(6 * fplmn_max_length)] = '\0';
+ }
+
+ LOGE("%s\n", temp_fplmn_str);
+ strncpy(fplmn_str, temp_fplmn_str, strlen(temp_fplmn_str));
+ LOGE("fplmn_str = %s\n", fplmn_str);
+}
+
+static int check_index(char *mcc, char *mnc)
+{
+ int i = 0;
+
+ for(i = 0; i < fplmn_index; i++)
+ {
+ if(strncmp(fplmn_array[i], mcc, 3) == 0 && strncmp(fplmn_array[i] + 3, mnc, 2) == 0)
+ {
+ LOGE("index = %d\n", i);
+ return i;
+ }
+ }
+
+ LOGE("not find\n");
+ return -1;
+}
+
+static void remove_fplmn(int index)
+{
+ int write_index = 0;
+ for (int i = 0; i < fplmn_index; i++) {
+ if (i != index) {
+ strncpy(fplmn_array[write_index++], fplmn_array[i], ENTRY_LENGTH);
+ }
+ }
+ fplmn_index--;
+}
+
+static void gsw_serving_info_callback_thread()
+{
+ GSW_NW_SERVING_INFO *serving_info = (GSW_NW_SERVING_INFO*)malloc(sizeof(GSW_NW_SERVING_INFO));
+ memset(serving_info, 0x0, sizeof(GSW_NW_SERVING_INFO));
+ int ret = -1;
+ ret = gsw_get_nwinfo(serving_info);
+ if(ret != 0)
+ {
+ LOGE("gsw_get_nwinfo failed\n");
+ free(serving_info);
+ return;
+ }
+
+ if(serving_cb)
+ {
+ serving_cb(*serving_info);
+ free(serving_info);
+ }
+}
+
+static void gsw_serving_info_callback(const void* data, int data_len)
+{
+ LOGE("gsw_serving_info_callback start\n");
+
+ if(data && data_len > 0)
+ {
+ pthread_t thread;
+ pthread_create(&thread, NULL, (void*)gsw_serving_info_callback_thread, NULL);
+ }
+
+ else
+ {
+ LOGE("data is NULL\n");
+ return;
+ }
+
+}
+
+static void gsw_sig_info_callback(const void* data, int data_len)
+{
+ LOGE("gsw_sig_info_callback start\n");
+
+ if(data && data_len == 8)
+ {
+ uint8 *net_data = (uint8*)data;
+ mbtk_radio_technology_enum type = (mbtk_radio_technology_enum)net_data[0];
+
+ signalStrength_t sig_strength;
+ memset(&sig_strength, 0x0, sizeof(signalStrength_t));
+
+ sig_strength.gw_sig_valid = 0;
+ sig_strength.wcdma_sig_valid = 0;
+ sig_strength.lte_sig_valid = 0;
+ sig_strength.nr_sig_valid = 0;
+
+ if(type == MBTK_RADIO_TECH_GSM || type == MBTK_RADIO_TECH_GSM_COMPACT || \
+ type == MBTK_RADIO_TECH_GSM_EGPRS) //GSM
+ {
+ sig_strength.gw_sig_valid = 1;
+ sig_strength.rssi = rssi_convert_to_dBm(net_data[1]);
+ }
+
+ else if(type == MBTK_RADIO_TECH_E_UTRAN)
+ {
+ sig_strength.lte_sig_valid = 1;
+ sig_strength.rsrp = rsrp_convert_to_dBm(net_data[7]);
+ sig_strength.rsrq = rsrq_convert_to_dB(net_data[6]);
+ sig_strength.rssnr = -99;
+ }
+
+ else if (type == MBTK_RADIO_TECH_UTRAN || type == MBTK_RADIO_TECH_UTRAN_HSDPA || \
+ type == MBTK_RADIO_TECH_UTRAN_HSUPA || type == MBTK_RADIO_TECH_UTRAN_HSDPA_HSUPA || \
+ type == MBTK_RADIO_TECH_UTRAN_HSPA )//WCDMA
+ {
+ sig_strength.wcdma_sig_valid = 1;
+ sig_strength.rscp = rssi_convert_to_dBm(net_data[1]);
+ sig_strength.ecno = ecno_convert_to_dB(net_data[5]);
+ }
+
+ if(sig_cb != NULL)
+ {
+ sig_cb(sig_strength);
+ }
+ }
+
+ else
+ {
+ LOGE("data is NULL\n");
+ }
+}
+
+static void gsw_modem_status_event_callback(const void* data, int data_len)
+{
+ LOGE("gsw_modem_status_event_callback start\n");
+
+ gsw_mode_state_e state = GSW_MODEM_STATE_UNKNOWN;
+
+ if(data && data_len > 0)
+ {
+ uint8 *net_data = (uint8*)data;
+ LOGE("gsw_modem_status_event_callback,data = %d\n", *net_data);
+ if(*net_data == 1)
+ {
+ state = GSW_MODEM_STATE_ONLINE;
+ }
+ else if(*net_data == 0)
+ {
+ state = GSW_MODEM_STATE_OFFLINE;
+ }
+
+ if(modem_cb != NULL)
+ {
+ modem_cb(state);
+ }
+ }
+
+}
+
+static void gsw_reject_callback(GSW_NW_RADIO_ACCESS_TECH_E rat, GSW_SERVICE_DOMAIN_E domain, int cause)
+{
+ LOGE("gsw_reject_callback start,rat = %d,domain = %d,cause = %d\n",rat,domain,cause);
+
+ GSW_NW_REJ_CAUSE_E *rej_cause = (GSW_NW_REJ_CAUSE_E*)malloc(sizeof(GSW_NW_REJ_CAUSE_E));
+ memset(rej_cause, 0x0, sizeof(GSW_NW_REJ_CAUSE_E));
+
+ rej_cause->rej_cause = cause;
+ rej_cause->rej_rat = rat;
+ rej_cause->rej_domain = domain;
+
+ if(reject_cb != NULL)
+ {
+ LOGE("reject_cb is not NULL\n");
+ reject_cb(rej_cause);
+ }
+ else
+ {
+ LOGE("reject_cb is NULL\n");
+ }
+
+ free(rej_cause);
+ LOGE("gsw_reject_callback end\n");
+}
+
+
+
+/**
+ * @brief SDK interface to call back serving info
+ * @param [in] handle_ptr
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_reg_serving_info_callback(GSW_NW_ServingInfoHandlePtr handle_ptr)
+{
+ if (nw_init_flag == 0 || nw_info_handle == NULL)
+ {
+ return GSW_HAL_FAIL;
+ }
+
+ if(handle_ptr == NULL)
+ {
+ LOGE("handle_ptr is NULL\n");
+ return GSW_HAL_FAIL;
+ }
+
+ serving_cb = handle_ptr;
+
+ return GSW_HAL_SUCCESS;
+
+}
+
+
+/**
+ * @brief SDK interface to call back sig info
+ * @param [in] handle_ptr
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_reg_sig_info_callback(GSW_NW_SigInfoHandlePtr handle_ptr)
+{
+ if (nw_init_flag == 0 || nw_info_handle == NULL)
+ {
+ return GSW_HAL_FAIL;
+ }
+
+ if(handle_ptr == NULL)
+ {
+ LOGE("handle_ptr is NULL\n");
+ return GSW_HAL_FAIL;
+ }
+
+ sig_cb = handle_ptr;
+
+ return GSW_HAL_SUCCESS;
+
+}
+
+
+/**
+ * @brief SDK interface to call back rej cause
+ * @param [in] handle_ptr
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_reg_rej_cause_callback(GSW_NW_RejectCauseHandlePtr handle_ptr)
+{
+ if (nw_init_flag == 0 || nw_info_handle == NULL)
+ {
+ return GSW_HAL_FAIL;
+ }
+
+ if(handle_ptr == NULL)
+ {
+ LOGE("handle_ptr is NULL\n");
+ return GSW_HAL_FAIL;
+ }
+
+ reject_cb = handle_ptr;
+
+ return GSW_HAL_SUCCESS;
+}
+
+
+/**
+ * @brief network sdk init
+ * @param [in] token usr id define by who use
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_nw_sdk_init(int token)
+{
+ int ret = -1;
+
+ if (nw_init_flag == 1 && nw_info_handle != NULL)
+ {
+ return GSW_HAL_SUCCESS;
+ }
+
+ ret = mbtk_nw_api_import();
+ if (ret != 0)
+ {
+ LOGE("mbtk_nw_api_import fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ nw_info_handle = mbtk_info_handle_get();
+
+ if (nw_info_handle == NULL)
+ {
+ LOGE("mbtk_info_handle_get fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ char fplmn[256] = {0};
+ ret = mbtk_fplmn_get(nw_info_handle, fplmn);
+ if(ret != 0)
+ {
+ LOGE("mbtk_fplmn_get failed : %d\n",ret);
+ return GSW_HAL_FAIL;
+ }
+ fplmn_max_length = (strlen(fplmn)/6);
+ LOGE("fplmn = %s, fplmn_max_length = %d\n",fplmn,fplmn_max_length);
+ ret = mbtk_signal_state_change_cb_reg(nw_info_handle, gsw_sig_info_callback);
+
+ if (ret != 0)
+ {
+ LOGE("mbtk_signal_state_change_cb_reg fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ ret = mbtk_net_state_change_cb_reg(nw_info_handle, gsw_serving_info_callback);
+ if (ret != 0)
+ {
+ LOGE("mbtk_net_state_change_cb_reg fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ nw_init_flag = 1;
+
+ return GSW_HAL_SUCCESS;
+}
+
+
+/**
+ * @brief network sdk deinit
+ * @param
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_nw_sdk_deinit(void)
+{
+ int ret = -1;
+
+ if (nw_init_flag == 0 || nw_info_handle == NULL)
+ {
+ return GSW_HAL_FAIL;
+ }
+
+ ret = mbtk_info_handle_free(&nw_info_handle);
+ if(ret != GSW_HAL_SUCCESS)
+ {
+ LOGE("mbtk_info_handle_free fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ dlclose(dlHandle_mbtk);
+ nw_info_handle = NULL;
+ nw_init_flag = 0;
+
+ return GSW_HAL_SUCCESS;
+
+}
+
+
+/**
+ * @brief get current network reg info
+ * @param [out] serving_info struct for network info
+ * include regstate ps_state opreator name mcc mcn etc
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_get_nwinfo(GSW_NW_SERVING_INFO *serving_info)
+{
+
+ int ret = -1;
+ LOGE("gsw_get_nwinfo start\n");
+ if (nw_init_flag == 0 || nw_info_handle == NULL)
+ {
+ LOGE("nw_sdk_deinit not init\n");
+ return GSW_HAL_FAIL;
+ }
+
+ LOGE("mbtk_net_reg_get start \n");
+ //regstate
+ mbtk_net_reg_info_t reg;
+ memset(®, 0x0, sizeof(mbtk_net_reg_info_t));
+ ret = mbtk_net_reg_get(nw_info_handle, ®);
+ if(ret)
+ {
+ LOGE("mbtk_net_reg_get fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ LOGE("convert_cs_reg_state\n");
+ //cs_state
+ serving_info->reg_state = convert_reg_state(reg.call_state);
+ LOGE("convert_ps_reg_state\n");
+ //ps_state
+ serving_info->ps_state = convert_reg_state(reg.data_state);
+ LOGE("convert_rat_mode\n");
+ //reg_rat
+ serving_info->reg_rat = convert_net_mode(reg.type);
+ //srv_domain
+ if(serving_info->reg_state == GSW_NETWORK_REG_REGISTERED || serving_info->reg_state == GSW_NETWORK_REG_REGISTRATION_ROAMING)
+ {
+ if(serving_info->ps_state == GSW_NETWORK_REG_REGISTERED || serving_info->ps_state == GSW_NETWORK_REG_REGISTRATION_ROAMING)
+ {
+ serving_info->srv_domain = GSW_SRV_DOMAIN_CS_PS;
+ }
+
+ else
+ {
+ serving_info->srv_domain = GSW_SRV_DOMAIN_CS_ONLY;
+ }
+ }
+
+ else if (serving_info->ps_state == GSW_NETWORK_REG_REGISTERED || serving_info->ps_state == GSW_NETWORK_REG_REGISTRATION_ROAMING)
+ {
+ serving_info->srv_domain = GSW_SRV_DOMAIN_PS_ONLY;
+ }
+
+ else
+ {
+ serving_info->srv_domain = GSW_SRV_DOMAIN_NO_SVC;
+ //if ps and cs is both not registed, reg_rat seted to GSW_NETWORK_RADIO_NO_SVC
+ serving_info->reg_rat = GSW_NETWORK_RADIO_NO_SVC;
+ }
+
+ LOGD("roaming_ind\n");
+ //roaming_ind
+ if(serving_info->ps_state == GSW_NETWORK_REG_REGISTRATION_ROAMING)
+ {
+ serving_info->roaming_ind = GSW_NETWORK_ROAMING_ON;
+ }
+ else
+ {
+ serving_info->roaming_ind = GSW_NETWORK_ROAMING_OFF;
+ }
+
+ LOGD("reject\n");
+ //reject
+ if(serving_info->ps_state == GSW_NETWORK_REG_REGISTRATION_DENIED || serving_info->reg_state == GSW_NETWORK_REG_REGISTRATION_DENIED)
+ {
+ LOGD("reject_callback\n");
+ gsw_reject_callback(serving_info->reg_rat,serving_info->srv_domain,99);
+ }
+
+ LOGD("reg_plmn / operator name\n");
+ //reg_plmn / operator name
+ mbtk_net_info_t net;
+ memset(&net, 0x0, sizeof(mbtk_net_info_t));
+ LOGD("mbtk_net_sel_mode_get start \n");
+ ret = mbtk_net_sel_mode_get(nw_info_handle, &net);
+ LOGD("mbtk_net_sel_mode_get end \n");
+ if(ret == 0 && net.plmn > 0)
+ {
+ int i = 0;
+
+ LOGD("start to find mcc");
+ while(i < ARRAY_SIZE(lynq_operator_mcc_mnc))
+ {
+ if(lynq_operator_mcc_mnc[i].lynq_mcc_mnc == net.plmn)
+ {
+ LOGD("find mcc\n");
+ break;
+ }
+ i++;
+ }
+
+
+ if(i == ARRAY_SIZE(lynq_operator_mcc_mnc))
+ {
+ LOGD("not find mcc");
+ strcpy(serving_info->operator_name, "unknown");
+ sprintf(serving_info->reg_plmn, "%d", net.plmn);
+ }
+
+ else
+ {
+ LOGD("find mcc\n");
+ strcpy(serving_info->operator_name, lynq_operator_mcc_mnc[i].lynq_operator_l);
+ sprintf(serving_info->reg_plmn, "%d", net.plmn);
+ }
+
+ LOGE("operator_name = %s\n", serving_info->operator_name);
+ LOGE("reg_plmn = %s\n", serving_info->reg_plmn);
+ }
+
+
+ LOGD("get cell id/tac/lac/sid/nid\n");
+ //cell id/tac/lac/sid/nid
+ mbtk_cell_type_enum cell_type;
+ if(serving_info->reg_rat == GSW_NETWORK_RADIO_GSM)
+ {
+ cell_type = MBTK_CELL_TYPE_GSM;
+ }
+ else if(serving_info->reg_rat == GSW_NETWORK_RADIO_UMTS)
+ {
+ cell_type = MBTK_CELL_TYPE_UMTS;
+ }
+ else
+ {
+ cell_type = MBTK_CELL_TYPE_LTE;
+ }
+
+ list_node_t* cell_list = NULL;
+
+ LOGD("mbtk_cell_get start\n");
+ ret = mbtk_cell_get(nw_info_handle, &cell_type, &cell_list);
+ if(ret != 0 || cell_list == NULL)
+ {
+ LOGE("mbtk_cell_get fail\n");
+ return GSW_HAL_FAIL;
+ }
+ else
+ {
+ LOGE("mbtk_cell_get end,start to get node\n");
+ list_first(cell_list);
+ LOGE("list_first end\n");
+ mbtk_cell_info_t* cell = (mbtk_cell_info_t*) list_next(cell_list);
+ if(cell)
+ {
+ LOGE("cell is not null,value2 = %u\n",cell->value2);
+ switch(cell_type)
+ {
+ case MBTK_CELL_TYPE_LTE:
+ {
+ LOGE("is lte\n");
+ //LOGE("LTE : tac=%x, PCI=%x, dlEuarfcn=%x, ulEuarfcn=%x, band=%x\n", cell->value1, cell->value2, cell->value3, cell->value4, cell->value5);
+ LOGE("LTE : tac=%d, PCI=%d, dlEuarfcn=%d, ulEuarfcn=%d, band=%d\n", cell->value1, cell->value2, cell->value3, cell->value4, cell->value5);
+ snprintf(serving_info->tac,sizeof(serving_info->tac),"%d",cell->value1);
+ strcpy(serving_info->lac,"");
+ snprintf(serving_info->cell_id,sizeof(serving_info->cell_id),"%d",cell->value8);
+ break;
+ }
+
+ case MBTK_CELL_TYPE_GSM:
+ {
+ LOGE("is gsm\n");
+ LOGE("GSM : lac=%d, ci=%d, arfcn=%d, bsic=%d\n", cell->value1, cell->value2, cell->value3, cell->value4);
+ sprintf(serving_info->lac,"%d",cell->value1);
+ memset(serving_info->tac,0,sizeof(serving_info->tac));
+ sprintf(serving_info->cell_id,"%d",cell->value2);
+ break;
+ }
+ case MBTK_CELL_TYPE_UMTS:
+ {
+ LOGE("is wcdma\n");
+ LOGE("UMTS : lac=%d, ci=%d, arfcn=%d\n", cell->value1, cell->value2, cell->value3);
+ sprintf(serving_info->lac,"%d",cell->value1);
+ memset(serving_info->tac,0,sizeof(serving_info->tac));
+ sprintf(serving_info->cell_id,"%d",cell->value2);
+ break;
+ }
+
+ default:
+ break;
+ }
+ }
+ else
+ {
+ LOGE("cell is null\n");
+ }
+ }
+
+ //not support now
+ serving_info->sid = 0;
+ serving_info->nid = 0;
+
+ return GSW_HAL_SUCCESS;
+}
+
+
+/**
+ * @brief get current network type
+ * @param [out] netype as GSW_NW_RADIO_ACCESS_TECH_E type
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_get_netype(int *netype)
+{
+ int ret = -1;
+
+ if (nw_init_flag == 0 || nw_info_handle == NULL)
+ {
+ return GSW_HAL_FAIL;
+ }
+
+ //regstate
+ mbtk_net_reg_info_t reg;
+ ret = mbtk_net_reg_get(nw_info_handle, ®);
+ if(ret)
+ {
+ LOGE("mbtk_net_reg_get fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ if(reg.data_state == MBTK_NET_REG_STATE_HOME || reg.data_state == MBTK_NET_REG_STATE_ROAMING)
+ {
+ *netype = convert_net_mode(reg.type);
+ }
+ else
+ {
+ *netype = GSW_NETWORK_RADIO_NO_SVC;
+ }
+
+ return GSW_HAL_SUCCESS;
+}
+
+
+/**
+ * @brief get radio opmode, as open and close airplane mode
+ * @param [out] op_mode 1 is radio on, 0 is radio off
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_get_opmode(int *op_mode)
+{
+ int tmp_rf = -1;
+ int ret = -1;
+ if (nw_init_flag == 0 || nw_info_handle == NULL)
+ {
+ return GSW_HAL_FAIL;
+ }
+
+ ret = mbtk_get_modem_fun(nw_info_handle, &tmp_rf);
+ if (ret != 0)
+ {
+ LOGE("mbtk_get_modem_fun fail\n");
+ return GSW_HAL_FAIL;
+ }
+ if(tmp_rf == LYNQ_AIR_CFUN_MODE_OFF)
+ {
+ *op_mode = GSW_OP_MODE_LPM;
+ }
+
+ if(tmp_rf == LYNQ_AIR_PLANE_MODE_ON)
+ {
+ *op_mode = GSW_OP_MODE_OFFLINE;
+ }
+
+ if(tmp_rf == LYNQ_AIR_PLANE_MODE_OFF)
+ {
+ *op_mode = GSW_OP_MODE_ONLINE;
+ }
+
+ return GSW_HAL_SUCCESS;
+}
+
+
+
+/**
+ * @brief set radio opmode, as open and close airplane mode
+ * @param [in] op_mode 1 is radio on, 0 is radio off
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_set_opmode(int op_mode)
+{
+ mbtk_modem_info_t info;
+ int rf_mode = -1;
+ int ret = -1;
+
+ if (nw_init_flag == 0 || nw_info_handle == NULL)
+ {
+ return GSW_HAL_FAIL;
+ }
+
+ if(op_mode == GSW_OP_MODE_LPM)
+ {
+ rf_mode = LYNQ_AIR_CFUN_MODE_OFF;
+ }
+
+ if(op_mode == GSW_OP_MODE_ONLINE)
+ {
+ rf_mode = LYNQ_AIR_PLANE_MODE_OFF;
+ }
+
+ if(op_mode == GSW_OP_MODE_OFFLINE)
+ {
+ rf_mode = LYNQ_AIR_PLANE_MODE_ON;
+ }
+
+ if (rf_mode != LYNQ_AIR_PLANE_MODE_ON && rf_mode != LYNQ_AIR_PLANE_MODE_OFF && rf_mode != LYNQ_AIR_CFUN_MODE_OFF)
+ {
+ LOGE("Input mode is error!\n");
+ return GSW_HAL_FAIL;
+ }
+
+ info.fun = rf_mode;
+ info.rst = 0;
+ ret = mbtk_set_modem_fun(nw_info_handle, &info);
+ if (ret != 0)
+ {
+ LOGE("gsw_set_opmode fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ return GSW_HAL_SUCCESS;
+
+}
+
+
+/**
+ * @brief get network mode preference of mdm search network scale
+ * @param [out] mode_pref net_work pref mode:
+ * enum prefer_mode
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_get_mode_preference(int *mode_pref)
+{
+ if (nw_init_flag == 0 || nw_info_handle == NULL)
+ {
+ return GSW_HAL_FAIL;
+ }
+
+ int ret = -1;
+ mbtk_band_info_t band;
+ memset(&band, 0, sizeof(mbtk_band_info_t));
+
+ ret = mbtk_current_band_get(nw_info_handle, &band);
+ if(ret != 0)
+ {
+ LOGE("mbtk_current_band_get fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ *mode_pref = convert_gsw_net_config(band.net_pref);
+ LOGE("band.net_pref = %d\n", *mode_pref);
+ if(*mode_pref <= 0)
+ {
+ LOGE("no support mode\n");
+ return GSW_HAL_FAIL;
+ }
+ return GSW_HAL_SUCCESS;
+
+
+}
+
+/**
+ * @brief set network mode preference of mdm search network scale
+ * @param [in] mode_pref net_work pref mode:
+ * enum prefer_mode
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_set_mode_preference(int mode_pref)
+{
+ if (nw_init_flag == 0 || nw_info_handle == NULL)
+ {
+ return GSW_HAL_FAIL;
+ }
+
+ int ret = -1;
+
+ mbtk_band_info_t band;
+ memset(&band, 0, sizeof(mbtk_band_info_t));
+
+ band.net_pref = convert_mbtk_net_config(mode_pref);
+ LOGE("band.net_pref = %d\n", band.net_pref);
+
+ if(band.net_pref < 0)
+ {
+ LOGE("no support mode\n");
+ return GSW_HAL_FAIL;
+ }
+
+ ret = mbtk_current_band_set(nw_info_handle, &band);
+ if(ret != 0)
+ {
+ LOGE("mbtk_current_band_set fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ return GSW_HAL_SUCCESS;
+}
+
+/**
+ * @brief get signal csq value
+ * @param [out] csq_value csq of signalstrengh 0 - 31, 99 invalid
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_get_sig_info(int *csq_value)
+{
+ int ret = -1;
+
+ if (nw_init_flag == 0 || nw_info_handle == NULL)
+ {
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_signal_info_t signal;
+ memset(&signal, 0x0, sizeof(mbtk_signal_info_t));
+ ret = mbtk_net_signal_get(nw_info_handle, &signal);
+ if(ret != 0)
+ {
+ LOGE("mbtk_net_signal_get fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ LOGD("signal.type=%d\n", signal.type);
+ switch(signal.type)
+ {
+ case MBTK_RADIO_TECH_GSM:
+ case MBTK_RADIO_TECH_GSM_COMPACT:
+ case MBTK_RADIO_TECH_GSM_EGPRS:
+ {
+ LOGD("rssi = %d\n",signal.rssi);
+ *csq_value = rssi_convert_to_dBm(signal.rssi);
+ break;
+ }
+ case MBTK_RADIO_TECH_E_UTRAN:
+ {
+ LOGD("rsrp = %d\n",signal.rsrp);
+ *csq_value = rsrp_convert_to_dBm(signal.rsrp);
+ break;
+ }
+ case MBTK_RADIO_TECH_UTRAN:
+ case MBTK_RADIO_TECH_UTRAN_HSDPA:
+ case MBTK_RADIO_TECH_UTRAN_HSUPA:
+ case MBTK_RADIO_TECH_UTRAN_HSDPA_HSUPA:
+ case MBTK_RADIO_TECH_UTRAN_HSPA:
+ {
+ LOGD("rscp = %d\n",signal.rscp);
+ *csq_value = rscp_convert_to_dBm(signal.rscp);
+ break;
+ }
+ default:
+ {
+ LOGD("[%s] unknown reg type.[%d]\n", __func__, signal.type);
+ return GSW_HAL_FAIL;
+ }
+ }
+ return GSW_HAL_SUCCESS;
+}
+
+/**
+ * @brief set nework power mode, for tcam enter standby or exit standby
+ * @param [in] mode TRUE(1) when enter standby, FALSE(0) after wake up
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_network_set_power_mode(char mode)
+{
+ int ret = -1;
+
+ if (nw_init_flag == 0 || nw_info_handle == NULL)
+ {
+ return GSW_HAL_FAIL;
+ }
+
+ if(mode != 0 && mode != 1)
+ {
+ LOGE("Input mode is error!\n");
+ return GSW_HAL_FAIL;
+ }
+
+ if(mode == 1)
+ {
+ mode = 6;
+ }
+
+ ret = mbtk_wakeup_state_set(nw_info_handle, mode);
+ if(ret != 0)
+ {
+ LOGE("mbtk_wakeup_state_set fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ return GSW_HAL_SUCCESS;
+
+
+
+}
+
+/**
+ * @brief convert rsrp rscp rssi to csq value.
+ * @param [in] netType signal radio tech 2 means 2G 3 mens 3G,4 is 4G,5 is 5G
+ * @param [in] sigvalue input signal_strength for different nettype
+ * rsrp for 4G/5G, rscp for 3G, rssi for 2G
+
+ * @retval csq
+ * @retval other: fail
+ */
+int gsw_sigInfo_to_csq(int netType, int sigValue)
+{
+ switch(netType)
+ {
+ case 1:
+ case 2:
+ case 3:
+ case 4: //GSM
+ {
+ return gsw_rssi_to_csq(sigValue);
+ }
+
+ case 5: //WCDMA
+ {
+ return gsw_rscp_to_csq(sigValue);
+ }
+
+ case 6: //LTE
+ {
+ return gsw_rsrp_to_csq(sigValue);
+ }
+
+ default:
+ {
+ LOGE("parameter error\n");
+ return GSW_HAL_FAIL;
+ }
+ }
+}
+
+/*
+ * @brief get mobile operator name
+ @param [out] nw_operator_name_infos get the long and short operator name info
+ @retval 0: success
+ @retval 0: other: fail
+ */
+int gsw_get_mobile_operator_name(gsw_mobile_operator_name *nw_operator_name_infos)
+{
+ char OperatorFN[128];
+ char OperatorSH[128];
+ char temp[12] = {0};
+ mbtk_net_info_t net;
+
+ if (nw_init_flag == 0 || nw_info_handle == NULL)
+ {
+ return GSW_HAL_FAIL;
+ }
+
+ if(!mbtk_net_sel_mode_get(nw_info_handle, &net) && net.plmn > 0)
+ {
+ LOGE("Net : %d, %d, %d\n", net.net_sel_mode, net.net_type, net.plmn);
+ int i = 0;
+ while(i < ARRAY_SIZE(lynq_operator_mcc_mnc))
+ {
+ if(lynq_operator_mcc_mnc[i].lynq_mcc_mnc == net.plmn)
+ break;
+ i++;
+ }
+
+ if(i == ARRAY_SIZE(lynq_operator_mcc_mnc)) // No found mcc&mnc
+ {
+ strcpy(OperatorFN, "UNKNOWN");
+ strcpy(OperatorSH, "UNKNOWN");
+ }
+ else
+ {
+ strcpy(OperatorFN, lynq_operator_mcc_mnc[i].lynq_operator_l);
+ strcpy(OperatorSH, lynq_operator_mcc_mnc[i].lynq_operator_s);
+
+ memset(temp,0,12);
+ memset(nw_operator_name_infos->mcc,0,4);
+ sprintf(temp, "%d", (lynq_operator_mcc_mnc[i].lynq_mcc_mnc)/100);
+ strncpy(nw_operator_name_infos->mcc, temp, strlen(temp));
+
+ memset(temp,0,12);
+ memset(nw_operator_name_infos->mnc,0,4);
+ sprintf(temp, "%d", (lynq_operator_mcc_mnc[i].lynq_mcc_mnc)%100);
+ strncpy(nw_operator_name_infos->mnc, temp, strlen(temp));
+ }
+
+ memset(nw_operator_name_infos->long_eons,0,128);
+ memcpy(nw_operator_name_infos->long_eons,OperatorFN,strlen(OperatorFN));
+ memset(nw_operator_name_infos->short_eons,0,128);
+ memcpy(nw_operator_name_infos->short_eons,OperatorSH,strlen(OperatorSH));
+
+ return GSW_HAL_SUCCESS;
+ }
+
+ else
+ {
+ LOGE("mbtk_net_sel_mode_get fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ return GSW_HAL_SUCCESS;
+}
+
+
+/*
+ * @brief get current serving cell info
+ * @param cell_info: [out] struct for current cell info
+ * include earfcn mcc mnc pci psc tac lac etc.
+ * @return int: 0 is success, other failed
+ */
+int gsw_get_cell_info(GSW_NW_CELL_INFO *cell_info)
+{
+ int ret = -1;
+
+ if (nw_init_flag == 0 || nw_info_handle == NULL)
+ {
+ LOGE("nw_sdk_deinit not init\n");
+ return GSW_HAL_FAIL;
+ }
+
+ list_node_t* cell_list = NULL;
+ int neibor_count = 0;
+ mbtk_cell_type_enum type;
+ ret = mbtk_cell_get(nw_info_handle, &type, &cell_list);
+ if(ret || cell_list == NULL) {
+ LOGE("mbtk_cell_get failed : %d\n", ret);
+ } else {
+ list_first(cell_list);
+ mbtk_cell_info_t* cell = (mbtk_cell_info_t*) list_next(cell_list);
+ if(cell) { // Current server cell.
+ switch(type)
+ {
+ case 0:
+ {
+ LOGD("GSM : lac=%d, ci=%d, arfcn=%d, bsic=%d\n", cell->value1, cell->value2, cell->value3, cell->value4);
+ char gsm_temp[12] = {0};
+
+ cell_info->rat = GSW_NETWORK_RADIO_GSM;
+
+ cell_info->mcc_valid = 1;
+ snprintf(gsm_temp, sizeof(gsm_temp) ,"%d", cell->value5);
+ strncpy(cell_info->mcc, gsm_temp, sizeof(cell_info->mcc));
+
+ memset(gsm_temp, 0, sizeof(gsm_temp));
+
+ cell_info->mnc_valid = 1;
+ snprintf(gsm_temp, sizeof(gsm_temp) ,"%d", cell->value6);
+ strncpy(cell_info->mnc, gsm_temp, sizeof(cell_info->mnc));
+
+ cell_info->cell_id_valid = 1;
+ cell_info->cell_id = cell->value2;
+
+ cell_info->lac_valid = 1;
+ cell_info->lac = cell->value1;
+
+ cell_info->arfcn_valid = 1;
+ cell_info->arfcn = cell->value3;
+
+ break;
+ }
+
+ case 1:
+ {
+ LOGD("UMTS : lac=%d, ci=%d, arfcn=%d\n", cell->value1, cell->value2, cell->value3);
+ char wcdma_temp[12] = {0};
+
+ cell_info->rat = GSW_NETWORK_RADIO_UMTS;
+
+ cell_info->mcc_valid = 1;
+ snprintf(wcdma_temp, sizeof(wcdma_temp) ,"%d", cell->value4);
+ strncpy(cell_info->mcc, wcdma_temp, sizeof(cell_info->mcc));
+
+ memset(wcdma_temp, 0, sizeof(wcdma_temp));
+
+ cell_info->mnc_valid = 1;
+ snprintf(wcdma_temp, sizeof(wcdma_temp) ,"%d", cell->value5);
+ strncpy(cell_info->mnc, wcdma_temp, sizeof(cell_info->mnc));
+
+ cell_info->lac_valid = 1;
+ cell_info->lac = cell->value1;
+
+ cell_info->cell_id_valid = 1;
+ cell_info->cell_id = cell->value2;
+
+ cell_info->uarfcn_valid = 1;
+ cell_info->uarfcn = cell->value3;
+
+ cell_info->psc_valid = 1;
+ cell_info->psc = cell->value6;
+ break;
+ }
+
+ case 2:
+ {
+ LOGE("LTE : tac=%d, PCI=%d, dlEuarfcn=%d, ulEuarfcn=%d, band=%d\n", cell->value1, cell->value2, cell->value3, cell->value4, cell->value5);
+
+ char lte_temp[12] = {0};
+
+ cell_info->rat = GSW_NETWORK_RADIO_LTE;
+
+ cell_info->mcc_valid = 1;
+ snprintf(lte_temp, sizeof(lte_temp) ,"%X", cell->value6);
+ strncpy(cell_info->mcc, lte_temp, sizeof(cell_info->mcc));
+
+ memset(lte_temp, 0, sizeof(lte_temp));
+
+ cell_info->mnc_valid = 1;
+ snprintf(lte_temp, sizeof(lte_temp) ,"%X", cell->value7);
+ strncpy(cell_info->mnc, lte_temp, sizeof(cell_info->mnc));
+
+ cell_info->tac_valid = 1;
+ cell_info->tac = cell->value1;
+
+ cell_info->pci_valid = 1;
+ cell_info->pci = cell->value2;
+
+ cell_info->earfcn_valid = 1;
+ cell_info->earfcn = cell->value3;
+
+ cell_info->bler_valid = 1;
+ cell_info->bler = cell->value4;
+
+ cell_info->band_valid = 1;
+ cell_info->band = cell->value5;
+
+ cell_info->rsrp_valid = 1;
+ cell_info->rsrp = cell->value8;
+
+ cell_info->rsrq_valid = 1;
+ cell_info->rsrq = cell->value9;
+
+ cell_info->cell_id_valid = 1;
+ cell_info->cell_id = cell->value10;
+
+ break;
+ }
+
+ default:
+ break;
+ }
+ }
+
+ while ((cell = (mbtk_cell_info_t*) list_next(cell_list)) && neibor_count < 5)
+ {
+ switch(type)
+ {
+ //GSM
+ case 0:
+ {
+
+ }
+ //WCDMA
+ case 1:
+ {
+ LOGE("CELL : lac=%d, ci=%d, arfcn=%d\n", cell->value1, cell->value2, cell->value3);
+
+ //cell_info->ext_info[neibor_count]->lac = cell->value1;
+
+ cell_info->ext_info[neibor_count].cell_id_valid = 1;
+ cell_info->ext_info[neibor_count].cell_id = cell->value2;
+
+ cell_info->ext_info[neibor_count].arfcn_valid = 1;
+ cell_info->ext_info[neibor_count].arfcn = cell->value3;
+
+ cell_info->ext_info[neibor_count].rat = cell_info->rat = GSW_NETWORK_RADIO_UMTS;
+
+ neibor_count++;
+
+ }
+ //LTE
+ case 2:
+ {
+ LOGE("CELL : phyCellId=%d, euArfcn=%d, rsrp=%d, rsrq=%d\n", cell->value1, cell->value2, cell->value3, cell->value4);
+ char lte_temp[12] = {0};
+ cell_info->ext_info[neibor_count].rat = GSW_NETWORK_RADIO_LTE;
+
+ snprintf(lte_temp, sizeof(lte_temp) ,"%X", cell->value6);
+ strncpy(cell_info->ext_info[neibor_count].mcc, lte_temp, sizeof(cell_info->mcc));
+
+ memset(lte_temp, 0, sizeof(lte_temp));
+
+ snprintf(lte_temp, sizeof(lte_temp) ,"%X", cell->value7);
+ strncpy(cell_info->ext_info[neibor_count].mnc, lte_temp, sizeof(cell_info->mnc));
+
+ cell_info->ext_info[neibor_count].pci = cell->value1;
+ cell_info->ext_info[neibor_count].pci_valid = 1;
+
+ cell_info->ext_info[neibor_count].arfcn = cell->value2;
+ cell_info->ext_info[neibor_count].arfcn_valid = 1;
+
+ cell_info->ext_info[neibor_count].rsrp = cell->value3;
+ cell_info->ext_info[neibor_count].rsrp_valid = 1;
+
+ cell_info->ext_info[neibor_count].rsrq = cell->value4;
+ cell_info->ext_info[neibor_count].rsrq_valid = 1;
+
+ cell_info->ext_info[neibor_count].cell_id = cell->value5;
+ cell_info->ext_info[neibor_count].cell_id_valid = 1;
+
+ cell_info->ext_info[neibor_count].band = cell->value9;
+ cell_info->ext_info[neibor_count].band_valid = 1;
+
+ cell_info->ext_info[neibor_count].rssi = cell->value10;
+ cell_info->ext_info[neibor_count].rssi_valid = 1;
+
+ neibor_count++;
+ }
+
+ default:
+ break;
+ }
+ }
+ }
+ list_free(cell_list);
+
+ return GSW_HAL_SUCCESS;
+}
+
+/*
+ * @brief set modem status event callback
+ @param [in] handle_ptr callback function address
+ @retval 0: success
+ @retval 0: other: fail
+ */
+int gsw_reg_set_modem_status_event_callback(GSW_NW_ModemStateHandlePtr handle_ptr)
+{
+
+ if (nw_init_flag == 0 || nw_info_handle == NULL)
+ {
+ return GSW_HAL_FAIL;
+ }
+
+ int ret = -1;
+
+ if(handle_ptr == NULL)
+ {
+ LOGE("handle_ptr is NULL\n");
+ return GSW_HAL_FAIL;
+ }
+
+ modem_cb = handle_ptr;
+
+ ret = mbtk_radio_state_change_cb_reg(nw_info_handle,gsw_modem_status_event_callback);
+ if(ret != 0)
+ {
+ LOGE("mbtk_radio_state_change_cb_reg failed : %d\n", ret);
+ return GSW_HAL_FAIL;
+ }
+
+ return GSW_HAL_SUCCESS;
+
+}
+
+
+/*
+ * @brief get PLMNs from the FPLMN list
+ * @param [inout] plmn_list:
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_get_forbidden_networks(gsw_nw_plmn_list_t *plmn_list)
+{
+ if (nw_init_flag == 0 || nw_info_handle == NULL)
+ {
+ return GSW_HAL_FAIL;
+ }
+
+ int ret = -1;
+ char fplmn[256] = {0};
+ LOGE("mbtk_fplmn_get enter\n");
+ ret = mbtk_fplmn_get(nw_info_handle, fplmn);
+ LOGE("mbtk_fplmn_get exit\n");
+ if(ret != 0)
+ {
+ LOGE("mbtk_fplmn_get failed : %d\n",ret);
+ return GSW_HAL_FAIL;
+ }
+
+ update_fplmn_list(fplmn);
+ for(int i = 0; i < fplmn_index; i++)
+ {
+ if(strcmp(fplmn_array[i],"FFFFFF") == 0)
+ {
+ continue;
+ }
+ extract_mcc_mnc(fplmn_array[i], plmn_list->plmn_list[plmn_list->plmn_list_len].mcc, plmn_list->plmn_list[plmn_list->plmn_list_len].mnc);
+ LOGE("mcc = %s, mnc = %s\n", plmn_list->plmn_list[plmn_list->plmn_list_len].mcc, plmn_list->plmn_list[plmn_list->plmn_list_len].mnc);
+ plmn_list->plmn_list_len++;
+ }
+
+ LOGE("fplmn = %s\n", fplmn);
+ return GSW_HAL_SUCCESS;
+}
+
+/*
+ * @brief add PLMNs from the plmn_list to the FPLMN list
+ * @param [in] plmn_list:
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_add_forbidden_networks(gsw_nw_plmn_list_t *plmn_list)
+{
+
+ if (nw_init_flag == 0 || nw_info_handle == NULL)
+ {
+ return GSW_HAL_FAIL;
+ }
+
+ if(plmn_list->plmn_list_len >= fplmn_max_length)
+ {
+ LOGE("can't save all the plmn\n");
+ return GSW_HAL_FAIL;
+ }
+
+ int i = 0;
+ int index = -1;
+
+ for(i = 0; i < plmn_list->plmn_list_len; i++)
+ {
+ index = check_index(plmn_list->plmn_list[i].mcc, plmn_list->plmn_list[i].mnc);
+
+ if(index == -1)
+ {
+ LOGE("no this PLMN, add it\n");
+ if((fplmn_index + plmn_list->plmn_list_len) > fplmn_max_length)
+ {
+ LOGE("can't save all the plmn\n");
+ return GSW_HAL_FAIL;
+ }
+
+ else
+ {
+ memcpy(fplmn_array[fplmn_index], plmn_list->plmn_list[i].mcc, 3);
+ memcpy(fplmn_array[fplmn_index] + 3, plmn_list->plmn_list[i].mnc, 2);
+ fplmn_array[fplmn_index][5] = '\0';
+ LOGE("fplmn_array[%d] = %s\n", fplmn_index, fplmn_array[fplmn_index]);
+ fplmn_index++;
+ }
+ }
+
+ else
+ {
+ LOGE("already have this PLMN, don't add it\n");
+ }
+ }
+
+ char fplmn_str[256] = {0};
+ convert_plmn_to_fplmn_str(fplmn_str);
+
+ LOGE("fplmn_str = %s\n", fplmn_str);
+
+ int ret = mbtk_fplmn_set(nw_info_handle, fplmn_str);
+ if(ret != 0)
+ {
+ LOGE("mbtk_fplmn_set failed : %d\n",ret);
+ return GSW_HAL_FAIL;
+ }
+
+ LOGE("gsw_add_forbidden_networks exit\n");
+ return GSW_HAL_SUCCESS;
+}
+
+/*
+ * @brief Remove PLMNs from the plmn_list from the FPLMN list
+ * @param [in] plmn_list:
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_remove_forbidden_networks(gsw_nw_plmn_list_t *plmn_list)
+{
+ LOGE("gsw_remove_forbidden_networks enter\n");
+ if (nw_init_flag == 0 || nw_info_handle == NULL)
+ {
+ return GSW_HAL_FAIL;
+ }
+
+ int i = 0;
+ int index = -1;
+
+ for(i = 0; i < plmn_list->plmn_list_len; i++)
+ {
+ index = check_index(plmn_list->plmn_list[i].mcc, plmn_list->plmn_list[i].mnc);
+ if(index != -1)
+ {
+ remove_fplmn(index);
+ }
+ else
+ {
+ LOGE("no this PLMN, can't remove it\n");
+ }
+ }
+
+ for(i = 0; i < fplmn_index; i++)
+ {
+ LOGE("fplmn_array[%d] = %s\n", i, fplmn_array[i]);
+ }
+
+ char fplmn_str[256] = {0};
+ convert_plmn_to_fplmn_str(fplmn_str);
+ LOGE("fplmn_str = %s\n", fplmn_str);
+
+ int ret = mbtk_fplmn_set(nw_info_handle, fplmn_str);
+ if(ret != 0)
+ {
+ LOGE("mbtk_fplmn_set failed : %d\n",ret);
+ return GSW_HAL_FAIL;
+ }
+
+ LOGE("gsw_remove_forbidden_networks exit\n");
+ return GSW_HAL_SUCCESS;
+}
+
+/*
+ * @brief clear FPLMN list
+ * @param
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_clear_forbidden_networks(void)
+{
+ if (nw_init_flag == 0 || nw_info_handle == NULL)
+ {
+ return GSW_HAL_FAIL;
+ }
+
+ char fplmn_str[FPLMN_STRING_LENGTH+1];
+ memset(fplmn_str, 'F', (6 * fplmn_max_length));
+ fplmn_str[(6 * fplmn_max_length)] = '\0';
+
+ LOGE("%s\n", fplmn_str);
+ int ret = mbtk_fplmn_set(nw_info_handle, fplmn_str);
+ if(ret != 0)
+ {
+ LOGE("mbtk_fplmn_set failed : %d\n",ret);
+ return GSW_HAL_FAIL;
+ }
+
+ return GSW_HAL_SUCCESS;
+}
+
+/*
+ * @brief get oos config
+ * @param [in] oos_config
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_oos_config_get(GSW_NW_OOS_CONFIG_INFO_T *pt_info)
+{
+ if (nw_init_flag == 0 || nw_info_handle == NULL)
+ {
+ return GSW_HAL_FAIL;
+ }
+
+ if(pt_info == NULL)
+ {
+ LOGE("pt_info is null\n");
+ return GSW_HAL_FAIL;
+ }
+
+ int ret = -1;
+
+ mbtk_oos_info oos_info;
+ memset(&oos_info, 0x00, sizeof(mbtk_oos_info));
+
+ ret = mbtk_oos_get(nw_info_handle, &oos_info);
+ if(ret != 0)
+ {
+ LOGE("mbtk_oos_get failed : %d\n",ret);
+ return GSW_HAL_FAIL;
+ }
+
+ if(oos_info.mode == 0)
+ {
+ pt_info->t_min = 0;
+ pt_info->t_step = 0;
+ pt_info->t_max = 0;
+ }
+
+ else
+ {
+ pt_info->t_min = (int)oos_info.oosPhase[0];
+ pt_info->t_step = (int)oos_info.oosPhase[1];
+ pt_info->t_max = (int)oos_info.oosPhase[2];
+ }
+
+ return GSW_HAL_SUCCESS;
+}
+
+
+/*
+ * @brief set oos config
+ * @param [in] oos_config
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_oos_config_set(GSW_NW_OOS_CONFIG_INFO_T *pt_info)
+{
+ if (nw_init_flag == 0 || nw_info_handle == NULL)
+ {
+ return GSW_HAL_FAIL;
+ }
+
+ if(pt_info == NULL)
+ {
+ LOGE("pt_info is null\n");
+ return GSW_HAL_FAIL;
+ }
+
+ int ret = -1;
+ mbtk_oos_info oos_info;
+ memset(&oos_info, 0x00, sizeof(mbtk_oos_info));
+
+ if (pt_info->t_min < 0 || pt_info->t_step < 0 || pt_info->t_max < 0)
+ {
+ LOGE("gsw_oos_config_set set time < 0 ");
+ return GSW_HAL_FAIL;
+ }
+ else if ((pt_info->t_min > 0 && pt_info->t_min <= 255) && pt_info->t_step == 0 && pt_info->t_max == 0)
+ {
+ oos_info.mode = 1;
+ oos_info.oosPhase[0] = pt_info->t_min;
+ }
+ else if ((pt_info->t_min > 0 && pt_info->t_min <= 255) && (pt_info->t_step > 0 && pt_info->t_step <= 255) && pt_info->t_max == 0)
+ {
+ oos_info.mode = 1;
+ oos_info.oosPhase[0] = pt_info->t_min;
+ oos_info.oosPhase[1] = pt_info->t_step;
+ }
+ else if ((pt_info->t_min > 0 && pt_info->t_min <= 255) && (pt_info->t_step > 0 && pt_info->t_step <= 255) && (pt_info->t_max > 0 && pt_info->t_max <= 255))
+ {
+ oos_info.mode = 1;
+ oos_info.oosPhase[0] = pt_info->t_min;
+ oos_info.oosPhase[1] = pt_info->t_step;
+ oos_info.oosPhase[2] = pt_info->t_max;
+ }
+ else if (pt_info->t_min == 0 && pt_info->t_step == 0 && pt_info->t_max == 0)
+ {
+ oos_info.mode = 0;
+ }
+ else
+ {
+ LOGE("gsw_oos_config_set set Format err");
+ return GSW_HAL_FAIL;
+ }
+
+ ret = mbtk_oos_set(nw_info_handle, &oos_info);
+ if(ret != 0)
+ {
+ LOGE("mbtk_oos_set failed : %d\n",ret);
+ return GSW_HAL_FAIL;
+ }
+
+ return GSW_HAL_SUCCESS;
+}
+
+
+
diff --git a/mbtk/libgsw_lib/gsw_oem_rw_interface.c b/mbtk/libgsw_lib/gsw_oem_rw_interface.c
new file mode 100755
index 0000000..6c60e98
--- /dev/null
+++ b/mbtk/libgsw_lib/gsw_oem_rw_interface.c
@@ -0,0 +1,262 @@
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <fcntl.h>
+#include <unistd.h>
+#include <sys/ioctl.h>
+#include <mtd/mtd-user.h>
+#include <errno.h>
+#include <dlfcn.h>
+
+#include "gsw_oem_rw_interface.h"
+
+
+#ifndef LOG_ERR_LEVEL
+#define LOG_ERR_LEVEL 3 /* error conditions */
+#endif
+#ifndef LOG_WARN_LEVEL
+#define LOG_WARN_LEVEL 4 /* warning conditions */
+#endif
+#ifndef LOG_INFO_LEVEL
+#define LOG_INFO_LEVEL 6 /* informational */
+#endif
+#ifndef LOG_DEBUG_LEVEL
+#define LOG_DEBUG_LEVEL 7 /* debug-level messages */
+#endif
+#ifndef LOG_VERBOSE_LEVEL
+#define LOG_VERBOSE_LEVEL 8
+#endif
+
+#define ERASE_BLOCK_SIZE (256*1024)
+
+#define LIB_PATH "/lib/libmbtk_lib.so"
+
+
+#define StatFunc(x,y) stat(x,y)
+
+#define LOGV(fmt, args ...) \
+ do{ \
+ char *file_ptr_1001 = __FILE__; \
+ char *ptr_1001 = file_ptr_1001 + strlen(file_ptr_1001) - 1; \
+ char line_1001[10] = {0}; \
+ sprintf(line_1001, "%d", __LINE__); \
+ while(ptr_1001 >= file_ptr_1001 && *ptr_1001){ \
+ if(*ptr_1001 == '/') \
+ break; \
+ ptr_1001--; \
+ } \
+ fun_ptr_log(LOG_VERBOSE_LEVEL, "%s#%s: " fmt, ptr_1001 + 1, line_1001, ##args); \
+ } while(0)
+
+#define LOGI(fmt, args...) \
+ do{ \
+ char *file_ptr_1001 = __FILE__; \
+ char *ptr_1001 = file_ptr_1001 + strlen(file_ptr_1001) - 1; \
+ char line_1001[10] = {0}; \
+ sprintf(line_1001, "%d", __LINE__); \
+ while(ptr_1001 >= file_ptr_1001 && *ptr_1001){ \
+ if(*ptr_1001 == '/') \
+ break; \
+ ptr_1001--; \
+ } \
+ fun_ptr_log(LOG_INFO_LEVEL, "%s#%s: " fmt, ptr_1001 + 1, line_1001, ##args); \
+ } while(0)
+
+#define LOGD(fmt, args...) \
+ do{ \
+ char *file_ptr_1001 = __FILE__; \
+ char *ptr_1001 = file_ptr_1001 + strlen(file_ptr_1001) - 1; \
+ char line_1001[10] = {0}; \
+ sprintf(line_1001, "%d", __LINE__); \
+ while(ptr_1001 >= file_ptr_1001 && *ptr_1001){ \
+ if(*ptr_1001 == '/') \
+ break; \
+ ptr_1001--; \
+ } \
+ fun_ptr_log(LOG_DEBUG_LEVEL, "%s#%s: " fmt, ptr_1001 + 1, line_1001, ##args); \
+ } while(0)
+
+#define LOGW(fmt, args...) \
+ do{ \
+ char *file_ptr_1001 = __FILE__; \
+ char *ptr_1001 = file_ptr_1001 + strlen(file_ptr_1001) - 1; \
+ char line_1001[10] = {0}; \
+ sprintf(line_1001, "%d", __LINE__); \
+ while(ptr_1001 >= file_ptr_1001 && *ptr_1001){ \
+ if(*ptr_1001 == '/') \
+ break; \
+ ptr_1001--; \
+ } \
+ fun_ptr_log(LOG_WARN_LEVEL, "%s#%s: " fmt, ptr_1001 + 1, line_1001, ##args); \
+ } while(0)
+
+#define LOGE(fmt, args...) \
+ do{ \
+ char *file_ptr_1001 = __FILE__; \
+ char *ptr_1001 = file_ptr_1001 + strlen(file_ptr_1001) - 1; \
+ char line_1001[10] = {0}; \
+ sprintf(line_1001, "%d", __LINE__); \
+ while(ptr_1001 >= file_ptr_1001 && *ptr_1001){ \
+ if(*ptr_1001 == '/') \
+ break; \
+ ptr_1001--; \
+ } \
+ fun_ptr_log(LOG_ERR_LEVEL, "%s#%s: " fmt, ptr_1001 + 1, line_1001, ##args); \
+ } while(0)
+
+typedef void (*mbtk_log)(int level, const char *format,...);
+
+typedef int (*mbtk_oem_read_data_ext)(unsigned int block_id, void *data, unsigned int *len);
+
+typedef int (*mbtk_oem_write_data_ext)(unsigned int block_id, void *data, unsigned int len);
+
+static mbtk_log fun_ptr_log = NULL;
+
+static mbtk_oem_read_data_ext mbtk_read_fun_ptr = NULL;
+static mbtk_oem_write_data_ext mbtk_write_fun_ptr = NULL;
+
+static void *handle = NULL;
+
+static int init_fun_handle()
+{
+ if(handle == NULL)
+ {
+ handle = dlopen(LIB_PATH, RTLD_NOW );
+ if(handle == NULL)
+ {
+ return -1;
+ }
+ if(fun_ptr_log == NULL)
+ {
+ fun_ptr_log = (mbtk_log)dlsym(handle, "mbtk_log");
+ if(fun_ptr_log == NULL)
+ {
+ return -1;
+ }
+ }
+ if(mbtk_read_fun_ptr == NULL)
+ {
+ mbtk_read_fun_ptr = (mbtk_oem_read_data_ext)dlsym(handle, "mbtk_oem_read_data_ext");
+ if(mbtk_read_fun_ptr == NULL)
+ {
+ return -1;
+ }
+ }
+ if(mbtk_write_fun_ptr == NULL)
+ {
+ mbtk_write_fun_ptr = (mbtk_oem_write_data_ext)dlsym(handle, "mbtk_oem_write_data_ext");
+ if(mbtk_write_fun_ptr == NULL)
+ {
+ return -1;
+ }
+ }
+
+ }
+ return 0;
+}
+
+static void deinit_fun_handle()
+{
+ if(handle != NULL)
+ {
+ dlclose(handle);
+ handle = NULL;
+ }
+
+ fun_ptr_log = NULL;
+ mbtk_write_fun_ptr = NULL;
+ mbtk_read_fun_ptr = NULL;
+
+}
+
+/**
+ * @brief Read data from spec block of flash
+ * @param [in] unsigned int
+ * @param [out] void *
+ * @param [out] unsigned int *
+ * @retval GSW_HAL_SUCCESS\GSW_HAL_FAIL
+ */
+
+int gsw_oem_read_data_ext(unsigned int block_id, void *data, unsigned int *len)
+{
+
+ int ret = -1;
+ unsigned int actual_len = 0;
+ char *temp_buffer = NULL;
+ ret = init_fun_handle();
+ if(ret == -1)
+ {
+ printf(" init_fun_handle error ret %d\n",ret);
+ deinit_fun_handle();
+ return GSW_HAL_NORMAL_FAIL;
+ }
+
+ if (!data || !len)
+ {
+ LOGE("invalid :data or len us NULL\n");
+ deinit_fun_handle();
+ return GSW_HAL_ARG_INVALID;
+ }
+
+ temp_buffer = (char *)malloc(ERASE_BLOCK_SIZE);
+ if (temp_buffer == NULL)
+ {
+ LOGE("Failed to allocate read buffer ");
+ deinit_fun_handle();
+ return -1;
+ }
+
+ memset(temp_buffer, 0, ERASE_BLOCK_SIZE);
+
+ ret = mbtk_read_fun_ptr(block_id,temp_buffer,&actual_len);
+ if(ret != 0)
+ {
+ LOGE("mbtk_read_fun_ptr failed");
+ free(temp_buffer);
+ deinit_fun_handle();
+ return GSW_HAL_NORMAL_FAIL;
+ }
+ *len = actual_len;
+ memcpy(data, temp_buffer, *len);
+ free(temp_buffer);
+ deinit_fun_handle();
+
+ return GSW_HAL_SUCCESS;
+}
+
+/**
+ * @brief Write data to spec block of flash
+ * @param [in] unsigned int
+ * @param [in] void *
+ * @param [in] unsigned int
+ * @retval 0: success
+ * @retval GSW_HAL_SUCCESS\GSW_HAL_FAIL
+ */
+
+int gsw_oem_write_data_ext(unsigned int block_id, void *data, unsigned int len)
+{
+ int ret = -1;
+ ret = init_fun_handle();
+ if(ret == -1)
+ {
+ printf("init log error ret %d\n",ret);
+ deinit_fun_handle();
+ return GSW_HAL_NORMAL_FAIL;
+ }
+ if (!data || len > ERASE_BLOCK_SIZE)
+ {
+ LOGE("invalid data is NULL ");
+ deinit_fun_handle();
+ return GSW_HAL_ARG_INVALID;
+ }
+
+ ret = mbtk_write_fun_ptr(block_id,data,len);
+ if(ret != 0)
+ {
+ LOGE("mbtk_write_fun_ptr failed");
+ deinit_fun_handle();
+ return GSW_HAL_NORMAL_FAIL;
+ }
+ deinit_fun_handle();
+ return GSW_HAL_SUCCESS;
+}
diff --git a/mbtk/libgsw_lib/gsw_pm.c b/mbtk/libgsw_lib/gsw_pm.c
new file mode 100755
index 0000000..abf1a0d
--- /dev/null
+++ b/mbtk/libgsw_lib/gsw_pm.c
@@ -0,0 +1,363 @@
+#include <stdio.h>
+#include <string.h>
+#include <strings.h>
+#include <stdlib.h>
+#include <errno.h>
+#include <termios.h>
+#include <fcntl.h>
+#include <signal.h>
+#include <sys/types.h>
+#include <unistd.h>
+#include <pthread.h>
+#include <time.h>
+#include <sys/ioctl.h>
+#include <dlfcn.h>
+#include <stdint.h>
+#include "gsw_pm.h"
+
+#ifndef LOG_ERR_LEVEL
+#define LOG_ERR_LEVEL 3 /* error conditions */
+#endif
+#ifndef LOG_WARN_LEVEL
+#define LOG_WARN_LEVEL 4 /* warning conditions */
+#endif
+#ifndef LOG_INFO_LEVEL
+#define LOG_INFO_LEVEL 6 /* informational */
+#endif
+#ifndef LOG_DEBUG_LEVEL
+#define LOG_DEBUG_LEVEL 7 /* debug-level messages */
+#endif
+#ifndef LOG_VERBOSE_LEVEL
+#define LOG_VERBOSE_LEVEL 8
+#endif
+
+#define LOGV(fmt, args ...) \
+ do{ \
+ char *file_ptr_1001 = __FILE__; \
+ char *ptr_1001 = file_ptr_1001 + strlen(file_ptr_1001) - 1; \
+ char line_1001[10] = {0}; \
+ sprintf(line_1001, "%d", __LINE__); \
+ while(ptr_1001 >= file_ptr_1001 && *ptr_1001){ \
+ if(*ptr_1001 == '/') \
+ break; \
+ ptr_1001--; \
+ } \
+ fun_ptr_log(LOG_VERBOSE_LEVEL, "%s#%s: " fmt, ptr_1001 + 1, line_1001, ##args); \
+ } while(0)
+
+#define LOGI(fmt, args...) \
+ do{ \
+ char *file_ptr_1001 = __FILE__; \
+ char *ptr_1001 = file_ptr_1001 + strlen(file_ptr_1001) - 1; \
+ char line_1001[10] = {0}; \
+ sprintf(line_1001, "%d", __LINE__); \
+ while(ptr_1001 >= file_ptr_1001 && *ptr_1001){ \
+ if(*ptr_1001 == '/') \
+ break; \
+ ptr_1001--; \
+ } \
+ fun_ptr_log(LOG_INFO_LEVEL, "%s#%s: " fmt, ptr_1001 + 1, line_1001, ##args); \
+ } while(0)
+
+#define LOGD(fmt, args...) \
+ do{ \
+ char *file_ptr_1001 = __FILE__; \
+ char *ptr_1001 = file_ptr_1001 + strlen(file_ptr_1001) - 1; \
+ char line_1001[10] = {0}; \
+ sprintf(line_1001, "%d", __LINE__); \
+ while(ptr_1001 >= file_ptr_1001 && *ptr_1001){ \
+ if(*ptr_1001 == '/') \
+ break; \
+ ptr_1001--; \
+ } \
+ fun_ptr_log(LOG_DEBUG_LEVEL, "%s#%s: " fmt, ptr_1001 + 1, line_1001, ##args); \
+ } while(0)
+
+#define LOGW(fmt, args...) \
+ do{ \
+ char *file_ptr_1001 = __FILE__; \
+ char *ptr_1001 = file_ptr_1001 + strlen(file_ptr_1001) - 1; \
+ char line_1001[10] = {0}; \
+ sprintf(line_1001, "%d", __LINE__); \
+ while(ptr_1001 >= file_ptr_1001 && *ptr_1001){ \
+ if(*ptr_1001 == '/') \
+ break; \
+ ptr_1001--; \
+ } \
+ fun_ptr_log(LOG_WARN_LEVEL, "%s#%s: " fmt, ptr_1001 + 1, line_1001, ##args); \
+ } while(0)
+
+#define LOGE(fmt, args...) \
+ do{ \
+ char *file_ptr_1001 = __FILE__; \
+ char *ptr_1001 = file_ptr_1001 + strlen(file_ptr_1001) - 1; \
+ char line_1001[10] = {0}; \
+ sprintf(line_1001, "%d", __LINE__); \
+ while(ptr_1001 >= file_ptr_1001 && *ptr_1001){ \
+ if(*ptr_1001 == '/') \
+ break; \
+ ptr_1001--; \
+ } \
+ fun_ptr_log(LOG_ERR_LEVEL, "%s#%s: " fmt, ptr_1001 + 1, line_1001, ##args); \
+ } while(0)
+
+
+#define GSW_HAL_SUCCESS 0
+#define GSW_HAL_FAIL -1 //表示失败(通用性)
+#define GSW_HAL_MEM_INVAILD -2 //表示入参地址为NULL
+#define LOCK_MAX_SIZE 129
+
+typedef void (*mbtk_lpm_handler_t)(int32_t wakeup_in);
+typedef void (*mbtk_log)(int level, const char *format,...);
+
+int (*mbtk_autosuspend_enable)(char);
+int (*mbtk_wakelock_create)(const char* name , size_t);
+int (*mbtk_wakelock_lock)(int);
+int (*mbtk_wakelock_unlock)(int);
+int (*mbtk_wakelock_destroy)(int);
+int (*mbtk_lpm_init)(mbtk_lpm_handler_t );
+int lock_fd = -1;
+
+typedef struct
+{
+ int fd;
+ char *name;
+} mbtk_lock_name_s;
+static mbtk_lock_name_s lock_name[LOCK_MAX_SIZE]={0};
+
+static mbtk_log fun_ptr_log = NULL;
+void *dlHandle_sleep = NULL;
+char *lynqLib_sleep = "/lib/libmbtk_lib.so";
+
+
+/**
+* @brief Enable autosleep
+* @param void
+* @retval GSW_HAL_SUCCESS\GSW_HAL_FAIL
+*/
+
+static int handle()
+{
+ if(dlHandle_sleep == NULL || fun_ptr_log == NULL)
+ {
+ dlHandle_sleep = dlopen(lynqLib_sleep, RTLD_NOW);
+ fun_ptr_log = (mbtk_log)dlsym(dlHandle_sleep, "mbtk_log");
+ if(fun_ptr_log == NULL || dlHandle_sleep == NULL)
+ {
+ return GSW_HAL_FAIL;
+ }
+ }
+ return GSW_HAL_SUCCESS;
+}
+
+int32_t gsw_autosleep_enable(void)
+{
+ int ret;
+ if (handle())
+ return GSW_HAL_FAIL;
+ mbtk_autosuspend_enable=(int(*)(char))dlsym(dlHandle_sleep, "mbtk_autosuspend_enable");
+ ret = mbtk_autosuspend_enable(1);
+ if(ret < 0)
+ {
+ LOGE("mbtk_autosuspend_enable FAIL.\n");
+ dlclose(dlHandle_sleep);
+ dlHandle_sleep = NULL;
+ return GSW_HAL_FAIL;
+ }
+ dlclose(dlHandle_sleep);
+ dlHandle_sleep = NULL;
+ return GSW_HAL_SUCCESS;
+}
+
+/**
+* @brief Disable autosleep
+* @param void
+* @retval GSW_HAL_SUCCESS\GSW_HAL_FAIL
+*/
+int32_t gsw_autosleep_disenable(void)
+{
+ int ret;
+ if (handle())
+ return GSW_HAL_FAIL;
+ mbtk_autosuspend_enable=(int(*)(char))dlsym(dlHandle_sleep, "mbtk_autosuspend_enable");
+ ret = mbtk_autosuspend_enable(0);
+ if(ret < 0)
+ {
+ LOGE("mbtk_autosuspend_enable FAIL.\n");
+ dlclose(dlHandle_sleep);
+ dlHandle_sleep = NULL;
+ return GSW_HAL_FAIL;
+ }
+ dlclose(dlHandle_sleep);
+ dlHandle_sleep = NULL;
+ return GSW_HAL_SUCCESS;
+}
+
+/**
+* @brief Init power manager module
+* @param [in]GSW_PM_WAKEUPCALLBACKHandler wakeup_callback
+* @retval GSW_HAL_SUCCESS\GSW_HAL_FAIL
+*/
+int32_t gsw_pm_sdk_init(GSW_PM_WAKEUPCALLBACK wakeup_callback)
+{
+ int ret;
+ if (handle())
+ return GSW_HAL_FAIL;
+ mbtk_lpm_init=(int(*)(mbtk_lpm_handler_t))dlsym(dlHandle_sleep, "mbtk_lpm_init");
+ ret = mbtk_lpm_init((mbtk_lpm_handler_t)wakeup_callback);
+ if(ret < 0)
+ {
+ LOGE("mbtk_lpm_init FAIL.\n");
+ dlclose(dlHandle_sleep);
+ dlHandle_sleep = NULL;
+ return GSW_HAL_FAIL;
+ }
+ return GSW_HAL_SUCCESS;
+}
+
+/**
+* @brief Release wake lock, enter sleep
+* @param [in]int32_t wakeup_in
+* @retval int
+*/
+int32_t gsw_pm_enter_sleep(const char *gsw_wakelock_name)
+{
+ int ret;
+ int i;
+ if (handle())
+ return GSW_HAL_FAIL;
+ if (gsw_wakelock_name == NULL)
+ return GSW_HAL_FAIL;
+ for(i=0 ;i<LOCK_MAX_SIZE;i++)
+ {
+ if(lock_name[i].name != NULL && strcmp(lock_name[i].name, gsw_wakelock_name) == 0)
+ {
+ lock_fd = lock_name[i].fd;
+ break;
+ }
+ }
+ if (i >= LOCK_MAX_SIZE)
+ {
+ LOGE("mbtk_wakelock_lock not create.\n");
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_wakelock_unlock=(int(*)(int))dlsym(dlHandle_sleep, "mbtk_wakelock_unlock");
+ ret = mbtk_wakelock_unlock(lock_fd);
+ if(ret < 0)
+ {
+ LOGE("mbtk_wakelock_unlock FAIL.\n");
+ dlclose(dlHandle_sleep);
+ dlHandle_sleep = NULL;
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_wakelock_destroy=(int(*)(int))dlsym(dlHandle_sleep, "mbtk_wakelock_destroy");
+ ret = mbtk_wakelock_destroy(lock_fd);
+ if(ret < 0)
+ {
+ LOGE("mbtk_wakelock_destroy FAIL.\n");
+ dlclose(dlHandle_sleep);
+ dlHandle_sleep = NULL;
+ return GSW_HAL_FAIL;
+ }
+ if (lock_name[i].name != NULL)
+ {
+ free(lock_name[i].name);
+ lock_name[i].name = NULL;
+ lock_name[i].fd = -1;
+ }
+
+ dlclose(dlHandle_sleep);
+ dlHandle_sleep = NULL;
+ return GSW_HAL_SUCCESS;
+}
+
+/**
+* @brief Creat wakeup lock
+* @param [in]int32_t wakeup_in
+* @retval int
+*/
+int32_t gsw_pm_exit_sleep(const char *gsw_wakelock_name)
+{
+ int ret;
+ int i;
+ if (handle())
+ return GSW_HAL_FAIL;
+ if (gsw_wakelock_name == NULL)
+ return GSW_HAL_FAIL;
+ mbtk_wakelock_create=(int(*)(const char* name , size_t))dlsym(dlHandle_sleep, "mbtk_wakelock_create");
+ lock_fd = mbtk_wakelock_create(gsw_wakelock_name, strlen(gsw_wakelock_name));
+ if(lock_fd < 0)
+ {
+ LOGE("mbtk_wakelock_create FAIL.\n");
+ dlclose(dlHandle_sleep);
+ dlHandle_sleep = NULL;
+ return GSW_HAL_FAIL;
+ }
+ mbtk_wakelock_lock=(int(*)(int))dlsym(dlHandle_sleep, "mbtk_wakelock_lock");
+
+ ret = mbtk_wakelock_lock(lock_fd);
+ if(ret < 0)
+ {
+ LOGE("mbtk_wakelock_lock FAIL.\n");
+ dlclose(dlHandle_sleep);
+ dlHandle_sleep = NULL;
+ return GSW_HAL_FAIL;
+ }
+ for(i=0 ;i<LOCK_MAX_SIZE;i++)
+ {
+ if(lock_name[i].name == NULL)
+ break;
+ }
+ lock_name[i].name = malloc(strlen(gsw_wakelock_name)+1);
+ if (lock_name[i].name == NULL)
+ {
+ LOGE("mbtk_wakelock_lock remeber FAIL.\n");
+ return GSW_HAL_FAIL;
+ }
+ memcpy(lock_name[i].name, gsw_wakelock_name, strlen(gsw_wakelock_name)+1);
+ lock_name[i].fd = lock_fd;
+
+ dlclose(dlHandle_sleep);
+ dlHandle_sleep = NULL;
+ return GSW_HAL_SUCCESS;
+}
+
+/**
+* @brief Module log disk drop, used when restarting or hibernating
+* @param [in]void
+* @retval void
+*/
+void gsw_modem_log_sync(void)
+{
+ FILE *fp;
+ char command[256];
+ char buffer[256];
+ int pid = -1;
+ const char *process_name = "mbtk_logd";
+
+ snprintf(command, sizeof(command), "pgrep %s", process_name);
+ fp = popen(command, "r");
+ if (fp == NULL)
+ {
+ perror("error comman");
+ return;
+ }
+
+ if (fgets(buffer, sizeof(buffer), fp) != NULL)
+ {
+ pid = atoi(buffer);
+ }
+ pclose(fp);
+
+ if (pid != -1)
+ {
+ if (kill(pid, SIGTERM) == -1)
+ {
+ perror("send SIGTERM signal failed");
+ return;
+ }
+ }
+ return;
+}
\ No newline at end of file
diff --git a/mbtk/libgsw_lib/gsw_sim.c b/mbtk/libgsw_lib/gsw_sim.c
new file mode 100755
index 0000000..b8cfa52
--- /dev/null
+++ b/mbtk/libgsw_lib/gsw_sim.c
@@ -0,0 +1,660 @@
+#include "gsw_nw_interface.h"
+#include <unistd.h>
+#include <dlfcn.h>
+#include <time.h>
+
+#define MBTK_BUFF_TEMP_SIZE_32 32
+#define MBTK_ERR_OK 0
+#define MBTK_ERR_FAIL -1
+#define GSW_SIM_ICCID_LENGTH 20+1
+#define GSW_SIM_IMSI_LENGTH 20+1
+#define GSW_SIM_MSISDN_LENGTH 20+1
+#define GSW_SIM_IMEI_LENGTH 20+1
+
+//mbtk include
+typedef unsigned int uint32;
+typedef unsigned char uint8;
+typedef unsigned short uint16;
+typedef void (*mbtk_info_callback_func)(const void* data, int data_len);
+typedef struct
+{
+ int client_fd;
+ pthread_t read_thread_id;
+ int exit_fd[2];
+ bool is_waitting;
+ pthread_cond_t cond;
+ pthread_mutex_t mutex;
+
+ pthread_mutex_t send_mutex;
+
+ // Temp response data.
+ uint16 info_err;
+ uint16 data_len;
+ void *data;
+
+ //mbtk wyq for server_ready_status add start
+ char server_ready_status;
+ //mbtk wyq for server_ready_status add end
+
+ mbtk_info_callback_func net_state_cb;
+ mbtk_info_callback_func call_state_cb;
+ mbtk_info_callback_func sms_state_cb;
+ mbtk_info_callback_func radio_state_cb;
+ mbtk_info_callback_func sim_state_cb;
+ mbtk_info_callback_func pdp_state_cb;
+ //add signal by xr
+ mbtk_info_callback_func signal_state_cb;
+} mbtk_info_handle_t;
+
+typedef enum {
+ MBTK_SIM_ABSENT = 0,
+ MBTK_SIM_NOT_READY = 1,
+ MBTK_SIM_READY = 2,
+ MBTK_SIM_PIN = 3,
+ MBTK_SIM_PUK = 4,
+ MBTK_SIM_NETWORK_PERSONALIZATION = 5
+} mbtk_sim_state_enum;
+
+typedef enum
+{
+ MBTK_DEV_MODEM_MIN_FUN, //Modem 最小功能
+ MBTK_DEV_MODEM_FULL_FUN, //Modem 全功能
+ MBTK_DEV_MODEM_DISABLE_RECEIVE_RF_CIRCUITS = 3, //Modem 禁用射频接收电路
+ MBTK_DEV_MODEM_DISABLE_TRANSMIT_AND_RECEIVE_RF_CIRCUITS, //Modem禁用射频发射和接收电路
+ MBTK_DEV_MODEM_DISABLE_SIM, //Modem 禁用(U)SIM 卡
+ MBTK_DEV_MODEM_TURN_OFF_FULL_SECONDARY_RECEIVE, //Modem 完全禁用辅助接收
+}MBTK_DEV_MODEM_FUNCTION;
+
+typedef struct
+{
+ MBTK_DEV_MODEM_FUNCTION fun;
+ int rst;
+} mbtk_modem_info_t;
+
+//api
+
+static mbtk_info_handle_t* (*mbtk_info_handle_get)(void);
+#define GSW_HAL_FAIL GSW_HAL_NORMAL_FAIL
+#define GSW_HAL_MEM_INVAILD GSW_HAL_ARG_INVALID
+#define lib_mbtk_path "/lib/libmbtk_lib.so"
+
+static int sim_init_flag = 0;
+mbtk_info_handle_t* sim_info_handle = NULL;
+static int (*mbtk_info_handle_free)(mbtk_info_handle_t** handle);
+int (*mbtk_sim_state_get)(mbtk_info_handle_t* handle, mbtk_sim_state_enum *sim_state);
+int (*mbtk_imsi_get)(mbtk_info_handle_t* handle, void *imsi);
+int (*mbtk_iccid_get)(mbtk_info_handle_t* handle, void *iccid);
+int (*mbtk_phone_number_get)(mbtk_info_handle_t* handle, void *phone_number);
+int (*mbtk_imei_get)(mbtk_info_handle_t* handle, void *imei);
+int (*mbtk_set_modem_fun)(mbtk_info_handle_t* handle, mbtk_modem_info_t *info);
+int (*mbtk_sim_power_set)(int power);
+static void (*mbtk_log)(int level, const char *format, ...);
+static void (*mbtk_log_init)(char *path, char *tag);
+
+#ifndef LOG_ERR_LEVEL
+#define LOG_ERR_LEVEL 3 /* error conditions */
+#endif
+#ifndef LOG_WARN_LEVEL
+#define LOG_WARN_LEVEL 4 /* warning conditions */
+#endif
+#ifndef LOG_INFO_LEVEL
+#define LOG_INFO_LEVEL 6 /* informational */
+#endif
+#ifndef LOG_DEBUG_LEVEL
+#define LOG_DEBUG_LEVEL 7 /* debug-level messages */
+#endif
+#ifndef LOG_VERBOSE_LEVEL
+#define LOG_VERBOSE_LEVEL 8
+#endif
+
+#define LOGV(fmt, args ...) \
+ do{ \
+ char *file_ptr_1001 = __FILE__; \
+ char *ptr_1001 = file_ptr_1001 + strlen(file_ptr_1001) - 1; \
+ char line_1001[10] = {0}; \
+ sprintf(line_1001, "%d", __LINE__); \
+ while(ptr_1001 >= file_ptr_1001 && *ptr_1001){ \
+ if(*ptr_1001 == '/') \
+ break; \
+ ptr_1001--; \
+ } \
+ mbtk_log(LOG_VERBOSE_LEVEL, "%s#%s: " fmt, ptr_1001 + 1, line_1001, ##args); \
+ } while(0)
+
+#define LOGI(fmt, args...) \
+ do{ \
+ char *file_ptr_1001 = __FILE__; \
+ char *ptr_1001 = file_ptr_1001 + strlen(file_ptr_1001) - 1; \
+ char line_1001[10] = {0}; \
+ sprintf(line_1001, "%d", __LINE__); \
+ while(ptr_1001 >= file_ptr_1001 && *ptr_1001){ \
+ if(*ptr_1001 == '/') \
+ break; \
+ ptr_1001--; \
+ } \
+ mbtk_log(LOG_INFO_LEVEL, "%s#%s: " fmt, ptr_1001 + 1, line_1001, ##args); \
+ } while(0)
+
+#define LOGD(fmt, args...) \
+ do{ \
+ char *file_ptr_1001 = __FILE__; \
+ char *ptr_1001 = file_ptr_1001 + strlen(file_ptr_1001) - 1; \
+ char line_1001[10] = {0}; \
+ sprintf(line_1001, "%d", __LINE__); \
+ while(ptr_1001 >= file_ptr_1001 && *ptr_1001){ \
+ if(*ptr_1001 == '/') \
+ break; \
+ ptr_1001--; \
+ } \
+ mbtk_log(LOG_DEBUG_LEVEL, "%s#%s: " fmt, ptr_1001 + 1, line_1001, ##args); \
+ } while(0)
+
+#define LOGW(fmt, args...) \
+ do{ \
+ char *file_ptr_1001 = __FILE__; \
+ char *ptr_1001 = file_ptr_1001 + strlen(file_ptr_1001) - 1; \
+ char line_1001[10] = {0}; \
+ sprintf(line_1001, "%d", __LINE__); \
+ while(ptr_1001 >= file_ptr_1001 && *ptr_1001){ \
+ if(*ptr_1001 == '/') \
+ break; \
+ ptr_1001--; \
+ } \
+ mbtk_log(LOG_WARN_LEVEL, "%s#%s: " fmt, ptr_1001 + 1, line_1001, ##args); \
+ } while(0)
+
+#define LOGE(fmt, args...) \
+ do{ \
+ char *file_ptr_1001 = __FILE__; \
+ char *ptr_1001 = file_ptr_1001 + strlen(file_ptr_1001) - 1; \
+ char line_1001[10] = {0}; \
+ sprintf(line_1001, "%d", __LINE__); \
+ while(ptr_1001 >= file_ptr_1001 && *ptr_1001){ \
+ if(*ptr_1001 == '/') \
+ break; \
+ ptr_1001--; \
+ } \
+ mbtk_log(LOG_ERR_LEVEL, "%s#%s: " fmt, ptr_1001 + 1, line_1001, ##args); \
+ } while(0)
+
+
+
+
+static void *dlHandle_mbtk;
+
+
+static int gsw_sim_api_import()
+{
+ dlHandle_mbtk = dlopen(lib_mbtk_path, RTLD_NOW);
+ if (dlHandle_mbtk == NULL)
+ {
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_log_init = (void (*)(char *path, char *tag))dlsym(dlHandle_mbtk, "mbtk_log_init");
+ if (mbtk_log_init == NULL)
+ {
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_log = (void (*)(int level, const char *format, ...))dlsym(dlHandle_mbtk, "mbtk_log");
+ if (mbtk_log == NULL)
+ {
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_info_handle_get = (mbtk_info_handle_t* (*)(void))dlsym(dlHandle_mbtk, "mbtk_info_handle_get");
+ if (mbtk_info_handle_get == NULL)
+ {
+ LOGE("mbtk_info_handle_get dlsym fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_info_handle_free = (int (*)(mbtk_info_handle_t** handle))dlsym(dlHandle_mbtk, "mbtk_info_handle_free");
+ if (mbtk_info_handle_free == NULL)
+ {
+ LOGE("mbtk_info_handle_free dlsym fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_imsi_get = (int (*)(mbtk_info_handle_t* handle, void *imsi))dlsym(dlHandle_mbtk, "mbtk_imsi_get");
+ if (mbtk_imsi_get == NULL)
+ {
+ LOGE("mbtk_imsi_get dlsym fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_iccid_get = (int (*)(mbtk_info_handle_t* handle, void *iccid))dlsym(dlHandle_mbtk, "mbtk_iccid_get");
+ if (mbtk_iccid_get == NULL)
+ {
+ LOGE("mbtk_iccid_get dlsym fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_phone_number_get = (int (*)(mbtk_info_handle_t* handle, void *phone_number))dlsym(dlHandle_mbtk, "mbtk_phone_number_get");
+ if (mbtk_phone_number_get == NULL)
+ {
+ LOGE("mbtk_phone_number_get dlsym fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_imei_get = (int (*)(mbtk_info_handle_t* handle, void *imei))dlsym(dlHandle_mbtk, "mbtk_imei_get");
+ if (mbtk_imei_get == NULL)
+ {
+ LOGE("mbtk_imei_get dlsym fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_sim_state_get = (int (*)(mbtk_info_handle_t* handle, mbtk_sim_state_enum *sim_state))dlsym(dlHandle_mbtk, "mbtk_sim_state_get");
+ if (mbtk_sim_state_get == NULL)
+ {
+ LOGE("mbtk_sim_state_get dlsym fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_set_modem_fun = (int (*)(mbtk_info_handle_t* handle, mbtk_modem_info_t *info))dlsym(dlHandle_mbtk, "mbtk_set_modem_fun");
+ if (mbtk_set_modem_fun == NULL)
+ {
+ LOGE("mbtk_set_modem_fun dlsym fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_sim_power_set = (int (*)(int power))dlsym(dlHandle_mbtk, "mbtk_sim_power_set");
+ if (mbtk_sim_power_set == NULL)
+ {
+ LOGE("mbtk_sim_power_set dlsym fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ LOGD("gsw_sim_api_import end\n");
+ return GSW_HAL_SUCCESS;
+}
+
+/**
+ * @brief sim sdk init
+ * @param [in] token usr id define by who use
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_sim_sdk_init(int32_t token)
+{
+ int ret = GSW_HAL_FAIL;
+
+ if(sim_init_flag == 1 && sim_info_handle != NULL)
+ {
+ return GSW_HAL_SUCCESS;
+ }
+
+ ret = gsw_sim_api_import();
+ if(ret != GSW_HAL_SUCCESS)
+ {
+ if(mbtk_log != NULL)
+ {
+ LOGE("gsw_sim_import fail\n");
+ }
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_log_init("syslog", "MBTK_RIL");
+
+ sim_info_handle = mbtk_info_handle_get();
+ if(sim_info_handle == NULL)
+ {
+ LOGE("mbtk_info_handle_get fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ sim_init_flag = 1;
+ return GSW_HAL_SUCCESS;
+}
+
+
+/**
+ * @brief sim sdk deinit
+ * @param
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_sim_sdk_deinit(void)
+{
+ int ret = -1;
+
+ if(sim_init_flag == 0 && sim_info_handle == NULL)
+ {
+ LOGE("sim sdk has been deinit\n");
+ return GSW_HAL_FAIL;
+ }
+
+ ret = mbtk_info_handle_free(&sim_info_handle);
+ if(ret != GSW_HAL_SUCCESS)
+ {
+ LOGE("mbtk_info_handle_free fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ sim_init_flag = 0;
+ sim_info_handle = NULL;
+ dlclose(dlHandle_mbtk);
+
+ return GSW_HAL_SUCCESS;
+
+}
+
+
+/**
+ * @brief get sim state
+ * @param [out] sim_state sim status as sim_status_e_type
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_get_sim_status(int *sim_state)
+{
+ LOGD("gsw_get_sim_status enter\n");
+ int ret = -1;
+
+ if(sim_init_flag == 0 && sim_info_handle == NULL)
+ {
+ LOGE("sim sdk has been deinit\n");
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_sim_state_enum sim = MBTK_SIM_ABSENT;
+
+ LOGD("mbtk_get_sim_status start\n");
+ ret = mbtk_sim_state_get(sim_info_handle, &sim);
+ if(ret)
+ {
+ LOGE("[gsw_get_sim_status] mbtk_sim_state_get fail [err = %d].", ret);
+ return GSW_HAL_FAIL;
+ }
+
+ else
+ {
+ LOGD("[gsw_get_sim_status] sim = %d\n", sim);
+ switch (sim)
+ {
+ case MBTK_SIM_ABSENT:
+ {
+ *sim_state = SIM_STATUS_ABSENT;
+ break;
+ }
+ case MBTK_SIM_NOT_READY:
+ {
+ *sim_state = SIM_STATUS_PRESENT;
+ break;
+ }
+
+ case MBTK_SIM_READY:
+ {
+ *sim_state = SIM_STATUS_READY;
+ break;
+ }
+
+ case MBTK_SIM_PIN:
+ {
+ *sim_state = SIM_STATUS_PIN;
+ break;
+ }
+
+ case MBTK_SIM_PUK:
+ {
+ break;
+ }
+
+ case MBTK_SIM_NETWORK_PERSONALIZATION:
+ {
+ break;
+ }
+
+ }
+ }
+
+ return GSW_HAL_SUCCESS;
+}
+
+/**
+ * @brief get iccid function
+ * @param [in] len iccid length,max is 20
+ * @param [out] iccid return iccid from this func
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_get_sim_iccid(int len, char *iccid)
+{
+ int ret = -1;
+
+ if(sim_init_flag == 0 && sim_info_handle == NULL)
+ {
+ LOGE("sim sdk has been deinit\n");
+ return GSW_HAL_FAIL;
+ }
+
+ if(iccid == NULL)
+ {
+ LOGE("iccid is NULL.");
+ return GSW_HAL_MEM_INVAILD;
+ }
+
+ if(len < GSW_SIM_ICCID_LENGTH)
+ {
+ LOGE("iccid len is too short,len = %d\n", len);
+ return GSW_HAL_FAIL;
+ }
+
+ ret = mbtk_iccid_get(sim_info_handle, (void *)iccid);
+ if(ret != MBTK_ERR_OK)
+ {
+ LOGE("[gsw_sim] mbtk_iccid_get fail [err = %d].", ret);
+ return GSW_HAL_FAIL;
+ }
+
+ return GSW_HAL_SUCCESS;
+}
+
+/**
+ * @brief get imsi function
+ * @param [in] len imsi length,max is 20
+ * @param [out] iccid return imsi from this func
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_get_sim_imsi(int len, char *imsi)
+{
+ int ret = -1;
+
+ if(sim_init_flag == 0 && sim_info_handle == NULL)
+ {
+ LOGE("sim sdk has been deinit\n");
+ return GSW_HAL_FAIL;
+ }
+
+ if(imsi == NULL)
+ {
+ LOGE("imsi is NULL.");
+ return GSW_HAL_MEM_INVAILD;
+ }
+
+ if(len < GSW_SIM_IMSI_LENGTH)
+ {
+ LOGE("imsi len is too short,len = %d\n", len);
+ return GSW_HAL_FAIL;
+ }
+
+ ret = mbtk_imsi_get(sim_info_handle, (void *)imsi);
+ if(ret != MBTK_ERR_OK)
+ {
+ LOGE("[gsw_sim] mbtk_imsi_get fail [err = %d].", ret);
+ return GSW_HAL_FAIL;
+ }
+
+ return GSW_HAL_SUCCESS;
+}
+
+/**
+ * @brief get sim msisdn function
+ * @param [in] len msisdn length,max is 20
+ * @param [out] msisdn msisdn length,max is 20
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_get_sim_msisdn(int len, char *msisdn)
+{
+ int ret = -1;
+
+ if(sim_init_flag == 0 && sim_info_handle == NULL)
+ {
+ printf("sim sdk has been deinit\n");
+ return GSW_HAL_FAIL;
+ }
+
+ if(msisdn == NULL)
+ {
+ printf("msisdn is NULL.");
+ return GSW_HAL_MEM_INVAILD;
+ }
+
+ if(len < GSW_SIM_MSISDN_LENGTH)
+ {
+ printf("msisdn len is too short,len = %d\n", len);
+ return GSW_HAL_FAIL;
+ }
+
+ ret = mbtk_phone_number_get(sim_info_handle, (void *)msisdn);
+ if(ret != MBTK_ERR_OK)
+ {
+ LOGE("[gsw_sim] mbtk_phone_number_get fail [err = %d].", ret);
+ return GSW_HAL_FAIL;
+ }
+
+ return GSW_HAL_SUCCESS;
+}
+
+/**
+ * @brief get imei function
+ * @param [in] len imei length,max is 20
+ * @param [out] imei return imei from this func
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_get_imei(int len, char *imei)
+{
+ int ret = -1;
+
+ if(sim_init_flag == 0 && sim_info_handle == NULL)
+ {
+ LOGE("sim sdk has been deinit\n");
+ return GSW_HAL_FAIL;
+ }
+
+ if(imei == NULL)
+ {
+ LOGE("imei is NULL.");
+ return GSW_HAL_MEM_INVAILD;
+ }
+
+ if(len < GSW_SIM_MSISDN_LENGTH)
+ {
+ LOGE("imei len is too short,len = %d\n", len);
+ return GSW_HAL_FAIL;
+ }
+
+ ret = mbtk_imei_get(sim_info_handle, (void *)imei);
+ if(ret != MBTK_ERR_OK)
+ {
+ LOGE("[gsw_sim] mbtk_imei_get fail [err = %d].", ret);
+ return GSW_HAL_FAIL;
+ }
+
+ return GSW_HAL_SUCCESS;
+}
+
+
+/**
+ * @brief set sim power down
+ * @param
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_set_sim_power_down(void)
+{
+ int ret = -1;
+ if(sim_init_flag == 0 && sim_info_handle == NULL)
+ {
+ LOGE("sim sdk has been deinit\n");
+ return GSW_HAL_FAIL;
+ }
+
+ ret = mbtk_sim_power_set(0);
+ if(ret != MBTK_ERR_OK)
+ {
+ LOGE("[gsw_sim] mbtk_sim_power_set fail [err = %d].", ret);
+ return GSW_HAL_FAIL;
+ }
+ return GSW_HAL_SUCCESS;
+}
+
+
+
+/**
+ * @brief set sim power up
+ * @param
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_set_sim_power_up(void)
+{
+ int ret = -1;
+ if(sim_init_flag == 0 && sim_info_handle == NULL)
+ {
+ LOGE("sim sdk has been deinit\n");
+ return GSW_HAL_FAIL;
+ }
+
+ ret = mbtk_sim_power_set(1);
+ if(ret != MBTK_ERR_OK)
+ {
+ LOGE("[gsw_sim] mbtk_sim_power_set fail [err = %d].", ret);
+ return GSW_HAL_FAIL;
+ }
+ return GSW_HAL_SUCCESS;
+}
+
+
+/**
+ * @brief reset modem stack only, notice: after use this method, all ril sdk
+ * need restart by app, means network, sim, sms, data need deinit then init!
+ * @param
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_reset_modem(void)
+{
+ int ret = -1;
+ if(sim_init_flag == 0 && sim_info_handle == NULL)
+ {
+ LOGE("sim sdk has been deinit\n");
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_modem_info_t info;
+ info.fun = MBTK_DEV_MODEM_MIN_FUN;
+ info.rst = 0;
+
+ ret = mbtk_set_modem_fun(sim_info_handle, &info);
+ if(ret)
+ {
+ LOGE("[gsw_sim] mbtk_set_modem_fun fail [err = %d].", ret);
+ return GSW_HAL_FAIL;
+ }
+
+ sleep(1);
+
+ info.fun = MBTK_DEV_MODEM_FULL_FUN;
+ ret = mbtk_set_modem_fun(sim_info_handle, &info);
+ if(ret)
+ {
+ LOGE("[gsw_sim] mbtk_set_modem_fun fail [err = %d].", ret);
+ return GSW_HAL_FAIL;
+ }
+ return GSW_HAL_SUCCESS;
+}
\ No newline at end of file
diff --git a/mbtk/libgsw_lib/gsw_sms.c b/mbtk/libgsw_lib/gsw_sms.c
new file mode 100755
index 0000000..403bd4d
--- /dev/null
+++ b/mbtk/libgsw_lib/gsw_sms.c
@@ -0,0 +1,866 @@
+#include "gsw_nw_interface.h"
+#include <stdio.h>
+#include <stdlib.h>
+#include <stdint.h>
+#include <dlfcn.h>
+#include <time.h>
+
+typedef unsigned short uint16_t;
+typedef unsigned int uint32_t;
+typedef unsigned char uint8_t;
+typedef unsigned short uint16;
+typedef uint32_t sms_client_handle_type;
+typedef int kal_int32;
+
+
+//qser include
+
+
+
+//mbtk include
+typedef void (*mbtk_info_callback_func)(const void* data, int data_len);
+typedef unsigned char uint8;
+
+typedef struct
+{
+ int client_fd;
+ pthread_t read_thread_id;
+ int exit_fd[2];
+ bool is_waitting;
+ pthread_cond_t cond;
+ pthread_mutex_t mutex;
+
+ pthread_mutex_t send_mutex;
+
+ // Temp response data.
+ uint16 info_err;
+ uint16 data_len;
+ void *data;
+
+ //mbtk wyq for server_ready_status add start
+ char server_ready_status;
+ //mbtk wyq for server_ready_status add end
+
+ mbtk_info_callback_func net_state_cb;
+ mbtk_info_callback_func call_state_cb;
+ mbtk_info_callback_func sms_state_cb;
+ mbtk_info_callback_func radio_state_cb;
+ mbtk_info_callback_func sim_state_cb;
+ mbtk_info_callback_func pdp_state_cb;
+ //add signal by xr
+ mbtk_info_callback_func signal_state_cb;
+} mbtk_info_handle_t;
+
+// PDU include
+enum EnumDCS {
+ BIT7 = 0, // GSM 字符集
+ BIT8 = 1, // ASCII字符集
+ UCS2 = 2 // Unicode 字符集
+};
+
+struct SMS_Struct {
+ char *SCA; // 服务中心地址
+ char *OA; // 发送方地址
+ char *SCTS; // 服务中心时间戳
+ struct UDHS *UDH; // 用户数据头
+ char *UD; // 用户数据
+
+ bool RP; // 应答路径
+ bool UDHI; // 用户数据头标识
+ bool SRI; // 状态报告指示
+ bool MMS; // 更多信息发送
+ int MTI; // 信息类型指示
+
+ char PID; // PID 协议标识
+
+ enum EnumDCS DCS; // 数据编码方案
+ bool TC; // 文本压缩指示 0: 未压缩 1:压缩
+ int MC; // 消息类型 -1: 无 1:移动设备特定类型 2:SIM特定类型 3:终端设备特定类型
+
+};
+
+struct PDUS {
+ unsigned int count;
+ char **PDU;
+};
+
+enum MDAPI_RET_e {
+ MDAPI_RET_SUCCESS = 0,
+ MDAPI_RET_ERROR = 1,
+ MDAPI_RET_TIMEOUT = 2,
+ MDAPI_RET_NOT_SUPPORT = 3,
+};
+
+#define MDAPI_TIME_STR_SIZE 22
+#define MDAPI_PHONE_NUMBER_SIZE 32
+#define MDAPI_MAX_PDU_SIZE 512
+#define MSM_NUMBER_MAX 2048+1
+#define RES_NUM_MIN 128
+#define MIN_MSM_PARAM_NUM 4
+#define MIN_IMS_MSM_PARAM_NUM 6
+#define MIN_WRITMSM_PARAM_NUM 5
+#define MSG_MAX_LEN 1024
+#define TELEPHONNUM_LEN 64
+#define STORAGSMS_MAX_SIZE 128
+#define SMSC_MAX_LEN 22
+#define SMS_NUM_MAX 255
+#define MAX_OUT_SIZE 512
+#define MAX_PDU_SIZE 512
+#define MAX_DATE_SIZE 32
+
+
+GSW_SMS_Callback_fun gsw_sms_callback = NULL;
+
+#define lib_mbtk_path "/lib/libmbtk_lib.so"
+#define lib_qser_sms_path "/lib/liblynq-qser-sms.so"
+
+#define GSW_HAL_FAIL GSW_HAL_NORMAL_FAIL
+#define GSW_HAL_MEM_INVAILD GSW_HAL_ARG_INVALID
+
+
+static mbtk_info_handle_t* (*mbtk_info_handle_get)(void);
+int (*mbtk_sms_state_change_cb_reg)(mbtk_info_handle_t* handle, mbtk_info_callback_func cb);
+static int (*mbtk_info_handle_free)(mbtk_info_handle_t** handle);
+struct SMS_Struct (*PDUDecoding)(const char *data);
+char *(*SCADecoding)(const char *data, int *EndIndex);
+char *(*SCAEncoding)(char *SCA);
+struct PDUS *(*PDUEncoding)(char *SCA, char *DA, char *UDC, struct UDHS *udhs);
+int (*mbtk_sms_cmgf_set)(mbtk_info_handle_t* handle, int mode);
+int (*mbtk_sms_cmgs_set)(mbtk_info_handle_t* handle, char * cmgs, char *resp);
+int (*mbtk_sms_csca_set)(mbtk_info_handle_t* handle, char * csca);
+int (*mbtk_sms_csca_get)(mbtk_info_handle_t* handle, char *buf);
+int (*mbtk_sms_cnmi_set)(mbtk_info_handle_t* handle);
+static void (*mbtk_log)(int level, const char *format, ...);
+static void (*mbtk_log_init)(char *path, char *tag);
+int (*smsPduEncode)(const char *smsc, const char *da_num, const char *msg, int charset, char *smsc_pdu, char **pdu);
+int (*smsPduDecode)(const char *pdu_str, int pdu_len, char *da_num, char *smsc, char *msg, int *charset, int *curr_pack, int *total_pack, char *date);
+kal_int32 (*_mdapi_sms_get_msg_num)(const char *msg, int charset, kal_int32 *msg_num, kal_int32 *msg_len);
+
+#ifndef LOG_ERR_LEVEL
+#define LOG_ERR_LEVEL 3 /* error conditions */
+#endif
+#ifndef LOG_WARN_LEVEL
+#define LOG_WARN_LEVEL 4 /* warning conditions */
+#endif
+#ifndef LOG_INFO_LEVEL
+#define LOG_INFO_LEVEL 6 /* informational */
+#endif
+#ifndef LOG_DEBUG_LEVEL
+#define LOG_DEBUG_LEVEL 7 /* debug-level messages */
+#endif
+#ifndef LOG_VERBOSE_LEVEL
+#define LOG_VERBOSE_LEVEL 8
+#endif
+
+#define LOGV(fmt, args ...) \
+ do{ \
+ char *file_ptr_1001 = __FILE__; \
+ char *ptr_1001 = file_ptr_1001 + strlen(file_ptr_1001) - 1; \
+ char line_1001[10] = {0}; \
+ sprintf(line_1001, "%d", __LINE__); \
+ while(ptr_1001 >= file_ptr_1001 && *ptr_1001){ \
+ if(*ptr_1001 == '/') \
+ break; \
+ ptr_1001--; \
+ } \
+ mbtk_log(LOG_VERBOSE_LEVEL, "%s#%s: " fmt, ptr_1001 + 1, line_1001, ##args); \
+ } while(0)
+
+#define LOGI(fmt, args...) \
+ do{ \
+ char *file_ptr_1001 = __FILE__; \
+ char *ptr_1001 = file_ptr_1001 + strlen(file_ptr_1001) - 1; \
+ char line_1001[10] = {0}; \
+ sprintf(line_1001, "%d", __LINE__); \
+ while(ptr_1001 >= file_ptr_1001 && *ptr_1001){ \
+ if(*ptr_1001 == '/') \
+ break; \
+ ptr_1001--; \
+ } \
+ mbtk_log(LOG_INFO_LEVEL, "%s#%s: " fmt, ptr_1001 + 1, line_1001, ##args); \
+ } while(0)
+
+#define LOGD(fmt, args...) \
+ do{ \
+ char *file_ptr_1001 = __FILE__; \
+ char *ptr_1001 = file_ptr_1001 + strlen(file_ptr_1001) - 1; \
+ char line_1001[10] = {0}; \
+ sprintf(line_1001, "%d", __LINE__); \
+ while(ptr_1001 >= file_ptr_1001 && *ptr_1001){ \
+ if(*ptr_1001 == '/') \
+ break; \
+ ptr_1001--; \
+ } \
+ mbtk_log(LOG_DEBUG_LEVEL, "%s#%s: " fmt, ptr_1001 + 1, line_1001, ##args); \
+ } while(0)
+
+#define LOGW(fmt, args...) \
+ do{ \
+ char *file_ptr_1001 = __FILE__; \
+ char *ptr_1001 = file_ptr_1001 + strlen(file_ptr_1001) - 1; \
+ char line_1001[10] = {0}; \
+ sprintf(line_1001, "%d", __LINE__); \
+ while(ptr_1001 >= file_ptr_1001 && *ptr_1001){ \
+ if(*ptr_1001 == '/') \
+ break; \
+ ptr_1001--; \
+ } \
+ mbtk_log(LOG_WARN_LEVEL, "%s#%s: " fmt, ptr_1001 + 1, line_1001, ##args); \
+ } while(0)
+
+#define LOGE(fmt, args...) \
+ do{ \
+ char *file_ptr_1001 = __FILE__; \
+ char *ptr_1001 = file_ptr_1001 + strlen(file_ptr_1001) - 1; \
+ char line_1001[10] = {0}; \
+ sprintf(line_1001, "%d", __LINE__); \
+ while(ptr_1001 >= file_ptr_1001 && *ptr_1001){ \
+ if(*ptr_1001 == '/') \
+ break; \
+ ptr_1001--; \
+ } \
+ mbtk_log(LOG_ERR_LEVEL, "%s#%s: " fmt, ptr_1001 + 1, line_1001, ##args); \
+ } while(0)
+
+
+
+static mbtk_info_handle_t* sms_info_handle = NULL;
+static sms_client_handle_type handle;
+static char sms_center_address[SMSC_MAX_LEN] = {0};
+static void *dlHandle_mbtk;
+static int init_flag = 0;
+
+static int mbtk_sms_import()
+{
+ dlHandle_mbtk = dlopen(lib_mbtk_path, RTLD_NOW);
+ if (dlHandle_mbtk == NULL)
+ {
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_log_init = (void (*)(char *path, char *tag))dlsym(dlHandle_mbtk, "mbtk_log_init");
+ if (mbtk_log_init == NULL)
+ {
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_log = (void (*)(int level, const char *format, ...))dlsym(dlHandle_mbtk, "mbtk_log");
+ if (mbtk_log == NULL)
+ {
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_info_handle_get = (mbtk_info_handle_t* (*)(void))dlsym(dlHandle_mbtk, "mbtk_info_handle_get");
+ if (mbtk_info_handle_get == NULL)
+ {
+ LOGE("mbtk_info_handle_get dlsym fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_sms_state_change_cb_reg = (int (*)(mbtk_info_handle_t* handle, mbtk_info_callback_func cb))dlsym(dlHandle_mbtk, "mbtk_sms_state_change_cb_reg");
+ if (mbtk_sms_state_change_cb_reg == NULL)
+ {
+ LOGE("mbtk_sms_state_change_cb_reg dlsym fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_info_handle_free = (int (*)(mbtk_info_handle_t** handle))dlsym(dlHandle_mbtk, "mbtk_info_handle_free");
+ if (mbtk_info_handle_free == NULL)
+ {
+ LOGE("mbtk_info_handle_free dlsym fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ PDUDecoding = (struct SMS_Struct (*)(const char *data))dlsym(dlHandle_mbtk, "PDUDecoding");
+ if (PDUDecoding == NULL)
+ {
+ LOGE("PDUDecoding dlsym fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ SCADecoding = (char *(*)(const char *data, int *EndIndex))dlsym(dlHandle_mbtk, "SCADecoding");
+ if (SCADecoding == NULL)
+ {
+ LOGE("SCADecoding dlsym fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ SCAEncoding = (char *(*)(char *SCA))dlsym(dlHandle_mbtk, "SCAEncoding");
+ if (SCAEncoding == NULL)
+ {
+ LOGE("SCAEncoding dlsym fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ PDUEncoding = (struct PDUS *(*)(char *SCA, char *DA, char *UDC, struct UDHS *udhs))dlsym(dlHandle_mbtk, "PDUEncoding");
+ if (PDUEncoding == NULL)
+ {
+ LOGE("PDUEncoding dlsym fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_sms_cmgf_set = (int (*)(mbtk_info_handle_t* handle, int mode))dlsym(dlHandle_mbtk, "mbtk_sms_cmgf_set");
+ if (mbtk_sms_cmgf_set == NULL)
+ {
+ LOGE("mbtk_sms_cmgf_set dlsym fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_sms_cmgs_set = (int (*)(mbtk_info_handle_t* handle, char * cmgs, char *resp))dlsym(dlHandle_mbtk, "mbtk_sms_cmgs_set");
+ if (mbtk_sms_cmgs_set == NULL)
+ {
+ LOGE("mbtk_sms_cmgs_set dlsym fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_sms_csca_set = (int (*)(mbtk_info_handle_t* handle, char * csca))dlsym(dlHandle_mbtk, "mbtk_sms_csca_set");
+ if (mbtk_sms_csca_set == NULL)
+ {
+ LOGE("mbtk_sms_csca_set dlsym fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_sms_csca_get = (int (*)(mbtk_info_handle_t* handle, char *buf))dlsym(dlHandle_mbtk, "mbtk_sms_csca_get");
+ if (mbtk_sms_csca_get == NULL)
+ {
+ LOGE("mbtk_sms_csca_get dlsym fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_sms_cnmi_set = (int (*)(mbtk_info_handle_t* handle))dlsym(dlHandle_mbtk, "mbtk_sms_cnmi_set");
+ if (mbtk_sms_cnmi_set == NULL)
+ {
+ LOGE("mbtk_sms_cnmi_set dlsym fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ smsPduEncode = (int (*)(const char *smsc, const char *da_num, const char *msg, int charset, char *smsc_pdu, char **pdu))dlsym(dlHandle_mbtk, "smsPduEncode");
+ if (smsPduEncode == NULL)
+ {
+ LOGE("smsPduEncode dlsym fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+
+ smsPduDecode = (int (*)(const char *pdu_str, int pdu_len, char *da_num, char *smsc, char *msg, int *charset, int *curr_pack, int *total_pack, char *date))dlsym(dlHandle_mbtk,"smsPduDecode");
+ if (smsPduDecode == NULL)
+ {
+ LOGE("smsPduDecode dlsym fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ _mdapi_sms_get_msg_num = (kal_int32 (*)(const char *msg, int charset, kal_int32 *msg_num, kal_int32 *msg_len))dlsym(dlHandle_mbtk,"_mdapi_sms_get_msg_num");
+ if (_mdapi_sms_get_msg_num == NULL)
+ {
+ LOGE("_mdapi_sms_get_msg_num dlsym fail");
+ return GSW_HAL_FAIL;
+ }
+
+ return GSW_HAL_SUCCESS;
+
+}
+
+void ArrayToStr(unsigned char *Buff, unsigned int BuffLen, char *OutputStr)
+{
+ int i = 0;
+ char TempBuff[MSG_MAX_LEN * 2 +1] = {0};
+ char strBuff[MSG_MAX_LEN * 2 +1] = {0};
+
+ for(i = 0; i<BuffLen;i++)
+ {
+ sprintf(TempBuff,"%02x",(unsigned char)Buff[i]);
+ strncat(strBuff,TempBuff,BuffLen*2);
+ }
+ strncpy(OutputStr, strBuff, BuffLen*2);
+ return;
+}
+
+void gsw_sms_state_change_cb(const void* data, int data_len) {
+ LOGD("gsw_sms_state_change_cb -------start\n");
+
+ uint8 *ptr = (uint8*)data;
+
+ if (!strncmp("+CMT:", (const char *)ptr, 5))//丢弃无用消息
+ return ;
+
+ gsw_sms_msg_type_t gsw_sms_msg;
+ gsw_sms_date_t gsw_sms_date;
+
+ memset(&gsw_sms_msg, 0, sizeof(gsw_sms_msg_type_t));
+ memset(&gsw_sms_date, 0, sizeof(gsw_sms_date_t));
+
+ char smsc[MDAPI_MAX_PDU_SIZE] = {0};
+ char received_pdu[MDAPI_MAX_PDU_SIZE] = {0};
+ char msg[MDAPI_MAX_PDU_SIZE] = {0};
+ char num[MDAPI_MAX_PDU_SIZE] = {0};
+ char date[MAX_DATE_SIZE] = {0};
+ int charset = 0;
+ int ret = -1;
+ int curr_pack = 1;
+ int total_pack = 1;
+ if(ptr == NULL)
+ {
+ LOGE("ptr is null");
+ }
+ LOGE("ptr: %s\n,data_len = %d\n", (char *)ptr, data_len);
+ if(data_len > MDAPI_MAX_PDU_SIZE)
+ {
+ strncpy(received_pdu, (const char *)ptr, MDAPI_MAX_PDU_SIZE-1);
+ }
+ else
+ {
+ strncpy(received_pdu, (const char *)ptr, data_len);
+ }
+ ret = smsPduDecode((const char *)received_pdu, data_len, num, smsc, msg, &charset, &curr_pack, &total_pack,date);
+ if(ret != 0)
+ {
+ LOGE("smsPduDecode fail\n");
+ return ;
+ }
+ LOGE("smsPduDecode ret: %d\n", ret);
+ LOGE("SMS :%s, %s, %d\n", __FILE__, __FUNCTION__, __LINE__);
+ LOGE("[EVENT][MT_SMS]PDU decode:smsc: %s\n, phone number: %s\ncharset: %d\n msg_len: %d\n message content: %s\n curr_pack: %d\n total_pack: %d\n date: %s", smsc, num, charset, strlen(msg), msg, curr_pack, total_pack, date);
+
+ gsw_sms_msg.content_encode = charset;
+ memcpy(gsw_sms_msg.src_num, num, strlen(num));
+ gsw_sms_msg.content_len = strlen(msg);
+ memcpy(gsw_sms_msg.content, msg, strlen(msg));
+
+ if(sscanf(date, "%4[^-]-%2[^-]-%2[^ ] %2[^:]:%2[^:]:%2s", (char*)gsw_sms_date.year, (char*)gsw_sms_date.month, (char*)gsw_sms_date.day, (char*)gsw_sms_date.hour, (char*)gsw_sms_date.minutes, (char*)gsw_sms_date.seconds)<=0)
+ {
+ LOGE("sscanf failed\n");
+ }
+
+ snprintf((char *)gsw_sms_date.timezone, sizeof(gsw_sms_date.timezone), "%s","+8");
+
+ LOGE("Year: %s\n", (char*)gsw_sms_date.year);
+ LOGE("Month: %s\n", (char*)gsw_sms_date.month);
+ LOGE("Day: %s\n", (char*)gsw_sms_date.day);
+ LOGE("Hour: %s\n", (char*)gsw_sms_date.hour);
+ LOGE("Minute: %s\n", (char*)gsw_sms_date.minutes);
+ LOGE("Second: %s\n", (char*)gsw_sms_date.seconds);
+
+ gsw_sms_msg.date = gsw_sms_date;
+
+ if(gsw_sms_callback)
+ {
+ if(total_pack > 1 && curr_pack < total_pack)
+ {
+ gsw_sms_callback(GSW_SMS_RECEIVED_FLG, &gsw_sms_msg);
+ }
+ else
+ {
+ gsw_sms_callback(GSW_SMS_FULL_FLG, &gsw_sms_msg);
+ }
+
+ }
+
+}
+
+
+/**
+ * @brief SDK interface to call back sms messages
+ * @param [in] handle_ptr
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_sms_reg_callback(GSW_SMS_Callback_fun handle_ptr)
+{
+ if(init_flag == 0)
+ {
+ return -1;
+ }
+
+ if(handle_ptr == NULL)
+ {
+ LOGE("gsw_sms_reg_callback fail,handle_ptr is null\n");
+ return -1;
+ }
+ else
+ {
+ gsw_sms_callback = handle_ptr;
+ }
+ return GSW_HAL_SUCCESS;
+}
+
+/**
+ * @brief sms sdk init
+ * @param [in] token
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_sms_sdk_init(int token)
+{
+ handle = token;
+ int ret = -1;
+
+ if(init_flag == 1)
+ {
+ LOGE("has init sms sdk,return\n");
+ return GSW_HAL_SUCCESS;
+ }
+
+ ret = mbtk_sms_import();
+ if(ret != 0)
+ {
+ if(mbtk_log != NULL)
+ {
+ LOGE("[gsw_sms_sdk_init]mbtk_sms_import fail\n");
+ }
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_log_init("syslog", "MBTK_RIL");
+
+ sms_info_handle = mbtk_info_handle_get();
+ if(sms_info_handle == NULL)
+ {
+ LOGE("[gsw_sms_sdk_init] mbtk handle init fail\n");
+ dlclose(dlHandle_mbtk);
+ return GSW_HAL_FAIL;
+ }
+
+ ret = mbtk_sms_cnmi_set(sms_info_handle);
+ if(ret != 0)
+ {
+ LOGE("mbtk_sms_cnmi_set fail.[%d]\n", ret);
+ return GSW_HAL_FAIL;
+ }
+
+ ret = mbtk_sms_state_change_cb_reg(sms_info_handle, gsw_sms_state_change_cb);
+ if(ret != 0)
+ {
+ LOGE("mbtk_sms_state_change_cb_reg fail.[%d]\n", ret);
+ if(sms_info_handle)
+ {
+ mbtk_info_handle_free(&sms_info_handle);
+ sms_info_handle = NULL;
+ }
+ return GSW_HAL_FAIL;
+ }
+
+ LOGD("[gsw_sms_sdk_init]gsw_sms_sdk_init success\n");
+ init_flag = 1;
+ return GSW_HAL_SUCCESS;
+}
+
+/**
+ * @brief sms sdk deinit
+ * @param
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_sms_sdk_deinit(void)
+{
+ int ret = -1;
+
+ if(init_flag == 0)
+ {
+ return -1;
+ }
+
+ LOGD("callback clear\n");
+ gsw_sms_callback = NULL;
+
+ LOGD("handle_free\n");
+ if(sms_info_handle != NULL)
+ {
+ ret = mbtk_info_handle_free(&sms_info_handle);
+ if(ret != 0)
+ {
+ LOGE("[gsw_sms_sdk_deinit]mbtk_info_handle_free fail\n");
+ return GSW_HAL_FAIL;
+ }
+ sms_info_handle = NULL;
+ }
+
+ LOGD("dlclose start\n");
+ if(dlHandle_mbtk == NULL)
+ {
+ LOGE("[gsw_sms_sdk_deinit]dlHandle_sms is null\n");
+ }
+ else
+ {
+ dlclose(dlHandle_mbtk);
+ }
+ LOGD("dlclose end\n");
+ init_flag = 0;
+ return GSW_HAL_SUCCESS;
+}
+
+/**
+ * @brief send sms fuction *
+ * @param [in] phone_num dest phone num send sms
+ * @param [in] char_set encode format for sms 0 7bit 1 binary 2 usc2
+ * @param [in] msg sms content
+ * @param [in] msg_len send sms length,max is 1024
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_send_sms(char *phone_num, int char_set, char *msg, int msg_len)
+{
+
+ if(init_flag == 0)
+ {
+ return GSW_HAL_FAIL;
+ }
+
+ if(phone_num == NULL || msg == NULL)
+ {
+ return GSW_HAL_MEM_INVAILD;
+ }
+
+ if(strlen((char *)msg) > GSW_SMS_RECV_CONT_MAX || strlen((char *)msg) == 0 || strlen((char *)phone_num) == 0)
+ {
+ LOGE("strlen(telephony_num):%d", strlen((char *)phone_num));
+ LOGE("strlen(msg):%d", strlen((char *)msg));
+ return GSW_HAL_MEM_INVAILD;
+ }
+
+ int err = -1;
+
+ char smscPDU[30] = {0};
+ char **pdu = NULL;
+ char smsc[4] = {0};
+ char cmgs[MSM_NUMBER_MAX] = {0};
+ char resp[RES_NUM_MIN] = {0};
+ char msg_e_b[GSW_SMS_RECV_CONT_MAX+1] = {0};// +1 for end of string.*2:A char array contains two elements of a string for each value
+
+ kal_int32 msg_num = 0;
+ kal_int32 pdu_msg_len = 0;
+ kal_int32 status = MDAPI_RET_ERROR;
+ kal_int32 index = 0;
+
+ if(char_set == 1) //8bit
+ {
+ ArrayToStr((unsigned char *)msg, (unsigned int)msg_len, msg_e_b);
+ status = _mdapi_sms_get_msg_num(msg_e_b, char_set, &msg_num, &pdu_msg_len);
+ }
+
+ else //7bit usc2
+ {
+ status = _mdapi_sms_get_msg_num((char *)msg, char_set, &msg_num, &pdu_msg_len);
+ }
+
+ LOGE("%s, %s, %d, msg_len = [%d] ,msg_num=[%d]\n", __FILE__, __FUNCTION__, __LINE__, msg_len, msg_num);
+ if(status == MDAPI_RET_ERROR)
+ {
+ LOGE("get message number failed\n");
+ //return GSW_HAL_FAIL;
+ }
+ else
+ {
+ //allocate memery for **pdu
+ pdu = (char **)malloc(sizeof(char *) * msg_num);
+ if(pdu == NULL)
+ {
+ LOGE("%s, %s, %d, allocate memory for pdu failed\n", __FILE__, __FUNCTION__, __LINE__);
+ return GSW_HAL_FAIL;
+ }
+
+ else
+ {
+ for(index = 0; index < msg_num; index++)
+ {
+ pdu[index] = (char *)malloc(sizeof(char)*MAX_PDU_SIZE);
+ if(pdu[index] == NULL)
+ {
+ for(int i = 0; i < index; i++)
+ {
+ free(pdu[i]);
+ pdu[i] = NULL;
+ }
+ free(pdu);
+ pdu = NULL;
+ LOGE("%s, %s, %d, allocate memory for pdu[%d] failed\n", __FILE__, __FUNCTION__, __LINE__,index);
+ return GSW_HAL_FAIL;
+ }
+ else
+ {
+ memset(pdu[index], 0, MAX_PDU_SIZE);
+ LOGE("%s, %s, %d, pdu[%d} init value is: %s \n", __FILE__, __FUNCTION__, __LINE__, index, pdu[index]);
+ }
+ }
+ }
+ }
+
+ //allocate memory for **pdu success
+ if(index == msg_num)
+ {
+ if(char_set == 1)//8bit
+ {
+ smsPduEncode(smsc, (char *)phone_num, msg_e_b, char_set, smscPDU, pdu);
+ }
+ else
+ {
+ smsPduEncode(smsc, (char *)phone_num, (char *)msg, char_set, smscPDU, pdu);
+ }
+ for(index = 0; index < msg_num; index++)
+ {
+ char pdu_data[MAX_PDU_SIZE] = {0};
+ char *p = pdu_data;
+
+ LOGE("index:%d\n",index);
+ LOGE("%s, %s, %d, smscPDU: %s, pdu: %s",__FILE__, __FUNCTION__, __LINE__, smscPDU, pdu[index]);
+ sprintf(p, "%s",smscPDU);
+ LOGE("pdu_data:%s\n", pdu_data);
+ int sc = strlen(pdu_data);
+ sprintf(p+strlen(p), "%s", pdu[index]);
+ LOGE("pdu_data:%s\n", pdu_data);
+
+ int t = strlen(pdu_data);
+ sprintf(cmgs, "%d,%s", (t-sc)/2, pdu_data);
+ LOGE("cmgs:%s\n", cmgs);
+ memset(resp, 0, sizeof(resp));
+
+ err = mbtk_sms_cmgf_set(sms_info_handle, 0);
+ if(err)
+ {
+ LOGE("cmgf set error : %d\n", err);
+ for(index = 0; index < msg_num; index++){
+ free(pdu[index]);
+ pdu[index] = NULL;
+ }
+ free(pdu);
+ pdu = NULL;
+ return GSW_HAL_FAIL;
+ }
+ else
+ {
+ LOGD("cmgf set success\n");
+ }
+
+ err = mbtk_sms_cmgs_set(sms_info_handle, cmgs, resp);
+ if(err)
+ {
+ LOGE("cmgs send fail\n");
+ for(index = 0; index < msg_num; index++){
+ free(pdu[index]);
+ pdu[index] = NULL;
+ }
+ free(pdu);
+ pdu = NULL;
+ return GSW_HAL_FAIL;
+ }
+ else
+ {
+ LOGD("cmgs send success, resp:%s\n", resp);
+ }
+
+ }
+ }
+
+ for(index = 0; index < msg_num; index++){
+ free(pdu[index]);
+ pdu[index] = NULL;
+ }
+ free(pdu);
+ pdu = NULL;
+
+ return GSW_HAL_SUCCESS;
+}
+
+
+/**
+ * @brief get smsc fuction *
+ * @param [in] len input buf len for smsc,max is 32
+ * @param [out] smsc address for smsc get from this func *
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_get_smsc_address(int len, char *smsc)
+{
+ int ret = -1;
+ int len_t = 0;
+ char smsc_temp[SMSC_MAX_LEN] = {0};
+ char *p1, *p2 ,*substr;
+
+ if(init_flag == 0)
+ {
+ return GSW_HAL_FAIL;
+ }
+
+ if(smsc == NULL || len <= 0)
+ {
+ LOGE("smsc is null or len = %d\n",len);
+ return GSW_HAL_MEM_INVAILD;
+ }
+
+ ret = mbtk_sms_csca_get(sms_info_handle, smsc_temp);
+ if(smsc_temp[0] == '\0')
+ {
+ LOGE("gsw_get_smsc_address Error : %d\n", ret);
+ return GSW_HAL_FAIL;
+ }
+
+ else
+ {
+ p1 = strchr(smsc_temp, '\"');
+ p2 = strrchr(smsc_temp, '\"');
+ if (p1 && p2 && p2 > p1)
+ {
+ len_t = p2 - p1 - 1;
+ char* substr_t = NULL;
+ substr_t = (char *)malloc(len_t + 1);
+ if(substr_t == NULL)
+ {
+ LOGE("malloc substr_t fail\n");
+ return GSW_HAL_MEM_INVAILD;
+ }
+ strncpy(substr_t, p1 + 1, len_t);
+ substr_t[len_t] = '\0';
+
+ substr = substr_t;
+
+ memcpy(smsc, substr, strlen(substr));
+ memcpy(sms_center_address, substr, strlen(substr));
+
+ LOGE("qser_sms_getsmscenteraddress success, smsc = %s\n", sms_center_address);
+ free(substr_t);
+ }
+ else
+ {
+ LOGE("String inside double quotes not found\n");
+ return GSW_HAL_FAIL;
+ }
+ }
+
+
+ return GSW_HAL_SUCCESS;
+}
+
+/**
+ * @brief set smsc fuction
+ * @param [out] smsc string value for smsc,max length is 32 *
+ * @retval 0: success
+ * @retval other: fail
+ */
+int gsw_set_smsc_address(const char *smsc)
+{
+ int ret = -1;
+
+ if(init_flag == 0)
+ {
+ return GSW_HAL_FAIL;
+ }
+
+ if(smsc == NULL || strlen((char *)smsc) == 0)
+ {
+ LOGE("smsc is null or empty\n");
+ return GSW_HAL_MEM_INVAILD;
+ }
+
+ ret = mbtk_sms_csca_set(sms_info_handle, (char *)smsc);
+
+ if(ret == 0)
+ {
+ LOGE("set smsc success,smsc = %s\n",smsc);
+ }
+ else
+ {
+ LOGE("set smsc fail,ret = %d\n", ret);
+ return GSW_HAL_FAIL;
+ }
+
+ return GSW_HAL_SUCCESS;
+}
\ No newline at end of file
diff --git a/mbtk/libgsw_lib/gsw_tee.c b/mbtk/libgsw_lib/gsw_tee.c
new file mode 100755
index 0000000..2ba8ece
--- /dev/null
+++ b/mbtk/libgsw_lib/gsw_tee.c
@@ -0,0 +1,331 @@
+
+#include "gsw/gsw_tee.h"
+#include <dlfcn.h>
+#include <stdio.h>
+#include <string.h>
+#include <stdint.h>
+
+
+#include <tee_client_api.h>
+
+#ifndef LOG_ERR_LEVEL
+#define LOG_ERR_LEVEL 3 /* error conditions */
+#endif
+#ifndef LOG_WARN_LEVEL
+#define LOG_WARN_LEVEL 4 /* warning conditions */
+#endif
+#ifndef LOG_INFO_LEVEL
+#define LOG_INFO_LEVEL 6 /* informational */
+#endif
+#ifndef LOG_DEBUG_LEVEL
+#define LOG_DEBUG_LEVEL 7 /* debug-level messages */
+#endif
+#ifndef LOG_VERBOSE_LEVEL
+#define LOG_VERBOSE_LEVEL 8
+#endif
+
+#define LOGV(fmt, args ...) \
+ do{ \
+ char *file_ptr_1001 = __FILE__; \
+ char *ptr_1001 = file_ptr_1001 + strlen(file_ptr_1001) - 1; \
+ char line_1001[10] = {0}; \
+ sprintf(line_1001, "%d", __LINE__); \
+ while(ptr_1001 >= file_ptr_1001 && *ptr_1001){ \
+ if(*ptr_1001 == '/') \
+ break; \
+ ptr_1001--; \
+ } \
+ mbtk_log(LOG_VERBOSE_LEVEL, "%s#%s: " fmt, ptr_1001 + 1, line_1001, ##args); \
+ } while(0)
+
+#define LOGI(fmt, args...) \
+ do{ \
+ char *file_ptr_1001 = __FILE__; \
+ char *ptr_1001 = file_ptr_1001 + strlen(file_ptr_1001) - 1; \
+ char line_1001[10] = {0}; \
+ sprintf(line_1001, "%d", __LINE__); \
+ while(ptr_1001 >= file_ptr_1001 && *ptr_1001){ \
+ if(*ptr_1001 == '/') \
+ break; \
+ ptr_1001--; \
+ } \
+ mbtk_log(LOG_INFO_LEVEL, "%s#%s: " fmt, ptr_1001 + 1, line_1001, ##args); \
+ } while(0)
+
+#define LOGD(fmt, args...) \
+ do{ \
+ char *file_ptr_1001 = __FILE__; \
+ char *ptr_1001 = file_ptr_1001 + strlen(file_ptr_1001) - 1; \
+ char line_1001[10] = {0}; \
+ sprintf(line_1001, "%d", __LINE__); \
+ while(ptr_1001 >= file_ptr_1001 && *ptr_1001){ \
+ if(*ptr_1001 == '/') \
+ break; \
+ ptr_1001--; \
+ } \
+ mbtk_log(LOG_DEBUG_LEVEL, "%s#%s: " fmt, ptr_1001 + 1, line_1001, ##args); \
+ } while(0)
+
+#define LOGW(fmt, args...) \
+ do{ \
+ char *file_ptr_1001 = __FILE__; \
+ char *ptr_1001 = file_ptr_1001 + strlen(file_ptr_1001) - 1; \
+ char line_1001[10] = {0}; \
+ sprintf(line_1001, "%d", __LINE__); \
+ while(ptr_1001 >= file_ptr_1001 && *ptr_1001){ \
+ if(*ptr_1001 == '/') \
+ break; \
+ ptr_1001--; \
+ } \
+ mbtk_log(LOG_WARN_LEVEL, "%s#%s: " fmt, ptr_1001 + 1, line_1001, ##args); \
+ } while(0)
+
+#define LOGE(fmt, args...) \
+ do{ \
+ char *file_ptr_1001 = __FILE__; \
+ char *ptr_1001 = file_ptr_1001 + strlen(file_ptr_1001) - 1; \
+ char line_1001[10] = {0}; \
+ sprintf(line_1001, "%d", __LINE__); \
+ while(ptr_1001 >= file_ptr_1001 && *ptr_1001){ \
+ if(*ptr_1001 == '/') \
+ break; \
+ ptr_1001--; \
+ } \
+ mbtk_log(LOG_ERR_LEVEL, "%s#%s: " fmt, ptr_1001 + 1, line_1001, ##args); \
+ } while(0)
+
+struct test_ctx {
+ TEEC_Context ctx;
+ TEEC_Session sess;
+};
+
+
+struct test_ctx ctx;
+
+#define lib_secure_path "/lib/libsecure_storage.so"
+static void *dlHandle_secure;
+
+#define lib_mbtk_path "/lib/libmbtk_lib.so"
+static void *dlHandle_mbtk;
+
+
+
+
+
+static void (*mbtk_log)(int level, const char *format, ...);
+static void (*mbtk_log_init)(char *path, char *tag);
+
+
+
+int (*prepare_tee_session)(struct test_ctx *ctx);
+void (*terminate_tee_session)(struct test_ctx *ctx);
+TEEC_Result (*read_secure_object)(struct test_ctx *ctx, const char *id,char *data, size_t data_len);
+TEEC_Result (*write_secure_object)(struct test_ctx *ctx, const char *id,char *data, size_t data_len);
+TEEC_Result (*delete_secure_object)(struct test_ctx *ctx, const char *id);
+
+
+static int tee_api_import(void)
+{
+
+ dlHandle_mbtk = dlopen(lib_mbtk_path, RTLD_NOW);
+ if (dlHandle_mbtk == NULL)
+ {
+ return GSW_HAL_FAIL;
+ }
+
+ dlHandle_secure = dlopen(lib_secure_path, RTLD_NOW);
+ if (dlHandle_secure == NULL)
+ {
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_log_init = (void (*)(char *path, char *tag))dlsym(dlHandle_mbtk, "mbtk_log_init");
+ if (mbtk_log_init == NULL)
+ {
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_log = (void (*)(int level, const char *format, ...))dlsym(dlHandle_mbtk, "mbtk_log");
+ if (mbtk_log == NULL)
+ {
+ return GSW_HAL_FAIL;
+ }
+
+ prepare_tee_session = (int (*)(struct test_ctx *ctx))dlsym(dlHandle_secure, "prepare_tee_session");
+ if (prepare_tee_session == NULL)
+ {
+ LOGE("prepare_tee_session dlsym fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ terminate_tee_session = (void (*)(struct test_ctx *ctx))dlsym(dlHandle_secure, "terminate_tee_session");
+ if (terminate_tee_session == NULL)
+ {
+ LOGE("terminate_tee_session dlsym fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ read_secure_object = (TEEC_Result (*)(struct test_ctx *ctx, const char *id,char *data, size_t data_len))dlsym(dlHandle_secure, "read_secure_object");
+ if (read_secure_object == NULL)
+ {
+ LOGE("read_secure_object dlsym fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ write_secure_object = (TEEC_Result (*)(struct test_ctx *ctx, const char *id,char *data, size_t data_len))dlsym(dlHandle_secure, "write_secure_object");
+ if (write_secure_object == NULL)
+ {
+ LOGE("write_secure_object dlsym fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ delete_secure_object = (TEEC_Result (*)(struct test_ctx *ctx, const char *id))dlsym(dlHandle_secure, "delete_secure_object");
+ if (delete_secure_object == NULL)
+ {
+ LOGE("delete_secure_object dlsym fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ return GSW_HAL_SUCCESS;
+}
+
+/**
+* @brief init tee sdk
+* @param [in] None
+* @param [out] None
+* @retval GSW_HAL_SUCCESS is success\other is fail
+*/
+int32_t gsw_tee_sdk_init(void)
+{
+ int32_t ret = 0;
+ ret = tee_api_import();
+ if(ret)
+ {
+ LOGE("tee_api_import fail\n");
+ return ret;
+ }
+ ret = prepare_tee_session(&ctx);
+
+ return ret;
+}
+
+
+/**
+* @brief read sensitive data from tee
+* @param [in] char* in_obj_name :Sensitive data name
+* @param [in] unsigned int* p_out_buf_len:The size of sensitive data output cache
+* @param [out] char* out_buf:Cache of sensitive data output
+* @param [out] unsigned int* p_out_buf_len:Sensitive data length
+* @retval GSW_HAL_SUCCESS is success\other is fail
+*/
+#define basic_buf_len 7000
+int32_t gsw_tee_read_secure_data(const char* in_obj_name, char* out_buf, unsigned int* p_out_buf_len)
+{
+ int32_t ret = 0;
+ TEEC_Result res;
+ res = read_secure_object(&ctx, in_obj_name, out_buf, basic_buf_len);
+ if (res != TEEC_SUCCESS)
+ {
+ LOGE("Failed to read an object from the secure storage");
+ ret = -1;
+ }
+
+ *p_out_buf_len = strlen(out_buf);
+ return ret;
+}
+
+
+/**
+* @brief write sensitive data to tee
+* @param [in] char* in_obj_name :Sensitive data name
+* @param [in] char* in_buf:A cache for writing sensitive data
+* @param [out] unsigned int in_buf_len:Sensitive data length
+* @retval GSW_HAL_SUCCESS is success\other is fail
+*/
+int32_t gsw_tee_write_secure_data(const char* in_obj_name, char* in_buf, unsigned int in_buf_len)
+{
+ int32_t ret = 0;
+ TEEC_Result res;
+ res = write_secure_object(&ctx, in_obj_name,in_buf, in_buf_len);
+ if (res != TEEC_SUCCESS)
+ {
+ LOGE("Failed to write an object from the secure storage");
+ ret = -1;
+ }
+
+ return ret;
+}
+
+
+/**
+* @brief delete sensitive data from tee
+* @param [in] char* in_obj_name :Sensitive data name
+* @retval GSW_HAL_SUCCESS is success\other is fail
+*/
+int32_t gsw_tee_delete_secure_data(const char* in_obj_name)
+{
+ int32_t ret = 0;
+ TEEC_Result res;
+ res = delete_secure_object(&ctx, in_obj_name);
+ if (res != TEEC_SUCCESS)
+ {
+ LOGE("Failed to delete the object: 0x%x", res);
+ ret = -1;
+ }
+
+
+ return ret;
+
+}
+
+/**
+* @brief check sensitive data from tee
+* @param [in] char* in_obj_name :Sensitive data name
+* @retval GSW_HAL_SUCCESS is exist\ other is not exist or fail
+*/
+int32_t gsw_tee_check_secure_data(const char* in_obj_name)
+{
+ int32_t ret = 1;
+ TEEC_Result res;
+ char out_buf[4];
+ res = read_secure_object(&ctx, in_obj_name, out_buf, sizeof(out_buf));
+
+ if (res == TEEC_ERROR_ITEM_NOT_FOUND)
+ {
+ LOGE("the obj no found\n");
+ ret = GSW_HAL_NOFOUND;
+ }
+ else if (res == TEEC_SUCCESS)
+ {
+ LOGE("the obj is exist\n");
+ ret = GSW_HAL_SUCCESS;
+ }
+ else
+ {
+ LOGE("Failed to read an object from the secure storage");
+ ret = GSW_HAL_FAIL;
+ }
+
+ return ret;
+}
+
+int32_t gsw_tee_sdk_deinit(void)
+{
+ if (terminate_tee_session) {
+ terminate_tee_session(&ctx); // 终止TEE会话
+ terminate_tee_session = NULL;
+ }
+
+ if (dlHandle_secure) {
+ dlclose(dlHandle_secure); // 卸载安全库
+ dlHandle_secure = NULL;
+ }
+
+ if (dlHandle_mbtk) {
+ dlclose(dlHandle_mbtk); // 卸载日志库
+ dlHandle_mbtk = NULL;
+ }
+
+ return GSW_HAL_SUCCESS;
+}
+
diff --git a/mbtk/libgsw_lib/gsw_uart.c b/mbtk/libgsw_lib/gsw_uart.c
new file mode 100755
index 0000000..5b9738c
--- /dev/null
+++ b/mbtk/libgsw_lib/gsw_uart.c
@@ -0,0 +1,388 @@
+#include <stdio.h>
+#include <stdlib.h>
+#include <fcntl.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <string.h>
+#include <errno.h>
+#include <termios.h>
+#include <unistd.h>
+#include <stdint.h>
+#include <sys/ioctl.h>
+#include <dlfcn.h>
+
+#include "gsw_uart.h"
+
+#ifndef LOG_ERR_LEVEL
+#define LOG_ERR_LEVEL 3 /* error conditions */
+#endif
+#ifndef LOG_WARN_LEVEL
+#define LOG_WARN_LEVEL 4 /* warning conditions */
+#endif
+#ifndef LOG_INFO_LEVEL
+#define LOG_INFO_LEVEL 6 /* informational */
+#endif
+#ifndef LOG_DEBUG_LEVEL
+#define LOG_DEBUG_LEVEL 7 /* debug-level messages */
+#endif
+#ifndef LOG_VERBOSE_LEVEL
+#define LOG_VERBOSE_LEVEL 8
+#endif
+
+#define LOGV(fmt, args ...) \
+ do{ \
+ char *file_ptr_1001 = __FILE__; \
+ char *ptr_1001 = file_ptr_1001 + strlen(file_ptr_1001) - 1; \
+ char line_1001[10] = {0}; \
+ sprintf(line_1001, "%d", __LINE__); \
+ while(ptr_1001 >= file_ptr_1001 && *ptr_1001){ \
+ if(*ptr_1001 == '/') \
+ break; \
+ ptr_1001--; \
+ } \
+ fun_ptr_log(LOG_VERBOSE_LEVEL, "%s#%s: " fmt, ptr_1001 + 1, line_1001, ##args); \
+ } while(0)
+
+#define LOGI(fmt, args...) \
+ do{ \
+ char *file_ptr_1001 = __FILE__; \
+ char *ptr_1001 = file_ptr_1001 + strlen(file_ptr_1001) - 1; \
+ char line_1001[10] = {0}; \
+ sprintf(line_1001, "%d", __LINE__); \
+ while(ptr_1001 >= file_ptr_1001 && *ptr_1001){ \
+ if(*ptr_1001 == '/') \
+ break; \
+ ptr_1001--; \
+ } \
+ fun_ptr_log(LOG_INFO_LEVEL, "%s#%s: " fmt, ptr_1001 + 1, line_1001, ##args); \
+ } while(0)
+
+#define LOGD(fmt, args...) \
+ do{ \
+ char *file_ptr_1001 = __FILE__; \
+ char *ptr_1001 = file_ptr_1001 + strlen(file_ptr_1001) - 1; \
+ char line_1001[10] = {0}; \
+ sprintf(line_1001, "%d", __LINE__); \
+ while(ptr_1001 >= file_ptr_1001 && *ptr_1001){ \
+ if(*ptr_1001 == '/') \
+ break; \
+ ptr_1001--; \
+ } \
+ fun_ptr_log(LOG_DEBUG_LEVEL, "%s#%s: " fmt, ptr_1001 + 1, line_1001, ##args); \
+ } while(0)
+
+#define LOGW(fmt, args...) \
+ do{ \
+ char *file_ptr_1001 = __FILE__; \
+ char *ptr_1001 = file_ptr_1001 + strlen(file_ptr_1001) - 1; \
+ char line_1001[10] = {0}; \
+ sprintf(line_1001, "%d", __LINE__); \
+ while(ptr_1001 >= file_ptr_1001 && *ptr_1001){ \
+ if(*ptr_1001 == '/') \
+ break; \
+ ptr_1001--; \
+ } \
+ fun_ptr_log(LOG_WARN_LEVEL, "%s#%s: " fmt, ptr_1001 + 1, line_1001, ##args); \
+ } while(0)
+
+#define LOGE(fmt, args...) \
+ do{ \
+ char *file_ptr_1001 = __FILE__; \
+ char *ptr_1001 = file_ptr_1001 + strlen(file_ptr_1001) - 1; \
+ char line_1001[10] = {0}; \
+ sprintf(line_1001, "%d", __LINE__); \
+ while(ptr_1001 >= file_ptr_1001 && *ptr_1001){ \
+ if(*ptr_1001 == '/') \
+ break; \
+ ptr_1001--; \
+ } \
+ fun_ptr_log(LOG_ERR_LEVEL, "%s#%s: " fmt, ptr_1001 + 1, line_1001, ##args); \
+ } while(0)
+
+typedef void (*mbtk_log)(int level, const char *format,...);
+static mbtk_log fun_ptr_log = NULL;
+void *dlHandle_uart = NULL;
+char *lynqLib_uart = "/lib/libmbtk_lib.so";
+
+static int handle()
+{
+ if(dlHandle_uart == NULL || fun_ptr_log == NULL)
+ {
+ dlHandle_uart = dlopen(lynqLib_uart, RTLD_NOW);
+ fun_ptr_log = (mbtk_log)dlsym(dlHandle_uart, "mbtk_log");
+ if(fun_ptr_log == NULL || dlHandle_uart == NULL)
+ {
+ return GSW_HAL_FAIL;
+ }
+ }
+ return GSW_HAL_SUCCESS;
+}
+
+
+
+
+int32_t gsw_uart_open_ex(int8_t *port, gsw_hal_uart_baudrate baudrate, uint32_t bits, int8_t parity, uint32_t stop)
+{
+ if (handle())
+ return GSW_HAL_FAIL;
+ int fd = -1;
+ if((fd = open((const char *)port, O_RDWR | O_NOCTTY | O_NONBLOCK)) < 0)
+ {
+ LOGE("open %s failed - %d", port, errno);
+ return -1;
+ }
+ LOGD("Open %s success.", port);
+
+ /* set newtio */
+ struct termios newtio;
+ memset(&newtio, 0, sizeof(newtio));
+ if (tcflush(fd, TCIOFLUSH) < 0) {
+ LOGE("Could not flush uart port");
+ return -1;
+ }
+
+ newtio.c_cc[VTIME] = 0; /* inter-character timer unused */
+ newtio.c_cc[VMIN] = 0; /* blocking read until 5 chars received */
+
+ /* c_iflag 输入模式 */
+ newtio.c_iflag &= ~(ICRNL | INLCR);
+ newtio.c_iflag &= ~(IXON | IXOFF | IXANY);
+
+ // /* c_lflag 本地模式 */
+ newtio.c_cflag &= ~ INPCK;
+ newtio.c_cflag |= (CLOCAL | CREAD);
+
+ // /* c_lflag 本地模式 */
+ newtio.c_lflag &= ~(ICANON | ECHO | ECHOE | ISIG);
+ /* c_oflag 输出模式 */
+ newtio.c_oflag &= ~ OPOST;
+ newtio.c_oflag &= ~(ONLCR | OCRNL);
+
+ /* c_cflag 控制模式 */
+ newtio.c_cflag &= ~ CSIZE;
+ newtio.c_cflag |= CS8;
+ newtio.c_cflag &= ~ CSTOPB;
+ newtio.c_cflag &= ~ PARENB;
+
+
+ switch(baudrate)
+ {
+ case GSW_HAL_BAUDRATE_1200:
+ cfsetospeed(&newtio, B1200);
+ cfsetispeed(&newtio, B1200);
+ break;
+ case GSW_HAL_BAUDRATE_1800:
+ cfsetospeed(&newtio, B1800);
+ cfsetispeed(&newtio, B1800);
+ break;
+ case GSW_HAL_BAUDRATE_4800:
+ cfsetospeed(&newtio, B4800);
+ cfsetispeed(&newtio, B4800);
+ break;
+ case GSW_HAL_BAUDRATE_9600:
+ cfsetospeed(&newtio, B9600);
+ cfsetispeed(&newtio, B9600);
+ break;
+ case GSW_HAL_BAUDRATE_19200:
+ cfsetospeed(&newtio, B19200);
+ cfsetispeed(&newtio, B19200);
+ break;
+ case GSW_HAL_BAUDRATE_38400:
+ cfsetospeed(&newtio, B38400);
+ cfsetispeed(&newtio, B38400);
+ break;
+ case GSW_HAL_BAUDRATE_57600:
+ cfsetospeed(&newtio, B57600);
+ cfsetispeed(&newtio, B57600);
+ break;
+ case GSW_HAL_BAUDRATE_115200:
+ cfsetospeed(&newtio, B115200);
+ cfsetispeed(&newtio, B115200);
+ break;
+ case GSW_HAL_BAUDRATE_230400:
+ cfsetospeed(&newtio, B230400);
+ cfsetispeed(&newtio, B230400);
+ break;
+ case GSW_HAL_BAUDRATE_460800:
+ cfsetospeed(&newtio, B460800);
+ cfsetispeed(&newtio, B460800);
+ break;
+ case GSW_HAL_BAUDRATE_500000:
+ cfsetospeed(&newtio, B500000);
+ cfsetispeed(&newtio, B500000);
+ break;
+ case GSW_HAL_BAUDRATE_576000:
+ cfsetospeed(&newtio, B576000);
+ cfsetispeed(&newtio, B576000);
+ break;
+ case GSW_HAL_BAUDRATE_921600:
+ cfsetospeed(&newtio, B921600);
+ cfsetispeed(&newtio, B921600);
+ break;
+ default:
+ cfsetospeed(&newtio, B115200);
+ cfsetispeed(&newtio, B115200);
+ break;
+ }
+
+ switch(bits)
+ {
+ case CS5:
+ newtio.c_cflag &= ~CSIZE;
+ newtio.c_cflag |= CS5;
+ break;
+ case CS6:
+ newtio.c_cflag &= ~CSIZE;
+ newtio.c_cflag |= CS6;
+ break;
+ case CS7:
+ newtio.c_cflag &= ~CSIZE;
+ newtio.c_cflag |= CS7;
+ break;
+ case CS8:
+ newtio.c_cflag &= ~CSIZE;
+ newtio.c_cflag |= CS8;
+ break;
+ default:
+ LOGD("No set databit.");
+ break;
+ }
+
+ if(stop == 2) {
+ newtio.c_cflag |= CSTOPB;
+ } else {
+ newtio.c_cflag &= ~CSTOPB;
+ }
+
+ switch (parity)
+ {
+ case '1':// 奇校验
+ newtio.c_cflag |= PARENB;
+ newtio.c_cflag |= PARODD;
+ break;
+ case '2':// 偶校验
+ newtio.c_cflag |= PARENB;
+ newtio.c_cflag &= ~PARODD;
+ break;
+ case '0':// 无奇偶校验
+ newtio.c_cflag &= ~PARENB;
+ break;
+ default:
+ LOGD("No set parity.");
+ break;
+ }
+
+ if (tcsetattr(fd, TCSANOW, &newtio) < 0) {
+ LOGE("Can't set port setting");
+ return -1;
+ }
+
+ return fd;
+}
+
+int32_t gsw_uart_flush(int32_t fd)
+{
+ if (tcflush(fd, TCIOFLUSH) < 0)
+ {
+ return GSW_HAL_FAIL;
+ }
+ return GSW_HAL_SUCCESS;
+}
+
+
+int32_t gsw_uart_read(int32_t fd, uint8_t *buffer, uint32_t len, int32_t timeout_ms)
+{
+ if (handle())
+ return GSW_HAL_FAIL;
+ int flags = fcntl(fd, F_GETFL); // 获取当前状态标志
+ if (flags == -1)
+ {
+ perror("fcntl get");
+ return GSW_HAL_FAIL;
+ }
+
+ struct termios newtio;
+ if (tcgetattr(fd, &newtio) < 0) {
+ perror("tcgetattr failed");
+ return -1;
+ }
+ if (timeout_ms == 0)
+ {
+ flags |= O_NONBLOCK; // 设置非阻塞标志
+ fcntl(fd, F_SETFL, flags);
+ newtio.c_cc[VMIN] = 0;
+ newtio.c_cc[VTIME] = 0;
+ }
+ else if (timeout_ms == 1)
+ {
+ flags &= ~O_NONBLOCK; // 清除非阻塞标志
+ fcntl(fd, F_SETFL, flags);
+ newtio.c_cc[VMIN] = 1;
+ newtio.c_cc[VTIME] = timeout_ms/100;
+ }
+ else
+ {
+ flags &= ~O_NONBLOCK; // 清除非阻塞标志
+ fcntl(fd, F_SETFL, flags);
+ newtio.c_cc[VMIN] = 0;
+ newtio.c_cc[VTIME] = timeout_ms/100;
+ }
+ if(timeout_ms != 0)
+ LOGI("%s :VMIN = %d ;VTIME = %d\n",__func__,newtio.c_cc[VMIN],newtio.c_cc[VTIME]);
+ if (tcsetattr(fd, TCSANOW, &newtio) != 0)
+ {
+ perror("tcsetattr");
+ return -1;
+ }
+ //gsw_uart_flush(fd);
+ int data_len = read(fd, buffer, len);
+ if (data_len < 0)
+ {
+ if(errno == EAGAIN || errno == EWOULDBLOCK)
+ return 0;
+ else
+ return GSW_HAL_FAIL;
+ }
+ return data_len;
+}
+
+
+int32_t gsw_uart_write(int32_t fd, const uint8_t *buffer, uint32_t len)
+{
+ //gsw_uart_flush(fd);
+ if (write(fd, buffer, len) < 0)
+ {
+ return GSW_HAL_FAIL;
+ }
+ return GSW_HAL_SUCCESS;
+}
+
+int32_t gsw_uart_ioctl(int32_t fd, uint32_t cmd, void *pvalue)
+{
+ if (handle())
+ return GSW_HAL_FAIL;
+ if (fd < 0 || pvalue == NULL)
+ {
+ LOGE("Invalid file descriptor");
+ return GSW_HAL_FAIL;
+ }
+ if (ioctl(fd, cmd, pvalue) < 0)
+ {
+ LOGE("Could not set DCB,error:%d, %s\n",errno, strerror(errno));
+ return GSW_HAL_FAIL;
+ }
+ return GSW_HAL_SUCCESS;
+}
+
+
+
+
+int32_t gsw_uart_close(int32_t fd)
+{
+ if (fd <= 0)
+ return GSW_HAL_FAIL;
+ //gsw_uart_flush(fd);
+ close(fd);
+ return GSW_HAL_SUCCESS;
+}
+
diff --git a/mbtk/libgsw_lib/gsw_voice.c b/mbtk/libgsw_lib/gsw_voice.c
new file mode 100755
index 0000000..a6f0883
--- /dev/null
+++ b/mbtk/libgsw_lib/gsw_voice.c
@@ -0,0 +1,1007 @@
+#include "gsw/gsw_voice.h"
+#include <dlfcn.h>
+#include <pthread.h>
+
+// mbtk includes
+
+typedef unsigned int uint32;
+typedef unsigned char uint8;
+typedef unsigned short uint16;
+typedef void (*mbtk_info_callback_func)(const void* data, int data_len);
+
+typedef struct
+{
+ int client_fd;
+ pthread_t read_thread_id;
+ int exit_fd[2];
+ bool is_waitting;
+ pthread_cond_t cond;
+ pthread_mutex_t mutex;
+
+ pthread_mutex_t send_mutex;
+
+ // Temp response data.
+ uint16 info_err;
+ uint16 data_len;
+ void *data;
+
+ //mbtk wyq for server_ready_status add start
+ char server_ready_status;
+ //mbtk wyq for server_ready_status add end
+
+ mbtk_info_callback_func net_state_cb;
+ mbtk_info_callback_func call_state_cb;
+ mbtk_info_callback_func sms_state_cb;
+ mbtk_info_callback_func radio_state_cb;
+ mbtk_info_callback_func sim_state_cb;
+ mbtk_info_callback_func pdp_state_cb;
+ //add signal by xr
+ mbtk_info_callback_func signal_state_cb;
+} mbtk_info_handle_t;
+
+typedef struct
+{
+ uint8 call_wait;
+ uint8 dir1;
+ uint8 dir;
+ uint8 state;
+ uint8 mode;
+ uint8 mpty;
+ char phone_number[100];
+ uint8 type;
+ uint8 pas;
+ uint8 disconnected_id;
+ uint8 end_reason[128];
+} __attribute__((packed)) mbtk_call_info_t;
+
+typedef enum {
+ MBTK_CLCC = 1,
+ MBTK_CPAS,
+ MBTK_DISCONNECTED,
+} mbtk_call_enum;
+
+typedef enum {
+ MBTK_CALL_RADY, //MT allows commands from TA/TE
+ MBTK_CALL_UNAVAILABLE, //MT does not allow commands from TA/TE
+ MBTK_CALL_UNKNOWN, //MT is not guaranteed to respond to instructions
+ MBTK_CALL_RINGING, //MT is ready for commands from TA/TE, but the ringer is active
+ MBTK_CALL_PROGRESS, //MT is ready for commands from TA/TE, but a call is in progress
+ MBTK_CALL_ASLEEP, //MT is unable to process commands from TA/TE because it is in a low functionality state
+ MBTK_CALL_ACTIVE,
+} mbtk_call_pas_enum;
+
+
+//----------------end_reason start------------
+//mbtk end_reason define
+#define MBTK_VOICE_END_REASON_UNKNOWN "0 "
+#define MBTK_VOICE_END_REASON_UNASSIGNED_NUMBER "1 "
+#define MBTK_VOICE_END_REASON_NO_ROUTE_DES "3 "
+#define MBTK_VOICE_END_REASON_CHANNEL_UNACCEPTABLE "6 "
+#define MBTK_VOICE_END_REASON_OPERATOR_DETERMINED_BARRING "8 "
+#define MBTK_VOICE_END_REASON_NORMAL_CALL_CLEARING "16 "
+#define MBTK_VOICE_END_REASON_USER_BUSY "17 "
+#define MBTK_VOICE_END_REASON_NO_USER_RESPONDING "18 "
+#define MBTK_VOICE_END_REASON_USER_ALERTING_NO_ANSWER "19 "
+#define MBTK_VOICE_END_REASON_CALL_REJECTED "21 "
+#define MBTK_VOICE_END_REASON_NUMBER_CHANGED "22 "
+#define MBTK_VOICE_END_REASON_PREEMPTION "25 "
+#define MBTK_VOICE_END_REASON_NON_SELECTED_USER_CLEARING "26 "
+#define MBTK_VOICE_END_REASON_DESTINATION_OUT_OF_ORDER "27 "
+#define MBTK_VOICE_END_REASON_INVALID_NUMBER_FORMAT "28 "
+#define MBTK_VOICE_END_REASON_FACILITY_REJECTED "29 "
+#define MBTK_VOICE_END_REASON_STATUS_ENQUIRY "30 "
+#define MBTK_VOICE_END_REASON_NORMAL_UNSPECIFIED "31 "
+#define MBTK_VOICE_END_REASON_NO_CIRCUIT_AVAILABLE "34 "
+#define MBTK_VOICE_END_REASON_NETWORK_OUT_OF_ORDER "38 "
+#define MBTK_VOICE_END_REASON_TEMPORARY_FAILURE "41 "
+#define MBTK_VOICE_END_REASON_SWITCHING_EQUIPMENT_CONGESTION "42 "
+#define MBTK_VOICE_END_REASON_ACCESS_INFORMATION_DISCARDED "43 "
+#define MBTK_VOICE_END_REASON_REQUESTED_CIRCUIT_UNAVAILABLE "44 "
+#define MBTK_VOICE_END_REASON_RESOURCE_UNAVAILABLE "47 "
+#define MBTK_VOICE_END_REASON_QOS_UNAVAILABLE "49 "
+#define MBTK_VOICE_END_REASON_REQUESTED_FACILITY_NOT_SUBSCRIBED "50 "
+#define MBTK_VOICE_END_REASON_INCOMING_CALLS_BARRED_WITHIN_CUG "55 "
+#define MBTK_VOICE_END_REASON_BEARER_CAPABILITY_NOT_AUTHORIZED "57 "
+#define MBTK_VOICE_END_REASON_BEARER_CAPABILITY_NOT_AVAILABLE "58 "
+#define MBTK_VOICE_END_REASON_SERVICE_NOT_AVAILABLE "63 "
+#define MBTK_VOICE_END_REASON_BEARER_SERVICE_NOT_IMPLEMENTED "65 "
+#define MBTK_VOICE_END_REASON_ACM_MAX_REACHED "68 "
+#define MBTK_VOICE_END_REASON_FACILITY_NOT_IMPLEMENTED "69 "
+#define MBTK_VOICE_END_REASON_ONLY_RDI_BEARER_CAPABILITY_AVAILABLE "70 "
+#define MBTK_VOICE_END_REASON_SERVICE_NOT_IMPLEMENTED "79 "
+#define MBTK_VOICE_END_REASON_INVALID_TRANSACTION_ID "81 "
+#define MBTK_VOICE_END_REASON_USER_NOT_MEMBER_OF_CUG "87 "
+#define MBTK_VOICE_END_REASON_INCOMPATIBLE_DESTINATION "88 "
+#define MBTK_VOICE_END_REASON_INVALID_TRANSIT_NETWORK_SELECTION "91 "
+#define MBTK_VOICE_END_REASON_INCORRECT_MESSAGE "95 "
+#define MBTK_VOICE_END_REASON_INVALID_MANDATORY_INFORMATION "96 "
+#define MBTK_VOICE_END_REASON_MESSAGE_TYPE_NON_EXISTENT "97 "
+#define MBTK_VOICE_END_REASON_MESSAGE_TYPE_WRONG_STATE "98 "
+#define MBTK_VOICE_END_REASON_INFORMATION_ELEMENT_NOT_EXISTENT "99 "
+#define MBTK_VOICE_END_REASON_CONDITIONAL_IE_ERROR "100 "
+#define MBTK_VOICE_END_REASON_MESSAGE_WRONG_STATE "101 "
+#define MBTK_VOICE_END_REASON_RECOVERY_AFTER_TIMER_EXPIRY "102 "
+#define MBTK_VOICE_END_REASON_PROTOCOL_ERROR_UNSPECIFIED "111 "
+#define MBTK_VOICE_END_REASON_INERWORKING_UNSPECIFIED "127 "
+#define MBTK_VOICE_END_REASON_CALL_BARRING "224 "
+#define MBTK_VOICE_END_REASON_FDN_BLOCKED "241 "
+#define MBTK_VOICE_END_REASON_END "end"
+
+typedef enum{
+ GSW_LOCAL_END_NORMAL = 0,
+ GSW_PEER_END_NORMAL,
+ GSW_OTHER_END_NORMAL,
+ GSW_END_ABNORMAL,
+} gsw_call_end_reason_enum;
+
+//mbtk end_reason enum define
+typedef struct {
+ char mbtk_end_reason[128];
+ gsw_call_end_reason_enum end_reason;
+}end_reason_t;
+
+end_reason_t g_end_reason[] = {
+{MBTK_VOICE_END_REASON_UNASSIGNED_NUMBER, GSW_PEER_END_NORMAL},
+{MBTK_VOICE_END_REASON_NO_ROUTE_DES, GSW_END_ABNORMAL},
+{MBTK_VOICE_END_REASON_CHANNEL_UNACCEPTABLE, GSW_END_ABNORMAL},
+{MBTK_VOICE_END_REASON_OPERATOR_DETERMINED_BARRING, GSW_END_ABNORMAL},
+{MBTK_VOICE_END_REASON_NORMAL_CALL_CLEARING, GSW_LOCAL_END_NORMAL},
+{MBTK_VOICE_END_REASON_USER_BUSY, GSW_OTHER_END_NORMAL},
+{MBTK_VOICE_END_REASON_NO_USER_RESPONDING, GSW_OTHER_END_NORMAL},
+{MBTK_VOICE_END_REASON_USER_ALERTING_NO_ANSWER, GSW_LOCAL_END_NORMAL},
+{MBTK_VOICE_END_REASON_CALL_REJECTED, GSW_LOCAL_END_NORMAL},
+{MBTK_VOICE_END_REASON_NUMBER_CHANGED, GSW_OTHER_END_NORMAL},
+{MBTK_VOICE_END_REASON_PREEMPTION, GSW_OTHER_END_NORMAL},
+{MBTK_VOICE_END_REASON_NON_SELECTED_USER_CLEARING, GSW_OTHER_END_NORMAL},
+{MBTK_VOICE_END_REASON_DESTINATION_OUT_OF_ORDER, GSW_OTHER_END_NORMAL},
+{MBTK_VOICE_END_REASON_INVALID_NUMBER_FORMAT, GSW_OTHER_END_NORMAL},
+{MBTK_VOICE_END_REASON_FACILITY_REJECTED, GSW_OTHER_END_NORMAL},
+{MBTK_VOICE_END_REASON_STATUS_ENQUIRY, GSW_OTHER_END_NORMAL},
+{MBTK_VOICE_END_REASON_NORMAL_UNSPECIFIED, GSW_PEER_END_NORMAL},
+{MBTK_VOICE_END_REASON_NO_CIRCUIT_AVAILABLE, GSW_OTHER_END_NORMAL},
+{MBTK_VOICE_END_REASON_NETWORK_OUT_OF_ORDER, GSW_END_ABNORMAL},
+{MBTK_VOICE_END_REASON_TEMPORARY_FAILURE, GSW_END_ABNORMAL},
+{MBTK_VOICE_END_REASON_SWITCHING_EQUIPMENT_CONGESTION, GSW_OTHER_END_NORMAL},
+{MBTK_VOICE_END_REASON_ACCESS_INFORMATION_DISCARDED, GSW_OTHER_END_NORMAL},
+{MBTK_VOICE_END_REASON_REQUESTED_CIRCUIT_UNAVAILABLE, GSW_OTHER_END_NORMAL},
+{MBTK_VOICE_END_REASON_SERVICE_NOT_AVAILABLE, GSW_END_ABNORMAL},
+{MBTK_VOICE_END_REASON_END, GSW_OTHER_END_NORMAL}
+
+};
+
+int gsw_global_end_reason = GSW_OTHER_END_NORMAL;
+
+//----------------end_reason end------------
+
+
+typedef uint32_t voice_client_handle_type;
+
+
+
+static mbtk_info_handle_t* call_info_handle = NULL;
+static int level_call = 0;
+int gsw_voice_init_flag = 0;
+int auto_answer_flag = 0;
+voice_client_handle_type g_call_val = -1;
+CallStateInd gsw_voice_callback = NULL;
+
+
+int state_t = 0;
+char* phone_num_t = NULL;
+char* phone_num_t2 = NULL;
+int call_id_t = 0;
+int call_id_t2 = 0;
+
+#define lib_mbtk_path "/lib/libmbtk_lib.so"
+static void *dlHandle_mbtk;
+
+static mbtk_info_handle_t* (*mbtk_info_handle_get)(void);
+int (*mbtk_call_state_change_cb_reg)(mbtk_info_handle_t* handle, mbtk_info_callback_func cb);
+int (*mbtk_call_start)(mbtk_info_handle_t* handle, char* phone_number);
+int (*mbtk_call_hang)(mbtk_info_handle_t* handle);
+int (*mbtk_a_call_hang)(mbtk_info_handle_t* handle, int phone_id);
+int (*mbtk_call_answer)(mbtk_info_handle_t* handle);
+int (*mbtk_call_reg_get)(mbtk_info_handle_t* handle, mbtk_call_info_t *reg);
+static void (*mbtk_log)(int level, const char *format, ...);
+static void (*mbtk_log_init)(char *path, char *tag);
+
+/*rtp begin*/
+int (*mbtk_rtp_init)();
+int (*mbtk_rtp_deinit)();
+int (*mbtk_rtp_enable)(bool enable);
+int (*mbtk_rtp_remote_ip_set)(const char *ipv4);
+int (*mbtk_rtp_server_port_set)(int port);
+int (*mbtk_rtp_client_port_set)(int port);
+int (*mbtk_rtp_sample_rate_set)(int sample_rate);
+int (*mbtk_rtp_channel_set)(int channel);
+/*rtp end*/
+
+
+#ifndef LOG_ERR_LEVEL
+#define LOG_ERR_LEVEL 3 /* error conditions */
+#endif
+#ifndef LOG_WARN_LEVEL
+#define LOG_WARN_LEVEL 4 /* warning conditions */
+#endif
+#ifndef LOG_INFO_LEVEL
+#define LOG_INFO_LEVEL 6 /* informational */
+#endif
+#ifndef LOG_DEBUG_LEVEL
+#define LOG_DEBUG_LEVEL 7 /* debug-level messages */
+#endif
+#ifndef LOG_VERBOSE_LEVEL
+#define LOG_VERBOSE_LEVEL 8
+#endif
+
+#define LOGV(fmt, args ...) \
+ do{ \
+ char *file_ptr_1001 = __FILE__; \
+ char *ptr_1001 = file_ptr_1001 + strlen(file_ptr_1001) - 1; \
+ char line_1001[10] = {0}; \
+ sprintf(line_1001, "%d", __LINE__); \
+ while(ptr_1001 >= file_ptr_1001 && *ptr_1001){ \
+ if(*ptr_1001 == '/') \
+ break; \
+ ptr_1001--; \
+ } \
+ mbtk_log(LOG_VERBOSE_LEVEL, "%s#%s: " fmt, ptr_1001 + 1, line_1001, ##args); \
+ } while(0)
+
+#define LOGI(fmt, args...) \
+ do{ \
+ char *file_ptr_1001 = __FILE__; \
+ char *ptr_1001 = file_ptr_1001 + strlen(file_ptr_1001) - 1; \
+ char line_1001[10] = {0}; \
+ sprintf(line_1001, "%d", __LINE__); \
+ while(ptr_1001 >= file_ptr_1001 && *ptr_1001){ \
+ if(*ptr_1001 == '/') \
+ break; \
+ ptr_1001--; \
+ } \
+ mbtk_log(LOG_INFO_LEVEL, "%s#%s: " fmt, ptr_1001 + 1, line_1001, ##args); \
+ } while(0)
+
+#define LOGD(fmt, args...) \
+ do{ \
+ char *file_ptr_1001 = __FILE__; \
+ char *ptr_1001 = file_ptr_1001 + strlen(file_ptr_1001) - 1; \
+ char line_1001[10] = {0}; \
+ sprintf(line_1001, "%d", __LINE__); \
+ while(ptr_1001 >= file_ptr_1001 && *ptr_1001){ \
+ if(*ptr_1001 == '/') \
+ break; \
+ ptr_1001--; \
+ } \
+ mbtk_log(LOG_DEBUG_LEVEL, "%s#%s: " fmt, ptr_1001 + 1, line_1001, ##args); \
+ } while(0)
+
+#define LOGW(fmt, args...) \
+ do{ \
+ char *file_ptr_1001 = __FILE__; \
+ char *ptr_1001 = file_ptr_1001 + strlen(file_ptr_1001) - 1; \
+ char line_1001[10] = {0}; \
+ sprintf(line_1001, "%d", __LINE__); \
+ while(ptr_1001 >= file_ptr_1001 && *ptr_1001){ \
+ if(*ptr_1001 == '/') \
+ break; \
+ ptr_1001--; \
+ } \
+ mbtk_log(LOG_WARN_LEVEL, "%s#%s: " fmt, ptr_1001 + 1, line_1001, ##args); \
+ } while(0)
+
+#define LOGE(fmt, args...) \
+ do{ \
+ char *file_ptr_1001 = __FILE__; \
+ char *ptr_1001 = file_ptr_1001 + strlen(file_ptr_1001) - 1; \
+ char line_1001[10] = {0}; \
+ sprintf(line_1001, "%d", __LINE__); \
+ while(ptr_1001 >= file_ptr_1001 && *ptr_1001){ \
+ if(*ptr_1001 == '/') \
+ break; \
+ ptr_1001--; \
+ } \
+ mbtk_log(LOG_ERR_LEVEL, "%s#%s: " fmt, ptr_1001 + 1, line_1001, ##args); \
+ } while(0)
+
+static int mbtk_rtp_api_import()
+{
+ mbtk_rtp_init = (int (*)(void))dlsym(dlHandle_mbtk, "mbtk_rtp_init");
+ if (mbtk_rtp_init == NULL)
+ {
+ LOGE("mbtk_rtp_init dlsym fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_rtp_deinit = (int (*)(void))dlsym(dlHandle_mbtk, "mbtk_rtp_deinit");
+ if (mbtk_rtp_deinit == NULL)
+ {
+ LOGE("mbtk_rtp_deinit dlsym fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_rtp_enable = (int (*)(bool enable))dlsym(dlHandle_mbtk, "mbtk_rtp_enable");
+ if (mbtk_rtp_enable == NULL)
+ {
+ LOGE("mbtk_rtp_enable dlsym fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_rtp_remote_ip_set = (int (*)(const char *ipv4))dlsym(dlHandle_mbtk, "mbtk_rtp_remote_ip_set");
+ if (mbtk_rtp_remote_ip_set == NULL)
+ {
+ LOGE("mbtk_rtp_remote_ip_set dlsym fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_rtp_server_port_set = (int (*)(int port))dlsym(dlHandle_mbtk, "mbtk_rtp_server_port_set");
+ if (mbtk_rtp_server_port_set == NULL)
+ {
+ LOGE("mbtk_rtp_server_port_set dlsym fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_rtp_client_port_set = (int (*)(int port))dlsym(dlHandle_mbtk, "mbtk_rtp_client_port_set");
+ if (mbtk_rtp_client_port_set == NULL)
+ {
+ LOGE("mbtk_rtp_client_port_set dlsym fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_rtp_sample_rate_set = (int (*)(int sample_rate))dlsym(dlHandle_mbtk, "mbtk_rtp_sample_rate_set");
+ if (mbtk_rtp_sample_rate_set == NULL)
+ {
+ LOGE("mbtk_rtp_sample_rate_set dlsym fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_rtp_channel_set = (int (*)(int channel))dlsym(dlHandle_mbtk, "mbtk_rtp_channel_set");
+ if (mbtk_rtp_channel_set == NULL)
+ {
+ LOGE("mbtk_rtp_channel_set dlsym fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ return GSW_HAL_SUCCESS;
+}
+
+
+
+static int mbtk_call_api_import()
+{
+ dlHandle_mbtk = dlopen(lib_mbtk_path, RTLD_NOW);
+ if (dlHandle_mbtk == NULL)
+ {
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_log_init = (void (*)(char *path, char *tag))dlsym(dlHandle_mbtk, "mbtk_log_init");
+ if (mbtk_log_init == NULL)
+ {
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_log = (void (*)(int level, const char *format, ...))dlsym(dlHandle_mbtk, "mbtk_log");
+ if (mbtk_log == NULL)
+ {
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_info_handle_get = (mbtk_info_handle_t* (*)(void))dlsym(dlHandle_mbtk, "mbtk_info_handle_get");
+ if (mbtk_info_handle_get == NULL)
+ {
+ LOGE("mbtk_info_handle_get dlsym fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_call_state_change_cb_reg = (int (*)(mbtk_info_handle_t* handle, mbtk_info_callback_func cb))dlsym(dlHandle_mbtk, "mbtk_call_state_change_cb_reg");
+ if(mbtk_call_state_change_cb_reg == NULL)
+ {
+ LOGE("mbtk_call_state_change_cb_reg dlsym fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_call_start = (int (*)(mbtk_info_handle_t* handle, char* phone_number))dlsym(dlHandle_mbtk, "mbtk_call_start");
+ if(mbtk_call_start == NULL)
+ {
+ LOGE("mbtk_call_start dlsym fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_call_answer = (int (*)(mbtk_info_handle_t* handle))dlsym(dlHandle_mbtk, "mbtk_call_answer");
+ if(mbtk_call_answer == NULL)
+ {
+ LOGE("mbtk_call_answer dlsym fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_call_hang = (int (*)(mbtk_info_handle_t* handle))dlsym(dlHandle_mbtk, "mbtk_call_hang");
+ if(mbtk_call_hang == NULL)
+ {
+ LOGE("mbtk_call_hang dlsym fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_a_call_hang = (int (*)(mbtk_info_handle_t* handle, int phone_id))dlsym(dlHandle_mbtk, "mbtk_a_call_hang");
+ if(mbtk_a_call_hang == NULL)
+ {
+ LOGE("mbtk_a_call_hang dlsym fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_call_reg_get = (int (*)(mbtk_info_handle_t* handle, mbtk_call_info_t *reg))dlsym(dlHandle_mbtk, "mbtk_call_reg_get");
+ if(mbtk_call_reg_get == NULL)
+ {
+ LOGE("mbtk_call_reg_get dlsym fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ return mbtk_rtp_api_import();
+}
+
+static int end_reason_mbtk_to_gsw(char* mbtk_reason)
+{
+ LOGE("mbtk_reason:%s\n", mbtk_reason);
+ gsw_global_end_reason = GSW_OTHER_END_NORMAL;
+ for(int i = 0; 0 != strncmp(g_end_reason[i].mbtk_end_reason, MBTK_VOICE_END_REASON_END, strlen(MBTK_VOICE_END_REASON_END)); i++)
+ {
+ if(0 == strncmp(mbtk_reason, g_end_reason[i].mbtk_end_reason, strlen(g_end_reason[i].mbtk_end_reason)))
+ {
+ gsw_global_end_reason = g_end_reason[i].end_reason;
+ LOGE("gsw_global_end_reason:%d\n", gsw_global_end_reason);
+ break;
+ }
+ }
+
+ return 0;
+}
+
+void gsw_call_state_change_cb(const void *data, int data_len)
+{
+ mbtk_call_info_t *reg = (mbtk_call_info_t *)data;
+ switch (reg->call_wait)
+ {
+ case MBTK_CLCC:
+ {
+ LOGD("RING : %d, %d, %d, %d, %d, %s, %d, %d, end_reason:%s", reg->dir1, reg->dir, reg->state, reg->mode, reg->mpty, reg->phone_number, reg->type, reg->disconnected_id, reg->end_reason);
+ switch(reg->state)
+ {
+ case 0:
+ state_t = GSW_VOICE_CALL_CONNECTED;
+ break;
+ case 1:
+ state_t = GSW_VOICE_CALL_HOLDING;
+ break;
+ case 2:
+ state_t = GSW_VOICE_CALL_DIALING;
+ break;
+ case 3:
+ state_t = GSW_VOICE_CALL_ALERTING;
+ break;
+ case 4:
+ state_t = GSW_VOICE_CALL_INCOMING;
+ break;
+ case 5:
+ state_t = GSW_VOICE_CALL_WAITING;
+ break;
+ case 6:
+ {
+ state_t = GSW_VOICE_CALL_END;
+ call_id_t = reg->dir1;
+ end_reason_mbtk_to_gsw((char *)reg->end_reason);
+ break;
+ }
+
+ }
+
+ if(gsw_voice_callback)
+ {
+ gsw_voice_callback(reg->dir1, state_t);
+ }
+
+ }
+ break;
+ case MBTK_DISCONNECTED:
+ {
+ LOGD("RING : call dis connected!");
+ LOGD("RING : %d, %d, %d, %d, %d, %s, %d, %d, end_reason:%s", reg->dir1, reg->dir, reg->state, reg->mode, reg->mpty, reg->phone_number, reg->type, reg->disconnected_id, reg->end_reason);
+ state_t = GSW_VOICE_CALL_END;
+ call_id_t = reg->dir1;
+ end_reason_mbtk_to_gsw((char *)reg->end_reason);
+ if(gsw_voice_callback)
+ {
+ gsw_voice_callback(reg->disconnected_id, state_t);
+ }
+ }
+ break;
+ case MBTK_CPAS:
+ LOGD("CALL : Call state = %d", reg->pas);
+ switch (reg->pas)
+ {
+ case MBTK_CALL_RADY:
+ LOGD("CALL: call READY");
+ break;
+ case MBTK_CALL_UNAVAILABLE:
+ LOGD("CALL: call unavaliable");
+ break;
+ case MBTK_CALL_UNKNOWN:
+ LOGD("CALL: call unknown");
+ break;
+ case MBTK_CALL_RINGING:
+ LOGD("CALL: call ringing");
+ break;
+ case MBTK_CALL_PROGRESS:
+ LOGD("CALL: call progress");
+ break;
+ case MBTK_CALL_ASLEEP:
+ LOGD("CALL: call asleep");
+ break;
+ case MBTK_CALL_ACTIVE:
+ LOGD("CALL: call active");
+ break;
+ default:
+ //LOGE("\r\n");
+ break;
+ }
+ break;
+ default:
+ LOGE("RING : None call_wait = %d", reg->call_wait);
+ break;
+ }
+}
+
+
+/**
+* @brief init voice sdk,and register the status indicated callback function
+* @param [in] CallStateInd ind: status indicated callback function
+* @param [out] None
+* @retval GSW_HAL_SUCCESS\GSW_HAL_FAIL
+*/
+int32_t gsw_voice_sdk_init(CallStateInd ind)
+{
+ int ret;
+
+ if (gsw_voice_init_flag == 1 && call_info_handle != NULL)
+ {
+ return GSW_HAL_SUCCESS;
+ }
+
+ if(ind == NULL)
+ {
+ LOGE("parameter is null\n");
+ return GSW_HAL_MEM_INVAILD;
+ }
+
+ ret = mbtk_call_api_import();
+ if(ret != 0)
+ {
+ if(mbtk_log != NULL)
+ {
+ LOGE("[gsw_voice_sdk_init]mbtk_call_api_import fail\n");
+ }
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_log_init("syslog", "MBTK_RIL");
+
+
+ if(ret < 0)
+ {
+ LOGE("mbtk_call_api_import fail,ret = %d\n",ret);
+ return GSW_HAL_FAIL;
+ }
+
+ ret=mbtk_rtp_init();
+
+ if(ret!=0)
+ {
+ LOGE("[gsw_voice_sdk_init]mbtk_rtp_init fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ if(call_info_handle == NULL)
+ {
+ call_info_handle = mbtk_info_handle_get();
+ if(call_info_handle != NULL)
+ {
+ LOGE("create gsw_voice_sdk_init success\n");
+
+ ret = mbtk_call_state_change_cb_reg(call_info_handle, gsw_call_state_change_cb);
+ if(ret)
+ {
+ LOGE("mbtk_call_state_change_cb_reg fail,ret = %d\n",ret);
+ (void) mbtk_rtp_deinit();
+ return GSW_HAL_FAIL;
+ }
+ else
+ {
+ gsw_voice_init_flag = 1;
+ gsw_voice_callback = ind;
+ LOGE("create gsw_voice_sdk_init success\n");
+ return GSW_HAL_SUCCESS;
+ }
+
+ }
+
+ else
+ {
+ (void) mbtk_rtp_deinit();
+ LOGE("create gsw_voice_sdk_init fail\n");
+ return GSW_HAL_FAIL;
+ }
+ }
+
+ return GSW_HAL_SUCCESS;
+}
+
+/**
+* @brief set speaker_volume
+* @param [in] int32_t volume:1(Min)-7(Max)
+* @param [out] None
+* @retval GSW_HAL_SUCCESS\GSW_HAL_FAIL
+*/
+int32_t gsw_voice_set_speaker_volume(int32_t volume)
+{
+ //UNUSED(volume);
+
+#if 0
+
+ if(volume < 0 || volume > 5)
+ {
+ level_call = 0;
+ }
+ else
+ {
+ //支持-36~12
+ switch(volume)
+ {
+ case 0 :
+ level_call = -20;
+ break;
+ case 1 :
+ level_call = -14;
+ break;
+ case 2 :
+ level_call = -8;
+ break;
+ case 3 :
+ level_call = 0;
+ break;
+ case 4 :
+ level_call = 5;
+ break;
+ case 5 :
+ level_call = 12;
+ break;
+ default:
+ break;
+ }
+ }
+
+ mbtk_audio_dsp_set(1, level_call);
+ if(err)
+ {
+ LOGE("Error : %d\n", err);
+ return -1;
+ }
+ else
+ {
+ LOGE("Set success.\n");
+ }
+#endif
+
+ char cmd[128] = {0};
+ int lv = 0;
+
+ memset(cmd ,0x00, sizeof(cmd));
+
+ if(volume < 1 || volume > 7)
+ {
+ LOGE("Error volume : %d", volume);
+ return GSW_HAL_FAIL;
+ }
+ else
+ {
+ switch(volume)
+ {
+ case 1 :
+ lv = -36;
+ break;
+ case 2 :
+ lv = -36;
+ break;
+ case 3 :
+ lv = -27;
+ break;
+ case 4 :
+ lv = -18;
+ break;
+ case 5 :
+ lv = -9;
+ break;
+ case 6 :
+ lv = 0;
+ break;
+ case 7:
+ lv = 12;
+ break;
+ default:
+ break;
+ }
+ }
+
+ sprintf(cmd, "ubus call audio_if config_dspgain \"{\'type\':%d,\'gain\':%d}\"", 1, lv);
+// sLOGE(cmd, "ubus call audio_if volume_set \'{\"param0\":%d}\'", lv);
+ int err = system(cmd);
+ if ((err != -1) && (err != 127))
+ {
+ LOGE("Set success.");
+ level_call = volume;
+ }
+ else
+ {
+ LOGE("Error : %d", err);
+ return GSW_HAL_FAIL;
+ }
+
+ return GSW_HAL_SUCCESS;
+}
+
+/**
+* @brief start a voice call
+* @param [in] char *callNumber
+* @param [out] CallHandle *handle
+* @retval GSW_HAL_SUCCESS\GSW_HAL_FAIL
+*/
+int32_t gsw_voice_normal_voice_start(CallHandle *handle, const char *callNumber)
+{
+ if(gsw_voice_init_flag == 0)
+ {
+ return GSW_HAL_FAIL;
+ }
+
+ mbtk_call_info_t reg = {0};
+ int ret = -1;
+
+
+ if(handle == NULL)
+ {
+ LOGE("handle is null\n");
+ return GSW_HAL_MEM_INVAILD;
+ }
+
+ if(callNumber == NULL)
+ {
+ LOGE("callNumber is null\n");
+ return GSW_HAL_MEM_INVAILD;
+ }
+
+
+ ret = mbtk_call_start(call_info_handle, (char *)callNumber);
+
+ if(ret != 0)
+ {
+ LOGE("mbtk_call_start fail,ret = %d\n",ret);
+ return GSW_HAL_FAIL;
+ }
+
+ //get call id
+ mbtk_call_reg_get(call_info_handle, ®);
+ LOGE("call id = %d\n",reg.dir1);
+ *handle = reg.dir1;
+ LOGE("gsw_voice_normal_voice_start id = %d\n", (int)*handle);
+
+
+ return GSW_HAL_SUCCESS;
+
+}
+
+/**
+* @brief answer a voice call
+* @param [in] CallHandle handle
+* @param [out] None
+* @retval GSW_HAL_SUCCESS\GSW_HAL_FAIL
+*/
+int32_t gsw_voice_answer(CallHandle handle)
+{
+ if(gsw_voice_init_flag == 0)
+ {
+ return GSW_HAL_FAIL;
+ }
+
+ int ret = -1;
+
+
+ ret = mbtk_call_answer(call_info_handle);
+
+ if(ret != 0)
+ {
+ LOGE("mbtk_call_answer fail,ret = %d\n", ret);
+ return GSW_HAL_FAIL;
+ }
+ else
+ {
+ LOGE("mbtk_call_answer success\n");
+ }
+
+ return GSW_HAL_SUCCESS;
+}
+
+
+/**
+* @brief hangup a voice call
+* @param [in] CallHandle handle
+* @param [out] None
+* @retval GSW_HAL_SUCCESS\GSW_HAL_FAIL
+*/
+int32_t gsw_voice_hangup(CallHandle handle)
+{
+ if(gsw_voice_init_flag == 0)
+ {
+ return GSW_HAL_FAIL;
+ }
+
+ int ret = -1;
+
+ ret = mbtk_a_call_hang(call_info_handle,handle);
+
+ if(ret != 0)
+ {
+ LOGE("mbtk_a_call_hang fail,ret = %d\n", ret);
+ return GSW_HAL_FAIL;
+ }
+ else
+ {
+ LOGE("mbtk_a_call_hang success\n");
+ }
+
+ return GSW_HAL_SUCCESS;
+}
+
+/**
+* @brief set auto answer mode
+* @param [in] int32_t mode:0-1, 0:NO(close auto answer), 1:YES(auto answer)
+* @param [out] None
+* @retval GSW_HAL_SUCCESS\GSW_HAL_FAIL
+*/
+int32_t gsw_voice_set_auto_answer_mode(int32_t mode)
+{
+ if(gsw_voice_init_flag == 0)
+ {
+ return GSW_HAL_FAIL;
+ }
+
+ if(mode == 1)
+ {
+ int ret = -1;
+
+ ret = mbtk_call_answer(call_info_handle);
+ if(ret != 0)
+ {
+ LOGE("mbtk_call_answer fail,ret = %d\n", ret);
+ return GSW_HAL_FAIL;
+ }
+ else
+ {
+ LOGE("mbtk_call_answer success\n");
+ }
+ }
+
+ return GSW_HAL_SUCCESS;
+}
+
+int32_t gsw_voice_get_current_call_end_reason(CallHandle handle)
+{
+ if(gsw_voice_init_flag == 0 || call_info_handle == NULL)
+ {
+ return GSW_HAL_FAIL;
+ }
+
+ int reason = gsw_global_end_reason;
+
+ return reason;
+}
+
+
+
+/*##########################################rtp begin*/
+/**
+* @brief set audio mode
+* @param [in] AudioMode audioMode
+* @param [out] None
+* @retval GSW_HAL_SUCCESS\GSW_HAL_FAIL
+*/
+int32_t gsw_voice_set_audio_mode(AudioMode audioMode)
+{
+ if(gsw_voice_init_flag == 0)
+ {
+ return GSW_HAL_FAIL;
+ }
+
+ int ret=mbtk_rtp_enable(audioMode);
+ if(ret !=0 )
+ {
+ return GSW_HAL_FAIL;
+ }
+ return GSW_HAL_SUCCESS;
+}
+
+/**
+* @brief set rtp ip address of remote
+* @param [in] char *ip :ip address
+* @param [in] int32_t len: length
+* @param [out] None
+* @retval GSW_HAL_SUCCESS\GSW_HAL_FAIL
+*/
+int32_t gsw_voice_set_remote_rtp_ip(const char *ip, int32_t len)
+{
+ if(gsw_voice_init_flag == 0)
+ {
+ return GSW_HAL_FAIL;
+ }
+
+ int ret=mbtk_rtp_remote_ip_set(ip);
+ if(ret !=0 )
+ {
+ return GSW_HAL_FAIL;
+ }
+ return GSW_HAL_SUCCESS;
+}
+
+/**
+* @brief set rtp mode and port
+* @param [in] RTPMode rtpMode: rtp mode
+* @param [in] int32_t port:rtp port
+* @param [out] None
+* @retval GSW_HAL_SUCCESS\GSW_HAL_FAIL
+*/
+int32_t gsw_voice_set_rtp_port(RTPMode rtpMode, int32_t port)
+{
+ if(gsw_voice_init_flag == 0)
+ {
+ return GSW_HAL_FAIL;
+ }
+
+ int ret;
+ if(rtpMode==GSW_RTP_CLIENT)
+ {
+ ret = mbtk_rtp_client_port_set(port);
+ }
+ else
+ {
+ ret = mbtk_rtp_server_port_set(port);
+ }
+ if(ret !=0 )
+ {
+ return GSW_HAL_FAIL;
+ }
+ return GSW_HAL_SUCCESS;
+}
+
+/**
+* @brief set rtp mode and port
+* @param [in] int32_t clockRate: clock rate
+* @param [in] int32_t channel:channel
+* @param [in] int32_t latency:latency
+* @param [out] None
+* @retval GSW_HAL_SUCCESS\GSW_HAL_FAIL
+*/
+int32_t gsw_voice_set_rtp_param(int32_t clockRate, int32_t channel, int32_t latency)
+{
+ if(gsw_voice_init_flag == 0)
+ {
+ return GSW_HAL_FAIL;
+ }
+
+ int ret=mbtk_rtp_channel_set(channel);
+ if(ret==0)
+ {
+ ret=mbtk_rtp_sample_rate_set(clockRate);
+ }
+ if(ret !=0 )
+ {
+ return GSW_HAL_FAIL;
+ }
+ return GSW_HAL_SUCCESS;
+}
+/*##########################################rtp end*/
+
diff --git a/mbtk/libgsw_lib/libgsw_ota.c b/mbtk/libgsw_lib/libgsw_ota.c
new file mode 100755
index 0000000..93d1a6a
--- /dev/null
+++ b/mbtk/libgsw_lib/libgsw_ota.c
@@ -0,0 +1,552 @@
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
+#include <sys/stat.h>
+#include <sys/types.h>
+#include <unistd.h>
+#include <dlfcn.h>
+#include <stdint.h>
+
+#include <errno.h>
+#include <stdbool.h>
+
+#include "gsw_ota.h"
+
+
+
+#define LYNQ_OTA_INPROCESS 3
+#define LYNQ_OTA_SUCCESS 4
+#define LYNQ_OTA_FAILED 5
+
+#ifndef LOG_ERR_LEVEL
+#define LOG_ERR_LEVEL 3 /* error conditions */
+#endif
+#ifndef LOG_WARN_LEVEL
+#define LOG_WARN_LEVEL 4 /* warning conditions */
+#endif
+#ifndef LOG_INFO_LEVEL
+#define LOG_INFO_LEVEL 6 /* informational */
+#endif
+#ifndef LOG_DEBUG_LEVEL
+#define LOG_DEBUG_LEVEL 7 /* debug-level messages */
+#endif
+#ifndef LOG_VERBOSE_LEVEL
+#define LOG_VERBOSE_LEVEL 8
+#endif
+
+
+#define LIB_PATH "/lib/libmbtk_lib.so"
+
+
+#define StatFunc(x,y) stat(x,y)
+
+#define LOGV(fmt, args ...) \
+ do{ \
+ char *file_ptr_1001 = __FILE__; \
+ char *ptr_1001 = file_ptr_1001 + strlen(file_ptr_1001) - 1; \
+ char line_1001[10] = {0}; \
+ sprintf(line_1001, "%d", __LINE__); \
+ while(ptr_1001 >= file_ptr_1001 && *ptr_1001){ \
+ if(*ptr_1001 == '/') \
+ break; \
+ ptr_1001--; \
+ } \
+ fun_ptr_log(LOG_VERBOSE_LEVEL, "%s#%s: " fmt, ptr_1001 + 1, line_1001, ##args); \
+ } while(0)
+
+#define LOGI(fmt, args...) \
+ do{ \
+ char *file_ptr_1001 = __FILE__; \
+ char *ptr_1001 = file_ptr_1001 + strlen(file_ptr_1001) - 1; \
+ char line_1001[10] = {0}; \
+ sprintf(line_1001, "%d", __LINE__); \
+ while(ptr_1001 >= file_ptr_1001 && *ptr_1001){ \
+ if(*ptr_1001 == '/') \
+ break; \
+ ptr_1001--; \
+ } \
+ fun_ptr_log(LOG_INFO_LEVEL, "%s#%s: " fmt, ptr_1001 + 1, line_1001, ##args); \
+ } while(0)
+
+#define LOGD(fmt, args...) \
+ do{ \
+ char *file_ptr_1001 = __FILE__; \
+ char *ptr_1001 = file_ptr_1001 + strlen(file_ptr_1001) - 1; \
+ char line_1001[10] = {0}; \
+ sprintf(line_1001, "%d", __LINE__); \
+ while(ptr_1001 >= file_ptr_1001 && *ptr_1001){ \
+ if(*ptr_1001 == '/') \
+ break; \
+ ptr_1001--; \
+ } \
+ fun_ptr_log(LOG_DEBUG_LEVEL, "%s#%s: " fmt, ptr_1001 + 1, line_1001, ##args); \
+ } while(0)
+
+#define LOGW(fmt, args...) \
+ do{ \
+ char *file_ptr_1001 = __FILE__; \
+ char *ptr_1001 = file_ptr_1001 + strlen(file_ptr_1001) - 1; \
+ char line_1001[10] = {0}; \
+ sprintf(line_1001, "%d", __LINE__); \
+ while(ptr_1001 >= file_ptr_1001 && *ptr_1001){ \
+ if(*ptr_1001 == '/') \
+ break; \
+ ptr_1001--; \
+ } \
+ fun_ptr_log(LOG_WARN_LEVEL, "%s#%s: " fmt, ptr_1001 + 1, line_1001, ##args); \
+ } while(0)
+
+#define LOGE(fmt, args...) \
+ do{ \
+ char *file_ptr_1001 = __FILE__; \
+ char *ptr_1001 = file_ptr_1001 + strlen(file_ptr_1001) - 1; \
+ char line_1001[10] = {0}; \
+ sprintf(line_1001, "%d", __LINE__); \
+ while(ptr_1001 >= file_ptr_1001 && *ptr_1001){ \
+ if(*ptr_1001 == '/') \
+ break; \
+ ptr_1001--; \
+ } \
+ fun_ptr_log(LOG_ERR_LEVEL, "%s#%s: " fmt, ptr_1001 + 1, line_1001, ##args); \
+ } while(0)
+
+
+
+typedef int (*mbtk_fota_get_active_absys_type)(void);
+typedef int (*mbtk_fota_fw_write)(char* fname, int segment_size);
+typedef int (*mbtk_fota_fw_write_by_url)(char* url, int segment_size,
+ int conn_timeout, int download_timeout);
+
+typedef int(*fota_callback)(int state, int percent);
+typedef int (*mbtk_fota_init)(fota_callback cb);
+typedef int (*mbtk_fota_status)(void);
+
+typedef void (*mbtk_log)(int level, const char *format,...);
+
+static int segment_size =0;
+static int Process_flag = 0;
+char addr_buf[256] = {0};
+static void *handle = NULL;
+static mbtk_log fun_ptr_log = NULL;
+
+static int s_ota_flag = -1;
+
+int fota_cb(int status, int percent)
+{
+ Process_flag = percent;
+ return 0;
+}
+
+static int funstat( char *filename)
+{
+ int ret = 0;
+ struct stat tmep_s;
+
+ memset(&tmep_s, 0, sizeof(stat));
+ ret = StatFunc(filename, &tmep_s);
+
+ if (ret)
+ {
+ LOGE("stat %s failed! error_code: %s", filename ,strerror(errno));
+ return -1;
+ }
+
+ if (tmep_s.st_size > 0)
+ {
+ segment_size = tmep_s.st_size;
+ }
+
+ return 0;
+}
+
+int32_t init_handle()
+{
+ if(handle == NULL)
+ {
+ handle = dlopen(LIB_PATH, RTLD_NOW );
+ if(handle == NULL)
+ {
+ return GSW_HAL_FAIL;
+ }
+ if(fun_ptr_log == NULL)
+ {
+ fun_ptr_log = (mbtk_log)dlsym(handle, "mbtk_log");
+ if(fun_ptr_log == NULL)
+ {
+ return GSW_HAL_FAIL;
+ }
+ }
+
+ }
+
+
+
+ return GSW_HAL_SUCCESS;
+}
+
+void deinit_handle()
+{
+ dlclose(handle);
+ handle = NULL;
+ fun_ptr_log = NULL;
+
+}
+
+/**
+* @brief Start install modem software
+* @param [in] char* file_path
+* @param [out] NULL
+* @retval GSW_HAL_SUCCESS\GSW_HAL_FAIL
+*/
+int32_t gsw_update_modem_start_autobackup(char* file_path)
+{
+
+ if(file_path == NULL)
+ {
+ LOGE("invalid file_path \n");
+ return GSW_HAL_FAIL;
+ }
+
+
+ mbtk_fota_fw_write func_ptr_update = NULL;
+ mbtk_fota_init func_ptr_init= NULL;
+ mbtk_fota_fw_write_by_url func_ptr_update_url = NULL;
+
+
+
+ int ret = -1;
+ ret = init_handle();
+ if(ret < 0)
+ {
+ LOGE("init_handle fail");
+ return GSW_HAL_FAIL;
+ }
+
+ func_ptr_update_url = (mbtk_fota_fw_write_by_url)dlsym(handle, "mbtk_fota_fw_write_by_url");
+ if(func_ptr_update_url == NULL)
+ {
+ LOGE("Error: %s", dlerror());
+ return GSW_HAL_FAIL;
+ }
+
+
+ // Get the function pointer
+ func_ptr_update = (mbtk_fota_fw_write)dlsym(handle, "mbtk_fota_fw_write");
+ if (func_ptr_update == NULL)
+ {
+ LOGE("Error: %s", dlerror());
+ deinit_handle();
+ return GSW_HAL_FAIL;
+ }
+
+ func_ptr_init = (mbtk_fota_init)dlsym(handle, "mbtk_fota_init");
+ if(func_ptr_init == NULL)
+ {
+ LOGE("Error: %s", dlerror());
+ deinit_handle();
+ return GSW_HAL_FAIL;
+ }
+
+
+ if(s_ota_flag == -1)
+ {
+ ret = func_ptr_init(fota_cb);
+ if(ret < 0)
+ {
+ LOGE("Error: mbtk_fota_init failed");
+
+ deinit_handle();
+ return GSW_HAL_FAIL;
+ }
+ else
+ {
+ s_ota_flag = 0;
+ }
+ }
+
+ if(strncmp(file_path, "http", 4) == 0)
+ {
+ segment_size = 62914560;
+ ret = func_ptr_update_url(file_path, segment_size,10, 600);
+ }
+ else
+ {
+ if(strstr(file_path,"updata.bin") == NULL)
+ {
+ LOGE("Bad file path ");
+ deinit_handle();
+ return GSW_HAL_FAIL;
+ }
+ else
+ {
+ if(access(file_path,F_OK) !=0)
+ {
+ LOGE("update file no exist");
+ deinit_handle();
+ return GSW_HAL_FAIL;
+ }
+ }
+
+ ret = funstat(file_path);
+ if (ret)
+ {
+ LOGE("get segment_size fail");
+ deinit_handle();
+ return GSW_HAL_FAIL;
+ }
+ ret = func_ptr_update(file_path, segment_size);
+ if(ret < 0)
+ {
+ LOGE("Error: mbtk_fota_fw_write failed\n");
+ deinit_handle();
+ return GSW_HAL_FAIL;
+ }
+ }
+ return GSW_HAL_SUCCESS;
+
+}
+
+/**
+* @brief check the modem update condition
+* @param [in] NULL
+* @param [out] NULL
+* @retval TRUE/FALSE
+*/
+bool gsw_update_modem_check_condition(void)
+{
+ char command[32] = {0};
+ char buffer[64] = {0};
+ const char *process_ota = "{otad}";
+
+ snprintf(command,sizeof(command), "ps | grep %s | grep -v grep", process_ota);
+ FILE *fp = popen(command, "r");
+ if (fp == NULL)
+ {
+ return false;
+ }
+
+ if(fgets(buffer, sizeof(buffer), fp)!= NULL)
+ {
+ pclose(fp);
+ return true;
+ }
+ pclose(fp);
+ return false;
+
+}
+
+/**
+* @brief get update modem result
+* @param [in] NULL
+* @param [out] NULL
+* @retval E_GSW_OTA_RET
+*/
+E_GSW_OTA_RET gsw_update_modem_result_query(void)
+{
+
+ mbtk_fota_status func_ptr_get_result = NULL;
+ int ret = -1;
+
+ ret = init_handle();
+ if(ret < 0)
+ {
+ LOGE("init_handle fail");
+ return GSW_HAL_FAIL;
+ }
+
+ // Get the function pointer
+ func_ptr_get_result = (mbtk_fota_status)dlsym(handle, "mbtk_fota_status");
+ if (func_ptr_get_result == NULL)
+ {
+ LOGE("Error: %s\n", dlerror());
+ return GSW_HAL_FAIL;
+ }
+ ret = func_ptr_get_result();
+ if(ret < 0 && ret !=-1)
+ {
+ LOGE("Error: mbtk_fota_status failed\n");
+ deinit_handle();
+ return GSW_HAL_FAIL;
+ }
+
+ deinit_handle();
+
+ if(ret == LYNQ_OTA_INPROCESS)
+ {
+ return GSW_OTA_INPROCESS;
+
+ }
+ else if(ret == LYNQ_OTA_SUCCESS)
+ {
+ return GSW_OTA_SUCCESS;
+ }
+ else if(ret == -1)
+ {
+ return GSW_OTA_NO_TASK;
+ }
+
+ return GSW_OTA_FAILURE;
+
+
+}
+
+/**
+* @brief Start install modem software
+* @param [in] char* file_path
+* @param [out] NULL
+* @retval GSW_HAL_SUCCESS\GSW_HAL_FAIL
+*/
+int32_t gsw_update_modem_start_nobackup(char* file_path)
+{
+
+ return GSW_HAL_SUCCESS;
+}
+
+
+/**
+* @brief get current system
+* @param [in] NULL
+* @param [out] NULL
+* @retval GSW_HAL_SUCCESS\GSW_HAL_FAIL
+*/
+E_GSW_OTA_SYSTEM gsw_update_modem_get_system(void)
+{
+ int ret = -1;
+
+ mbtk_fota_get_active_absys_type func_ptr;
+ ret = init_handle();
+ if(ret < 0)
+ {
+ LOGE("init_handle fail");
+ return GSW_HAL_FAIL;
+ }
+
+ // Get the function pointer
+ func_ptr = (mbtk_fota_get_active_absys_type)dlsym(handle, "mbtk_fota_get_active_absys_type");
+ if (func_ptr == NULL)
+ {
+ LOGE("Error: %s", dlerror());
+ return GSW_HAL_FAIL;
+ }
+ ret = func_ptr();
+ if(ret < 0)
+ {
+ LOGE("Error: mbtk_fota_get_active_absys_type failed");
+ deinit_handle();
+ return GSW_HAL_FAIL;
+
+ }
+
+ deinit_handle();
+
+ return ret;
+
+}
+
+/**
+* @brief cancel update
+* @param [in] NULL
+* @param [out] NULL
+* @retval GSW_HAL_SUCCESS\GSW_HAL_FAIL
+*/
+int32_t gsw_update_modem_cancel(void)
+{
+
+ return GSW_HAL_SUCCESS;
+}
+
+/**
+* @brief get modem update info
+* @param [in] NULL
+* @param [out] gsw_update_info_s
+* @retval GSW_HAL_SUCCESS\GSW_HAL_FAIL
+*/
+int32_t gsw_update_modem_get_info(gsw_update_info_s *update_info)
+{
+ int ret = -1;
+
+ mbtk_fota_status func_ptr_get_info = NULL;
+
+ ret = init_handle();
+ if(ret < 0)
+ {
+ LOGE("init_handle fail");
+ return GSW_HAL_FAIL;
+ }
+
+ // Get the function pointer
+ func_ptr_get_info = (mbtk_fota_status)dlsym(handle, "mbtk_fota_status");
+ if (func_ptr_get_info == NULL)
+ {
+ LOGE("Error: %s\n", dlerror());
+ return GSW_HAL_FAIL;
+ }
+ ret = func_ptr_get_info();
+ if(ret < 0 && ret != -1)
+ {
+ LOGE("Error: mbtk_fota_status failed\n");
+ deinit_handle();
+ return GSW_HAL_FAIL;
+ }
+
+ //升级成功之后,未重启,不可重复升级
+ if(ret == LYNQ_OTA_INPROCESS)
+ {
+ update_info->exit_code = GSW_UPDATE_NOGOING;
+ update_info->percentage = Process_flag;
+ update_info->update_state = GSW_UPDATE_INPROGRESS;
+ }
+ if(ret == LYNQ_OTA_SUCCESS)
+ {
+ update_info->exit_code = GSW_UPDATE_NOERROR;
+ update_info->percentage = Process_flag;
+ update_info->update_state = GSW_UPDATE_WAITEDONE;
+ }
+
+
+ if(ret == LYNQ_OTA_FAILED || ret == -1)
+ {
+ update_info->exit_code = GSW_UPDATE_GETOLDSOFTWAREFAILED;
+ update_info->percentage = Process_flag;
+ update_info->update_state = GSW_UPDATE_FAILED;
+ }
+
+ deinit_handle();
+ return GSW_HAL_SUCCESS;
+
+}
+
+
+/**
+* @brief get modem system status
+* @param [in] NULL
+* @param [out] gsw_system_status_s
+* @retval GSW_HAL_SUCCESS\GSW_HAL_FAIL
+*/
+int32_t gsw_update_modem_get_status(gsw_system_status_s *system_status)
+{
+ return GSW_HAL_SUCCESS;
+}
+
+/**
+* @brief A/B system sync
+* @param [in] NULL
+* @param [out] NULL
+* @retval GSW_HAL_SUCCESS\GSW_HAL_FAIL
+*/
+int32_t gsw_update_modem_sync(void)
+{
+ return GSW_HAL_SUCCESS;
+
+}
+
+/**
+* @brief A/B system switch
+* @param [in] NULL
+* @param [out] NULL
+* @retval GSW_HAL_SUCCESS\GSW_HAL_FAIL
+*/
+int32_t gsw_update_modem_switch(void)
+{
+ return GSW_HAL_SUCCESS;
+}
diff --git a/mbtk/libgsw_lib/libgsw_passwd.c b/mbtk/libgsw_lib/libgsw_passwd.c
new file mode 100755
index 0000000..ef3fdda
--- /dev/null
+++ b/mbtk/libgsw_lib/libgsw_passwd.c
@@ -0,0 +1,29 @@
+#include <stdio.h>
+#include <stdlib.h>
+#include <fcntl.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <string.h>
+#include <errno.h>
+#include <termios.h>
+#include <unistd.h>
+#include <stdint.h>
+#include <sys/ioctl.h>
+#include <dlfcn.h>
+
+
+#include "gsw_passwd.h"
+
+
+int gsw_set_passwd(char *username, char *passwd)
+{
+ int ret;
+ char cmd[256];
+ if((username == NULL) || (passwd ==NULL))
+ {
+ return -1;
+ }
+ sprintf(cmd, "echo \"%s:%s\"|chpasswd", username, passwd);
+ ret = system(cmd);
+ return ret;
+}
diff --git a/mbtk/libgsw_lib/libgsw_usb.c b/mbtk/libgsw_lib/libgsw_usb.c
new file mode 100755
index 0000000..400fcb2
--- /dev/null
+++ b/mbtk/libgsw_lib/libgsw_usb.c
@@ -0,0 +1,41 @@
+#include <stdio.h>
+#include <stdlib.h>
+#include <fcntl.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <string.h>
+#include <errno.h>
+#include <termios.h>
+#include <unistd.h>
+#include <stdint.h>
+#include <sys/ioctl.h>
+#include <dlfcn.h>
+
+
+#include "gsw_usb.h"
+
+#define TMP_USB_RESTART "/sbin/tmp_usb_init"
+#define USB_OPEN 3300
+#define USB_CLOSE 3329
+
+int32_t gsw_usb_permanent_switch(EN_GSW_USB_SWITCH_TYPE type)
+{
+ int ret;
+ char cmd[256];
+ if(type != EN_GSW_USB_SWITCH_OPEN && type != EN_GSW_USB_SWITCH_CLOSE)
+ return GSW_HAL_FAIL;
+ sprintf(cmd, "setprop persist.mbtk.usb_pid %d && %s %d &", type?USB_OPEN:USB_CLOSE, TMP_USB_RESTART, type?USB_OPEN:USB_CLOSE);
+ ret = system(cmd);
+ return ret;
+}
+
+int32_t gsw_usb_tempporary_switch(EN_GSW_USB_SWITCH_TYPE type)
+{
+ int ret;
+ char cmd[256];
+ if(type != EN_GSW_USB_SWITCH_OPEN && type != EN_GSW_USB_SWITCH_CLOSE)
+ return GSW_HAL_FAIL;
+ sprintf(cmd, "%s %d &", TMP_USB_RESTART, type?USB_OPEN:USB_CLOSE);
+ ret = system(cmd);
+ return ret;
+}
\ No newline at end of file
diff --git a/mbtk/liblynq_lib/Makefile b/mbtk/liblynq_lib/Makefile
new file mode 100755
index 0000000..44349a0
--- /dev/null
+++ b/mbtk/liblynq_lib/Makefile
@@ -0,0 +1,50 @@
+BUILD_ROOT = $(shell pwd)/..
+include $(BUILD_ROOT)/Make.defines
+
+LOCAL_PATH=$(BUILD_ROOT)/liblynq_lib
+
+INC_DIR += \
+ -I$(LOCAL_PATH)
+
+LIB_DIR +=
+
+LIBS += -lmbtk_lib -lrilutil -lprop2uci -lmtel -laudio-apu -lcutils -ltinyalsa -lacm -llog -ljson-c -lblobmsg_json
+
+CFLAGS += -shared -Wl,-shared,-Bsymbolic
+
+DEFINE +=
+
+MY_FILES_PATH:=$(LOCAL_PATH)
+#ifeq ($(CONFIG_MBTK_QL_SUPPORT),y)
+#MY_FILES_PATH += $(LOCAL_PATH)/ql
+#endif
+
+#ifeq ($(CONFIG_MBTK_PLATFORM),linux)
+#MY_FILES_PATH += $(LOCAL_PATH)/platform/linux
+#endif
+
+MY_FILES_SUFFIX:=%.c %.cpp
+My_All_Files := $(foreach src_path,$(MY_FILES_PATH), $(shell find "$(src_path)" -type f))
+MY_SRC_LIST := $(filter $(MY_FILES_SUFFIX),$(My_All_Files))
+MY_SRC_LIST := $(MY_SRC_LIST:$(LOCAL_PATH)/%=%)
+LOCAL_SRC_FILES += $(MY_SRC_LIST)
+$(info LOCAL_SRC_FILES = $(LOCAL_SRC_FILES))
+OBJS = $(patsubst %.c, %.o, $(patsubst %.cpp, %.o, $(LOCAL_SRC_FILES)))
+$(info OBJS = $(OBJS))
+
+dtarget := $(OUT_DIR)/lib/liblynq_lib.so
+
+all: $(dtarget)
+
+$(dtarget): $(OBJS)
+ $(CC) $(CFLAGS) $(LIB_DIR) $(LIBS) $(OBJS) -o $@
+
+%.o:%.c
+ $(CC) $(CFLAGS) $(INC_DIR) $(DEFINE) -c $< -o $@
+
+%.o:%.cpp
+ $(CC) $(CFLAGS) $(INC_DIR) $(DEFINE) -c $< -o $@
+
+clean:
+ rm -f $(OBJS) $(dtarget)
+
diff --git a/mbtk/liblynq_lib/lynq_adc.c b/mbtk/liblynq_lib/lynq_adc.c
new file mode 100755
index 0000000..3c203e7
--- /dev/null
+++ b/mbtk/liblynq_lib/lynq_adc.c
@@ -0,0 +1,32 @@
+#include "lynq-adc.h"
+#include "mbtk_type.h"
+#include "mbtk_adc.h"
+#include "mbtk_log.h"
+
+int qser_adc_show(ADC_CHANNEL_E qadc)
+{
+ UNUSED(qadc);
+
+ mbtk_adc_enum adc = MBTK_ADC0;
+ switch(qadc) {
+ case QADC_NONE:
+ {
+ return 0;
+ }
+ case ADC0:
+ adc = MBTK_ADC0;
+ break;
+ case ADC1:
+ adc = MBTK_ADC1;
+ break;
+ case ADC2:
+ adc = MBTK_ADC2;
+ break;
+ default:
+ LOGE("Unsupport adc : %d", qadc);
+ return -1;
+ }
+
+ return mbtk_adc_get(ADC_DEVICE_AUX, adc);
+}
+
diff --git a/mbtk/liblynq_lib/lynq_alarm.c b/mbtk/liblynq_lib/lynq_alarm.c
new file mode 100755
index 0000000..355279b
--- /dev/null
+++ b/mbtk/liblynq_lib/lynq_alarm.c
@@ -0,0 +1,107 @@
+#include <math.h>
+#include <stdlib.h>
+
+#include "mbtk_alarm.h"
+#include "lynq_alarm.h"
+#include "mbtk_str.h"
+#include "lynq-qser-autosuspend.h"
+#include "mbtk_utils.h"
+
+
+
+bool rtc_flag = FALSE;
+int lynq_rtc_service_init(void)
+{
+ int ret = 0;
+ if(!rtc_flag)
+ {
+ rtc_flag = TRUE;
+ ret = 1;
+ }
+ else
+ {
+ ret = -1;
+ }
+ return ret;
+}
+
+int lynq_rtc_service_deinit(void)
+{
+ int ret = 0;
+ if(rtc_flag)
+ {
+ rtc_flag = FALSE;
+ ret = 0;
+ }
+ else{
+ ret = -1;
+ }
+
+ return ret;
+}
+
+void mbtk_info_callback_func1(const void* data, int data_len)
+{
+ mbtk_system("echo 456 > /data/test1.txt");
+ return;
+}
+
+
+int lynq_set_wakealarm(unsigned long time_sec,int src_id,int rtc_id,lynq_wakealarm_add_cb wakealarm_notify )
+{
+ UNUSED(time_sec);
+ if(time_sec < 1 || time_sec > pow(2, 28)) {
+ return -1;
+ }
+
+ if(!rtc_flag)
+ {
+ return -1;
+ }
+
+ qser_suspend_timer_set(time_sec, mbtk_info_callback_func1);
+
+ return 0;
+
+}
+
+//int lynq_set_poweralarm(unsigned long time_sec)
+int lynq_set_poweralarm(unsigned long time_sec,int src_id)
+{
+ UNUSED(time_sec);
+ if(time_sec < 1 || time_sec > pow(2, 28)) {
+ return -1;
+ }
+ char buf[50] ={0};
+ sprintf(buf, "rtcwake -d rtc0 -s %ld -m on &", time_sec);
+ mbtk_system(buf);
+
+ return 0;
+}
+
+// min:1 max:2^28
+ssize_t wakealarm(char *buffer,int src_id,int rtc_id,lynq_wakealarm_add_cb wakealarm_notify )
+{
+ UNUSED(buffer);
+ if(str_empty(buffer)) {
+ return -1;
+ }
+ return lynq_set_wakealarm(atol(buffer), src_id, rtc_id, wakealarm_notify);
+}
+
+// min:1 max:2^28
+ssize_t poweralarm(char *buffer,int src_id)
+{
+ UNUSED(buffer);
+ if(str_empty(buffer)) {
+ return -1;
+ }
+ return lynq_set_poweralarm(atol(buffer), 0);
+}
+
+ssize_t cancel_wakealarm(int src_id, int rtc_id)
+{
+ return -1;
+}
+
+
diff --git a/mbtk/liblynq_lib/lynq_audio.c b/mbtk/liblynq_lib/lynq_audio.c
new file mode 100755
index 0000000..259661e
--- /dev/null
+++ b/mbtk/liblynq_lib/lynq_audio.c
@@ -0,0 +1,271 @@
+#include "lynq-qser-audio.h"
+#include "mbtk_type.h"
+#include "mbtk_log.h"
+#include "mbtk_audio2.h"
+
+#define AUDIO_DEV_PLAY "device1"
+#define AUDIO_DEV_RECORDER "device2"
+#define AUDIO_HDL_DEFAULT 0
+
+static _cb_onPlayer play_cb = NULL;
+static int play_hdl = -1;
+
+static _cb_onPlayer recv_cb = NULL;
+static int recv_hdl = -1;
+
+int qser_AudPlayer_Open(char* device, _cb_onPlayer cb_fun)
+{
+ UNUSED(device);
+ UNUSED(cb_fun);
+ if(device == NULL || strcmp(device, AUDIO_DEV_PLAY)) {
+ LOGE("device must be %s for play.", AUDIO_DEV_PLAY);
+ return -1;
+ }
+
+ if(mbtk_audio_wav_init()) {
+ LOGE("mbtk_audio_wav_init() fail.");
+ return -1;
+ }
+
+ play_cb = cb_fun;
+
+ return 0;
+}
+
+int qser_AudPlayer_PlayFrmFile(int hdl, const char *fd, int offset)
+{
+ UNUSED(hdl);
+ UNUSED(fd);
+ UNUSED(offset);
+ if(play_hdl >= 0) {
+ LOGE("Play busy.");
+ if(play_cb) {
+ play_cb(-1);
+ }
+ return -1;
+ }
+
+ if(mbtk_audio_wav_play_start(fd)) {
+ LOGE("mbtk_audio_wav_play_start() fail.");
+ if(play_cb) {
+ play_cb(-2);
+ }
+ return -1;
+ }
+
+ play_hdl = hdl;
+
+ if(play_cb) {
+ play_cb(0);
+ }
+
+ return 0;
+}
+
+int qser_AudPlayer_PlayPcmBuf(const unsigned char *pcm_data, int data_size, int period_size,
+ int period_count, int num_channels, int sample_rate, int ownerid)
+{
+
+ if(play_hdl >= 0) {
+ LOGE("Play busy.");
+ if(play_cb) {
+ play_cb(-1);
+ }
+ return -1;
+ }
+
+ if(mbtk_audio_wav_stream_play_start(pcm_data, data_size, sample_rate, num_channels)) {
+ LOGE("mbtk_audio_wav_stream_play_start() fail.");
+ if(play_cb) {
+ play_cb(-2);
+ }
+ return -1;
+ }
+
+ play_hdl = AUDIO_HDL_DEFAULT;
+ if(play_cb) {
+ play_cb(0);
+ }
+ return 0;
+}
+
+int qser_AudPlayer_Pause(int hdl)
+{
+ UNUSED(hdl);
+ if((play_hdl != AUDIO_HDL_DEFAULT && hdl != play_hdl) || play_hdl < 0) {
+ LOGE("Play busy or hdl error.");
+ return -1;
+ }
+
+ if(mbtk_audio_wav_play_pause()) {
+ LOGE("mbtk_audio_wav_play_pause() fail.");
+ return -1;
+ }
+
+ return 0;
+}
+
+int qser_AudPlayer_Resume(int hdl)
+{
+ UNUSED(hdl);
+ if((play_hdl != AUDIO_HDL_DEFAULT && hdl != play_hdl) || play_hdl < 0) {
+ LOGE("Play busy or hdl error.");
+ return -1;
+ }
+
+ if(mbtk_audio_wav_play_resume()) {
+ LOGE("mbtk_audio_wav_play_resume() fail.");
+ return -1;
+ }
+
+ return 0;
+}
+
+void qser_AudPlayer_Stop(int hdl)
+{
+ UNUSED(hdl);
+ if((play_hdl != AUDIO_HDL_DEFAULT && hdl != play_hdl) || play_hdl < 0) {
+ LOGE("Play busy or hdl error.");
+ return;
+ }
+
+ if(mbtk_audio_wav_play_stop()) {
+ LOGE("mbtk_audio_wav_play_stop() fail.");
+ return;
+ }
+
+ play_hdl = -1;
+}
+
+
+void qser_AudPlayer_Close(int hdl)
+{
+ UNUSED(hdl);
+
+ if(play_hdl >= 0) {
+ qser_AudPlayer_Stop(hdl);
+ }
+
+ if(mbtk_audio_wav_deinit()) {
+ LOGE("mbtk_audio_wav_deinit() fail.");
+ return;
+ }
+
+ play_cb = NULL;
+}
+
+int qser_AudRecorder_Open(char* device, _cb_onPlayer cb_fun)
+{
+ UNUSED(device);
+ UNUSED(cb_fun);
+ if(device == NULL || strcmp(device, AUDIO_DEV_RECORDER)) {
+ LOGE("device must be %s for recv.", AUDIO_DEV_RECORDER);
+ return -1;
+ }
+
+ if(mbtk_audio_wav_init()) {
+ LOGE("mbtk_audio_wav_init() fail.");
+ return -1;
+ }
+
+ recv_cb = cb_fun;
+
+ return 0;
+}
+
+int qser_AudRecorder_StartRecord(int hdl, const char *fd, int offset)
+{
+ UNUSED(hdl);
+ UNUSED(fd);
+ UNUSED(offset);
+ if(recv_hdl >= 0) {
+ LOGE("Recv busy.");
+ if(recv_cb) {
+ recv_cb(-1);
+ }
+ return -1;
+ }
+
+ if(mbtk_audio_wav_recorder_start(fd, MBTK_AUDIO_SAMPLE_RATE_8000)) {
+ LOGE("mbtk_audio_wav_recorder_start() fail.");
+ if(recv_cb) {
+ recv_cb(-2);
+ }
+ return -1;
+ }
+
+ recv_hdl = hdl;
+ if(recv_cb) {
+ recv_cb(0);
+ }
+ return 0;
+}
+
+int qser_AudRecorder_StartRecord_Custom(char *file, int period_size, int period_count,
+ int num_channels, int sample_rate)
+{
+ return qser_AudRecorder_StartRecord(0, file, 0);
+}
+
+int qser_AudRecorder_Pause(void)
+{
+ if(recv_hdl < 0) {
+ LOGE("Recv busy or hdl error.");
+ return -1;
+ }
+
+ if(mbtk_audio_wav_recorder_pause()) {
+ LOGE("mbtk_audio_wav_recorder_pause() fail.");
+ return -1;
+ }
+ return 0;
+}
+
+int qser_AudRecorder_Resume(void)
+{
+ if(recv_hdl < 0) {
+ LOGE("Recv busy or hdl error.");
+ return -1;
+ }
+
+ if(mbtk_audio_wav_recorder_resume()) {
+ LOGE("mbtk_audio_wav_recorder_resume() fail.");
+ return -1;
+ }
+ return 0;
+}
+
+void qser_AudRecorder_Stop(void)
+{
+ if(recv_hdl < 0) {
+ LOGE("Recv busy or hdl error.");
+ return;
+ }
+
+ if(mbtk_audio_wav_recorder_stop()) {
+ LOGE("mbtk_audio_wav_recorder_stop() fail.");
+ return;
+ }
+
+ recv_hdl = -1;
+}
+
+void qser_AudRecorder_Close(void)
+{
+ if(recv_hdl >= 0) {
+ qser_AudRecorder_Stop();
+ }
+
+ if(mbtk_audio_wav_deinit()) {
+ LOGE("mbtk_audio_wav_deinit() fail.");
+ return;
+ }
+
+ recv_cb = NULL;
+}
+
+void qser_Audio_Deinit(void)
+{
+ // Do nothing...
+}
+
diff --git a/mbtk/liblynq_lib/lynq_chip_id.c b/mbtk/liblynq_lib/lynq_chip_id.c
new file mode 100755
index 0000000..26ba932
--- /dev/null
+++ b/mbtk/liblynq_lib/lynq_chip_id.c
@@ -0,0 +1,58 @@
+#include <stdio.h>
+#include <stdlib.h>
+#include <unistd.h>
+#include <sys/time.h>
+
+#include <time.h>
+#include "mbtk_info_api.h"
+
+int lynq_get_time_sec(char *time_t)
+{
+ struct timeval tv;
+ gettimeofday(&tv,NULL);
+ sprintf(time_t, "%lld", tv.tv_sec);
+ return 0;
+}
+
+int lynq_imet_get(char *imei_t)
+{
+ static mbtk_info_handle_t* info_handle = NULL;
+ info_handle = mbtk_info_handle_get();
+ if(!info_handle)
+ {
+ return -1;
+ }
+
+ int err;
+ err = mbtk_imei_get(info_handle, imei_t);
+ if(err) {
+ // printf("Error : %d\n", err);
+ return -1;
+ } else {
+ // printf("IMEI : %s\n", imei_t);
+ }
+ return 0;
+}
+
+
+int lynq_get_chip_id(char *chip_id)
+{
+ char time[50]={0};
+ char imei[50]={0};
+ int ret = 0;
+ lynq_get_time_sec(time);
+ ret = lynq_imet_get(imei);
+ if(!ret)
+ {
+ sprintf(chip_id,"%s%s",imei, time);
+// printf("%s\n",chip_id );
+ }
+ else{
+ return -1;
+ }
+
+ return 0;
+}
+
+
+
diff --git a/mbtk/liblynq_lib/lynq_data_call.c b/mbtk/liblynq_lib/lynq_data_call.c
new file mode 100755
index 0000000..44d35bf
--- /dev/null
+++ b/mbtk/liblynq_lib/lynq_data_call.c
@@ -0,0 +1,894 @@
+#include "lynq-qser-data.h"
+#include "mbtk_type.h"
+#include "mbtk_info_api.h"
+
+#include <pthread.h>
+#include <cutils/properties.h>
+#include <string.h>
+#include <unistd.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <fcntl.h>
+//#include <sys/scoket.h>
+#include <netinet/in.h>
+#include <arpa/inet.h>
+
+/****************************DEFINE***************************************/
+#define QSER_RESULT_SUCCESS 0
+#define QSER_RESULT_FAIL -1
+
+#define MBTK_INFO_ERR_CID_EXIST 311
+#define MBTK_INFO_ERR_CID_NO_EXIST 312
+#define MBTK_INFO_ERR_NO_APN 500
+
+#define QSER_APN_NUM 8
+
+#define QSER_APN_NAME_MAX_LEN 64
+#define QSER_APN_USER_MAX_LEN 32
+#define QSER_APN_PAWD_MAX_LEN 32
+#define QSER_APN_TYPE_MAX_LEN 16
+
+//default range: 0 - 7
+//AT+CGACT range: 1 - 8
+//1 default IDX, 8 IMS IDX
+#define QSER_PROFILE_IDX_MIN 1
+#define QSER_PROFILE_IDX_MAX 6
+
+/****************************DEFINE***************************************/
+
+/****************************VARIABLE***************************************/
+mbtk_info_handle_t* qser_info_handle = NULL;
+int qser_info_handle_num = 0;
+static bool inited = FALSE;
+static qser_data_call_evt_cb_t qser_net_status_cb = NULL;
+/****************************VARIABLE***************************************/
+
+/******************************FUNC*****************************************/
+static int qser_apn_info_param_convert(int profile_idx, qser_apn_info_s *new_apn, mbtk_qser_apn_info_s *old_apn)
+{
+ if(new_apn == NULL || old_apn == NULL)
+ {
+ LOGE("[qser_data] qser_apn_info_param_convert apn param is NULL.");
+ return QSER_RESULT_FAIL;
+ }
+
+ memset(new_apn, 0x0, sizeof(qser_apn_info_s));
+ new_apn->profile_idx = old_apn->cid - 1;
+ //get ip type
+ if(old_apn->ip_type == MBTK_IP_TYPE_IPV4V6) // IPV4V6
+ {
+ new_apn->pdp_type = QSER_APN_PDP_TYPE_IPV4V6;
+ }
+ else if(old_apn->ip_type == MBTK_IP_TYPE_IP) // IPV4
+ {
+ new_apn->pdp_type = QSER_APN_PDP_TYPE_IPV4;
+ }
+ else if(old_apn->ip_type == MBTK_IP_TYPE_IPV6) // IPV6
+ {
+ new_apn->pdp_type = QSER_APN_PDP_TYPE_IPV6;
+ }
+ else
+ {
+ new_apn->pdp_type = QSER_APN_PDP_TYPE_PPP;
+ }
+
+ //get apn name
+ if(strlen((char *)old_apn->apn_name) > QSER_APN_NAME_SIZE)
+ {
+ LOGE("[qser_data] apn_nmea length verylong.");
+ return QSER_RESULT_FAIL;
+ }
+ else
+ {
+ if(strlen((char *)old_apn->apn_name) > 0)
+ {
+ memcpy(new_apn->apn_name, old_apn->apn_name,strlen((char *)old_apn->apn_name));
+ }
+ }
+
+ //get apn user
+ if(strlen((char *)old_apn->user_name) > QSER_APN_USERNAME_SIZE)
+ {
+ LOGE("[qser_data] apn_user length verylong.");
+ return QSER_RESULT_FAIL;
+ }
+ else
+ {
+ if(strlen((char *)old_apn->user_name) > 0)
+ {
+ memcpy(new_apn->username, old_apn->user_name, strlen((char *)old_apn->user_name));
+ }
+ }
+
+ //get apn password
+ if(strlen((char *)old_apn->user_pass) > QSER_APN_PASSWORD_SIZE)
+ {
+ LOGE("[qser_data] apn_password length verylong.");
+ return QSER_RESULT_FAIL;
+ }
+ else
+ {
+ if(strlen((char *)old_apn->user_pass) > 0)
+ {
+ memcpy(new_apn->password, old_apn->user_pass, strlen((char *)old_apn->user_pass));
+ }
+ }
+
+ //get apn proto
+ new_apn->auth_proto = (qser_apn_auth_proto_e)old_apn->auth_proto;
+
+ //get apn type
+ if(strlen((char *)old_apn->apn_type) > QSER_APN_PASSWORD_SIZE)
+ {
+ LOGE("[qser_data] apn_type length verylong.");
+ return QSER_RESULT_FAIL;
+ }
+ else
+ {
+ if(strlen((char *)old_apn->apn_type) > 0)
+ {
+ memcpy(new_apn->apn_type, old_apn->apn_type, strlen((char *)old_apn->apn_type));
+ }
+ }
+
+ return QSER_RESULT_SUCCESS;
+}
+
+static void qser_state_init(qser_data_call_state_s *state)
+{
+ if(state != NULL)
+ {
+ state->profile_idx = 0;
+ memset(state->name, 0x0, 16);
+ state->ip_family = QSER_DATA_CALL_TYPE_IPV4V6;
+ state->state = QSER_DATA_CALL_DISCONNECTED;
+ state->err = QSER_DATA_CALL_ERROR_NONE;
+ inet_aton("0.0.0.0", &(state->v4.ip));
+ inet_aton("0.0.0.0", &(state->v4.gateway));
+ inet_aton("0.0.0.0", &(state->v4.pri_dns));
+ inet_aton("0.0.0.0", &(state->v4.sec_dns));
+ inet_pton(AF_INET6, "::", &(state->v6.ip));
+ inet_pton(AF_INET6, "::", &(state->v6.gateway));
+ inet_pton(AF_INET6, "::", &(state->v6.pri_dns));
+ inet_pton(AF_INET6, "::", &(state->v6.sec_dns));
+ }
+}
+
+void qser_wan_net_state_change_cb(const void* data, int data_len)
+{
+ if(data == NULL || data_len == 0)
+ {
+ return;
+ }
+
+ uint8 *net_data = NULL;
+ net_data = (uint8 *)data;
+
+ if(*net_data > 100 && *net_data < 200)
+ {
+ int idx = *net_data - 101;
+ if(idx <= QSER_PROFILE_IDX_MAX)
+ {
+ qser_data_call_state_s state = {0};
+ qser_state_init(&state);
+ state.profile_idx = idx;
+ state.state = QSER_DATA_CALL_DISCONNECTED;
+ if(qser_net_status_cb != NULL)
+ {
+ qser_net_status_cb(&state);
+ }
+ }
+ else
+ {
+ LOGE("[qser_data] cb fail,idx is %d.", idx);
+ }
+
+ }
+ else if(*net_data > 200 && *net_data < 220)
+ {
+ LOGE("[qser_data] cid[%d] is open.", *net_data - 201);
+ }
+ else if(*net_data > 220)
+ {
+ LOGE("[qser_data] cid[%d] is reopen.", *net_data - 221);
+ int idx = *net_data - 221;
+ if(idx <= QSER_PROFILE_IDX_MAX)
+ {
+ qser_data_call_state_s state = {0};
+ qser_state_init(&state);
+ state.profile_idx = idx;
+ state.state = QSER_DATA_CALL_CONNECTED;
+ snprintf(state.name, 16, "ccinet%d", idx);
+ if(qser_net_status_cb != NULL)
+ {
+ qser_net_status_cb(&state);
+ }
+ }
+ }
+ else if(*net_data == 1)
+ {
+ LOGE("[qser_data] pdp is open.");
+ }
+ else
+ {
+ LOGE("[qser_data] unkonwn param [%d].", *net_data);
+ }
+}
+
+static void* data_call_async_thread(void* arg)
+{
+ LOGE("[qser_data] entry data_call_async_thread.");
+ qser_data_call_error_e err = QSER_DATA_CALL_ERROR_NONE;
+
+ qser_data_call_s qser_data_backup = {0};
+ qser_data_call_info_s info = {0};
+ if(arg != NULL)
+ {
+ memcpy(&qser_data_backup, (qser_data_call_s *)arg, sizeof(qser_data_call_s));
+ }
+ else
+ {
+ LOGE("[qser_data] arg is NULL.");
+ }
+
+ qser_data_call_state_s state = {0};
+ qser_state_init(&state);
+ state.profile_idx = qser_data_backup.profile_idx;
+ snprintf(state.name, 16, "ccinet%d", qser_data_backup.profile_idx);
+ state.ip_family = qser_data_backup.ip_family;
+
+ int ret = qser_data_call_start(&qser_data_backup, &err);
+ if(ret != QSER_RESULT_SUCCESS)
+ {
+ LOGE("[qser_data] qser_data_call_start() fail.");
+ state.err = err;
+ }
+ else
+ {
+ state.state = QSER_DATA_CALL_CONNECTED;
+ ret = qser_data_call_info_get(qser_data_backup.profile_idx, qser_data_backup.ip_family, &info, &err);
+ if(ret != QSER_RESULT_SUCCESS)
+ {
+ LOGE("[qser_data] qser_data_call_info_get() fail.");
+ state.err = err;
+ }
+ else
+ {
+ memcpy(&(state.v4), &(info.v4.addr), sizeof(struct v4_address_status));
+ memcpy(&(state.v6), &(info.v6.addr), sizeof(struct v6_address_status));
+ }
+ }
+
+ if(qser_net_status_cb != NULL)
+ {
+ qser_net_status_cb(&state);
+ }
+ return NULL;
+}
+
+/******************************FUNC*****************************************/
+
+/****************************API***************************************/
+int qser_data_call_init(qser_data_call_evt_cb_t evt_cb)
+{
+ //UNUSED(evt_cb);
+ if(!inited && qser_info_handle == NULL)
+ {
+ qser_info_handle = mbtk_info_handle_get();
+ if(qser_info_handle)
+ {
+ qser_info_handle_num++;
+ inited = TRUE;
+ mbtk_pdp_state_change_cb_reg(qser_info_handle, qser_wan_net_state_change_cb);
+ }
+ else
+ {
+ LOGE("[qser_data] mbtk_info_handle_get() fail.");
+ return QSER_RESULT_FAIL;
+ }
+ }
+ else
+ {
+ if(!inited)
+ {
+ qser_info_handle_num++;
+ inited = TRUE;
+ mbtk_pdp_state_change_cb_reg(qser_info_handle, qser_wan_net_state_change_cb);
+ }
+ }
+ qser_net_status_cb = evt_cb;
+
+ LOGE("[qser_data] mbtk_info_handle_get() success.");
+ return QSER_RESULT_SUCCESS;
+}
+
+void qser_data_call_destroy(void)
+{
+ if(qser_info_handle)
+ {
+ LOGE("[qser_data] qser_info_handle_num = %d", qser_info_handle_num);
+ if(qser_info_handle_num == 1)
+ { // 最后一个引用,可释放。
+ int ret = mbtk_info_handle_free(&qser_info_handle);
+ if(ret)
+ {
+ LOGE("[qser_data] mbtk_info_handle_free() fail.");
+ }
+ else
+ {
+ qser_info_handle_num = 0;
+ qser_info_handle = NULL;
+ qser_net_status_cb = NULL;
+ inited = FALSE;
+ }
+ }
+ else
+ {
+ qser_info_handle_num--;
+ qser_net_status_cb = NULL;
+ }
+ }
+ else
+ {
+ LOGE("[qser_data] handle not inited.");
+ }
+}
+
+int qser_data_call_start(qser_data_call_s *data_call, qser_data_call_error_e *err)
+{
+ //UNUSED(data_call);
+ //UNUSED(err);
+ if(data_call == NULL || err == NULL)
+ {
+ LOGE("[qser_data] data_call or err is NULL.");
+ if(err != NULL)
+ {
+ *err = QSER_DATA_CALL_ERROR_INVALID_PARAMS;
+ }
+ return QSER_RESULT_FAIL;
+ }
+
+ if(qser_info_handle == NULL)
+ {
+ LOGE("[qser_data] handle is NULL.");
+ *err = QSER_DATA_CALL_ERROR_NO_INIT;
+ return QSER_RESULT_FAIL;
+ }
+
+ int ret = -1;
+ ret = mbtk_data_call_start(qser_info_handle, data_call->profile_idx + 1, 0, FALSE, 0);
+ if(ret != 0)
+ {
+ LOGE("[qser_data] mbtk_data_call_start fail.[ret = %d]", ret);
+ if(ret == MBTK_INFO_ERR_CID_EXIST)
+ {
+ *err = QSER_DATA_CALL_ERROR_PDP_ACTIVATE;
+ }
+ else
+ {
+ *err = QSER_DATA_CALL_ERROR_UNKNOWN;
+ }
+ return QSER_RESULT_FAIL;
+ }
+ else
+ {
+ *err = QSER_DATA_CALL_ERROR_NONE;
+ }
+
+ return QSER_RESULT_SUCCESS;
+}
+
+int qser_data_call_start_async(qser_data_call_s *data_call, qser_data_call_error_e *err)
+{
+ //UNUSED(data_call);
+ UNUSED(err);
+ if(data_call == NULL || err == NULL)
+ {
+ LOGE("[qser_data] data_call or err is NULL.");
+ if(err != NULL)
+ {
+ *err = QSER_DATA_CALL_ERROR_INVALID_PARAMS;
+ }
+ return QSER_RESULT_FAIL;
+ }
+
+ if(qser_info_handle == NULL)
+ {
+ LOGE("[qser_data] handle is NULL.");
+ *err = QSER_DATA_CALL_ERROR_NO_INIT;
+ return QSER_RESULT_FAIL;
+ }
+
+ pthread_attr_t thread_attr;
+ pthread_t data_call_thread_id;
+ pthread_attr_init(&thread_attr);
+ if(pthread_attr_setdetachstate(&thread_attr, PTHREAD_CREATE_DETACHED))
+ {
+ LOGE("[qser_data] pthread_attr_setdetachstate() fail.");
+ *err = QSER_DATA_CALL_ERROR_UNKNOWN;
+ return QSER_RESULT_FAIL;
+ }
+
+ //memcpy(&qser_data_backup, data_call, sizeof(qser_data_call_s));
+ if(pthread_create(&data_call_thread_id, &thread_attr, data_call_async_thread, (void *) data_call))
+ {
+ LOGE("[qser_data] pthread_create() fail.");
+ *err = QSER_DATA_CALL_ERROR_UNKNOWN;
+ return QSER_RESULT_FAIL;
+ }
+ pthread_attr_destroy(&thread_attr);
+
+ return QSER_RESULT_SUCCESS;
+}
+
+int qser_data_call_stop(char profile_idx, qser_data_call_ip_family_e ip_family, qser_data_call_error_e *err)
+{
+ //UNUSED(profile_idx);
+ UNUSED(ip_family);
+ //UNUSED(err);
+ if(err == NULL)
+ {
+ LOGE("[qser_data] err is NULL.");
+ return QSER_RESULT_FAIL;
+ }
+
+ if(qser_info_handle == NULL)
+ {
+ LOGE("[qser_data] handle is NULL.");
+ *err = QSER_DATA_CALL_ERROR_NO_INIT;
+ return QSER_RESULT_FAIL;
+ }
+
+ int ret = -1;
+ ret = mbtk_data_call_stop(qser_info_handle, profile_idx + 1, 15);
+ if(ret != 0)
+ {
+ LOGE("[qser_data] mbtk_data_call_stop fail.[ret = %d]", ret);
+ if(ret == MBTK_INFO_ERR_CID_NO_EXIST)
+ {
+ *err = QSER_DATA_CALL_ERROR_PDP_NO_ACTIVATE;
+ }
+ else
+ {
+ *err = QSER_DATA_CALL_ERROR_UNKNOWN;
+ }
+ return QSER_RESULT_FAIL;
+ }
+ else
+ {
+ *err = QSER_DATA_CALL_ERROR_NONE;
+ }
+
+ return QSER_RESULT_SUCCESS;
+}
+
+int qser_data_call_info_get(char profile_idx,qser_data_call_ip_family_e ip_family,
+ qser_data_call_info_s *info, qser_data_call_error_e *err)
+{
+ //UNUSED(profile_idx);
+ UNUSED(ip_family);
+ //UNUSED(info);
+ //UNUSED(err);
+
+ if(info == NULL || err == NULL)
+ {
+ LOGE("[qser_data] info or err is NULL.");
+ if(err != NULL)
+ {
+ *err = QSER_DATA_CALL_ERROR_INVALID_PARAMS;
+ }
+ return QSER_RESULT_FAIL;
+ }
+
+ if(qser_info_handle == NULL)
+ {
+ LOGE("[qser_data] handle is NULL.");
+ *err = QSER_DATA_CALL_ERROR_NO_INIT;
+ return QSER_RESULT_FAIL;
+ }
+
+ int ret = -1;
+ mbtk_ipv4_info_t ipv4;
+ mbtk_ipv6_info_t ipv6;
+#ifdef QSER_TEST
+ char v4_buff[32] = {0};
+ char v6_buff[128] = {0};
+#endif
+ memset(info, 0, sizeof(qser_data_call_info_s));
+ ret = mbtk_data_call_state_get(qser_info_handle, profile_idx + 1, &ipv4, &ipv6);
+ if(ret != 0)
+ {
+ LOGE("[qser_data] mbtk_data_call_state_get fail.[ret = %d]", ret);
+ if(ret == MBTK_INFO_ERR_CID_NO_EXIST)
+ {
+ *err = QSER_DATA_CALL_ERROR_PDP_NO_ACTIVATE;
+ }
+ else
+ {
+ *err = QSER_DATA_CALL_ERROR_UNKNOWN;
+ }
+ return QSER_RESULT_FAIL;
+ }
+ else
+ {
+ info->profile_idx = profile_idx;
+ if(ipv4.valid)
+ {
+ info->ip_family = QSER_DATA_CALL_TYPE_IPV4;
+ info->v4.state = QSER_DATA_CALL_CONNECTED;
+ sprintf(info->v4.name, "ccinet%d", profile_idx);
+ info->v4.addr.ip.s_addr = ipv4.IPAddr;
+ info->v4.addr.pri_dns.s_addr = ipv4.PrimaryDNS;
+ info->v4.addr.sec_dns.s_addr = ipv4.SecondaryDNS;
+ info->v4.reconnect = 1;
+
+#ifdef QSER_TEST
+ //LOGE("[qser_data] IP: %x pri_DNS: %x sec_DNS: %x.", ipv4.IPAddr, ipv4.PrimaryDNS, ipv4.SecondaryDNS);
+ if(inet_ntop(AF_INET, &(info->v4.addr.ip), v4_buff, 32) == NULL) {
+ LOGE("[qser_data] IP error.");
+ } else {
+ LOGE("[qser_data] IP : %s", v4_buff);
+ }
+ if(inet_ntop(AF_INET, &(info->v4.addr.pri_dns), v4_buff, 32) == NULL) {
+ LOGE("[qser_data] PrimaryDNS error.");
+ } else {
+ LOGE("[qser_data] PrimaryDNS : %s", v4_buff);
+ }
+ if(inet_ntop(AF_INET, &(info->v4.addr.sec_dns), v4_buff, 32) == NULL) {
+ LOGE("[qser_data] SecondaryDNS error.");
+ } else {
+ LOGE("[qser_data] SecondaryDNS : %s", v4_buff);
+ }
+#endif
+ }
+
+ if(ipv6.valid)
+ {
+ info->ip_family = QSER_DATA_CALL_TYPE_IPV6;
+ info->v6.state = QSER_DATA_CALL_CONNECTED;
+ sprintf(info->v6.name, "ccinet%d", profile_idx);
+ memcpy(&(info->v6.addr.ip), &(ipv6.IPV6Addr), sizeof(ipv6.IPV6Addr));
+ memcpy(&(info->v6.addr.pri_dns), &(ipv6.PrimaryDNS), sizeof(ipv6.PrimaryDNS));
+ memcpy(&(info->v6.addr.sec_dns), &(ipv6.SecondaryDNS), sizeof(ipv6.SecondaryDNS));
+ info->v6.reconnect = 1;
+
+#ifdef QSER_TEST
+ if(ipv6_2_str(&(info->v6.addr.ip), v6_buff))
+ {
+ LOGE("[qser_data] IP error.");
+ } else {
+ LOGE("[qser_data] IP : %s", v6_buff);
+ }
+ if(ipv6_2_str(&(info->v6.addr.pri_dns), v6_buff))
+ {
+ LOGE("[qser_data] PrimaryDNS error.");
+ } else {
+ LOGE("[qser_data] PrimaryDNS : %s", v6_buff);
+ }
+ if(ipv6_2_str(&(info->v6.addr.sec_dns), v6_buff))
+ {
+ LOGE("[qser_data] SecondaryDNS error.");
+ } else {
+ LOGE("[qser_data] SecondaryDNS : %s", v6_buff);
+ }
+#endif
+ }
+
+ if(ipv4.valid && ipv6.valid)
+ {
+ info->ip_family = QSER_DATA_CALL_TYPE_IPV4V6;
+ }
+
+ if(!ipv4.valid && !ipv6.valid)
+ {
+ info->v4.state = QSER_DATA_CALL_DISCONNECTED;
+ info->v6.state = QSER_DATA_CALL_DISCONNECTED;
+ }
+ }
+
+ *err = QSER_DATA_CALL_ERROR_NONE;
+ return QSER_RESULT_SUCCESS;
+}
+
+int qser_apn_set(qser_apn_info_s *apn)
+{
+ //UNUSED(apn);
+ if(qser_info_handle == NULL)
+ {
+ LOGE("[qser_data] handle is NULL.");
+ return QSER_RESULT_FAIL;
+ }
+
+ if(apn == NULL)
+ {
+ LOGE("[qser_data] apn param is NULL.");
+ return QSER_RESULT_FAIL;
+ }
+
+ if(strlen(apn->apn_name) > QSER_APN_NAME_MAX_LEN || strlen(apn->username) > QSER_APN_USER_MAX_LEN
+ || strlen(apn->password) > QSER_APN_PAWD_MAX_LEN || strlen(apn->apn_type) > QSER_APN_TYPE_MAX_LEN)
+ {
+ LOGE("[qser_data] apn length out of range.");
+ return QSER_RESULT_FAIL;
+ }
+
+ int ret = 0;
+ mbtk_qser_apn_info_s apninfo;
+ memset(&apninfo, 0x0, sizeof(mbtk_qser_apn_info_s));
+ apninfo.cid = apn->profile_idx + 1;
+
+ if(apn->pdp_type == QSER_APN_PDP_TYPE_IPV4)
+ {
+ apninfo.ip_type = MBTK_IP_TYPE_IP;
+ }
+ else if(apn->pdp_type == QSER_APN_PDP_TYPE_IPV6)
+ {
+ apninfo.ip_type = MBTK_IP_TYPE_IPV6;
+ }
+ else if(apn->pdp_type == QSER_APN_PDP_TYPE_IPV4V6)
+ {
+ apninfo.ip_type = MBTK_IP_TYPE_IPV4V6;
+ }
+ else if(apn->pdp_type == QSER_APN_PDP_TYPE_PPP)
+ {
+ apninfo.ip_type = MBTK_IP_TYPE_PPP;
+ }
+ else
+ {
+ LOGE("[qser_data] pdp_type error.");
+ return QSER_RESULT_FAIL;
+ }
+
+
+ apninfo.req_type = MBTK_APN_REQ_TYPE_SET;
+ apninfo.auth_proto = (mbtk_apn_auth_proto_enum)apn->auth_proto;
+ if(strlen(apn->apn_name))
+ {
+ memcpy(apninfo.apn_name, apn->apn_name, strlen(apn->apn_name));
+ }
+ else
+ {
+ LOGE("[qser_data] apn_name is NULL.");
+ return QSER_RESULT_FAIL;
+ }
+ if(strlen(apn->username))
+ {
+ memcpy(apninfo.user_name, apn->username, strlen(apn->username));
+ }
+ if(strlen(apn->password))
+ {
+ memcpy(apninfo.user_pass, apn->password, strlen(apn->password));
+ }
+ if(strlen(apn->apn_type))
+ {
+ memcpy(apninfo.apn_type, apn->apn_type, strlen(apn->apn_type));
+ }
+ ret = mbtk_qser_apn_set(qser_info_handle, &apninfo, NULL);
+ if(ret != 0)
+ {
+ LOGE("[qser_data] mbtk_qser_apn_set fail.");
+ return QSER_RESULT_FAIL;
+ }
+
+ return QSER_RESULT_SUCCESS;
+}
+
+int qser_apn_get(unsigned char profile_idx, qser_apn_info_s *apn)
+{
+ //UNUSED(profile_idx);
+ //UNUSED(apn);
+ if(qser_info_handle == NULL)
+ {
+ LOGE("[qser_data] handle is NULL.");
+ return QSER_RESULT_FAIL;
+ }
+
+ if(apn == NULL)
+ {
+ LOGE("[qser_data] apn param is NULL.");
+ return QSER_RESULT_FAIL;
+ }
+
+ //get apn info
+ mbtk_qser_apn_info_s apns[10] = {0};
+ int apn_num = 10;
+ int ret = mbtk_qser_apn_get(qser_info_handle, &apn_num, apns);
+ if(ret != 0)
+ {
+ LOGE("[qser_data] mbtk_apn_get fail. [ret = %d]",ret);
+ return QSER_RESULT_FAIL;
+ }
+ else
+ {
+ int i = 0;
+ for(i = 0; i < apn_num; i++)
+ {
+ if(apns[i].cid == profile_idx + 1)
+ {
+ LOGE("[qser_data] find IDX.");
+ break;
+ }
+ }
+
+ if(i == apn_num)
+ {
+ LOGE("[qser_data] not find IDX.[apn_num = %d]", apn_num);
+ return QSER_RESULT_FAIL;
+ }
+
+ if(qser_apn_info_param_convert(profile_idx, apn, &apns[i]) != 0)
+ {
+ LOGE("[qser_data] qser_apn_info_param_convert fail");
+ return QSER_RESULT_FAIL;
+ }
+ }
+ return QSER_RESULT_SUCCESS;
+}
+
+int qser_apn_add(qser_apn_add_s *apn, unsigned char *profile_idx)
+{
+ //UNUSED(apn);
+ //UNUSED(profile_idx);
+ if(qser_info_handle == NULL)
+ {
+ LOGE("[qser_data] handle is NULL.");
+ return QSER_RESULT_FAIL;
+ }
+
+ if(apn == NULL || profile_idx == NULL)
+ {
+ LOGE("[qser_data] apn param is NULL.");
+ return QSER_RESULT_FAIL;
+ }
+
+ if(strlen(apn->apn_name) > QSER_APN_NAME_MAX_LEN || strlen(apn->username) > QSER_APN_USER_MAX_LEN
+ || strlen(apn->password) > QSER_APN_PAWD_MAX_LEN || strlen(apn->apn_type) > QSER_APN_TYPE_MAX_LEN)
+ {
+ LOGE("[qser_data] apn length out of range.");
+ return QSER_RESULT_FAIL;
+ }
+
+ int ret = 0;
+ unsigned char idx[2] = {0};
+ mbtk_qser_apn_info_s apninfo;
+ memset(&apninfo, 0x0, sizeof(mbtk_qser_apn_info_s));
+ apninfo.cid = 0;
+
+ if(apn->pdp_type == QSER_APN_PDP_TYPE_IPV4)
+ {
+ apninfo.ip_type = MBTK_IP_TYPE_IP;
+ }
+ else if(apn->pdp_type == QSER_APN_PDP_TYPE_IPV6)
+ {
+ apninfo.ip_type = MBTK_IP_TYPE_IPV6;
+ }
+ else if(apn->pdp_type == QSER_APN_PDP_TYPE_IPV4V6)
+ {
+ apninfo.ip_type = MBTK_IP_TYPE_IPV4V6;
+ }
+ else if(apn->pdp_type == QSER_APN_PDP_TYPE_PPP)
+ {
+ apninfo.ip_type = MBTK_IP_TYPE_PPP;
+ }
+ else
+ {
+ LOGE("[qser_data] pdp_type error.");
+ return QSER_RESULT_FAIL;
+ }
+
+ apninfo.req_type = MBTK_APN_REQ_TYPE_ADD;
+ apninfo.auth_proto = (mbtk_apn_auth_proto_enum)apn->auth_proto;
+ if(strlen(apn->apn_name))
+ {
+ memcpy(apninfo.apn_name, apn->apn_name, strlen(apn->apn_name));
+ }
+
+ if(strlen(apn->username))
+ {
+ memcpy(apninfo.user_name, apn->username, strlen(apn->username));
+ }
+ if(strlen(apn->password))
+ {
+ memcpy(apninfo.user_pass, apn->password, strlen(apn->password));
+ }
+ if(strlen(apn->apn_type))
+ {
+ memcpy(apninfo.apn_type, apn->apn_type, strlen(apn->apn_type));
+ }
+ ret = mbtk_qser_apn_set(qser_info_handle, &apninfo, idx);
+ if(ret != 0)
+ {
+ LOGE("[qser_data] mbtk_qser_apn_set fail.");
+ return QSER_RESULT_FAIL;
+ }
+ *profile_idx = idx[0] - 1;
+ return QSER_RESULT_SUCCESS;
+}
+
+int qser_apn_del(unsigned char profile_idx)
+{
+ int ret = 0;
+ qser_apn_info_s qser_apn = {0};
+
+ //UNUSED(profile_idx);
+ if(qser_info_handle == NULL)
+ {
+ LOGE("[qser_data] handle is NULL.");
+ return QSER_RESULT_FAIL;
+ }
+
+ ret = qser_apn_get(profile_idx, &qser_apn);
+ if (ret < 0)
+ {
+ LOGE("[qser_data] mbtk_apn_del idx no find!");
+ return QSER_RESULT_FAIL;
+ }
+
+ ret = mbtk_apn_del(qser_info_handle, profile_idx);
+ if(ret < 0)
+ {
+ LOGE("[qser_data] mbtk_apn_del fail!");
+ return QSER_RESULT_FAIL;
+ }
+ return QSER_RESULT_SUCCESS;
+}
+
+int qser_apn_get_list(qser_apn_info_list_s *apn_list)
+{
+ //UNUSED(apn_list);
+
+ if(qser_info_handle == NULL)
+ {
+ LOGE("[qser_data] handle is NULL.");
+ return QSER_RESULT_FAIL;
+ }
+
+ if(apn_list == NULL)
+ {
+ LOGE("[qser_data] apn_list param is NULL.");
+ return QSER_RESULT_FAIL;
+ }
+
+ mbtk_qser_apn_info_s apns[10] = {0};
+ int apn_num = 10;
+ int ret = mbtk_qser_apn_get(qser_info_handle, &apn_num, apns);
+ if(ret != 0)
+ {
+ if(ret == MBTK_INFO_ERR_NO_APN)
+ {
+ apn_list->cnt = 0;
+ return QSER_RESULT_SUCCESS;
+ }
+ LOGE("[qser_data] mbtk_apn_get fail. [ret = %d]",ret);
+ return QSER_RESULT_FAIL;
+ }
+ else
+ {
+ if(apn_num > 0 && apn_num <= QSER_APN_MAX_LIST)
+ {
+ int i = 0;
+ apn_list->cnt = 0;
+ for(i = 0; i < apn_num; i++)
+ {
+ if(qser_apn_info_param_convert(apns[i].cid - 1, &apn_list->apn[apn_list->cnt], &apns[i]) != 0)
+ {
+ LOGE("[qser_data] qser_apn_info_param_convert fail");
+ return QSER_RESULT_FAIL;
+ }
+ apn_list->cnt++;
+ }
+ }
+ else if(apn_num > QSER_APN_MAX_LIST)
+ {
+ LOGE("[qser_data] apn_num overlong");
+ return QSER_RESULT_FAIL;
+ }
+ else
+ {
+ apn_list->cnt = 0;
+ }
+ }
+ return QSER_RESULT_SUCCESS;
+}
+/****************************API***************************************/
+
diff --git a/mbtk/liblynq_lib/lynq_fota.c b/mbtk/liblynq_lib/lynq_fota.c
new file mode 100755
index 0000000..9b12656
--- /dev/null
+++ b/mbtk/liblynq_lib/lynq_fota.c
@@ -0,0 +1,113 @@
+#include "lynq-qser-fota.h"
+#include "mbtk_type.h"
+#include "mbtk_fota.h"
+#include "mbtk_log.h"
+
+
+char addr_buf[128]={0};
+int segment_size =0;
+
+
+int Process_flag = 0;
+
+
+int fota_cb(int status, int percent)
+{
+ LOGE("%d: percent: %d%%\n", percent/10, percent);
+ Process_flag = percent/10;
+ return 0;
+}
+
+int lynq_read_process(void)
+{
+ return Process_flag;
+}
+
+int lynq_rock_main(int first_run)
+{
+ UNUSED(first_run);
+ LOGE("%s, %d", __FUNCTION__, __LINE__);
+ int ret = 0;
+
+ LOGE("addr_buf:%s, segment_size:%d\n", addr_buf, segment_size);
+ ret = mbtk_fota_init(fota_cb);
+ if(strncmp(addr_buf, "http", 4) == 0)
+ {
+
+ ret = mbtk_fota_fw_write_by_url(addr_buf, segment_size,10, 600);
+ }
+ else
+ {
+ ret =mbtk_fota_fw_write(addr_buf, segment_size);
+ }
+
+ if(ret)
+ {
+ LOGE("lynq_rock_main fail\n");
+ return -1;
+ }
+
+ mbtk_fota_done1(1);
+
+
+ return 0;
+}
+
+int lynq_fota_set_addr_value(char *value,int size)
+{
+ UNUSED(value);
+ UNUSED(size);
+ LOGE("%s, %d", __FUNCTION__, __LINE__);
+
+ if(value == NULL)
+ {
+ return -1;
+ }
+
+ memset(addr_buf, 0, sizeof(addr_buf));
+ memcpy(addr_buf, value, strlen(value));
+ segment_size = size;
+
+ LOGE("addr_buf:%s, value:%s\n", addr_buf, value);
+ LOGE("segment_size:%d, size:%d\n", segment_size, size);
+
+ return 0;
+}
+
+int lynq_fota_nrestart(void)
+{
+ LOGE("%s, %d", __FUNCTION__, __LINE__);
+ int ret = 0;
+
+ LOGE("addr_buf:%s", addr_buf);
+ ret = mbtk_fota_init(fota_cb);
+ if(strncmp(addr_buf, "http", 4) == 0)
+ {
+ ret = mbtk_fota_fw_write_by_url(addr_buf, segment_size,10, 600);
+ }
+ else
+ {
+ ret =mbtk_fota_fw_write(addr_buf, segment_size);
+ }
+
+ if(ret)
+ {
+ LOGE("lynq_fota_nrestart fail\n");
+ return -1;
+ }
+
+ return 0;
+}
+
+int lynq_get_upgrade_status(void)
+{
+ LOGE("%s, %d", __FUNCTION__, __LINE__);
+
+ return mbtk_fota_status();
+}
+
+int lynq_get_reboot_upgrade_status(void)
+{
+ return mbtk_fota_get_asr_reboot_cnt_flag();
+}
+
diff --git a/mbtk/liblynq_lib/lynq_gnss.c b/mbtk/liblynq_lib/lynq_gnss.c
new file mode 100755
index 0000000..37b3074
--- /dev/null
+++ b/mbtk/liblynq_lib/lynq_gnss.c
@@ -0,0 +1,519 @@
+#include <time.h>
+#include <pthread.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+
+#include "lynq_gnss.h"
+
+#define QSER_RESULT_SUCCESS 0
+#define QSER_RESULT_FAIL -1
+#define QSER_GNSS_TIMEOUT 5
+#define QSER_AGNSS_DOWNLOAD_TIMEPUT 60
+#define QSER_AGNSS_INJECT_TIMEOUT 20
+
+/**********************************VARIABLE***********************************/
+static bool inited = FALSE;
+static uint32_t qser_h_gnss = 0x5F6F7F8F;
+gnss_handler_func_t qser_gnss_callback = NULL;
+static time_t qser_gnss_time = 0;
+qser_agps_info qser_agps_info_save = {0};
+gnss_async_func_t qser_gnss_async_callback = NULL;
+
+extern long timezone;
+/**********************************VARIABLE***********************************/
+
+/**********************************FUNC***********************************/
+static void qser_gnss_async_set_cb(gnss_async_func_t cb)
+{
+ qser_gnss_async_callback = cb;
+}
+
+static gnss_async_func_t qser_gnss_async_get_cb(void)
+{
+ return qser_gnss_async_callback;
+}
+
+
+static time_t qser_get_timestamp(char *time)
+{
+ char tmp_char[4] = {0};
+ struct tm* tmp_time = (struct tm*)malloc(sizeof(struct tm));
+
+ memset(tmp_time, 0, sizeof(struct tm));
+ memset(tmp_char, 0, sizeof(tmp_char));
+ memcpy(tmp_char, &time[4], 2);
+ tmp_time->tm_sec = atoi(tmp_char);
+ memcpy(tmp_char, &time[2], 2);
+ tmp_time->tm_min = atoi(tmp_char);
+ memcpy(tmp_char, &time[0], 2);
+ tmp_time->tm_hour = atoi(tmp_char);
+ memcpy(tmp_char, &time[6], 2);
+ tmp_time->tm_mday = atoi(tmp_char);
+ memcpy(tmp_char, &time[8], 2);
+ tmp_time->tm_mon = atoi(tmp_char) - 1;
+ memcpy(tmp_char, &time[10], 2);
+ tmp_time->tm_year = 100 + atoi(tmp_char);
+
+ time_t _t = mktime(tmp_time);//按当地时区解析tmp_time
+ //gnss_log("timestamp: %ld\n",_t);
+ tzset(); // 自动设置本地时区
+ _t = _t - timezone;
+ //gnss_log("timestamp: %ld\n",_t);
+
+ free(tmp_time);
+ return _t;
+}
+
+static time_t qser_get_gnss_time_sec(const void *data, int data_len)
+{
+ int i = 0, num = 0;
+ const char *nmea = (const char *)data;
+ char time[15] = {0};
+ char *check_state = NULL;
+
+ //$GNRMC,024142.000,A,3039.364421,N,10403.417935,E,0.051,0.00,030124,,E,A*00
+ check_state = strstr(nmea, "RMC");
+ if(check_state != NULL)
+ {
+ for(i = 0; i < data_len; i++)
+ {
+ if(check_state[i] == ',')
+ {
+ num++;
+ i++;
+ if(num == 1)//get time
+ {
+ if(check_state[i] >= '0' && check_state[i] <= '9')
+ {
+ memcpy(time, check_state + i, 6);
+ //LOGE("[qser_gnss] %s.", time);
+ }
+ else
+ {
+ qser_gnss_time = 0;
+ return qser_gnss_time;
+ }
+ }
+ else if(num == 9)//get date
+ {
+ if(check_state[i] >= '0' && check_state[i] <= '9')
+ {
+ memcpy(time + 6, check_state + i, 6);
+ //LOGE("[qser_gnss] %s.", time);
+ break;
+ }
+ else
+ {
+ qser_gnss_time = 0;
+ return qser_gnss_time;
+ }
+ }
+ else if(num > 9)
+ {
+ qser_gnss_time = 0;
+ return qser_gnss_time;
+ }
+ }
+ }
+
+ qser_gnss_time = qser_get_timestamp(time);
+ }
+
+ return qser_gnss_time;
+}
+
+static void* gnss_async_thread(void* arg)
+{
+ qser_gnss_error_e state = QSER_GNSS_ERROR_SUCCESS;
+ gnss_async_func_t cb = qser_gnss_async_get_cb();
+ int ret = qser_Gnss_Start(qser_h_gnss);
+ if(ret != QSER_RESULT_SUCCESS)
+ {
+ LOGE("[qser_gnss] gnss_async_thread() fail.");
+ state = QSER_GNSS_ERROR_FAIL;
+ }
+
+ if(cb != NULL)
+ {
+ cb(state);
+ }
+ return NULL;
+}
+
+static void gnss_callback(uint32 ind_type, const void* data, uint32 data_len)
+{
+ if(data == NULL || data_len <= 0)
+ {
+ LOGE("[qser_gnss] data is NULL.");
+ return;
+ }
+
+ if(qser_gnss_callback == NULL)
+ {
+ //LOGE("[qser_gnss] qser_gnss_callback is NULL.");
+ return;
+ }
+
+ if(ind_type == MBTK_GNSS_IND_LOCATION) {
+ if(data_len != sizeof(mbtk_gnss_location_info_t))
+ {
+ LOGE("[qser_gnss] data size error");
+ return;
+ }
+ mbtk_gnss_location_info_t *locl_info = (mbtk_gnss_location_info_t *)data;
+ mopen_location_info_t qser_locl_info;
+ memset(&qser_locl_info, 0x0, sizeof(mopen_location_info_t));
+ qser_locl_info.latitude = locl_info->latitude;
+ qser_locl_info.longitude = locl_info->longitude;
+ qser_locl_info.altitude = locl_info->altitude;
+ qser_locl_info.speed = locl_info->speed;
+ qser_locl_info.bearing = locl_info->bearing;
+ qser_locl_info.timestamp = locl_info->timestamp;
+ qser_gnss_callback(NULL, E_MT_LOC_MSG_ID_LOCATION_INFO, (void *)(&qser_locl_info), NULL);
+ } else if(ind_type == MBTK_GNSS_IND_NMEA) {
+ mopen_gnss_nmea_info_t qser_nmea = {0};
+ memset(&qser_nmea, 0x0, sizeof(mopen_gnss_nmea_info_t));
+ qser_nmea.length = data_len;
+ memcpy(qser_nmea.nmea, (char *)data, data_len);
+ qser_nmea.timestamp = qser_get_gnss_time_sec(data, data_len);
+ qser_gnss_callback(NULL, E_MT_LOC_MSG_ID_NMEA_INFO, (void *)(&qser_nmea), NULL);
+ } else {
+ printf("Unknown IND : %d\n", ind_type);
+ }
+}
+
+
+/**********************************FUNC***********************************/
+
+/**********************************API***********************************/
+int qser_Gnss_Init (uint32_t *h_gnss)
+{
+ //UNUSED(h_gnss);
+ gnss_err_enum ret = GNSS_ERR_UNKNOWN;
+
+ if(!inited)
+ {
+ ret = mbtk_gnss_init(gnss_callback);
+ if(ret == GNSS_ERR_OK)
+ {
+ ret = mbtk_gnss_ind_set(MBTK_GNSS_IND_NMEA, QSER_GNSS_TIMEOUT);
+ if(ret == GNSS_ERR_OK)
+ {
+ inited = TRUE;
+ }
+ else
+ {
+ LOGE("[qser_gnss] init mbtk_gnss_ind_set() fail.ret = [%d]", ret);
+ return QSER_RESULT_FAIL;
+ }
+ }
+ else
+ {
+ LOGE("[qser_gnss] mbtk_gnss_init() fail.ret = [%d]", ret);
+ return QSER_RESULT_FAIL;
+ }
+ }
+ *h_gnss = qser_h_gnss;
+
+ return QSER_RESULT_SUCCESS;
+}
+
+int qser_Gnss_Deinit (uint32_t h_gnss)
+{
+ //UNUSED(h_gnss);
+ if(h_gnss != qser_h_gnss)
+ {
+ LOGE("[qser_gnss] h_gnss is error.");
+ return QSER_RESULT_FAIL;
+ }
+
+ gnss_err_enum ret = GNSS_ERR_UNKNOWN;
+
+ if(inited)
+ {
+ ret = mbtk_gnss_deinit();
+ if(ret == GNSS_ERR_OK)
+ {
+ inited = FALSE;
+ }
+ else
+ {
+ LOGE("[qser_gnss] mbtk_gnss_init() fail.ret = [%d]", ret);
+ return QSER_RESULT_FAIL;
+ }
+ }
+
+ return QSER_RESULT_SUCCESS;
+}
+
+int qser_AddRxIndMsgHandler (gnss_handler_func_t handler_ptr,uint32_t h_gnss)
+{
+ //UNUSED(handler_ptr);
+ //UNUSED(h_gnss);
+ if(h_gnss != qser_h_gnss)
+ {
+ LOGE("[qser_gnss] h_gnss is error.");
+ return QSER_RESULT_FAIL;
+ }
+
+ if(handler_ptr == NULL)
+ {
+ LOGE("[qser_gnss] handler_ptr is NULL.");
+ return QSER_RESULT_FAIL;
+ }
+
+ qser_gnss_callback = handler_ptr;
+ return QSER_RESULT_SUCCESS;
+}
+
+int qser_Set_Indications (uint32_t h_gnss,e_msg_id_t type)
+{
+ //UNUSED(h_gnss);
+ //UNUSED(type);
+ if(h_gnss != qser_h_gnss)
+ {
+ LOGE("[qser_gnss] h_gnss is error.");
+ return QSER_RESULT_FAIL;
+ }
+
+ gnss_err_enum ret = GNSS_ERR_OK;
+ if(type == E_MT_LOC_MSG_ID_LOCATION_INFO)
+ {
+ ret = mbtk_gnss_ind_set(MBTK_GNSS_IND_LOCATION, QSER_GNSS_TIMEOUT);
+ }
+ else if(type == E_MT_LOC_MSG_ID_NMEA_INFO)
+ {
+ ret = mbtk_gnss_ind_set(MBTK_GNSS_IND_NMEA, QSER_GNSS_TIMEOUT);
+ }
+ else
+ {
+ LOGE("[qser_gnss] type is fail.");
+ return QSER_RESULT_FAIL;
+ }
+
+ if(ret != GNSS_ERR_OK)
+ {
+ LOGE("[qser_gnss] mbtk_gnss_ind_set() fail.ret = [%d]", ret);
+ return QSER_RESULT_FAIL;
+ }
+ return QSER_RESULT_SUCCESS;
+}
+
+int qser_Gnss_Set_Async_Callback(gnss_async_func_t cb)
+{
+ qser_gnss_async_set_cb(cb);
+ return QSER_RESULT_SUCCESS;
+}
+
+int qser_Gnss_Start (uint32_t h_gnss)
+{
+ //UNUSED(h_gnss);
+ if(h_gnss != qser_h_gnss)
+ {
+ LOGE("[qser_gnss] h_gnss is error.");
+ return QSER_RESULT_FAIL;
+ }
+
+ gnss_err_enum ret = GNSS_ERR_UNKNOWN;
+
+ ret = mbtk_gnss_open(255, QSER_GNSS_TIMEOUT);
+ if(ret != GNSS_ERR_OK)
+ {
+ LOGE("[qser_gnss] mbtk_gnss_open is error.ret = [%d]", ret);
+ return QSER_RESULT_FAIL;
+ }
+
+ return QSER_RESULT_SUCCESS;
+}
+
+int qser_Gnss_Start_Async(uint32_t h_gnss)
+{
+ //UNUSED(h_gnss);
+ if(h_gnss != qser_h_gnss)
+ {
+ LOGE("[qser_gnss] h_gnss is error.");
+ return QSER_RESULT_FAIL;
+ }
+
+ pthread_attr_t thread_attr;
+ pthread_t gnss_thread_id;
+ pthread_attr_init(&thread_attr);
+ if(pthread_attr_setdetachstate(&thread_attr, PTHREAD_CREATE_DETACHED))
+ {
+ LOGE("[qser_gnss] pthread_attr_setdetachstate() fail.");
+ return QSER_RESULT_FAIL;
+ }
+
+ //memcpy(&qser_data_backup, data_call, sizeof(qser_data_call_s));
+ if(pthread_create(&gnss_thread_id, &thread_attr, gnss_async_thread, NULL))
+ {
+ LOGE("[qser_gnss] pthread_create() fail.");
+ return QSER_RESULT_FAIL;
+ }
+ pthread_attr_destroy(&thread_attr);
+
+ return QSER_RESULT_SUCCESS;
+}
+
+int qser_Gnss_Stop (uint32_t h_gnss)
+{
+ //UNUSED(h_gnss);
+ if(h_gnss != qser_h_gnss)
+ {
+ LOGE("[qser_gnss] h_gnss is error.");
+ return QSER_RESULT_FAIL;
+ }
+
+ gnss_err_enum ret = GNSS_ERR_UNKNOWN;
+ ret = mbtk_gnss_close(QSER_GNSS_TIMEOUT);
+ if(ret != GNSS_ERR_OK)
+ {
+ LOGE("[qser_gnss] mbtk_gnss_close is error.ret = [%d]", ret);
+ return QSER_RESULT_FAIL;
+ }
+
+ return QSER_RESULT_SUCCESS;
+}
+
+int qser_Gnss_InjectTime (uint32_t h_gnss,LYNQ_INJECT_TIME_INTO_T *time_info)
+{
+ //UNUSED(h_gnss);
+ UNUSED(time_info);
+
+ if(h_gnss != qser_h_gnss)
+ {
+ LOGE("[qser_gnss] h_gnss is error.");
+ return QSER_RESULT_FAIL;
+ }
+ return QSER_RESULT_SUCCESS;
+}
+
+int qser_Gnss_Delete_Aiding_Data (uint32_t h_gnss,DELETE_AIDING_DATA_TYPE_T flags)
+{
+ //UNUSED(h_gnss);
+ //UNUSED(flags);
+
+ if(h_gnss != qser_h_gnss)
+ {
+ LOGE("[qser_gnss] h_gnss is error.");
+ return QSER_RESULT_FAIL;
+ }
+ return QSER_RESULT_SUCCESS;
+}
+
+int qser_Gnss_Server_Configuration(char *host, char *id, char *password)
+{
+ //UNUSED(host);
+ //UNUSED(id);
+ //UNUSED(password);
+
+ if(!inited)
+ {
+ LOGE("[qser_gnss] api not init.");
+ return QSER_RESULT_FAIL;
+ }
+
+ memset(qser_agps_info_save.host, 0x0, QSER_LEN_MAX);
+ if(host != NULL && strlen(host) > 0 && strlen(host) < QSER_LEN_MAX)
+ {
+ memcpy(qser_agps_info_save.host, host, strlen(host));
+ }
+
+ memset(qser_agps_info_save.id, 0x0, QSER_LEN_MAX);
+ if(id != NULL && strlen(id) > 0 && strlen(id) < QSER_LEN_MAX)
+ {
+ memcpy(qser_agps_info_save.id, id, strlen(id));
+ }
+
+ memset(qser_agps_info_save.passwd, 0x0, QSER_LEN_MAX);
+ if(password != NULL && strlen(password) > 0 && strlen(password) < QSER_LEN_MAX)
+ {
+ memcpy(qser_agps_info_save.passwd, password, strlen(password));
+ }
+
+ gnss_err_enum ret = GNSS_ERR_UNKNOWN;
+ char write_buff[512] = {0};
+// int write_length = 0;
+ snprintf(write_buff, 512, "$AGPSCFG,%s,%s,%s", strlen(qser_agps_info_save.host) > 0 ? qser_agps_info_save.host : "NULL",
+ strlen(qser_agps_info_save.id) > 0 ? qser_agps_info_save.id : "NULL",
+ strlen(qser_agps_info_save.passwd) > 0 ? qser_agps_info_save.passwd : "NULL");
+ ret = mbtk_gnss_setting(write_buff, QSER_GNSS_TIMEOUT);
+ if(ret != GNSS_ERR_OK)
+ {
+ LOGE("[qser_gnss] mbtk_gnss_setting fail.ret = [%d]", ret);
+ return QSER_RESULT_FAIL;
+ }
+ return QSER_RESULT_SUCCESS;
+}
+
+int qser_Gnss_download_tle()
+{
+ if(!inited)
+ {
+ LOGE("[qser_gnss] api not init.");
+ return QSER_RESULT_FAIL;
+ }
+
+ gnss_err_enum ret = GNSS_ERR_UNKNOWN;
+ ret = mbtk_gnss_eph_download(QSER_AGNSS_DOWNLOAD_TIMEPUT);
+ if(ret != GNSS_ERR_OK)
+ {
+ LOGE("[qser_gnss] mbtk_gnss_eph_download fail.ret = [%d]", ret);
+ return QSER_RESULT_FAIL;
+ }
+ return QSER_RESULT_SUCCESS;
+}
+
+int qser_Gnss_injectEphemeris(uint32_t h_gnss)
+{
+ //UNUSED(h_gnss);
+
+ if(h_gnss != qser_h_gnss)
+ {
+ LOGE("[qser_gnss] h_gnss is error.");
+ return QSER_RESULT_FAIL;
+ }
+
+ gnss_err_enum ret = GNSS_ERR_UNKNOWN;
+ ret = mbtk_gnss_eph_inject(QSER_AGNSS_INJECT_TIMEOUT);
+ if(ret != GNSS_ERR_OK)
+ {
+ LOGE("[qser_gnss] mbtk_gnss_eph_inject fail.ret = [%d]", ret);
+ return QSER_RESULT_FAIL;
+ }
+ return QSER_RESULT_SUCCESS;
+}
+
+int qser_Gnss_Set_Frequency(uint32_t h_gnss, int frequency)
+{
+ //UNUSED(h_gnss);
+ //UNUSED(frequency);
+
+ if(h_gnss != qser_h_gnss)
+ {
+ LOGE("[qser_gnss] h_gnss is error.");
+ return QSER_RESULT_FAIL;
+ }
+
+ if(frequency != 1 && frequency != 2 && frequency != 5)
+ {
+ LOGE("[qser_gnss] frequency out of range.");
+ return QSER_RESULT_FAIL;
+ }
+
+ gnss_err_enum ret = GNSS_ERR_UNKNOWN;
+ char param_buf[32] = {0};
+// int length = 0;
+ snprintf(param_buf, 32, "$FREQCFG,%d", frequency);
+ ret = mbtk_gnss_setting(param_buf, QSER_GNSS_TIMEOUT);
+ if(ret != GNSS_ERR_OK)
+ {
+ LOGE("[qser_gnss] mbtk_gnss_setting fail.ret = [%d]", ret);
+ return QSER_RESULT_FAIL;
+ }
+ return QSER_RESULT_SUCCESS;
+}
+/**********************************API***********************************/
+
+
diff --git a/mbtk/liblynq_lib/lynq_gpio.c b/mbtk/liblynq_lib/lynq_gpio.c
new file mode 100755
index 0000000..ae6ee19
--- /dev/null
+++ b/mbtk/liblynq_lib/lynq_gpio.c
@@ -0,0 +1,337 @@
+#include "mbtk_type.h"
+#include "lynq-gpio.h"
+#include "unistd.h"
+#include "fcntl.h"
+#include "mbtk_log.h"
+
+#include <errno.h>
+static int gpio_export(int gpio)
+{
+// int index=0;
+ int file=-1;
+ int result =-1;
+ char pin_index_buffer[5]= {0};
+
+ char buffer[50];
+ memset(buffer,0,50);
+ sprintf(buffer,"/sys/class/gpio/gpio%d/direction", gpio);
+ if(access(buffer , F_OK) == 0)
+ {
+ LOGD("%d has export.", gpio);
+ return 0;
+ }
+
+ file = open("/sys/class/gpio/export",O_WRONLY);
+ if(file == -1)
+ {
+ LOGE("Open gpio export file fail.");
+ return -1;
+ }
+
+ memset(pin_index_buffer,0,5);
+ sprintf(pin_index_buffer,"%d", gpio);
+ result = write(file,pin_index_buffer,strlen(pin_index_buffer));
+ if(result < 0)
+ {
+ LOGE("Gpio[%d] export fail. err = %d", gpio, errno);
+ close(file);
+ return -1;
+ }
+ close(file);
+
+ return 0;
+}
+
+static int gpio_unexport(int gpio)
+{
+// int index=0;
+ int file=-1;
+ int result =-1;
+ char pin_index_buffer[5]= {0};
+ char buffer[50];
+ memset(buffer,0,50);
+ sprintf(buffer,"/sys/class/gpio/gpio%d/direction", gpio);
+ if(access(buffer , F_OK) == -1)
+ {
+ LOGD("%d not export.", gpio);
+ return 0;
+ }
+
+ file = open("/sys/class/gpio/unexport",O_WRONLY);
+ if(file == -1)
+ {
+ LOGE("Open gpio unexport file fail.");
+ return -1;
+ }
+
+ memset(pin_index_buffer,0,5);
+ sprintf(pin_index_buffer,"%d", gpio);
+ result=write(file,pin_index_buffer,strlen(pin_index_buffer));
+ if(result < 0)
+ {
+ close(file);
+ LOGE("Gpio[%d] unexport fail.", gpio);
+ return -1;
+ }
+ close(file);
+
+ return 0;
+}
+
+#if 0
+static int gpio_direct_get(int gpio, char *value, int value_size)
+{
+ char buffer[50]= {0};
+ int file =-1;
+ int result =-1;
+
+ memset(buffer,0,50);
+ sprintf(buffer,"/sys/class/gpio/gpio%d/direction", gpio);
+ file = open(buffer, O_RDONLY);
+ if(file == -1)
+ {
+ LOGE("Open gpio[%d] direct fail.", gpio);
+ return -1;
+ }
+
+ memset(value, 0x0, value_size);
+ result = read(file,value,value_size);
+ if(result <= 0)
+ {
+ LOGE("Get gpio[%d] direct fail.", gpio);
+ close(file);
+ return -1;
+ }
+ close(file);
+
+ return 0;
+}
+#endif
+
+static int gpio_direct_set(int gpio, char *value)
+{
+ char buffer[50]= {0};
+ int file =-1;
+ int result =-1;
+
+ memset(buffer,0,50);
+ sprintf(buffer,"/sys/class/gpio/gpio%d/direction", gpio);
+ file = open(buffer, O_WRONLY);
+ if(file == -1)
+ {
+ LOGE("Open gpio[%d] direct fail.", gpio);
+ return -1;
+ }
+
+ result = write(file,value,strlen(value));
+ if(result != strlen(value))
+ {
+ LOGE("Set gpio[%d] direct fail.", gpio);
+ close(file);
+ return -1;
+ }
+ close(file);
+
+ return 0;
+}
+
+static int gpio_value_get(int gpio)
+{
+ char buffer[50];
+ int fd =-1;
+
+ memset(buffer, 0, sizeof(buffer));
+ sprintf(buffer, "/sys/class/gpio/gpio%d/value", gpio);
+ fd = open(buffer, O_RDONLY);
+ if(fd == -1)
+ {
+ LOGE("Open gpio[%d] fail.", gpio);
+ return -1;
+ }
+
+ memset(buffer, 0, sizeof(buffer));
+ if(read(fd, buffer, sizeof(buffer)) <= 0)
+ {
+ LOGE("Get gpio[%d] value fail", gpio);
+ close(fd);
+ return -1;
+ }
+
+ close(fd);
+ return atoi(buffer);
+}
+
+static int gpio_value_set(int gpio, int value)
+{
+ char buffer[50]= {0};
+ int file =-1;
+ int result =-1;
+
+ memset(buffer,0,50);
+ sprintf(buffer,"/sys/class/gpio/gpio%d/value", gpio);
+ file = open(buffer,O_WRONLY);
+ if(file == -1)
+ {
+ LOGE("Open gpio[%d] value fail.", gpio);
+ return -1;
+ }
+ if(value == 0) {
+ result = write(file,"0",1);
+ } else {
+ result = write(file,"1",1);
+ }
+ if(result != 1)
+ {
+ LOGE("Set gpio[%d] value fail err =%d.", gpio, errno);
+ close(file);
+ return -1;
+ }
+ close(file);
+
+ return 0;
+}
+
+
+int lynq_gpio_init(int gpio, int direction, int value, int pullsel)
+{
+ //UNUSED(gpio);
+ //UNUSED(direction);
+ //UNUSED(value);
+ UNUSED(pullsel);
+
+ if (direction != 1 && direction != 0)
+ {
+ LOGE("[lynq_gpio_init] direction fail.");
+ return -1;
+ }
+
+ if (value != 1 && value != 0)
+ {
+ LOGE("[lynq_gpio_init] value fail.");
+ return -1;
+ }
+
+ if(gpio_export(gpio))
+ {
+ LOGE("[lynq_gpio_init]gpio_export fail.");
+ return -1;
+ }
+
+ if(gpio_direct_set(gpio, direction == 0 ? "in" : "out"))
+ {
+ LOGE("[lynq_gpio_init]gpio_direct_set fail.");
+ return -1;
+ }
+
+ if(direction == 1 && (gpio_value_set(gpio, value) != 0))
+ {
+ LOGE("[lynq_gpio_init]gpio_value_set fail.");
+ return -1;
+ }
+
+
+ return 0;
+}
+
+int lynq_gpio_deinit(int gpio)
+{
+ UNUSED(gpio);
+
+ if(gpio_unexport(gpio))
+ {
+ LOGE("[lynq_gpio_deinit]gpio_unexport fail.");
+ return -1;
+ }
+
+ return 0;
+}
+
+int lynq_gpio_direction_set(int gpio, int direction)
+{
+ //UNUSED(gpio);
+ //UNUSED(direction);
+
+ if(gpio_direct_set(gpio, direction == 0 ? "in" : "out"))
+ {
+ LOGE("[lynq_gpio_direction_set]gpio_direct_set fail.");
+ return -1;
+ }
+
+ return 0;
+}
+
+
+int lynq_gpio_value_set(int gpio, int value)
+{
+ //UNUSED(gpio);
+ //UNUSED(value);
+
+ if(gpio_value_set(gpio, value))
+ {
+ LOGE("[lynq_gpio_value_set]gpio_value_set fail.");
+ return -1;
+ }
+
+ return 0;
+}
+
+int lynq_gpio_value_get(int gpio)
+{
+ //UNUSED(gpio);
+ int ret = -1;
+
+ ret = gpio_value_get(gpio);
+ if (ret == -1)
+ {
+ LOGE("[lynq_gpio_value_get]gpio_value_get fail.");
+ return -1;
+ }
+
+ return ret;
+}
+
+int lynq_gpio_pullsel_set(int gpio, int pullsel)
+{
+ //UNUSED(gpio);
+ //UNUSED(pullsel);
+ int ret = -1;
+ int value_t;
+
+ if (pullsel == 1)
+ value_t = 0;
+ else if (pullsel == 2)
+ value_t = 1;
+ else
+ {
+ LOGE("[lynq_gpio_pullsel_set] value_t fail.");
+ return -1;
+ }
+
+ ret = gpio_value_set(gpio, value_t);
+ if(ret == -1)
+ {
+ LOGE("[lynq_gpio_pullsel_set]gpio_value_set() fail.");
+ return -1;
+ }
+
+ return ret;
+}
+
+
+int lynq_gpio_pullsel_get(int gpio)
+{
+ //UNUSED(gpio);
+ int ret = -1;
+
+ ret = gpio_value_get(gpio);
+ if (ret == -1)
+ {
+ LOGE("[lynq_gpio_pullsel_get]gpio_value_get() fail.");
+ return -1;
+ }
+
+ return ret + 1;
+}
+
+
+
diff --git a/mbtk/liblynq_lib/lynq_irq.c b/mbtk/liblynq_lib/lynq_irq.c
new file mode 100755
index 0000000..4e42e07
--- /dev/null
+++ b/mbtk/liblynq_lib/lynq_irq.c
@@ -0,0 +1,475 @@
+#include "lynq-irq.h"
+#include "mbtk_type.h"
+#include "mbtk_info_api.h"
+#include "mbtk_log.h"
+
+
+#include <ctype.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <pthread.h>
+
+// #define _GNU_SOURCE
+
+#include <errno.h>
+#include <fcntl.h>
+#include <limits.h>
+#include <poll.h>
+
+#include <sys/ioctl.h>
+#include <sys/stat.h>
+#include <sys/sysmacros.h>
+#include <sys/types.h>
+#include <unistd.h>
+
+
+struct libirq_info {
+ unsigned int line;
+ unsigned int type;
+ int wake;
+ int fd;
+ irq_handler handler;
+ unsigned int used;
+};
+
+struct libirq_context {
+ unsigned int inited;
+ int fd;
+ pthread_t th;
+ struct libirq_info info[SC_LIBIRQ_MAX];
+};
+static struct libirq_context irq_ctx = {0};
+
+#define irq_init() irq_ctx.inited
+#define line_used(l) irq_ctx.info[l].used
+#define irq_fd(l) irq_ctx.info[l].fd
+#define libirq_fd() irq_ctx.fd
+
+static void *libirq_loop(void *arg)
+{
+ unsigned int int_status = 0;
+ int fd = libirq_fd();
+ int ret = 0;
+ int i;
+
+ while(1) {
+ ret = ioctl(fd, SC_IRQ_GET_STATUS, &int_status);
+ if (ret < 0) {
+ LOGE("libirq_loop get status failed:%d", ret);
+ } else {
+/* printf("libirq_loop get status :0x%x\n", int_status); */
+ }
+
+ for (i=0; i<SC_LIBIRQ_MAX; i++) {
+ if ((int_status & (1<<i)) && line_used(i) && irq_ctx.info[i].handler) {
+ irq_ctx.info[i].handler();
+
+ ret = ioctl(fd, SC_IRQ_CLEAR_STATUS, 0);
+ if (ret < 0) {
+ LOGE("libirq_loop clear status failed:%d", ret);
+ }
+ }
+ }
+ }
+
+ return NULL;
+}
+
+static int libirq_init_thread(void)
+{
+ int ret = 0;
+ pthread_attr_t attribute;
+
+ pthread_attr_init(&attribute);
+ pthread_attr_setstacksize(&attribute, 32*1024);
+
+ ret = pthread_create(&irq_ctx.th, &attribute, libirq_loop, NULL);
+ if(ret) {
+ return ret;
+ }
+
+ return 0;
+}
+
+/*
+ * Add a handler for an interrupt line.
+ *
+ * line : The interrupt line
+ * handler : Function to be called when the IRQ occurs.
+ * trig_type : rising edge or fallling edge
+ *
+ * return 0 if succeed, others failed
+ */
+int sc_irq_install(unsigned int line, irq_handler handler, int trig_type)
+{
+ int fd;
+ struct libirq_info *info;
+ char *usr_name;
+ int ret = 0;
+
+ if ((line >= SC_LIBIRQ_MAX) || (handler == NULL) || (trig_type >= SC_LIBIRQ_TYPE_MAX))
+ return -EINVAL;
+
+ if (line_used(line))
+ return -EEXIST;
+
+ ret = asprintf(&usr_name, "%s%d", SC_IRQ_DEV, line);
+ if (ret < 0) {
+ return -ENOMEM;
+ }
+
+ fd = open(usr_name, O_RDWR);
+ if(fd < 0) {
+ free(usr_name);
+ return -ENODEV;
+ }
+ irq_fd(line) = fd;
+ free(usr_name);
+ info = &irq_ctx.info[line];
+ info->line = line;
+ info->type = trig_type;
+ info->handler = handler;
+
+ if (ioctl(fd, SC_IRQ_INSTALL, trig_type) < 0) {
+ return -EPERM;
+ }
+
+ line_used(line) = 1;
+
+ if (!irq_init()) {
+ ret = libirq_init_thread();
+ if (ret) {
+ LOGE("libirq_init_thread, err:%d", ret);
+ return ret;
+ }
+
+ libirq_fd() = fd;
+ irq_init() = 1;
+ }
+
+ return 0;
+}
+
+/*
+ * free an interrupt allocated with sc_irq_install.
+ *
+ * line : The interrupt line
+ *
+ * return 0 if succeed, others failed
+ */
+int sc_irq_uninstall(unsigned int line)
+{
+ int fd;
+
+ if (line >= SC_LIBIRQ_MAX)
+ return -EINVAL;
+
+ if (!line_used(line))
+ return -ENODEV;
+
+ if (ioctl(irq_fd(line), SC_IRQ_UNINSTALL, 0) < 0) {
+ return -EPERM;
+ }
+
+ fd = libirq_fd();
+ if (fd)
+ close(fd);
+
+ line_used(line) = 0;
+
+ return 0;
+}
+
+/*
+ * set the irq trigger type for an irq.
+ *
+ * line : The interrupt line
+ * trig_type : edge or level type
+ *
+ * return 0 if succeed, others failed
+ */
+int sc_irq_set_type(unsigned int line, int trig_type)
+{
+ struct libirq_info *info;
+
+ if ((line >= SC_LIBIRQ_MAX) || (trig_type >= SC_LIBIRQ_TYPE_MAX))
+ return -EINVAL;
+
+ if (!line_used(line))
+ return -EEXIST;
+
+ info = &irq_ctx.info[line];
+ //if (info->type != trig_type) {
+ if (ioctl(irq_fd(line), SC_IRQ_SET_TYPE, trig_type) < 0) {
+ return -EPERM;
+ }
+ //}
+
+ info->type = trig_type;
+
+ return 0;
+}
+
+/*
+ * get the irq trigger type for an irq.
+ *
+ * line : The interrupt line
+ * trig_type : edge or level type
+ *
+ * return 0 if succeed, others failed
+ */
+int sc_irq_get_type(unsigned int line, int *trig_type)
+{
+ struct libirq_info *info;
+
+ if ((line >= SC_LIBIRQ_MAX) || !trig_type)
+ return -EINVAL;
+
+ if (!line_used(line))
+ return -EEXIST;
+
+ info = &irq_ctx.info[line];
+ *trig_type = info->type;
+
+ return 0;
+}
+
+/*
+ * control irq power management wakeup.
+ *
+ * line : The interrupt line
+ * en : enable/disable power management wakeup
+ *
+ * return 0 if succeed, others failed
+ */
+int sc_irq_set_wake(unsigned int line, int en)
+{
+ struct libirq_info *info;
+
+ if (line >= SC_LIBIRQ_MAX)
+ return -EINVAL;
+
+ if (!line_used(line))
+ return -EEXIST;
+
+ info = &irq_ctx.info[line];
+ if (info->wake != en) {
+ if (ioctl(irq_fd(line), SC_IRQ_SET_WAKE, en) < 0) {
+ return -EPERM;
+ }
+ }
+
+ info->wake = en;
+
+ return 0;
+}
+
+/*
+ * get the irq awake status for an irq.
+ *
+ * line : The interrupt line
+ * en : enable/disable power management wakeup
+ *
+ * return 0 if succeed, others failed
+ */
+int sc_irq_get_wake(unsigned int line, int *en)
+{
+ struct libirq_info *info;
+ unsigned int wake;
+
+ if (line >= SC_LIBIRQ_MAX)
+ return -EINVAL;
+
+ if (!line_used(line))
+ return -EEXIST;
+
+ if (ioctl(irq_fd(line), SC_IRQ_GET_WAKE, &wake) < 0) {
+ return -EPERM;
+ }
+
+ info = &irq_ctx.info[line];
+ info->wake = wake;
+ *en = wake;
+
+ return 0;
+}
+
+
+
+
+/*****************************************
+* @brief:lynq_irq_install
+* @param count [IN]:2
+* @param sum [OUT]:NA
+* @return :success 0, failed other
+* @todo:NA
+* @see:NA
+* @warning:NA
+******************************************/
+
+int lynq_irq_install(int line, irq_handler irq_test_handler, trig_type_e trig_type)
+{
+ int ret;
+
+ if (trig_type != 0 && trig_type != 1)
+ {
+ LOGE("lynq_irq_install error trig_type:%d", trig_type);
+ return -1;
+ }
+
+ line = line-117;
+ if (line < 0)
+ {
+ LOGE("lynq_irq_install error line:%d", line);
+ return -1;
+ }
+
+ ret = sc_irq_install(line, irq_test_handler, trig_type);
+ if (ret != 0)
+ {
+ LOGE("do_install_irq failed, ret:%d", ret);
+ return ret;
+ }
+ return 0;
+}
+
+
+/*****************************************
+* @brief:lynq_irq_uninstall
+* @param count [IN]:2
+* @param sum [OUT]:NA
+* @return :success 0, failed other
+* @todo:NA
+* @see:NA
+* @warning:NA
+******************************************/
+
+int lynq_irq_uninstall(int line)
+{
+ int ret;
+
+ line = line-117;
+ ret = sc_irq_uninstall(line);
+ if (ret != 0)
+ {
+ LOGE("unistall failed, ret:%d", ret);
+ return ret;
+ }
+ LOGI("uninstall irq(%d) ok", line);
+ return 0;
+}
+
+
+/*****************************************
+* @brief:lynq_irq_set_type
+* @param count [IN]:2
+* @param sum [OUT]:NA
+* @return :success 0, failed other
+* @todo:NA
+* @see:NA
+* @warning:NA
+******************************************/
+int lynq_irq_set_type(int line, int trig_type)
+{
+ int ret;
+
+ if (trig_type != 0 && trig_type != 1)
+ {
+ LOGE("lynq_irq_set_type error trig_type:%d", trig_type);
+ return -1;
+ }
+
+ line = line-117;
+ ret = sc_irq_set_type(line, trig_type);
+ if (ret != 0)
+ {
+ LOGE("set_type failed, ret:%d", ret);
+ return ret;
+ }
+ return 0;
+
+}
+
+/*****************************************
+* @brief:lynq_irq_get_type
+* @param count [IN]:1
+* @param sum [OUT]:NA
+* @return :success >= 0, failed other
+* @todo:NA
+* @see:NA
+* @warning:NA
+******************************************/
+int lynq_irq_get_type(int line)
+{
+ int ret;
+ int trig_type;
+
+ line = line-117;
+ ret = sc_irq_get_type(line, &trig_type);
+ if (ret != 0)
+ {
+ LOGE("get_type failed, ret:%d", ret);
+ return ret;
+ }
+ LOGI("get_type readback(%d)", trig_type);
+ return trig_type;
+}
+
+
+/*****************************************
+* @brief:lynq_irq_set_wake
+* @param count [IN]:2
+* @param sum [OUT]:NA
+* @return :success 0, failed other
+* @todo:NA
+* @see:NA
+* @warning:NA
+******************************************/
+int lynq_irq_set_wake(int line, int en)
+{
+ int ret;
+
+ if((en != 0) && (en != 1))
+ {
+ LOGE("wake_state is not 0 or 1");
+ return -1;
+ }
+
+ line = line-117;
+ ret = sc_irq_set_wake(line, en);
+ if (ret != 0)
+ {
+ LOGE("set_wake failed, ret:%d", ret);
+ return ret;
+ }
+ return 0;
+}
+
+/*****************************************
+* @brief:lynq_irq_get_wake
+* @param count [IN]:1
+* @param sum [OUT]:NA
+* @return :success >= 0, failed other
+* @todo:NA
+* @see:NA
+* @warning:NA
+******************************************/
+int lynq_irq_get_wake(int line)
+{
+ int ret;
+ int en;
+
+ line = line-117;
+ ret = sc_irq_get_wake(line, &en);
+ if (ret != 0)
+ {
+ LOGE("get_wake failed, ret:%d", ret);
+ return ret;
+ }
+ LOGI("get_wake readback(%d)", en);
+ return en;
+}
+
+
+
diff --git a/mbtk/liblynq_lib/lynq_log.c b/mbtk/liblynq_lib/lynq_log.c
new file mode 100755
index 0000000..d828226
--- /dev/null
+++ b/mbtk/liblynq_lib/lynq_log.c
@@ -0,0 +1,736 @@
+#include <stdarg.h>
+#include <sys/un.h>
+#include <sys/socket.h>
+#include "json-c/json.h"
+#include "lynq_deflog.h"
+#include "mbtk_type.h"
+#include <signal.h>
+#include "mbtk_utils.h"
+
+#define LOG_CONFIG_PATH "/etc/mbtk/mbtk_log.json"
+#define SYSLOG_PATCH "syslog"
+#define SYSLOG_NAME "syslog"
+#define SYSLOG_INDEX 0
+
+#define RADIOLOG_NAME "radio"
+#define RADIO_INDEX 1
+
+void lynq_log_configuration_init(const char *log_name)
+{
+ //UNUSED(log_name);
+ mbtk_log_init(SYSLOG_PATCH, (char*)log_name);
+}
+
+void lynq_log_global_output(log_level_enum Level,const char *format,...)
+{
+ va_list args;
+ va_start(args,format);
+ mbtk_log(Level, format, args);
+ va_end(args);
+}
+
+const char* lynq_read_log_version()
+{
+ return "LOG-V1.0";
+}
+
+int lynq_syslog_set_file_size(int value)
+{
+// UNUSED(value);
+ json_object* jsonobj = NULL;
+ json_object* tmpjson = NULL;
+ json_object* datajson = NULL;
+ json_object* listjson = NULL;
+
+ int tmp_int;
+ const char* tmp_string = NULL;
+
+ if(value < 1)
+ {
+ value = 1;
+ }
+ else if(value > 100)
+ {
+ value = 100;
+ }
+ value = value*1024;
+
+ jsonobj = json_object_from_file(LOG_CONFIG_PATH);
+ if (NULL == jsonobj) {
+ printf("Can't open config file: %s\n", LOG_CONFIG_PATH);
+ mbtk_system("echo Can't open config file > /dev/console");
+ return -1;
+ }
+ /***获取data***/
+ json_object_object_get_ex(jsonobj, "buffer_list", &tmpjson);
+ datajson = json_object_array_get_idx(tmpjson, SYSLOG_INDEX);
+ if (NULL == datajson) {
+ json_object_to_file(LOG_CONFIG_PATH, jsonobj);
+ json_object_put(jsonobj);
+ printf("NULL == datajson\n");
+ mbtk_system("echo NULL == datajson > /dev/console");
+ return -1;
+ }
+
+ json_object_object_get_ex(datajson, "name", &listjson);
+ tmp_string = json_object_get_string(listjson);
+
+ json_object_object_get_ex(datajson, "enable", &listjson);
+ tmp_int = json_object_get_int(listjson);
+
+ if(strcmp(tmp_string, SYSLOG_NAME) != 0 || tmp_int != 1)
+ {
+ json_object_to_file(LOG_CONFIG_PATH, jsonobj);
+ json_object_put(jsonobj);
+ printf("SYSLOG_NAME error, tmp_int != 1\n");
+ mbtk_system("echo SYSLOG_NAME error, tmp_int != 1 > /dev/console");
+ return -1;
+ }
+
+ json_object_object_add(datajson, "rotate_file_size", json_object_new_int(value));
+
+ /***释放json对象***/
+ json_object_to_file(LOG_CONFIG_PATH, jsonobj);
+ json_object_put(jsonobj);
+ return 0;
+}
+
+int lynq_syslog_get_file_size(void)
+{
+ json_object* jsonobj = NULL;
+ json_object* tmpjson = NULL;
+ json_object* datajson = NULL;
+ json_object* listjson = NULL;
+
+ int tmp_int;
+ const char* tmp_string = NULL;
+
+ jsonobj = json_object_from_file(LOG_CONFIG_PATH);
+ if (NULL == jsonobj) {
+ printf("Can't open config file: %s\n", LOG_CONFIG_PATH);
+ return -1;
+ }
+ /***获取data***/
+ json_object_object_get_ex(jsonobj, "buffer_list", &tmpjson);
+ datajson = json_object_array_get_idx(tmpjson, SYSLOG_INDEX);
+ if (NULL == datajson) {
+ json_object_put(jsonobj);
+ return -1;
+ }
+
+ json_object_object_get_ex(datajson, "name", &listjson);
+ tmp_string = json_object_get_string(listjson);
+
+ json_object_object_get_ex(datajson, "enable", &listjson);
+ tmp_int = json_object_get_int(listjson);
+
+ if(strcmp(tmp_string, SYSLOG_NAME) != 0 || tmp_int != 1)
+ {
+ json_object_put(jsonobj);
+ return -1;
+ }
+
+ json_object_object_get_ex(datajson, "rotate_file_size", &listjson);
+ tmp_int = json_object_get_int(listjson);
+
+ /***释放json对象***/
+ json_object_put(jsonobj);
+
+ return tmp_int/1024;
+// return tmp_int;
+}
+
+int lynq_syslog_set_file_rotate(int value)
+{
+ //UNUSED(value);
+
+ json_object* jsonobj = NULL;
+ json_object* tmpjson = NULL;
+ json_object* datajson = NULL;
+ json_object* listjson = NULL;
+
+ int tmp_int;
+ const char* tmp_string = NULL;
+
+ if(value < 0)
+ {
+ value = 0;
+ }
+ else if(value > 99)
+ {
+ value = 99;
+ }
+
+ jsonobj = json_object_from_file(LOG_CONFIG_PATH);
+ if (NULL == jsonobj) {
+ printf("Can't open config file: %s\n", LOG_CONFIG_PATH);
+ return -1;
+ }
+ /***获取data***/
+ json_object_object_get_ex(jsonobj, "buffer_list", &tmpjson);
+ datajson = json_object_array_get_idx(tmpjson, SYSLOG_INDEX);
+ if (NULL == datajson) {
+ json_object_to_file(LOG_CONFIG_PATH, jsonobj);
+ json_object_put(jsonobj);
+ return -1;
+ }
+
+ json_object_object_get_ex(datajson, "name", &listjson);
+ tmp_string = json_object_get_string(listjson);
+
+ json_object_object_get_ex(datajson, "enable", &listjson);
+ tmp_int = json_object_get_int(listjson);
+
+ if(strcmp(tmp_string, SYSLOG_NAME) != 0 || tmp_int != 1)
+ {
+ json_object_to_file(LOG_CONFIG_PATH, jsonobj);
+ json_object_put(jsonobj);
+ return -1;
+ }
+
+ json_object_object_add(datajson, "rotate_file_count", json_object_new_int(value));
+
+ /***释放json对象***/
+ json_object_to_file(LOG_CONFIG_PATH, jsonobj);
+ json_object_put(jsonobj);
+ return 0;
+}
+
+int lynq_syslog_get_file_rotate(void)
+{
+ json_object* jsonobj = NULL;
+ json_object* tmpjson = NULL;
+ json_object* datajson = NULL;
+ json_object* listjson = NULL;
+
+ int tmp_int;
+ const char* tmp_string = NULL;
+
+ jsonobj = json_object_from_file(LOG_CONFIG_PATH);
+ if (NULL == jsonobj) {
+ printf("Can't open config file: %s\n", LOG_CONFIG_PATH);
+ return -1;
+ }
+ /***获取data***/
+ json_object_object_get_ex(jsonobj, "buffer_list", &tmpjson);
+ datajson = json_object_array_get_idx(tmpjson, SYSLOG_INDEX);
+ if (NULL == datajson) {
+ json_object_put(jsonobj);
+ return -1;
+ }
+
+ json_object_object_get_ex(datajson, "name", &listjson);
+ tmp_string = json_object_get_string(listjson);
+
+ json_object_object_get_ex(datajson, "enable", &listjson);
+ tmp_int = json_object_get_int(listjson);
+
+ if(strcmp(tmp_string, SYSLOG_NAME) != 0 || tmp_int != 1)
+ {
+ json_object_put(jsonobj);
+ return -1;
+ }
+
+ json_object_object_get_ex(datajson, "rotate_file_count", &listjson);
+ tmp_int = json_object_get_int(listjson);
+
+ /***释放json对象***/
+ json_object_put(jsonobj);
+
+ return tmp_int;
+}
+
+log_level_enum filter_char_to_pri(char c)
+{
+ switch (c) {
+ case 'v':
+ return LOG_VERBOSE;
+ case 'd':
+ return LOG_DEBUG;
+ case 'i':
+ return LOG_INFO;
+ case 'w':
+ return LOG_WARNING;
+ case 'e':
+ return LOG_ERROR;
+ case '*':
+ default:
+ return LOG_LEVEL_MAX;
+ }
+}
+
+char filter_pri_to_char(log_level_enum level)
+{
+ char char_level;
+ switch (level) {
+ case LOG_VERBOSE:
+ char_level = 'v';
+ break;
+ case LOG_DEBUG:
+ char_level = 'd';
+ break;
+ case LOG_UNSET:
+ case LOG_INFO:
+ char_level = 'i';
+ break;
+ case LOG_WARNING:
+ char_level = 'w';
+ break;
+ case LOG_ERROR:
+ char_level = 'e';
+ break;
+ case LOG_LEVEL_MAX:
+ default:
+ char_level = '*';
+ break;
+ }
+ return char_level;
+}
+
+int lynq_set_log_level(const char * module_name, log_level_enum level)
+{
+ json_object* jsonobj = NULL;
+ json_object* tmpjson = NULL;
+ json_object* datajson = NULL;
+ json_object* listjson = NULL;
+ json_object* fileterjson = NULL;
+ json_object* fileter_listjson = NULL;
+ json_object* new_fileter = NULL;
+
+ int n = 0, array_length = 0;
+ char* tmp_string = NULL;
+ char level_string[5] = {'\0'};
+
+ jsonobj = json_object_from_file(LOG_CONFIG_PATH);
+ if (NULL == jsonobj) {
+ printf("Can't open config file: %s\n", LOG_CONFIG_PATH);
+ return -1;
+ }
+ /***获取data***/
+ json_object_object_get_ex(jsonobj, "buffer_list", &tmpjson);
+ datajson = json_object_array_get_idx(tmpjson, SYSLOG_INDEX);
+ if (NULL == datajson) {
+ json_object_put(jsonobj);
+ return -1;
+ }
+
+ json_object_object_get_ex(datajson, "filter_list", &listjson);
+ if (NULL == listjson) {
+ printf("%s %d: object failure!\n", __FUNCTION__, __LINE__);
+ json_object_put(listjson);
+ return -1;
+ }
+ array_length = json_object_array_length(listjson);
+ for (n = 0; n <= array_length; n++) {
+ fileterjson = json_object_array_get_idx(listjson, n);
+ if (NULL == fileterjson) {
+ new_fileter = json_object_new_object();
+ sprintf(level_string, "%c", filter_pri_to_char(level));
+ json_object_object_add(new_fileter, "priority", json_object_new_string(level_string));
+ json_object_object_add(new_fileter, "tag", json_object_new_string(module_name));
+ json_object_array_add(listjson, new_fileter);
+ break;
+ }
+
+ json_object_object_get_ex(fileterjson, "tag", &fileter_listjson);
+ const char *str = json_object_get_string(fileter_listjson);
+ if (str) {
+ tmp_string = strdup(str);
+ if(strcmp(module_name, tmp_string) == 0)
+ {
+ sprintf(level_string, "%c", filter_pri_to_char(level));
+ json_object_object_add(fileterjson, "priority", json_object_new_string(level_string));
+ json_object_to_file(LOG_CONFIG_PATH, jsonobj);
+ json_object_put(jsonobj);
+ return 0;
+ }
+ }
+ else
+ {
+ continue;
+ }
+ }
+ /***释放json对象***/
+ json_object_to_file(LOG_CONFIG_PATH, jsonobj);
+ json_object_put(jsonobj);
+
+ return 0;
+}
+
+int lynq_get_log_level(const char * module_name, log_level_enum *level)
+{
+ json_object* jsonobj = NULL;
+ json_object* tmpjson = NULL;
+ json_object* datajson = NULL;
+ json_object* listjson = NULL;
+ json_object* fileterjson = NULL;
+ json_object* fileter_listjson = NULL;
+
+ int n;
+ char* tmp_string = NULL;
+
+ jsonobj = json_object_from_file(LOG_CONFIG_PATH);
+ if (NULL == jsonobj) {
+ printf("Can't open config file: %s\n", LOG_CONFIG_PATH);
+ return -1;
+ }
+ /***获取data***/
+ json_object_object_get_ex(jsonobj, "buffer_list", &tmpjson);
+ datajson = json_object_array_get_idx(tmpjson, SYSLOG_INDEX);
+ if (NULL == datajson) {
+ json_object_put(jsonobj);
+ return -1;
+ }
+
+ json_object_object_get_ex(datajson, "filter_list", &listjson);
+ if (NULL == listjson) {
+ printf("%s %d: object failure!\n", __FUNCTION__, __LINE__);
+ json_object_put(listjson);
+ return -1;
+ }
+
+ for (n = 0 ; n < 5; n++) {
+ fileterjson = json_object_array_get_idx(listjson, n);
+ if (NULL == fileterjson) {
+ printf("the fileterjson exit\n");
+ break;
+ }
+
+ json_object_object_get_ex(fileterjson, "tag", &fileter_listjson);
+ const char *str = json_object_get_string(fileter_listjson);
+ if (str) {
+ tmp_string = strdup(str);
+ printf("tag is %s\n", tmp_string);
+ if(strcmp(module_name, tmp_string) == 0)
+ {
+ json_object_object_get_ex(fileterjson, "priority", &fileter_listjson);
+ str = json_object_get_string(fileter_listjson);
+ if (str) {
+ *tmp_string = str[0];
+ printf("fileter_listjson: %c\n", *tmp_string);
+ *level = filter_char_to_pri(*tmp_string);
+ //get the log level
+ json_object_put(jsonobj);
+ return 0;
+ }
+ else
+ {
+ break;
+ }
+ }
+ }
+ else
+ {
+ continue;
+ }
+ }
+ *level = LOG_UNSET;
+ /***释放json对象***/
+ json_object_put(jsonobj);
+
+ return 0;
+}
+
+int lynq_set_special_log_level(const char * exe_name, const char * module_name, log_level_enum level)
+{
+ UNUSED(exe_name);
+ UNUSED(module_name);
+ UNUSED(level);
+
+
+ return 0;
+}
+
+int lynq_get_special_log_level(const char * exe_name, const char * module_name, log_level_enum *level)
+{
+ UNUSED(exe_name);
+ UNUSED(module_name);
+ UNUSED(level);
+
+
+ return 0;
+}
+
+int lynq_notify_recalc_log_level(pid_t pid)
+{
+ UNUSED(pid);
+ char sendBuff[100]={'\0'};
+ int clientFd,nwrite;
+ struct sockaddr_un serverAddr,clientAddr;
+
+ unlink("/var/log_client.socket"); /* in case it already exists */
+
+ memset(&clientAddr,0,sizeof(clientAddr));
+ memset(&serverAddr,0,sizeof(serverAddr));
+ clientAddr.sun_family = AF_UNIX;
+ sprintf(clientAddr.sun_path,"%s","/var/log_client.socket");
+
+ if ((clientFd = socket(AF_UNIX,SOCK_STREAM,0)) < 0)
+ {
+ printf("err -1\n");
+ return -1;
+ }
+
+ if (bind(clientFd, (struct sockaddr *)&clientAddr, sizeof(clientAddr)) < 0)
+ {
+ printf("err -2\n");
+ close(clientFd);
+ return -2;
+ }
+
+ serverAddr.sun_family = AF_UNIX;
+ sprintf(serverAddr.sun_path, "/var/log_server.socket");
+ if (connect(clientFd, (struct sockaddr *)&serverAddr, sizeof(serverAddr)) < 0)
+ {
+ printf("err -3\n");
+ close(clientFd);
+ return -3;
+ }
+
+ sprintf(sendBuff,"%s","update");
+ if ((nwrite = write(clientFd, sendBuff, 100)) < 0)
+ {
+ printf("err -4\n");
+ close(clientFd);
+ return -4;
+ }
+
+ close(clientFd);
+ return 0;
+}
+
+int lynq_write_log_to_file_now()
+{
+ FILE *fp;
+ char command[256];
+ char buffer[256];
+ int pid = -1;
+ const char *process_name = "mbtk_logd";
+
+
+ snprintf(command, sizeof(command), "pgrep %s", process_name);
+ fp = popen(command, "r");
+ if (fp == NULL)
+ {
+ perror("error comman");
+ return -1;
+ }
+
+ if (fgets(buffer, sizeof(buffer), fp) != NULL)
+ {
+ pid = atoi(buffer);
+ }
+ pclose(fp);
+
+ if (pid != -1)
+ {
+ printf("mbtk %s PID: %d\n", process_name, pid);
+ if (kill(pid, SIGTERM) == -1)
+ {
+ perror("send SIGTERM signal failed");
+ return -1;
+ }
+ printf("send %d SIGTERM signal\n", pid);
+ }
+ else
+ {
+ printf("no find %s\n", process_name);
+ }
+
+ //lynq_log_configuration_init("log_end");
+ //lynq_log_global_output(LOG_DEBUG,"mbtk_logd_out");
+ return 0;
+
+}
+
+int lynq_stop_record_log(int value)
+{
+
+ json_object* jsonobj = NULL;
+ json_object* tmpjson = NULL;
+ json_object* datajson = NULL;
+ json_object* listjson = NULL;
+
+// int tmp_int;
+ const char* tmp_string = NULL;
+
+ if(value != 0 && value != 1)
+ {
+ printf("invalid value ");
+ return -1;
+ }
+
+ jsonobj = json_object_from_file(LOG_CONFIG_PATH);
+ if (NULL == jsonobj)
+ {
+ printf("Can't open config file: %s\n", LOG_CONFIG_PATH);
+ mbtk_system("echo Can't open config file > /dev/console");
+ return -1;
+ }
+
+
+ json_object_object_get_ex(jsonobj, "buffer_list", &tmpjson);
+
+ /***获取syslog json data***/
+ datajson = json_object_array_get_idx(tmpjson, SYSLOG_INDEX);
+ if (NULL == datajson)
+ {
+ json_object_to_file(LOG_CONFIG_PATH, jsonobj);
+ json_object_put(jsonobj);
+ printf("NULL == datajson\n");
+ mbtk_system("echo NULL == datajson > /dev/console");
+ return -1;
+ }
+
+ json_object_object_get_ex(datajson, "name", &listjson);
+ tmp_string = json_object_get_string(listjson);
+
+ json_object_object_get_ex(datajson, "enable", &listjson);
+ json_object_get_int(listjson);
+
+ if(strcmp(tmp_string, SYSLOG_NAME) != 0)
+ {
+ json_object_to_file(LOG_CONFIG_PATH, jsonobj);
+ json_object_put(jsonobj);
+ printf("SYSLOG_NAME error, \n");
+ mbtk_system("echo SYSLOG_NAME error, > /dev/console");
+ return -1;
+ }
+ else
+ {
+ //set 0 to syslog
+ json_object_object_add(datajson, "enable", json_object_new_int(value));
+ }
+
+ /***获取radiolog json data***/
+ datajson = json_object_array_get_idx(tmpjson, RADIO_INDEX);
+ if (NULL == datajson)
+ {
+ json_object_to_file(LOG_CONFIG_PATH, jsonobj);
+ json_object_put(jsonobj);
+ printf("NULL == datajson\n");
+ mbtk_system("echo NULL == datajson > /dev/console");
+ return -1;
+ }
+
+ json_object_object_get_ex(datajson, "name", &listjson);
+ tmp_string = json_object_get_string(listjson);
+
+ json_object_object_get_ex(datajson, "enable", &listjson);
+ json_object_get_int(listjson);
+
+ if(strcmp(tmp_string, RADIOLOG_NAME) != 0)
+ {
+ json_object_to_file(LOG_CONFIG_PATH, jsonobj);
+ json_object_put(jsonobj);
+ printf("RADIO_NAME error or \n");
+ mbtk_system("echo RADIO_NAME error, > /dev/console");
+ return -1;
+ }
+ else
+ {
+ //set 0 to radio_log
+ json_object_object_add(datajson, "enable", json_object_new_int(value));
+ }
+
+ /***释放json对象***/
+ json_object_to_file(LOG_CONFIG_PATH, jsonobj);
+ json_object_put(jsonobj);
+ return 0;
+}
+
+
+
+int lynq_syslog_control(CONTROL_TYPE value)
+{
+ FILE *fp = NULL;
+ const char *filePath = "/etc/syslog_close";
+ if(value !=SYSLOG_OPEN && value !=SYSLOG_CLOSE)
+ {
+ return -1;
+ }
+
+ if(value == SYSLOG_CLOSE)
+ {
+ fp = fopen(filePath, "w");
+ if (fp == NULL)
+ {
+ perror("Error creating file");
+ return -1;
+ }
+ fclose(fp);
+
+ }
+
+ if(value == SYSLOG_OPEN)
+ {
+ if(access(filePath,F_OK) == 0)
+ {
+ if(remove(filePath) == 0)
+ {
+ return 0;
+ }
+ else
+ {
+ perror("Error deleting file");
+ return -1;
+ }
+ }
+ else
+ {
+ return 0;
+ }
+
+ }
+
+ return 0;
+
+}
+
+int lynq_kernel_log_control(CONTROL_TYPE value)
+{
+ FILE *fp = NULL;
+ const char *filePath = "/etc/kernel_log_close";
+
+ if(value != KERNEL_LOG_OPEN && value != KERNEL_LOG_CLOSE)
+ {
+ return -1;
+ }
+
+ if(value == KERNEL_LOG_CLOSE)
+ {
+ fp = fopen(filePath, "w");
+ if (fp == NULL)
+ {
+ perror("Error creating file");
+ return -1;
+ }
+ fclose(fp);
+
+ }
+
+ if(value == KERNEL_LOG_OPEN)
+ {
+ if(access(filePath,F_OK) == 0)
+ {
+ if(remove(filePath) == 0)
+ {
+ return 0;
+ }
+ else
+ {
+ perror("Error deleting kernel_log_close file");
+ return -1;
+ }
+ }
+ else
+ {
+ return 0;
+ }
+
+ }
+
+ return 0;
+
+}
+
diff --git a/mbtk/liblynq_lib/lynq_net_light.c b/mbtk/liblynq_lib/lynq_net_light.c
new file mode 100755
index 0000000..dac120b
--- /dev/null
+++ b/mbtk/liblynq_lib/lynq_net_light.c
@@ -0,0 +1,140 @@
+#include "lynq_led.h"
+#include "mbtk_type.h"
+#include "mbtk_log.h"
+#include "mbtk_info_api.h"
+
+/****************************DEFINE***************************************/
+#define QSER_RESULT_FAIL -1
+#define QSER_RESULT_SUCCESS 0
+/****************************DEFINE***************************************/
+
+/****************************VARIABLE***************************************/
+extern mbtk_info_handle_t* qser_info_handle;
+extern int qser_info_handle_num;
+/****************************VARIABLE***************************************/
+
+
+/******************************FUNC*****************************************/
+static int qser_led_client_init(void)
+{
+ if(qser_info_handle == NULL)
+ {
+ qser_info_handle = mbtk_info_handle_get();
+ if(qser_info_handle)
+ {
+ qser_info_handle_num++;
+ }
+ else
+ {
+ LOGE("[qser_led] mbtk_info_handle_get() fail.");
+ return QSER_RESULT_FAIL;
+ }
+ }
+ else
+ {
+ qser_info_handle_num++;
+ }
+
+ LOGE("[qser_led] mbtk_info_handle_get() success.");
+ return QSER_RESULT_SUCCESS;
+}
+
+int qser_led_client_deinit(void)
+{
+ if(qser_info_handle)
+ {
+ LOGE("[qser_led] qser_info_handle_num = %d", qser_info_handle_num);
+ if(qser_info_handle_num == 1)
+ { // 最后一个引用,可释放。
+ int ret = mbtk_info_handle_free(&qser_info_handle);
+ if(ret)
+ {
+ LOGE("[qser_led] mbtk_info_handle_free() fail.");
+ return QSER_RESULT_FAIL;
+ }
+ else
+ {
+ qser_info_handle_num = 0;
+ qser_info_handle = NULL;
+ }
+ }
+ else
+ {
+ qser_info_handle_num--;
+ }
+ }
+ else
+ {
+ LOGE("[qser_led] handle not inited.");
+ return QSER_RESULT_FAIL;
+ }
+
+ return QSER_RESULT_SUCCESS;
+}
+
+/******************************FUNC*****************************************/
+
+/****************************API***************************************/
+int lynq_set_netled_on(int led_mode)
+{
+ //UNUSED(led_mode);
+
+ if(led_mode != 0 && led_mode != 1)
+ {
+ LOGE("[qser_led]param is fail.");
+ return QSER_RESULT_FAIL;
+ }
+
+
+ int ret = qser_led_client_init();
+ if(ret != QSER_RESULT_SUCCESS)
+ {
+ LOGE("[qser_led]qser_led_client_init fail.");
+ return QSER_RESULT_FAIL;
+ }
+
+ ret = mbtk_led_set(qser_info_handle, MBTK_LED_TYPE_NET, led_mode);
+ if(ret != 0)
+ {
+ LOGE("[qser_led]mbtk_led_gpio_init fail.");
+ qser_led_client_init();
+ return QSER_RESULT_FAIL;
+ }
+
+ ret = qser_led_client_init();
+
+ return QSER_RESULT_SUCCESS;
+}
+
+int lynq_set_statusled_on(int led_mode)
+{
+ //UNUSED(led_mode);
+
+ if(led_mode != 0 && led_mode != 1)
+ {
+ LOGE("[qser_led]param is fail.");
+ return QSER_RESULT_FAIL;
+ }
+
+ int ret = qser_led_client_init();
+ if(ret != QSER_RESULT_SUCCESS)
+ {
+ LOGE("[qser_led]qser_led_client_init fail.");
+ return QSER_RESULT_FAIL;
+ }
+
+ ret = mbtk_led_set(qser_info_handle, MBTK_LED_TYPE_STATUS, led_mode);
+ if(ret != 0)
+ {
+ LOGE("[qser_led]mbtk_led_gpio_init fail.");
+ qser_led_client_init();
+ return QSER_RESULT_FAIL;
+ }
+
+ ret = qser_led_client_init();
+
+ return QSER_RESULT_SUCCESS;
+}
+/****************************API***************************************/
+
+
diff --git a/mbtk/liblynq_lib/lynq_network.c b/mbtk/liblynq_lib/lynq_network.c
new file mode 100755
index 0000000..30e5eba
--- /dev/null
+++ b/mbtk/liblynq_lib/lynq_network.c
@@ -0,0 +1,1204 @@
+#include "lynq_qser_network.h"
+#include "mbtk_type.h"
+#include "mbtk_info_api.h"
+#include "mbtk_log.h"
+
+#include <stdio.h>
+#include <stdlib.h>
+
+
+mbtk_info_handle_t* lynq_nw_info_handle = NULL;
+uint64_t tmp_mode = 0xFF;
+
+nw_client_handle_type g_nw_val = -1;
+
+typedef struct
+{
+ QSER_NW_RxMsgHandlerFunc_t handlerPtr;
+ void* contextPtr;
+} lynq_cust_cb_func;
+
+static lynq_cust_cb_func lynq_func_cb_handle;
+
+static int roaming_pref = 1; // Open roaming for default.
+
+typedef enum {
+ RADIO_TECH_3GPP = 1, /* 3GPP Technologies - GSM, WCDMA */
+ RADIO_TECH_3GPP2 = 2 /* 3GPP2 Technologies - CDMA */
+} RIL_RadioTechnologyFamily;
+
+
+typedef struct
+{
+ uint8 *lynq_operator_l;
+ uint8 *lynq_operator_s;
+ uint32 lynq_mcc_mnc;
+} lynq_operator_mcc_mnc_t;
+
+static lynq_operator_mcc_mnc_t lynq_operator_mcc_mnc[] =
+{
+ {(uint8*)"China Mobile",(uint8*)"CMCC",46000},
+ {(uint8*)"China Unicom",(uint8*)"CU",46001},
+ {(uint8*)"China Mobile",(uint8*)"CMCC",46002},
+ {(uint8*)"China Telecom",(uint8*)"CT",46003},
+ {(uint8*)"China Mobile",(uint8*)"CMCC",46004},
+ {(uint8*)"China Telecom",(uint8*)"CT",46005},
+ {(uint8*)"China Unicom",(uint8*)"CU",46006},
+ {(uint8*)"China Mobile",(uint8*)"CMCC",46007},
+ {(uint8*)"China Mobile",(uint8*)"CMCC",46008},
+ {(uint8*)"China Unicom",(uint8*)"CU",46009},
+ {(uint8*)"China Telecom",(uint8*)"CT",46011}
+};
+
+#if 0
+//T106的实现
+/*Used to wait for an update signal*/
+int lynq_wait_signalchanges(int *handle)
+{
+ LYDBGLOG("start wait signalchanges info");
+ if(NULL == handle)
+ {
+ LYERRLOG("illegal input");
+ return LYNQ_E_PARAMETER_ANONALY;
+ }
+ wait_urc_signal_changes();
+ LYDBGLOG("get signalchanges");
+ *handle = s_module_wait_urc_id;
+ return RESULT_OK;
+}
+
+bool is_support_urc(int urc_id)
+{
+ switch(urc_id)
+ {
+ case RIL_UNSOL_RESPONSE_VOICE_NETWORK_STATE_CHANGED:
+ case RIL_UNSOL_RESPONSE_PS_NETWORK_STATE_CHANGED:
+ case RIL_UNSOL_RESPONSE_IMS_NETWORK_STATE_CHANGED:
+ case RIL_UNSOL_SIGNAL_STRENGTH:
+ return true;
+ default:
+ return false;
+ }
+}
+
+/*Used to get urc info*/
+int lynq_get_urc_info(const int handle,signalStrength_t *solSigStren,int *slot_id)
+{
+ if(g_module_init_flag != MODULE_RUNNING)
+ {
+ LYERRLOG("%s module state %d error",__func__,g_module_init_flag);
+ return -1;
+ }
+ LYDBGLOG("start get urc info");
+ if(is_support_urc(handle)==false)
+ {
+ LYINFLOG("invalid handle!!!");
+ return -1;
+ }
+ if((handle ==RIL_UNSOL_SIGNAL_STRENGTH && NULL == solSigStren) ||
+ (handle !=RIL_UNSOL_SIGNAL_STRENGTH && NULL == slot_id))
+ {
+ LYINFLOG("incoming solSigStren or slot_id is NULL!!!");
+ return -1;
+ }
+ switch(handle)
+ {
+ case RIL_UNSOL_SIGNAL_STRENGTH: //1009
+ {
+ LYDBGLOG("get state update to signal info");
+ solSigStren->gw_sig_valid = s_network_urc_solSigStren.gw_sig_valid;
+ solSigStren->rssi = s_network_urc_solSigStren.rssi;
+ solSigStren->wcdma_signalstrength = s_network_urc_solSigStren.wcdma_signalstrength;
+ solSigStren->wcdma_sig_valid = s_network_urc_solSigStren.wcdma_sig_valid;
+ solSigStren->rscp = s_network_urc_solSigStren.rscp;
+ solSigStren->ecno = s_network_urc_solSigStren.ecno;
+ solSigStren->lte_signalstrength = s_network_urc_solSigStren.lte_signalstrength;
+ solSigStren->lte_sig_valid = s_network_urc_solSigStren.lte_sig_valid;
+ solSigStren->rsrp = s_network_urc_solSigStren.rsrp;
+ solSigStren->rsrq = s_network_urc_solSigStren.rsrq;
+ solSigStren->rssnr = s_network_urc_solSigStren.rssnr;
+ solSigStren->nr_sig_valid = s_network_urc_solSigStren.nr_sig_valid;
+ solSigStren->ssRsrp = s_network_urc_solSigStren.ssRsrp;
+ solSigStren->ssRsrq = s_network_urc_solSigStren.ssRsrq;
+ solSigStren->ssSinr = s_network_urc_solSigStren.ssSinr;
+ solSigStren->csiRsrp = s_network_urc_solSigStren.csiRsrp;
+ solSigStren->csiRsrq = s_network_urc_solSigStren.csiRsrq;
+ solSigStren->csiSinr = s_network_urc_solSigStren.csiSinr;
+ break;
+ }
+ default:
+ {
+ *slot_id = s_module_urc_slot_id;
+ LYINFLOG("slot_id = %d",s_module_urc_slot_id);
+ }
+ }
+ return 0;
+}
+
+
+void urc_msg_process_voice_reg()
+{
+ if(s_handlerPtr != NULL)
+ {
+ s_handlerPtr(g_nw_val,NW_IND_VOICE_REG_EVENT_IND_FLAG,NULL,0,s_contextPtr);
+ }
+}
+
+void urc_msg_process_data_reg()
+{
+ if(s_handlerPtr != NULL)
+ {
+ s_handlerPtr(g_nw_val,NW_IND_DATA_REG_EVENT_IND_FLAG,NULL,0,s_contextPtr);
+ }
+}
+
+void urc_msg_process_ims_reg()
+{
+ if(s_handlerPtr != NULL)
+ {
+ s_handlerPtr(g_nw_val,NW_IND_IMS_REG_EVENT_IND_FLAG,NULL,0,s_contextPtr);
+ }
+}
+
+void *new_network_thread_recv(void *context)
+{
+ int handle = -1;
+ uint32_t ind_flag = 0;
+
+ while (1)
+ {
+ lynq_wait_signalchanges(&handle);
+
+ switch(handle)
+ {
+ case 1002: //RIL_UNSOL_RESPONSE_VOICE_NETWORK_STATE_CHANGED:
+ {
+ urc_msg_process_voice_reg();
+
+ break;
+ }
+ case 3015://RIL_UNSOL_RESPONSE_PS_NETWORK_STATE_CHANGED:
+ {
+ urc_msg_process_data_reg();
+ break;
+ }
+ case 1009://RIL_UNSOL_SIGNAL_STRENGTH:
+ {
+ urc_msg_process_signal_strength();
+ break;
+ }
+ case 1037://RIL_UNSOL_RESPONSE_IMS_NETWORK_STATE_CHANGED:
+ {
+ urc_msg_process_ims_reg();
+ break;
+ }
+ }
+ }
+ return NULL;
+}
+
+void urc_msg_process_signal_strength()
+{
+ signalStrength_t signalstrength;
+ int slot_id;
+
+ int ret = lynq_get_urc_info(1009,&signalstrength,&slot_id);
+ if (ret == 0)
+ {
+ QSER_NW_SINGNAL_EVENT_IND_T msg_buf;
+ msg_buf.gsm_sig_info_valid = signalstrength.gw_sig_valid;
+ msg_buf.gsm_sig_info.rssi = signalstrength.rssi;
+ msg_buf.wcdma_sig_info_valid = signalstrength.wcdma_sig_valid;
+ msg_buf.wcdma_sig_info.rssi = signalstrength.rscp;
+ msg_buf.wcdma_sig_info.ecio = signalstrength.ecno;
+ msg_buf.tdscdma_sig_info_valid = 0;
+ msg_buf.lte_sig_info_valid = signalstrength.lte_sig_valid;
+ msg_buf.lte_sig_info.rssi = -125;
+ msg_buf.lte_sig_info.rsrp = signalstrength.rsrp;
+ msg_buf.lte_sig_info.rsrq = signalstrength.rsrq;
+ msg_buf.lte_sig_info.snr = signalstrength.rssnr;
+ msg_buf.cdma_sig_info_valid = 0;
+ msg_buf.hdr_sig_info_valid = 0;
+ msg_buf.nr_sig_info_valid = signalstrength.nr_sig_valid;
+ msg_buf.nr_sig_info.ssRsrp = signalstrength.ssRsrp;
+ msg_buf.nr_sig_info.ssRsrq = signalstrength.ssRsrq;
+ msg_buf.nr_sig_info.ssSinr = signalstrength.ssSinr;
+ msg_buf.nr_sig_info.csiRsrp = signalstrength.csiRsrp;
+ msg_buf.nr_sig_info.csiRsrq = signalstrength.csiRsrq;
+ msg_buf.nr_sig_info.csiSinr = signalstrength.csiSinr;
+ void *ind_msg_buf= &msg_buf;
+ if(s_handlerPtr!=NULL)
+ {
+ s_handlerPtr(g_nw_val,NW_IND_SIGNAL_STRENGTH_EVENT_IND_FLAG,ind_msg_buf,sizeof (msg_buf) ,s_contextPtr);
+ }
+ }
+}
+
+#endif
+
+static int8_t rssi_convert_to_dBm(uint8 rssi)
+{
+ if(rssi <= 31)
+ {
+ return rssi * 2 - 113;
+ }
+ else
+ {
+ return -125;
+ }
+}
+
+static int16_t rsrp_convert_to_dBm(uint8 rsrp)
+{
+ if(rsrp <= 96)
+ {
+ return rsrp - 140;
+ }
+ else
+ {
+ return -44;
+ }
+}
+
+static int16_t rsrq_convert_to_dB(uint8 rsrq)
+{
+ if(rsrq >= 1 && rsrq <= 34)
+ {
+ return (rsrq + 1) / 2 - 20;
+ }
+ else
+ {
+ return -20;
+ }
+}
+
+static int16_t ecno_convert_to_dB(uint8 ecno)
+{
+ if(ecno >= 48)
+ {
+ return 0;
+ }
+ else if(ecno == 255)
+ {
+ return 255;
+ }
+ else
+ {
+ return 48 - ecno;
+ }
+}
+
+void qser_signal_state_change_cb(const void* data, int data_len)
+{
+ /*
+ data_signal[0] = signal.type;
+ data_signal[1] = signal.rssi;
+ data_signal[2] = signal.rxlev;
+ data_signal[3] = signal.ber;
+ data_signal[4] = signal.rscp;
+ data_signal[5] = signal.ecno;
+ data_signal[6] = signal.rsrq;
+ data_signal[7] = signal.rsrp;
+ */
+ if(data && data_len == 8)
+ {
+ uint8 *net_data = (uint8*)data;
+ mbtk_radio_technology_enum type = (mbtk_radio_technology_enum)net_data[0];
+
+ QSER_NW_SINGNAL_EVENT_IND_T signal_msg_buf;
+ memset(&signal_msg_buf, 0x0, sizeof(QSER_NW_SINGNAL_EVENT_IND_T));
+
+ signal_msg_buf.gsm_sig_info_valid = FALSE;
+ signal_msg_buf.lte_sig_info_valid = FALSE;
+ signal_msg_buf.wcdma_sig_info_valid = FALSE;
+ signal_msg_buf.tdscdma_sig_info_valid = FALSE;
+ signal_msg_buf.cdma_sig_info_valid = FALSE;
+ signal_msg_buf.hdr_sig_info_valid = FALSE;
+ signal_msg_buf.nr_sig_info_valid = FALSE;
+
+ if(type == MBTK_RADIO_TECH_GSM || type == MBTK_RADIO_TECH_GSM_COMPACT || \
+ type == MBTK_RADIO_TECH_GSM_EGPRS) //GSM
+ {
+ signal_msg_buf.gsm_sig_info_valid = TRUE;
+ signal_msg_buf.gsm_sig_info.rssi = rssi_convert_to_dBm(net_data[1]);
+ }
+ else if(type == MBTK_RADIO_TECH_E_UTRAN) //LTE
+ {
+ signal_msg_buf.lte_sig_info_valid = TRUE;
+ signal_msg_buf.lte_sig_info.rssi = rssi_convert_to_dBm(net_data[1]);
+ signal_msg_buf.lte_sig_info.rsrp = rsrp_convert_to_dBm(net_data[7]);
+ signal_msg_buf.lte_sig_info.rsrq = rsrq_convert_to_dB(net_data[6]);
+ signal_msg_buf.lte_sig_info.snr = 0x7FFF;//(当前mbtk没有该参数)
+ }
+ else if (type == MBTK_RADIO_TECH_UTRAN || type == MBTK_RADIO_TECH_UTRAN_HSDPA || \
+ type == MBTK_RADIO_TECH_UTRAN_HSUPA || type == MBTK_RADIO_TECH_UTRAN_HSDPA_HSUPA || \
+ type == MBTK_RADIO_TECH_UTRAN_HSPA )//WCDMA
+ {
+ signal_msg_buf.wcdma_sig_info_valid = TRUE;
+ signal_msg_buf.wcdma_sig_info.rssi = rssi_convert_to_dBm(net_data[1]);
+ signal_msg_buf.wcdma_sig_info.ecio = ecno_convert_to_dB(net_data[5]);
+ }
+
+ if(lynq_func_cb_handle.handlerPtr != NULL)
+ {
+ lynq_func_cb_handle.handlerPtr(g_nw_val, NW_IND_SIGNAL_STRENGTH_EVENT_IND_FLAG, (void *)&signal_msg_buf, sizeof(QSER_NW_SINGNAL_EVENT_IND_T), lynq_func_cb_handle.contextPtr);
+ lynq_func_cb_handle.handlerPtr(g_nw_val, NW_IND_VOICE_REG_EVENT_IND_FLAG, NULL, 0, lynq_func_cb_handle.contextPtr);
+ lynq_func_cb_handle.handlerPtr(g_nw_val, NW_IND_DATA_REG_EVENT_IND_FLAG, NULL, 0, lynq_func_cb_handle.contextPtr);
+ lynq_func_cb_handle.handlerPtr(g_nw_val, NW_IND_IMS_REG_EVENT_IND_FLAG, NULL, 0, lynq_func_cb_handle.contextPtr);
+ }
+ }
+ else
+ {
+ LOGD("qser_nw_state_change_cb : NULL");
+ }
+
+}
+
+static uint8 lynq_net_pre_change(bool mbtk_2_lynq,int net_mode)
+{
+ uint8 mbtk_net_pre = 0xFF;
+
+#if 0
+ 此参数表在别处使用
+ E_QSER_NW_RADIO_TECH_TD_SCDMA = 1, Y3 1
+ E_QSER_NW_RADIO_TECH_GSM = 2, /**< GSM; only supports voice. */ YL2 0
+ E_QSER_NW_RADIO_TECH_HSPAP = 3, /**< HSPA+. */ 3 1
+ E_QSER_NW_RADIO_TECH_LTE = 4, /**< LTE. */ 4 5
+ E_QSER_NW_RADIO_TECH_EHRPD = 5, /**< EHRPD. */ 3 1
+ E_QSER_NW_RADIO_TECH_EVDO_B = 6, /**< EVDO B. */ D3 1
+ E_QSER_NW_RADIO_TECH_HSPA = 7, /**< HSPA. */ 3 1
+ E_QSER_NW_RADIO_TECH_HSUPA = 8, /**< HSUPA. */ 3.5 1
+ E_QSER_NW_RADIO_TECH_HSDPA = 9, /**< HSDPA. */ 3.5 1
+ E_QSER_NW_RADIO_TECH_EVDO_A = 10, /**< EVDO A. */ D3 1
+ E_QSER_NW_RADIO_TECH_EVDO_0 = 11, /**< EVDO 0. */ D3 1
+ E_QSER_NW_RADIO_TECH_1xRTT = 12, /**< 1xRTT. */ 2 0
+ E_QSER_NW_RADIO_TECH_IS95B = 13, /**< IS95B. */ 3 0
+ E_QSER_NW_RADIO_TECH_IS95A = 14, /**< IS95A. */ 3 0
+ E_QSER_NW_RADIO_TECH_UMTS = 15, /**< UMTS. */ L3 1
+ E_QSER_NW_RADIO_TECH_EDGE = 16, /**< EDGE. */ 2.75 0
+ E_QSER_NW_RADIO_TECH_GPRS = 17, /**< GPRS. */ 2.5 0
+ E_QSER_NW_RADIO_TECH_NONE = 18 /**< No technology selected. */
+#endif
+ /*
+ 0 : GSM only
+ 1 : UMTS only
+ 2 : GSM/UMTS(auto)
+ 3 : GSM/UMTS(GSM preferred)
+ 4 : GSM/UMTS(UMTS preferred)
+ 5 : LTE only
+ 6 : GSM/LTE(auto)
+ 7 : GSM/LTE(GSM preferred)
+ 8 : GSM/LTE(LTE preferred)
+ 9 : UMTS/LTE(auto)
+ 10 : UMTS/LTE(UMTS preferred)
+ 11 : UMTS/LTE(LTE preferred)
+ 12 : GSM/UMTS/LTE(auto)
+ 13 : GSM/UMTS/LTE(GSM preferred)
+ 14 : GSM/UMTS/LTE(UMTS preferred)
+ 15 : GSM/UMTS/LTE(LTE preferred)
+ */
+
+ if(mbtk_2_lynq)
+ {
+ switch(net_mode)
+ {
+ //使用之前set的tmp_mode的值来进行回显get
+ case QSER_NW_MODE_GSM:
+ mbtk_net_pre = QSER_NW_MODE_GSM;
+ break;
+ case QSER_NW_MODE_WCDMA:
+ mbtk_net_pre = QSER_NW_MODE_WCDMA;
+ break;
+ case QSER_NW_MODE_CDMA:
+ mbtk_net_pre = QSER_NW_MODE_CDMA;
+ break;
+ case QSER_NW_MODE_EVDO:
+ mbtk_net_pre = QSER_NW_MODE_EVDO;
+ break;
+ case QSER_NW_MODE_LTE:
+ mbtk_net_pre = QSER_NW_MODE_LTE;
+ break;
+ case QSER_NW_MODE_TDSCDMA:
+ mbtk_net_pre = QSER_NW_MODE_TDSCDMA;
+ break;
+ default:
+ mbtk_net_pre = 0xFF;
+ break;
+ }
+ }
+ else
+ {
+ if(QSER_NW_MODE_GSM == net_mode)
+ {
+ mbtk_net_pre = MBTK_NET_PREF_GSM_ONLY;
+ }
+ else if(QSER_NW_MODE_WCDMA == net_mode)
+ {
+ mbtk_net_pre = MBTK_NET_PREF_UMTS_ONLY;
+ }
+ else if(QSER_NW_MODE_LTE == net_mode)
+ {
+ mbtk_net_pre = MBTK_NET_PREF_LTE_ONLY;
+ }
+ else if((QSER_NW_MODE_GSM | QSER_NW_MODE_WCDMA) == net_mode)
+ {
+ mbtk_net_pre = MBTK_NET_PREF_GSM_UMTS_UMTS_PREF;
+ }
+ else if((QSER_NW_MODE_WCDMA | QSER_NW_MODE_LTE) == net_mode)
+ {
+ mbtk_net_pre = MBTK_NET_PREF_UMTS_LTE_LTE_PREF;
+ }
+ else if((QSER_NW_MODE_GSM | QSER_NW_MODE_LTE) == net_mode)
+ {
+ mbtk_net_pre = MBTK_NET_PREF_GSM_LTE_LTE_PREF;
+ }
+ else if((QSER_NW_MODE_GSM | QSER_NW_MODE_WCDMA | QSER_NW_MODE_LTE) == net_mode)
+ {
+ mbtk_net_pre = MBTK_NET_PREF_GSM_UMTS_LTE_LTE_PREF;
+ }
+ else
+ {
+ mbtk_net_pre = 0xFF;
+ }
+ }
+ return mbtk_net_pre;
+}
+
+int qser_nw_client_init(nw_client_handle_type *ph_nw)
+{
+ //UNUSED(ph_nw);
+
+ if(lynq_nw_info_handle == NULL)
+ {
+ lynq_nw_info_handle = mbtk_info_handle_get();
+ if(lynq_nw_info_handle)
+ {
+ LOGI("creat lynq_nw_info_handle is success");
+ *ph_nw = lynq_nw_info_handle->client_fd;
+ g_nw_val = lynq_nw_info_handle->client_fd;
+ }
+ else
+ {
+ LOGE("creat lynq_nw_info_handle is fail");
+ return -1;
+ }
+ }
+
+ return 0;
+}
+
+int qser_nw_client_deinit(nw_client_handle_type h_nw)
+{
+ //UNUSED(h_nw);
+ if (h_nw != g_nw_val || g_nw_val == -1)
+ {
+ LOGE("handle NULL");
+ return -1;
+ }
+
+ mbtk_signal_state_change_cb_reg(lynq_nw_info_handle, NULL);
+
+ if(lynq_nw_info_handle)
+ {
+ mbtk_info_handle_free(&lynq_nw_info_handle);
+ }
+ else
+ {
+ LOGE("deinit lynq_nw_info_handle is fail");
+ return -1;
+ }
+
+ return 0;
+}
+
+int qser_nw_set_config(nw_client_handle_type h_nw,QSER_NW_CONFIG_INFO_T *pt_info)
+{
+ //UNUSED(h_nw);
+ //UNUSED(pt_info);
+ if (h_nw != g_nw_val || g_nw_val == -1)
+ {
+ LOGE("handle NULL");
+ return -1;
+ }
+
+ if(lynq_nw_info_handle == NULL)
+ {
+ LOGE("lynq_nw_info_handle == NULL.");
+ return -1;
+ }
+
+ if(pt_info == NULL)
+ {
+ LOGE("pt_info == NULL.");
+ return -1;
+ }
+
+ roaming_pref = pt_info->roaming_pref;
+
+ mbtk_band_info_t band;
+ memset(&band, 0, sizeof(mbtk_band_info_t));
+ tmp_mode = pt_info->preferred_nw_mode;//临时保存一下原本的mode
+
+ //printf("tmp_mode = [%llu]",tmp_mode);
+ band.net_pref = lynq_net_pre_change(FALSE, pt_info->preferred_nw_mode);
+ LOGI("band.net_pref = [%d] ",band.net_pref);
+
+ if(band.net_pref == 0xFF)
+ {
+ LOGE("lynq_net_pre_change() fail.");
+ return -1;
+ }
+
+ if(mbtk_current_band_set(lynq_nw_info_handle, &band))
+ {
+ return -1;
+ }
+
+ return 0;
+}
+
+int qser_nw_get_operator_name(nw_client_handle_type h_nw, QSER_NW_OPERATOR_NAME_INFO_T *pt_info)
+{
+ //UNUSED(h_nw);
+ //UNUSED(pt_info);
+ if (h_nw != g_nw_val || g_nw_val == -1)
+ {
+ LOGE("handle NULL");
+ return -1;
+ }
+
+ if(lynq_nw_info_handle == NULL)
+ {
+ LOGE("lynq_nw_info_handle == NULL.");
+ return -1;
+ }
+
+ if(pt_info == NULL)
+ {
+ LOGE("pt_info == NULL.");
+ return -1;
+ }
+
+ char OperatorFN[128];
+ char OperatorSH[128];
+ char MccMnc[128];
+ mbtk_net_info_t net;
+ if(!mbtk_net_sel_mode_get(lynq_nw_info_handle, &net) && net.plmn > 0)
+ {
+ // printf("Net : %d, %d, %d\n", net.net_sel_mode, net.net_type, net.plmn);
+ int i = 0;
+ while(i < ARRAY_SIZE(lynq_operator_mcc_mnc))
+ {
+ if(lynq_operator_mcc_mnc[i].lynq_mcc_mnc == net.plmn)
+ break;
+ i++;
+ }
+
+ if(i == ARRAY_SIZE(lynq_operator_mcc_mnc)) // No found mcc&mnc
+ {
+ strcpy(OperatorFN, "UNKNOWN");
+ strcpy(OperatorSH, "UNKNOWN");
+ sprintf(MccMnc, "%d", net.plmn);
+ }
+ else
+ {
+ strcpy(OperatorFN, (char*)lynq_operator_mcc_mnc[i].lynq_operator_l);
+ strcpy(OperatorSH, (char*)lynq_operator_mcc_mnc[i].lynq_operator_s);
+ sprintf(MccMnc, "%d", lynq_operator_mcc_mnc[i].lynq_mcc_mnc);
+ }
+ memset(pt_info->long_eons,0,128);
+ memcpy(pt_info->long_eons,lynq_operator_mcc_mnc[i].lynq_operator_l,strlen((char*)lynq_operator_mcc_mnc[i].lynq_operator_l));
+ memset(pt_info->short_eons,0,128);
+ memcpy(pt_info->short_eons,lynq_operator_mcc_mnc[i].lynq_operator_s,strlen((char*)lynq_operator_mcc_mnc[i].lynq_operator_s));
+ memset(pt_info->mcc,0,4);
+ memset(pt_info->mnc,0,4);
+ sprintf(pt_info->mcc, "%d", (lynq_operator_mcc_mnc[i].lynq_mcc_mnc)/100);
+ sprintf(pt_info->mnc, "%d", (lynq_operator_mcc_mnc[i].lynq_mcc_mnc)%100);
+ //pt_info->act;
+ return 0;
+ }
+
+ return -1;
+}
+
+int qser_nw_get_reg_status(nw_client_handle_type h_nw, QSER_NW_REG_STATUS_INFO_T *pt_info)
+{
+ //UNUSED(h_nw);
+ //UNUSED(pt_info);
+ if (h_nw != g_nw_val || g_nw_val == -1)
+ {
+ LOGE("handle NULL");
+ return -1;
+ }
+
+ if(lynq_nw_info_handle == NULL)
+ {
+ LOGE("lynq_nw_info_handle == NULL.");
+ return -1;
+ }
+
+ if(pt_info == NULL)
+ {
+ LOGE("pt_info == NULL.");
+ return -1;
+ }
+
+ /*VOICE/DATA/IMS*/
+ mbtk_net_reg_info_t reg;
+ int err = mbtk_net_reg_get(lynq_nw_info_handle, ®);
+ if(err)
+ {
+ LOGE("mbtk_net_reg_get fail.");
+ return -1;
+ }
+ else
+ {
+ memset(pt_info, 0x0, sizeof(QSER_NW_REG_STATUS_INFO_T));
+
+
+ char OperatorFN[128];
+ char OperatorSH[128];
+ char MccMnc[128];
+ mbtk_net_info_t net;
+ if(!mbtk_net_sel_mode_get(lynq_nw_info_handle, &net) && net.plmn > 0)
+ {
+ // printf("Net : %d, %d, %d\n", net.net_sel_mode, net.net_type, net.plmn);
+ int i = 0;
+ while(i < ARRAY_SIZE(lynq_operator_mcc_mnc))
+ {
+ if(lynq_operator_mcc_mnc[i].lynq_mcc_mnc == net.plmn)
+ break;
+ i++;
+ }
+
+ if(i == ARRAY_SIZE(lynq_operator_mcc_mnc)) // No found mcc&mnc
+ {
+ strcpy(OperatorFN, "UNKNOWN");
+ strcpy(OperatorSH, "UNKNOWN");
+ sprintf(MccMnc, "%d", net.plmn);
+ }
+ else
+ {
+ sprintf(MccMnc, "%d", lynq_operator_mcc_mnc[i].lynq_mcc_mnc);
+ }
+ sprintf(pt_info->data_registration_details_3gpp.mcc, "%d", (lynq_operator_mcc_mnc[i].lynq_mcc_mnc)/100);
+ sprintf(pt_info->data_registration_details_3gpp.mnc, "%d", (lynq_operator_mcc_mnc[i].lynq_mcc_mnc)%100);
+ sprintf(pt_info->voice_registration_details_3gpp.mcc, "%d", (lynq_operator_mcc_mnc[i].lynq_mcc_mnc)/100);
+ sprintf(pt_info->voice_registration_details_3gpp.mnc, "%d", (lynq_operator_mcc_mnc[i].lynq_mcc_mnc)%100);
+ //pt_info->act;
+ }
+
+ //暂时未知是否其他也被使用,现根据ql模块的传输情况,
+ //只配置3gpp,涉及call,data状态没有对应的匹配的就没有赋值
+
+ pt_info->voice_registration_valid = TRUE;
+ pt_info->voice_registration.deny_reason = 0;
+ pt_info->voice_registration.roaming = 0;
+ pt_info->voice_registration.tech_domain = 0;
+
+
+ pt_info->data_registration_valid = TRUE;
+ pt_info->data_registration.deny_reason = 0;
+ pt_info->data_registration.roaming = 0;
+ pt_info->data_registration.tech_domain = 0;
+
+ if (reg.call_state == 1 || reg.call_state == 5)
+ {
+ pt_info->voice_registration.registration_state = E_QSER_NW_SERVICE_FULL;
+ }
+ else if (reg.call_state == 0 || reg.call_state == 2 || reg.call_state == 3 || reg.call_state == 4)
+ {
+ pt_info->voice_registration.registration_state = E_QSER_NW_SERVICE_NONE;
+ }
+
+ if (reg.data_state == 1 || reg.data_state == 5)
+ {
+ pt_info->data_registration.registration_state = E_QSER_NW_SERVICE_FULL;
+ }
+ else if (reg.data_state == 0 || reg.data_state == 2 || reg.data_state == 3 || reg.data_state == 4)
+ {
+ pt_info->data_registration.registration_state = E_QSER_NW_SERVICE_NONE;
+ }
+
+
+ pt_info->voice_registration_details_3gpp_valid = TRUE;
+ pt_info->voice_registration_details_3gpp.lac = reg.lac;
+ pt_info->voice_registration_details_3gpp.cid = reg.ci;
+ //补位填0 or 1
+ pt_info->voice_registration_details_3gpp.tech_domain = 1;
+ pt_info->voice_registration_details_3gpp.roaming = 0;
+ pt_info->voice_registration_details_3gpp.forbidden = 0;
+ pt_info->voice_registration_details_3gpp.psc = 0;
+ pt_info->voice_registration_details_3gpp.tac = 0;
+
+ pt_info->data_registration_details_3gpp_valid = TRUE;
+ pt_info->data_registration_details_3gpp.lac = reg.lac;
+ pt_info->data_registration_details_3gpp.cid = reg.ci;
+ //补位填0 or 1
+ pt_info->data_registration_details_3gpp.tech_domain = 1;
+ pt_info->data_registration_details_3gpp.roaming = 0;
+ pt_info->data_registration_details_3gpp.forbidden = 0;
+ pt_info->data_registration_details_3gpp.psc = 0;
+ pt_info->data_registration_details_3gpp.tac = 0;
+
+
+ pt_info->voice_registration_details_3gpp2_valid = FALSE;
+ //pt_info->voice_registration_details_3gpp2
+
+ pt_info->data_registration_details_3gpp2_valid = FALSE;
+ //pt_info->data_registration_details_3gpp2
+
+
+ switch(reg.type)
+ {
+ case MBTK_RADIO_TECH_GSM:
+ case MBTK_RADIO_TECH_GSM_COMPACT:
+ case MBTK_RADIO_TECH_GSM_EGPRS:
+ case MBTK_RADIO_TECH_UTRAN_HSPA:
+ {
+ pt_info->data_registration_details_3gpp.radio_tech = E_QSER_NW_RADIO_TECH_GPRS;
+ pt_info->voice_registration_details_3gpp.radio_tech = E_QSER_NW_RADIO_TECH_GSM;
+ pt_info->data_registration.radio_tech = E_QSER_NW_RADIO_TECH_GPRS;
+ pt_info->voice_registration.radio_tech = E_QSER_NW_RADIO_TECH_GSM;
+ break;
+ }
+ case MBTK_RADIO_TECH_UTRAN:
+ case MBTK_RADIO_TECH_UTRAN_HSDPA:
+ case MBTK_RADIO_TECH_UTRAN_HSUPA:
+ case MBTK_RADIO_TECH_UTRAN_HSDPA_HSUPA:
+ {
+ pt_info->data_registration_details_3gpp.radio_tech = E_QSER_NW_RADIO_TECH_UMTS;
+ pt_info->voice_registration_details_3gpp.radio_tech = E_QSER_NW_RADIO_TECH_UMTS;
+ pt_info->data_registration.radio_tech = E_QSER_NW_RADIO_TECH_UMTS;
+ pt_info->voice_registration.radio_tech = E_QSER_NW_RADIO_TECH_UMTS;
+ break;
+ }
+ case MBTK_RADIO_TECH_E_UTRAN:
+ {
+ pt_info->data_registration_details_3gpp.radio_tech = E_QSER_NW_RADIO_TECH_LTE;
+ pt_info->voice_registration_details_3gpp.radio_tech = E_QSER_NW_RADIO_TECH_LTE;
+ pt_info->data_registration.radio_tech = E_QSER_NW_RADIO_TECH_LTE;
+ pt_info->voice_registration.radio_tech = E_QSER_NW_RADIO_TECH_LTE;
+ break;
+ }
+ default:
+ {
+ pt_info->data_registration_details_3gpp.radio_tech = E_QSER_NW_RADIO_TECH_NONE;
+ pt_info->voice_registration_details_3gpp.radio_tech = E_QSER_NW_RADIO_TECH_NONE;
+ pt_info->data_registration.radio_tech = E_QSER_NW_RADIO_TECH_NONE;
+ pt_info->voice_registration.radio_tech = E_QSER_NW_RADIO_TECH_NONE;
+ pt_info->data_registration.registration_state = E_QSER_NW_SERVICE_NONE;
+ pt_info->voice_registration.registration_state = E_QSER_NW_SERVICE_NONE;
+ break;
+ }
+ }
+ }
+
+ return 0;
+}
+
+int qser_nw_get_signal_strength(nw_client_handle_type h_nw,QSER_NW_SIGNAL_STRENGTH_INFO_T *pt_info)
+{
+ //UNUSED(h_nw);
+ //UNUSED(pt_info);
+ if (h_nw != g_nw_val || g_nw_val == -1)
+ {
+ LOGE("handle NULL");
+ return -1;
+ }
+
+ if(lynq_nw_info_handle == NULL)
+ {
+ LOGE("lynq_nw_info_handle == NULL.");
+ return -1;
+ }
+
+ if(pt_info == NULL)
+ {
+ LOGE("pt_info == NULL.");
+ return -1;
+ }
+
+ int ret;
+ mbtk_signal_info_t signal;
+ ret = mbtk_net_signal_get(lynq_nw_info_handle, &signal);
+ if(ret != 0) {
+ LOGE("mbtk_net_signal_get fail.");
+ return -1;
+ }
+ else
+ {
+ memset(pt_info, 0x0, sizeof(QSER_NW_SIGNAL_STRENGTH_INFO_T));
+ if(signal.type == MBTK_RADIO_TECH_GSM || signal.type == MBTK_RADIO_TECH_GSM_COMPACT || \
+ signal.type == MBTK_RADIO_TECH_GSM_EGPRS) //GSM
+ {
+ pt_info->gsm_sig_info_valid = TRUE;
+ pt_info->gsm_sig_info.rssi = rssi_convert_to_dBm(signal.rssi);
+ }
+ else if(signal.type == MBTK_RADIO_TECH_E_UTRAN) //LTE
+ {
+ pt_info->lte_sig_info_valid = TRUE;
+ pt_info->lte_sig_info.rsrp = rsrp_convert_to_dBm(signal.rsrp);
+ pt_info->lte_sig_info.rsrq = rsrq_convert_to_dB(signal.rsrq);
+ pt_info->lte_sig_info.snr = 0x7FFF;//->MBTK接口无该参数(对应参数为rssnr,该值INT_MAX:0x7FFFFFFFF表示无效值),写死值为0x7FFFFFFFF
+ pt_info->lte_sig_info.rssi = rssi_convert_to_dBm(signal.rssi);
+ }
+ else if (signal.type == MBTK_RADIO_TECH_UTRAN || signal.type == MBTK_RADIO_TECH_UTRAN_HSDPA || \
+ signal.type == MBTK_RADIO_TECH_UTRAN_HSUPA || signal.type == MBTK_RADIO_TECH_UTRAN_HSDPA_HSUPA || \
+ signal.type == MBTK_RADIO_TECH_UTRAN_HSPA )//WCDMA
+ {
+ pt_info->wcdma_sig_info_valid = TRUE;
+ pt_info->wcdma_sig_info.rssi = rssi_convert_to_dBm(signal.rssi);
+ pt_info->wcdma_sig_info.ecio = ecno_convert_to_dB(signal.ecno);
+ }
+ else
+ {
+ return -1;
+ }
+ /*
+ pt_info->gsm_sig_info_valid = 1//signal.gw_sig_valid;
+ pt_info->gsm_sig_info.rssi = signal.rssi;//signal.rssi-110;
+ pt_info->wcdma_sig_info_valid = 1//signal.wcdma_sig_valid;
+ pt_info->wcdma_sig_info.rssi = signal.rscp;//signal.wcdma_signalstrength-110;
+ pt_info->wcdma_sig_info.ecio = //signal.ecno/5;
+ pt_info->tdscdma_sig_info_valid = 0;
+ pt_info->lte_sig_info_valid = 1//signal.lte_sig_valid;
+ pt_info->lte_sig_info.rssi = -125;//signal.lte_signalstrength-110;
+ pt_info->lte_sig_info.rsrp = signal.rsrp;//signal.rsrp*(-1);
+ pt_info->lte_sig_info.rsrq = signal.rsrq;//signal.rsrq*(-1);
+ pt_info->lte_sig_info.snr = 0x7FFFFFFFF;//signal.rssnr;
+ pt_info->cdma_sig_info_valid = 0;
+ pt_info->hdr_sig_info_valid = 0;
+ //mbtk 无nr
+ pt_info->nr_sig_info_valid = 0//signal.nr_sig_valid;
+ pt_info->nr_sig_info.ssRsrp = 0//signal.ssRsrp;
+ pt_info->nr_sig_info.ssRsrq = 0//signal.ssRsrq;
+ pt_info->nr_sig_info.ssSinr = 0//signal.ssSinr;
+ pt_info->nr_sig_info.csiRsrp = 0//signal.csiRsrp;
+ pt_info->nr_sig_info.csiRsrq = 0//signal.csiRsrq;
+ pt_info->nr_sig_info.csiSinr = 0//signal.csiSinr;
+ */
+ }
+
+ return 0;
+}
+
+int qser_nw_add_rx_msg_handler (nw_client_handle_type h_nw, QSER_NW_RxMsgHandlerFunc_t handlerPtr, void* contextPtr)
+{
+ //UNUSED(h_nw);
+ //UNUSED(handlerPtr);
+ //UNUSED(contextPtr);
+
+ if (h_nw != g_nw_val || g_nw_val == -1)
+ {
+ LOGE("handle NULL");
+ return -1;
+ }
+
+ if(lynq_nw_info_handle == NULL)
+ {
+ LOGE("lynq_nw_info_handle == NULL.");
+ return -1;
+ }
+
+ lynq_func_cb_handle.handlerPtr = handlerPtr;
+ lynq_func_cb_handle.contextPtr = contextPtr;
+
+ mbtk_signal_state_change_cb_reg(lynq_nw_info_handle, qser_signal_state_change_cb);
+
+ return 0;
+}
+
+int qser_nw_set_oos_config (nw_client_handle_type h_nw, QSER_NW_OOS_CONFIG_INFO_T *pt_info)
+{
+ //UNUSED(h_nw);
+ //UNUSED(pt_info);
+ if (h_nw != g_nw_val || g_nw_val == -1)
+ {
+ LOGE("handle NULL");
+ return -1;
+ }
+
+ if (pt_info == NULL)
+ {
+ LOGE("QSER_NW_OOS_CONFIG_INFO_T NULL");
+ return -1;
+ }
+
+ uint32 oosPhase_0, oosPhase_1, oosPhase_2;
+ char tmp_type;
+ mbtk_oos_info oos_info;
+
+ memset(&oos_info, 0x00, sizeof(mbtk_oos_info));
+
+
+ tmp_type = pt_info->type;
+
+ if (tmp_type == QSER_NW_OOS_CFG_TYPE_FULL_BAND_SCAN)
+ {//如果没有配置对应的值,例如,10,20
+ //oosPhase_2这个位置没有配置,则使用默认值20,既不限制次数的5s进行一次扫描
+ //同理oosPhase_0,oosPhase_1这个位置没有配置,则使用默认值5,10,既限制次数5次的5s,10s进行一次扫描
+ //输入多少配置多少,可以缺省使用默认值
+ if (pt_info->u.full_band_scan_info.t_min < 0 || pt_info->u.full_band_scan_info.t_step < 0 || pt_info->u.full_band_scan_info.t_max < 0)
+ {
+ LOGE("qser_nw_set_oos_config set time < 0 ");
+ return -1;
+ }
+ else if ((pt_info->u.full_band_scan_info.t_min > 0 && pt_info->u.full_band_scan_info.t_min <= 255) && pt_info->u.full_band_scan_info.t_step == 0 && pt_info->u.full_band_scan_info.t_max == 0)
+ {
+ oosPhase_0 = pt_info->u.full_band_scan_info.t_min;
+ oos_info.mode = 1;
+ oos_info.oosPhase[0] = oosPhase_0;
+ }
+ else if ((pt_info->u.full_band_scan_info.t_min > 0 && pt_info->u.full_band_scan_info.t_min <= 255) && (pt_info->u.full_band_scan_info.t_step > 0 && pt_info->u.full_band_scan_info.t_step <= 255) && pt_info->u.full_band_scan_info.t_max == 0)
+ {
+ oosPhase_0 = pt_info->u.full_band_scan_info.t_min;
+ oosPhase_1 = pt_info->u.full_band_scan_info.t_step;
+ oos_info.mode = 1;
+ oos_info.oosPhase[0] = oosPhase_0;
+ oos_info.oosPhase[1] = oosPhase_1;
+ }
+ else if ((pt_info->u.full_band_scan_info.t_min > 0 && pt_info->u.full_band_scan_info.t_min <= 255) && (pt_info->u.full_band_scan_info.t_step > 0 && pt_info->u.full_band_scan_info.t_step <= 255) && (pt_info->u.full_band_scan_info.t_max > 0 && pt_info->u.full_band_scan_info.t_max <= 255))
+ {
+ oosPhase_0 = pt_info->u.full_band_scan_info.t_min;
+ oosPhase_1 = pt_info->u.full_band_scan_info.t_step;
+ oosPhase_2 = pt_info->u.full_band_scan_info.t_max;
+ oos_info.mode = 1;
+ oos_info.oosPhase[0] = oosPhase_0;
+ oos_info.oosPhase[1] = oosPhase_1;
+ oos_info.oosPhase[2] = oosPhase_2;
+ }
+ else if (pt_info->u.full_band_scan_info.t_min == 0 && pt_info->u.full_band_scan_info.t_step == 0 && pt_info->u.full_band_scan_info.t_max == 0)
+ {
+ oos_info.mode = 0;
+ }
+ else
+ {
+ LOGE("qser_nw_set_oos_config set Format err");
+ return -1;
+ }
+
+ int err = mbtk_oos_set(lynq_nw_info_handle, &oos_info);
+ if (err != 0)
+ {
+ LOGE("qser_nw_set_oos_config mbtk_oos_set err");
+ return -1;
+ }
+ }
+ else if (tmp_type == QSER_NW_OOS_CFG_TYPE_FAST_SCAN)
+ {
+ LOGE("Not currently supported");
+ return -1;
+ }
+ else
+ {
+ LOGE("type is error");
+ return -1;
+ }
+
+ return 0;
+}
+
+int qser_nw_get_oos_config (nw_client_handle_type h_nw, QSER_NW_OOS_CONFIG_INFO_T *pt_info)
+{
+ //UNUSED(h_nw);
+ //UNUSED(pt_info);
+ if (h_nw != g_nw_val || g_nw_val == -1)
+ {
+ LOGE("handle NULL");
+ return -1;
+ }
+
+ mbtk_oos_info oos_info;
+// uint32 oosPhase_0, oosPhase_1, oosPhase_2;
+// char cmd[100] = {0};
+
+ memset(&oos_info, 0x00, sizeof(mbtk_oos_info));
+
+ int err = mbtk_oos_get(lynq_nw_info_handle, &oos_info);
+ if (err != 0)
+ {
+ LOGE("qser_nw_get_oos_config mbtk_oos_get err ");
+ return -1;
+ }
+/*
+ printf("oos_info.mode =[%d] \n",oos_info.mode);
+ printf("oos_info.1 =[%d] \n",oos_info.oosPhase[0]);
+ printf("oos_info.2 =[%d] \n",oos_info.oosPhase[1]);
+ printf("oos_info.3 =[%d] \n",oos_info.oosPhase[2]);
+*/
+ if(oos_info.mode == 0)//关闭状态
+ {
+ pt_info->u.full_band_scan_info.t_min = 0;
+ pt_info->u.full_band_scan_info.t_step = 0;
+ pt_info->u.full_band_scan_info.t_max = 0;
+ }
+ else
+ {
+ pt_info->u.full_band_scan_info.t_min = (int)oos_info.oosPhase[0];
+ pt_info->u.full_band_scan_info.t_step = (int)oos_info.oosPhase[1];
+ pt_info->u.full_band_scan_info.t_max = (int)oos_info.oosPhase[2];
+ }
+ pt_info->type = QSER_NW_OOS_CFG_TYPE_FULL_BAND_SCAN;
+
+
+ if (pt_info == NULL)
+ {
+ LOGE("qser_nw_get_oos_config pt_info is null ");
+ return -1;
+ }
+
+ return 0;
+}
+
+int qser_nw_set_rf_mode (nw_client_handle_type h_nw, E_QSER_NW_RF_MODE_TYPE_T rf_mode)
+{
+ //UNUSED(h_nw);
+ //UNUSED(rf_mode);
+ int ret;
+ mbtk_modem_info_t info;
+
+ if (h_nw != g_nw_val || g_nw_val == -1)
+ {
+ LOGE("handle NULL");
+ return -1;
+ }
+
+ if(lynq_nw_info_handle == NULL)
+ {
+ LOGE("lynq_nw_info_handle == NULL.");
+ return -1;
+ }
+
+/*
+ if (rf_mode == 4)
+ {
+ printf("Flight Mode no Support Now\n");
+ return -1;
+ }
+*/
+ if (rf_mode != 4 && rf_mode != 0 && rf_mode != 1)
+ {
+ LOGE("mode is error!");
+ return -1;
+ }
+
+ info.fun = rf_mode;
+ info.rst = 0;
+ ret = mbtk_set_modem_fun(lynq_nw_info_handle, &info);
+
+ //ret = mbtk_radio_state_set(lynq_nw_info_handle, rf_mode);
+ if (ret != 0)
+ {
+ LOGE("mbtk_radio_state_set fail.");
+ return -1;
+ }
+ else
+ {
+ LOGI("qser_nw_set_rf_mode is success\n");
+ }
+
+ return 0;
+}
+
+int qser_nw_get_rf_mode (nw_client_handle_type h_nw, E_QSER_NW_RF_MODE_TYPE_T *rf_mode)
+{
+ //UNUSED(h_nw);
+ //UNUSED(rf_mode);
+ int ret;
+ int tmp_rf;
+
+ if (h_nw != g_nw_val || g_nw_val == -1)
+ {
+ LOGE("handle NULL");
+ return -1;
+ }
+
+ if(lynq_nw_info_handle == NULL)
+ {
+ LOGE("lynq_nw_info_handle == NULL.");
+ return -1;
+ }
+
+ ret = mbtk_get_modem_fun(lynq_nw_info_handle, &tmp_rf);
+
+ //ret = mbtk_radio_state_get(lynq_nw_info_handle, &tmp_rf);
+ if (ret != 0)
+ {
+ LOGE("mbtk_radio_state_get fail.");
+ return -1;
+ }
+ else
+ {
+ LOGI("qser_nw_get_rf_mode is success\n");
+ *rf_mode = tmp_rf;
+ }
+
+
+ return 0;
+}
+
+int qser_nw_set_ims_enable(nw_client_handle_type h_nw, E_QSER_NW_IMS_MODE_TYPE_T ims_mode)
+{
+ int ret = 0;
+
+ if (h_nw != g_nw_val || g_nw_val == -1)
+ {
+ LOGE("handle NULL");
+ return -1;
+ }
+
+ if(lynq_nw_info_handle == NULL)
+ {
+ LOGE("lynq_nw_info_handle == NULL.");
+ return -1;
+ }
+
+ ret = mbtk_net_ims_set(lynq_nw_info_handle, ims_mode);
+ if (ret != 0)
+ {
+ LOGE("mbtk_net_ims_set fail.");
+ return -1;
+ }
+
+ return 0;
+}
+
+int qser_nw_get_ims_reg_status(nw_client_handle_type h_nw, QSER_NW_IMS_REG_STATUS_INFO_T *pt_info)
+{
+ int ret = 0;
+ int tmp_pt;
+
+ if (h_nw != g_nw_val || g_nw_val == -1)
+ {
+ LOGE("handle NULL");
+ return -1;
+ }
+
+ if(lynq_nw_info_handle == NULL)
+ {
+ LOGE("lynq_nw_info_handle == NULL.");
+ return -1;
+ }
+
+ ret = mbtk_net_ims_reg_state_get(lynq_nw_info_handle, &tmp_pt);
+ if (ret != 0)
+ {
+ LOGE("mbtk_net_ims_get fail.");
+ return -1;
+ }
+
+ if (tmp_pt == 0)
+ pt_info->registration_state = E_QSER_NW_IMS_SERVICE_NONE;
+ else if (tmp_pt == 1)
+ pt_info->registration_state = E_QSER_NW_IMS_SERVICE_REGISTERED;
+ else
+ {
+ LOGE("mbtk_net_ims_get value error fail.");
+ return -1;
+ }
+
+ return 0;
+}
+
+
diff --git a/mbtk/liblynq_lib/lynq_sim.c b/mbtk/liblynq_lib/lynq_sim.c
new file mode 100755
index 0000000..78af51b
--- /dev/null
+++ b/mbtk/liblynq_lib/lynq_sim.c
@@ -0,0 +1,746 @@
+#include "lynq_qser_sim.h"
+#include "mbtk_type.h"
+#include "mbtk_info_api.h"
+
+/****************************DEFINE***************************************/
+#define QSER_RESULT_SUCCESS 0
+#define QSER_RESULT_FAIL -1
+
+#define QSER_IMEI_SV_VERSION "01"
+
+/****************************DEFINE***************************************/
+
+/****************************VARIABLE***************************************/
+extern mbtk_info_handle_t* qser_info_handle;
+extern int qser_info_handle_num;
+static bool inited = FALSE;
+static uint qser_h_sim = 0x5F6F7F8F;
+static QSER_SIM_RxMsgHandlerFunc_t qser_sim_state_cb = NULL;
+static bool qser_sim_cb_state = false;
+/****************************VARIABLE***************************************/
+
+/******************************FUNC*****************************************/
+void qser_sim_state_change_cb(const void* data, int data_len)
+{
+ uint8 *ptr = (uint8*)data;
+ LOGE("[qser_sim] SIM state : %d\n", *ptr);
+ QSER_SIM_CARD_STATUS_INFO_T qser_sim_statue = {0};
+ if(*ptr == 0)
+ {
+ qser_sim_statue.e_card_state = QSER_SIM_CARD_STATE_ABSENT;
+ }
+ else if(*ptr == 1)
+ {
+ qser_sim_statue.e_card_state = QSER_SIM_CARD_STATE_PRESENT;
+ }
+ else if(*ptr == 18)
+ {
+ qser_sim_statue.e_card_state = QSER_SIM_CARD_STATE_ABSENT;
+ }
+ else
+ {
+ qser_sim_statue.e_card_state = QSER_SIM_CARD_STATE_UNKNOWN;
+ }
+ if(qser_sim_state_cb != NULL)
+ {
+ qser_sim_state_cb(&qser_sim_statue);
+ }
+}
+
+/******************************FUNC*****************************************/
+
+/****************************API***************************************/
+int qser_sim_client_init(sim_client_handle_type *ph_sim)
+{
+ //UNUSED(ph_sim);
+ if(ph_sim == NULL)
+ {
+ LOGE("[qser_sim] ph_sim is NULL.");
+ return QSER_RESULT_FAIL;
+ }
+
+ if(!inited && qser_info_handle == NULL)
+ {
+ qser_info_handle = mbtk_info_handle_get();
+ if(qser_info_handle)
+ {
+ qser_info_handle_num++;
+ inited = TRUE;
+ //mbtk_pdp_state_change_cb_reg(qser_info_handle, qser_wan_net_state_change_cb);
+ }
+ else
+ {
+ LOGE("[qser_sim] mbtk_info_handle_get() fail.");
+ return QSER_RESULT_FAIL;
+ }
+ }
+ else
+ {
+ if(!inited)
+ {
+ qser_info_handle_num++;
+ inited = TRUE;
+ //mbtk_pdp_state_change_cb_reg(qser_info_handle, qser_wan_net_state_change_cb);
+ }
+ }
+ *ph_sim = qser_h_sim;
+
+ LOGE("[qser_sim] mbtk_info_handle_get() success.");
+ return QSER_RESULT_SUCCESS;
+}
+
+int qser_sim_getimsi(sim_client_handle_type h_sim, QSER_SIM_APP_ID_INFO_T *pt_info,char *imsi,size_t imsiLen)
+{
+ //UNUSED(h_sim);
+ UNUSED(pt_info);
+ //UNUSED(imsi);
+ //UNUSED(imsiLen);
+
+ if(h_sim != qser_h_sim)
+ {
+ LOGE("[qser_sim] h_sim is error.");
+ return QSER_RESULT_FAIL;
+ }
+
+ if(qser_info_handle == NULL)
+ {
+ LOGE("[qser_sim] handle is NULL.");
+ return QSER_RESULT_FAIL;
+ }
+
+ if(imsi == NULL || imsiLen < 15)
+ {
+ LOGE("[qser_sim] imsi is NULL.");
+ return QSER_RESULT_FAIL;
+ }
+
+ memset(imsi,0,imsiLen);
+ int err = mbtk_imsi_get(qser_info_handle, imsi);
+ if(err)
+ {
+ LOGE("[qser_sim] mbtk_imsi_get is fail.");
+ return QSER_RESULT_FAIL;
+ }
+
+ if(strlen(imsi) > imsiLen)
+ {
+ LOGE("[qser_sim] get datalength out of range.");
+ return QSER_RESULT_FAIL;
+ }
+
+ return QSER_RESULT_SUCCESS;
+}
+
+int qser_sim_geticcid(sim_client_handle_type h_sim,QSER_SIM_SLOT_ID_TYPE_T simId,char *iccid, size_t iccidLen)
+{
+ //UNUSED(h_sim);
+ UNUSED(simId);
+ //UNUSED(iccid);
+ //UNUSED(iccidLen);
+
+ if(h_sim != qser_h_sim)
+ {
+ LOGE("[qser_sim] h_sim is error.");
+ return QSER_RESULT_FAIL;
+ }
+
+ if(qser_info_handle == NULL)
+ {
+ LOGE("[qser_sim] handle is NULL.");
+ return QSER_RESULT_FAIL;
+ }
+
+ if(iccid == NULL || iccidLen < QSER_SIM_ICCID_LEN_MAX)
+ {
+ LOGE("[qser_sim] iccid is NULL.");
+ return QSER_RESULT_FAIL;
+ }
+
+ memset(iccid, 0, iccidLen);
+ int err = mbtk_iccid_get(qser_info_handle, iccid);
+ if(err)
+ {
+ LOGE("[qser_sim] mbtk_iccid_get is fail.");
+ return QSER_RESULT_FAIL;
+ }
+
+ if(strlen(iccid) > iccidLen)
+ {
+ LOGE("[qser_sim] get datalength out of range.");
+ return QSER_RESULT_FAIL;
+ }
+
+ return QSER_RESULT_SUCCESS;
+}
+
+int qser_sim_getphonenumber(sim_client_handle_type h_sim,QSER_SIM_APP_ID_INFO_T *pt_info, char*phone_num, size_t phoneLen)
+{
+ //UNUSED(h_sim);
+ UNUSED(pt_info);
+ //UNUSED(phone_num);
+ //UNUSED(phoneLen);
+
+ if(h_sim != qser_h_sim)
+ {
+ LOGE("[qser_sim] h_sim is error.");
+ return QSER_RESULT_FAIL;
+ }
+
+ if(qser_info_handle == NULL)
+ {
+ LOGE("[qser_sim] handle is NULL.");
+ return QSER_RESULT_FAIL;
+ }
+
+ if(phone_num == NULL || phoneLen < 11)
+ {
+ LOGE("[qser_sim] phone_num is NULL.");
+ return QSER_RESULT_FAIL;
+ }
+
+ memset(phone_num, 0, phoneLen);
+ int err = mbtk_phone_number_get(qser_info_handle, phone_num);
+ if(err)
+ {
+ LOGE("[qser_sim] mbtk_phone_number_get is fail.");
+ return QSER_RESULT_FAIL;
+ }
+
+ if(strlen(phone_num) > phoneLen)
+ {
+ LOGE("[qser_sim] get datalength out of range.");
+ return QSER_RESULT_FAIL;
+ }
+
+ return QSER_RESULT_SUCCESS;
+}
+
+int qser_sim_verifypin(sim_client_handle_type h_sim,QSER_SIM_VERIFY_PIN_INFO_T *pt_info)
+{
+ //UNUSED(h_sim);
+ //UNUSED(pt_info);
+
+ if(h_sim != qser_h_sim)
+ {
+ LOGE("[qser_sim] h_sim is error.");
+ return QSER_RESULT_FAIL;
+ }
+
+ if(qser_info_handle == NULL)
+ {
+ LOGE("[qser_sim] handle is NULL.");
+ return QSER_RESULT_FAIL;
+ }
+
+ if(pt_info == NULL)
+ {
+ LOGE("[qser_sim] pt_info is NULL.");
+ return QSER_RESULT_FAIL;
+ }
+
+ int err = mbtk_verify_pin(qser_info_handle, pt_info->pin_value);
+ if(err)
+ {
+ LOGE("[qser_sim] mbtk_verify_pin is fail.");
+ return QSER_RESULT_FAIL;
+ }
+
+ return QSER_RESULT_SUCCESS;
+}
+
+int qser_sim_changepin(sim_client_handle_type h_sim,QSER_SIM_CHANGE_PIN_INFO_T *pt_info)
+{
+ //UNUSED(h_sim);
+ //UNUSED(pt_info);
+
+ if(h_sim != qser_h_sim)
+ {
+ LOGE("[qser_sim] h_sim is error.");
+ return QSER_RESULT_FAIL;
+ }
+
+ if(qser_info_handle == NULL)
+ {
+ LOGE("[qser_sim] handle is NULL.");
+ return QSER_RESULT_FAIL;
+ }
+
+ if(pt_info == NULL)
+ {
+ LOGE("[qser_sim] pt_info is NULL.");
+ return QSER_RESULT_FAIL;
+ }
+
+ mbtk_change_pin_info pin_info = {0};
+ memcpy(pin_info.old_pin_value, pt_info->old_pin_value, pt_info->old_pin_value_len);
+ memcpy(pin_info.new_pin_value, pt_info->new_pin_value, pt_info->new_pin_value_len);
+ int err = mbtk_change_pin(qser_info_handle, &pin_info);
+ if(err)
+ {
+ LOGE("[qser_sim] mbtk_change_pin is fail.");
+ return QSER_RESULT_FAIL;
+ }
+
+ return QSER_RESULT_SUCCESS;
+}
+
+int qser_sim_unblockpin(sim_client_handle_type h_sim, QSER_SIM_UNBLOCK_PIN_INFO_T *pt_info)
+{
+ //UNUSED(h_sim);
+ //UNUSED(pt_info);
+
+ if(h_sim != qser_h_sim)
+ {
+ LOGE("[qser_sim] h_sim is error.");
+ return QSER_RESULT_FAIL;
+ }
+
+ if(qser_info_handle == NULL)
+ {
+ LOGE("[qser_sim] handle is NULL.");
+ return QSER_RESULT_FAIL;
+ }
+
+ if(pt_info == NULL)
+ {
+ LOGE("[qser_sim] pt_info is NULL.");
+ return QSER_RESULT_FAIL;
+ }
+
+ mbtk_unlock_pin_info puk_pin_info = {0};
+ memcpy(puk_pin_info.pin_value, pt_info->new_pin_value, pt_info->new_pin_value_len);
+ memcpy(puk_pin_info.puk_value, pt_info->puk_value, pt_info->puk_value_len);
+ int err = mbtk_unlock_pin(qser_info_handle, &puk_pin_info);
+ if(err)
+ {
+ LOGE("[qser_sim] mbtk_unlock_pin is fail.");
+ return QSER_RESULT_FAIL;
+ }
+
+ return QSER_RESULT_SUCCESS;
+}
+
+int qser_sim_enablepin(sim_client_handle_type h_sim, QSER_SIM_ENABLE_PIN_INFO_T *pt_info)
+{
+ //UNUSED(h_sim);
+ //UNUSED(pt_info);
+
+ if(h_sim != qser_h_sim)
+ {
+ LOGE("[qser_sim] h_sim is error.");
+ return QSER_RESULT_FAIL;
+ }
+
+ if(qser_info_handle == NULL)
+ {
+ LOGE("[qser_sim] handle is NULL.");
+ return QSER_RESULT_FAIL;
+ }
+
+ if(pt_info == NULL)
+ {
+ LOGE("[qser_sim] pt_info is NULL.");
+ return QSER_RESULT_FAIL;
+ }
+
+ mbtk_enable_pin_info pin_info = {0};
+ memcpy(pin_info.pin_value, pt_info->pin_value, pt_info->pin_value_len);
+ pin_info.enable = 1;
+ int err = mbtk_enable_pin(qser_info_handle, &pin_info);
+ if(err)
+ {
+ LOGE("[qser_sim] mbtk_enable_pin is fail.");
+ return QSER_RESULT_FAIL;
+ }
+
+ return QSER_RESULT_SUCCESS;
+}
+
+int qser_sim_disablepin(sim_client_handle_type h_sim, QSER_SIM_DISABLE_PIN_INFO_T *pt_info)
+{
+ //UNUSED(h_sim);
+ //UNUSED(pt_info);
+
+ if(h_sim != qser_h_sim)
+ {
+ LOGE("[qser_sim] h_sim is error.");
+ return QSER_RESULT_FAIL;
+ }
+
+ if(qser_info_handle == NULL)
+ {
+ LOGE("[qser_sim] handle is NULL.");
+ return QSER_RESULT_FAIL;
+ }
+
+ if(pt_info == NULL)
+ {
+ LOGE("[qser_sim] pt_info is NULL.");
+ return QSER_RESULT_FAIL;
+ }
+
+ mbtk_enable_pin_info pin_info = {0};
+ memcpy(pin_info.pin_value, pt_info->pin_value, pt_info->pin_value_len);
+ pin_info.enable = 0;
+ int err = mbtk_enable_pin(qser_info_handle, &pin_info);
+ if(err)
+ {
+ LOGE("[qser_sim] mbtk_enable_pin is fail.");
+ return QSER_RESULT_FAIL;
+ }
+
+ return QSER_RESULT_SUCCESS;
+}
+
+int qser_sim_getcardstatus(sim_client_handle_type h_sim,QSER_SIM_SLOT_ID_TYPE_T simId,QSER_SIM_CARD_STATUS_INFO_T *pt_info)
+{
+ //UNUSED(h_sim);
+ //UNUSED(simId);
+ //UNUSED(pt_info);
+
+ if(h_sim != qser_h_sim)
+ {
+ LOGE("[qser_sim] h_sim is error.");
+ return QSER_RESULT_FAIL;
+ }
+
+ if(qser_info_handle == NULL)
+ {
+ LOGE("[qser_sim] handle is NULL.");
+ return QSER_RESULT_FAIL;
+ }
+
+ if(pt_info == NULL)
+ {
+ LOGE("[qser_sim] pt_info is NULL.");
+ return QSER_RESULT_FAIL;
+ }
+
+ mbtk_sim_state_enum sim;
+ mbtk_sim_card_type_enum sim_card_type;
+ mbtk_pin_puk_last_times qser_last_times = {0};
+ int err = mbtk_sim_state_get(qser_info_handle, &sim);
+ if(err)
+ {
+ LOGE("[qser_sim] mbtk_sim_state_get fail [err = %d].", err);
+ return QSER_RESULT_FAIL;
+ }
+ else
+ {
+ LOGE("[qser_sim] sim = %d.", sim);
+ memset(pt_info, 0x0, sizeof(QSER_SIM_CARD_STATUS_INFO_T));
+ switch (sim)
+ {
+ case 0: //ABSENT
+ pt_info->e_card_state = QSER_SIM_CARD_STATE_ABSENT;
+ break;
+ case 1: //NOT READY
+ pt_info->e_card_state = QSER_SIM_CARD_STATE_ABSENT;
+ break;
+ case 2: //READY
+ pt_info->e_card_state = QSER_SIM_CARD_STATE_PRESENT;
+ break;
+ case 3: //SIM PIN
+ pt_info->e_card_state = QSER_SIM_CARD_STATE_PRESENT;
+ break;
+ case 4: //SIM PUK
+ pt_info->e_card_state = QSER_SIM_CARD_STATE_PRESENT;
+ break;
+ case 5: //NETWORK
+ pt_info->e_card_state = QSER_SIM_CARD_STATE_ERROR_SIM_TECHNICAL_PROBLEMS;
+ break;
+ default:
+ pt_info->e_card_state = QSER_SIM_CARD_STATE_UNKNOWN;
+ break;
+ }
+ }
+
+ err = mbtk_sim_card_type_get(qser_info_handle, &sim_card_type);
+ if(err)
+ {
+ LOGE("[qser_sim] mbtk_sim_state_get fail [err = %d].", err);
+ return QSER_RESULT_FAIL;
+ }
+ else
+ {
+ if(sim_card_type == 0 || sim_card_type == 2)
+ pt_info->e_card_type = QSER_SIM_CARD_TYPE_ICC;
+ else if(sim_card_type == 1 || sim_card_type == 3)
+ pt_info->e_card_type = QSER_SIM_CARD_TYPE_UICC;
+ else
+ pt_info->e_card_type = QSER_SIM_CARD_TYPE_UNKNOWN;
+ }
+
+ err = mbtk_pin_last_num_get(qser_info_handle, &qser_last_times);
+ if(err)
+ {
+ LOGE("[qser_sim] mbtk_sim_state_get fail [err = %d].", err);
+ return QSER_RESULT_FAIL;
+ }
+ else
+ {
+ pt_info->card_app_info.app_3gpp.pin1_num_retries = qser_last_times.p1_retry;
+ pt_info->card_app_info.app_3gpp.pin2_num_retries = qser_last_times.p2_retry;
+ pt_info->card_app_info.app_3gpp.puk1_num_retries = qser_last_times.puk1_retry;
+ pt_info->card_app_info.app_3gpp.puk2_num_retries = qser_last_times.puk2_retry;
+ }
+
+ return QSER_RESULT_SUCCESS;
+}
+
+int qser_sim_getimei(sim_client_handle_type h_sim, char *imei)
+{
+ //UNUSED(h_sim);
+ //UNUSED(imei);
+
+ if(h_sim != qser_h_sim)
+ {
+ LOGE("[qser_sim] h_sim is error.");
+ return QSER_RESULT_FAIL;
+ }
+
+ if(qser_info_handle == NULL)
+ {
+ LOGE("[qser_sim] handle is NULL.");
+ return QSER_RESULT_FAIL;
+ }
+
+ if(imei == NULL)
+ {
+ LOGE("[qser_sim] imei is NULL.");
+ return QSER_RESULT_FAIL;
+ }
+
+ int err = mbtk_imei_get(qser_info_handle, imei);
+ if(err)
+ {
+ LOGE("[qser_sim] mbtk_imei_get Error : %d\n", err);
+ return QSER_RESULT_FAIL;
+ }
+ return QSER_RESULT_SUCCESS;
+}
+
+int qser_get_imei_and_sv(sim_client_handle_type h_sim,char *imei, char*sv)
+{
+ //UNUSED(h_sim);
+ //UNUSED(imei);
+ //UNUSED(sv);
+ if(h_sim != qser_h_sim)
+ {
+ LOGE("[qser_sim] h_sim is error.");
+ return QSER_RESULT_FAIL;
+ }
+
+ if(qser_info_handle == NULL)
+ {
+ LOGE("[qser_sim] handle is NULL.");
+ return QSER_RESULT_FAIL;
+ }
+
+ if(imei == NULL || sv == NULL)
+ {
+ LOGE("[qser_sim] param is NULL.");
+ return QSER_RESULT_FAIL;
+ }
+
+ int err = mbtk_imei_get(qser_info_handle, imei);
+ if(err)
+ {
+ LOGE("[qser_sim] mbtk_imei_get Error: %d\n", err);
+ return QSER_RESULT_FAIL;
+ }
+
+ memcpy(sv, QSER_IMEI_SV_VERSION, strlen(QSER_IMEI_SV_VERSION));
+
+ return QSER_RESULT_SUCCESS;
+}
+
+int qser_reset_modem(sim_client_handle_type h_sim)
+{
+ //UNUSED(h_sim);
+
+ if(h_sim != qser_h_sim)
+ {
+ LOGE("[qser_sim] h_sim is error.");
+ return QSER_RESULT_FAIL;
+ }
+
+ if(qser_info_handle == NULL)
+ {
+ LOGE("[qser_sim] handle is NULL.");
+ return QSER_RESULT_FAIL;
+ }
+
+ for(int cid =0; cid < MBTK_APN_CID_MAX; cid++)
+ {
+ mbtk_data_call_stop(qser_info_handle, cid, 1);
+ }
+
+
+ //mbtk_system_reboot(0);
+ mbtk_modem_info_t info;
+ info.fun = MBTK_DEV_MODEM_MIN_FUN;
+ info.rst = 0;
+ int err = mbtk_set_modem_fun(qser_info_handle, &info);
+ if(err)
+ {
+ LOGE("[qser_sim] mbtk_set_modem_fun Error : %d\n", err);
+ return QSER_RESULT_FAIL;
+ }
+
+ info.fun = MBTK_DEV_MODEM_FULL_FUN;
+ err = mbtk_set_modem_fun(qser_info_handle, &info);
+ if(err)
+ {
+ LOGE("[qser_sim] mbtk_set_modem_fun Error : %d\n", err);
+ return QSER_RESULT_FAIL;
+ }
+ return QSER_RESULT_SUCCESS;
+}
+
+int qser_get_version(sim_client_handle_type h_sim, char *buf)
+{
+ //UNUSED(h_sim);
+ //UNUSED(buf);
+
+ if(h_sim != qser_h_sim)
+ {
+ LOGE("[qser_sim] h_sim is error.");
+ return QSER_RESULT_FAIL;
+ }
+
+ if(qser_info_handle == NULL)
+ {
+ LOGE("[qser_sim] handle is NULL.");
+ return QSER_RESULT_FAIL;
+ }
+
+ if(buf == NULL)
+ {
+ LOGE("[qser_sim] buf is NULL.");
+ return QSER_RESULT_FAIL;
+ }
+
+ int err = mbtk_version_get(qser_info_handle, buf);
+ if(err)
+ {
+ LOGE("[qser_sim] mbtk_version_get Error : %d\n", err);
+ return QSER_RESULT_FAIL;
+ }
+ return QSER_RESULT_SUCCESS;
+}
+
+int qser_reset_sim(sim_client_handle_type h_sim)
+{
+ //UNUSED(h_sim);
+
+ if(h_sim != qser_h_sim)
+ {
+ LOGE("[qser_sim] h_sim is error.");
+ return QSER_RESULT_FAIL;
+ }
+
+ if(qser_info_handle == NULL)
+ {
+ LOGE("[qser_sim] handle is NULL.");
+ return QSER_RESULT_FAIL;
+ }
+
+ //mbtk_sim_power_set(0);
+ //sleep(1);
+ //mbtk_sim_power_set(1);
+ mbtk_modem_info_t info;
+ info.fun = MBTK_DEV_MODEM_DISABLE_SIM;
+ info.rst = 0;
+ int err = mbtk_set_modem_fun(qser_info_handle, &info);
+ if(err)
+ {
+ LOGE("[qser_sim] mbtk_set_modem_fun Error : %d\n", err);
+ return QSER_RESULT_FAIL;
+ }
+
+ info.fun = MBTK_DEV_MODEM_FULL_FUN;
+ err = mbtk_set_modem_fun(qser_info_handle, &info);
+ if(err)
+ {
+ LOGE("[qser_sim] mbtk_set_modem_fun Error : %d\n", err);
+ return QSER_RESULT_FAIL;
+ }
+ return QSER_RESULT_SUCCESS;
+}
+
+int qser_sim_addrxmsghandler(QSER_SIM_RxMsgHandlerFunc_t handlerPtr)
+{
+ if(qser_info_handle == NULL)
+ {
+ LOGE("[qser_sim] handle is NULL.");
+ return QSER_RESULT_FAIL;
+ }
+
+ if(handlerPtr == NULL)
+ {
+ LOGE("[qser_sim] param is NULL.");
+ qser_sim_state_cb = NULL;
+ return QSER_RESULT_SUCCESS;
+ }
+
+ qser_sim_state_cb = handlerPtr;
+ if(!qser_sim_cb_state)
+ {
+ int ret = mbtk_sim_state_change_cb_reg(qser_info_handle, qser_sim_state_change_cb);
+ if(ret != 0)
+ {
+ LOGE("[qser_sim] set cb fail.");
+ qser_sim_state_cb = NULL;
+ return QSER_RESULT_FAIL;
+ }
+ }
+
+ return QSER_RESULT_SUCCESS;
+}
+
+
+int qser_sim_client_deinit(sim_client_handle_type h_sim)
+{
+ //UNUSED(h_sim);
+ if(h_sim != qser_h_sim)
+ {
+ LOGE("[qser_sim] h_sim is error.");
+ return QSER_RESULT_FAIL;
+ }
+
+ if(qser_info_handle)
+ {
+ LOGE("[qser_sim] qser_info_handle_num = %d", qser_info_handle_num);
+ if(qser_info_handle_num == 1)
+ { // 最后一个引用,可释放。
+ int ret = mbtk_info_handle_free(&qser_info_handle);
+ if(ret)
+ {
+ LOGE("[qser_sim] mbtk_info_handle_free() fail.");
+ return QSER_RESULT_FAIL;
+ }
+ else
+ {
+ qser_info_handle_num = 0;
+ qser_info_handle = NULL;
+ qser_sim_state_cb = NULL;
+ inited = FALSE;
+ }
+ }
+ else
+ {
+ qser_info_handle_num--;
+ qser_sim_state_cb = NULL;
+ }
+ }
+ else
+ {
+ LOGE("[qser_sim] handle not inited.");
+ return QSER_RESULT_FAIL;
+ }
+
+ return QSER_RESULT_SUCCESS;
+}
+/****************************API***************************************/
+
diff --git a/mbtk/liblynq_lib/lynq_sleep.c b/mbtk/liblynq_lib/lynq_sleep.c
new file mode 100755
index 0000000..3829849
--- /dev/null
+++ b/mbtk/liblynq_lib/lynq_sleep.c
@@ -0,0 +1,721 @@
+#include "lynq-qser-autosuspend.h"
+
+#include <stdio.h>
+#include <unistd.h>
+#include <stddef.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <fcntl.h>
+#include <pthread.h>
+#include <string.h>
+#include <stdlib.h>
+#include <errno.h>
+#include <sys/epoll.h>
+#include <linux/input.h>
+
+#include "mbtk_type.h"
+#include "mbtk_log.h"
+#include "mbtk_info_api.h"
+#include "mbtk_power.h"
+#include "mbtk_sleep.h"
+#include "mbtk_utils.h"
+
+/*
+This module is system sleep, the system cannot sleep when the lock exists
+To verify whether it is in sleep state, it is necessary to test the power consumption
+Power management principle, as long as a wakelock lock exists, the system will not enter the Suspend state
+So the name can be arbitrarily chosen to indicate that such a lock is needed so that the system does not sleep
+*/
+#define MTBK_POWERIND "/system/etc/powerind" //1806
+
+static bool call_Off = FALSE;
+static bool nw_off = FALSE;
+static bool sms_off = FALSE;
+static bool data_off = FALSE;
+
+static pthread_t lpm_t;
+static int edge_t = 0;
+static int epoll_fd_t = -1;
+static int fd_t = -1;
+static int socket_t[2];
+
+typedef struct{
+ qser_lpm_wakeupin_data_t wakeupin;
+ qser_lpm_wakeupout_data_t wakeupout;
+ qser_lpm_Handler_t wakehandle;
+}lynq_wake_t;
+
+static lynq_wake_t lpm_init;
+
+
+typedef struct
+{
+ int fd;
+ char name[64];
+} lock_name;
+
+#define LOCK_MAX_SIZE 129
+
+lock_name lynq_lock_name[LOCK_MAX_SIZE]={0};
+static bool autosleep_enable = FALSE;
+
+static mbtk_info_handle_t* whitelist_info_handle = NULL;
+
+
+
+static int powerrind_get()
+{
+ char buffer[4];
+ int ret = 0;
+
+ int fd = open(MTBK_POWERIND, O_RDWR | O_SYNC, 0662);
+ if (fd != -1)
+ {
+ mbtk_read(fd, buffer, strlen(buffer)+1);
+ close(fd);
+ }
+
+ ret = atoi(buffer);
+
+ return ret;
+}
+
+#if 1
+static int sleep_epoll_deregister(int epoll_fd,int fd )
+{
+ int ret;
+ do {
+ ret = epoll_ctl( epoll_fd, EPOLL_CTL_DEL, fd, NULL );
+ } while (ret < 0 && errno == EINTR);
+ return ret;
+}
+
+static int sleep_epoll_register(int epoll_fd, int fd)
+{
+ struct epoll_event ev;
+ int ret, flags;
+
+ /* important: make the fd non-blocking */
+ flags = fcntl(fd, F_GETFL);
+ fcntl(fd, F_SETFL, flags | O_NONBLOCK);
+
+ ev.events = EPOLLIN;
+ ev.data.fd = fd;
+ do {
+ ret = epoll_ctl( epoll_fd, EPOLL_CTL_ADD, fd, &ev );
+ } while (ret < 0 && errno == EINTR);
+
+ return ret;
+}
+#endif
+
+int qser_autosuspend_enable(char enable)
+{
+ //UNUSED(enable);
+
+ if((enable == 1) || enable == '1')
+ {
+ //if(!mbtk_system_sleep())
+ if(!access("/sys/power/autosleep", W_OK))
+ {
+ mbtk_system("echo mem > /sys/power/autosleep");
+ autosleep_enable = TRUE;
+ return 0;
+ }
+ else
+ {
+ LOGE("/sys/power/autosleep can not write.");
+ return -1;
+ }
+ }
+ else if((enable == 0) || enable == '0')
+ {
+ if(!access("/sys/power/autosleep", W_OK))
+ {
+ mbtk_system("echo off > /sys/power/autosleep");
+ autosleep_enable = FALSE;
+ return 0;
+ }
+ else
+ {
+ LOGE("/sys/power/autosleep can not write.");
+ return -1;
+ }
+ }
+ else
+ {
+ LOGE("qser_autosuspend_enablecan enable err.");
+ return -1;
+ }
+
+ return 0;
+}
+
+int qser_wakelock_create(const char* name , size_t len)
+{
+ //UNUSED(name);
+ //UNUSED(len);
+ int len_t;
+/*
+ if(!autosleep_enable) {
+ LOGE("Autosleep not enable.");
+ return -1;
+ }
+*/
+ len_t = strlen(name);
+
+ if((name != NULL) && (len < 33) && (len_t < 33))
+ {
+ int i;
+ //name
+ for(i=1 ;i<LOCK_MAX_SIZE;i++)
+ {
+ if(strcmp(lynq_lock_name[i].name, name) == 0)
+ {
+ LOGE("Repeated names.");
+ return -1;
+ }
+ }
+
+ for(i=1 ;i<LOCK_MAX_SIZE;i++)
+ {
+ if(lynq_lock_name[i].fd == 0)
+ break;
+ }
+
+ if (i >= LOCK_MAX_SIZE)
+ {
+ LOGE("Fd is full.");
+ return -1;
+ }
+
+ memcpy(lynq_lock_name[i].name, name, strlen(name)+1);
+ lynq_lock_name[i].fd = i;
+ return lynq_lock_name[i].fd -1;//Starting from scratch
+ }
+ else
+ return -1;
+
+ return -1;
+}
+
+int qser_wakelock_lock(int fd)
+{
+ //UNUSED(fd);
+/*
+ if(!autosleep_enable) {
+ LOGE("Autosleep not enable.");
+ return -1;
+ }
+*/
+ int i;
+ for(i=1;i<LOCK_MAX_SIZE;i++)
+ {
+ if(lynq_lock_name[i].fd -1 == fd)
+ break;
+ }
+ if(i == LOCK_MAX_SIZE)
+ {
+ LOGE("LOCK_MAX_SIZE is full\n");
+ return -1;
+ }
+
+ if(!access("/sys/power/wake_lock", W_OK))
+ {
+ char cmd[128]={0};
+ sprintf(cmd, "echo %s > /sys/power/wake_lock", lynq_lock_name[i].name);
+ mbtk_system(cmd);
+ return 0;
+ }
+ else
+ {
+ LOGE("/sys/power/wake_lock can not write.");
+ return -1;
+ }
+
+ return 0;
+}
+
+int qser_wakelock_unlock(int fd)
+{
+ //UNUSED(fd);
+/*
+ if(!autosleep_enable) {
+ LOGE("Autosleep not enable.");
+ return -1;
+ }
+*/
+ int i;
+ for(i=1;i<LOCK_MAX_SIZE;i++)
+ {
+ if(lynq_lock_name[i].fd -1 == fd)
+ break;
+ }
+ if(i == LOCK_MAX_SIZE)
+ {
+ LOGE("LOCK_MAX_SIZE is full\n");
+ return -1;
+ }
+
+ if(!access("/sys/power/wake_unlock", W_OK))
+ {
+ char cmd[128]={0};
+ sprintf(cmd, "echo %s > /sys/power/wake_unlock", lynq_lock_name[i].name);
+ mbtk_system(cmd);
+ return 0;
+ }
+ else
+ {
+ LOGE("/sys/power/wake_unlock can not write.");
+ return -1;
+ }
+
+ return 0;
+}
+
+int qser_wakelock_destroy(int fd)
+{
+ //UNUSED(fd);
+/*
+ if(!autosleep_enable) {
+ LOGE("Autosleep not enable.");
+ return -1;
+ }
+*/
+ int i;
+ for(i=1;i<LOCK_MAX_SIZE;i++)
+ {
+ if(lynq_lock_name[i].fd -1 == fd)
+ break;
+ }
+
+ if(i == LOCK_MAX_SIZE)
+ {
+ LOGE("LOCK_MAX_SIZE is full\n");
+ return -1;
+ }
+ else
+ {
+ lynq_lock_name[i].fd = 0;
+ memset(lynq_lock_name[i].name, 0, 64);
+ return 0;
+ }
+
+ return 0;
+}
+
+void *threadFunction(void *arg)
+{
+ int pinValue;
+ int i;
+ char buf[8] = {0};
+ struct input_event ev_input = { 0 };
+ const int size = sizeof(struct input_event);
+
+ epoll_fd_t = epoll_create(2);
+/*
+ struct epoll_event event;
+ memset(&event, 0, sizeof(struct epoll_event));
+ event.events = EPOLLIN | EPOLLET;
+ event.data.fd = open("/dev/input/event0", O_RDONLY); // 根据实际情况指定正确的GPIO设备文件名
+
+ fd_t = event.data.fd;
+ if (epoll_ctl(epoll_fd_t, EPOLL_CTL_ADD, event.data.fd, &event) == -1)
+ {
+ LOGE("Failed to add GPIO device file.");
+ return NULL;
+ }
+
+ memset(&event, 0, sizeof(struct epoll_event));
+ event.events = EPOLLIN | EPOLLET;
+ event.data.fd = socket_t[0];
+ LOGE("threadFunction event.data.fd =[%d] ", event.data.fd);
+
+ if (epoll_ctl(epoll_fd_t, EPOLL_CTL_ADD, event.data.fd, &event) == -1)
+ {
+ LOGE("Failed to add GPIO device file.");
+ return NULL;
+ }
+*/
+
+#if defined(MBTK_SG_SUPPORT)
+ fd_t = open("/dev/input/event1", O_RDONLY);
+ LOGI("init pthread_event1");
+#else
+ fd_t = open("/dev/input/event2", O_RDONLY);
+ LOGI("init pthread_event2");
+#endif
+
+ sleep_epoll_register(epoll_fd_t, fd_t);
+ sleep_epoll_register(epoll_fd_t, socket_t[1]);
+
+ while (true)
+ {
+ struct epoll_event events[2];
+// struct epoll_event ev;
+// int cmd = 0;
+
+ int numEvents = epoll_wait(epoll_fd_t, events, 2, -1);
+
+ for (i = 0; i < numEvents; ++i)
+ {
+ if ((events[i].events & EPOLLERR) || (events[i].events & EPOLLHUP))
+ {
+ LOGE("Error on GPIO device.");
+ return NULL;
+ }
+ else if ((events[i].events & EPOLLIN) || (events[i].events & EPOLLET))
+ {
+ //handleInterrupt(events[i].data.fd);
+ if (events[i].data.fd == socket_t[1])
+ {
+ memset(buf, 0, sizeof(buf));
+ mbtk_read(socket_t[1], buf, sizeof(buf));
+ if (1 == atoi(buf))
+ {
+ if(close(fd_t) == 0)
+ LOGI("close(fd_t)ing");
+
+ sleep_epoll_deregister(epoll_fd_t, socket_t[1]);
+ sleep_epoll_deregister(epoll_fd_t, fd_t);
+ /*
+ memset(&ev, 0, sizeof(struct epoll_event));
+ ev.events = EPOLLIN | EPOLLET;
+ ev.data.fd = socket_t[1];
+ epoll_ctl( epoll_fd_t, EPOLL_CTL_DEL, ev.data.fd, &ev);
+
+ memset(&ev, 0, sizeof(struct epoll_event));
+ ev.events = EPOLLIN | EPOLLET;
+ ev.data.fd = fd_t;
+ epoll_ctl( epoll_fd_t, EPOLL_CTL_DEL, ev.data.fd, &ev);
+ */
+ LOGI("do pthread_exit");
+ return NULL;
+ }
+ }
+ else if (events[i].data.fd == fd_t)
+ {
+ LOGI("go pthread_event");
+ memset(&ev_input, 0x00, size);
+ mbtk_read(fd_t, &ev_input, size);
+ LOGI("ev_input type = %x, code = %x, value = %x", ev_input.type, ev_input.code,ev_input.value);
+#if defined(MBTK_SG_SUPPORT)
+ if (ev_input.code == 2)
+ {
+ LOGI(">>>>ev_input.value = [%d]",ev_input.value);
+ pinValue = (int)ev_input.value;
+ edge_t = pinValue;
+ lpm_init.wakehandle(edge_t);
+ }
+#else
+ if (ev_input.type == 4 && ev_input.code == 3)
+ {
+ LOGI(">>>>ev_input.value = [%d]",ev_input.value);
+ pinValue = (int)ev_input.value;
+ edge_t = pinValue;
+ lpm_init.wakehandle(edge_t);
+ }
+#endif
+
+ }
+ else
+ {
+ LOGE("Unknown events[i].data.fd = %d", events[i].data.fd);
+ }
+ }
+ }
+ }
+ return NULL;
+}
+
+int qser_lpm_init(qser_lpm_Handler_t qser_lpm_handler, qser_pm_cfg_t *qser_lpm_cfg)
+{
+ //UNUSED(qser_lpm_handler);
+ //UNUSED(qser_lpm_cfg);
+ if (socketpair( AF_LOCAL, SOCK_STREAM, 0, socket_t ) < 0 )
+ {
+ LOGE("[qser_lpm_init] could not create thread control socket pair: %s", strerror(errno));
+
+ /*close the control socket pair && Retry again.*/
+ if(socket_t[0] > 0)
+ {
+ close(socket_t[0] );
+ socket_t[0] = -1;
+ }
+
+ if(socket_t[1] > 0)
+ {
+ close(socket_t[1] );
+ socket_t[1] = -1;
+ }
+ return -1;
+ }
+ lpm_init.wakeupin.wakeupin_pin = qser_lpm_cfg->wakeupin.wakeupin_pin;
+ LOGI(">>pin = %d",lpm_init.wakeupin.wakeupin_pin);
+ lpm_init.wakeupin.wakeupin_edge = qser_lpm_cfg->wakeupin.wakeupin_edge;
+ LOGI(">>edge = %d",lpm_init.wakeupin.wakeupin_edge);
+ edge_t = qser_lpm_cfg->wakeupin.wakeupin_edge;//保留原始状态值 0 or 1
+ lpm_init.wakehandle = qser_lpm_handler;
+
+ pthread_attr_t thread_attr;
+ pthread_attr_init(&thread_attr);
+
+ if(pthread_attr_setdetachstate(&thread_attr, PTHREAD_CREATE_DETACHED))
+ {
+ LOGE("pthread_attr_setdetachstate() fail");
+ return -1;
+ }
+
+ if(pthread_create(&lpm_t, &thread_attr, threadFunction, NULL))
+ //if(pthread_create(&lpm_t, NULL, threadFunction, NULL))
+ {
+ LOGE("qser_lpm_init can't create thread");
+ return -1;
+ }
+
+ pthread_attr_destroy(&thread_attr);
+
+ //if (edge_t != qser_lpm_cfg->wakeupin.wakeupin_edge)//说明有变化,并且和原来的值不相同
+ //qser_lpm_handler(edge_t);
+
+ return 0;
+}
+
+int qser_lpm_deinit(void)
+{
+ char buf[4]={0};
+
+ if (fd_t == -1)
+ return 0;
+
+ if (fd_t != -1)
+ {
+ //char cmd = 1;
+ strcpy(buf, "1");
+// void* dummy = NULL;
+ mbtk_write( socket_t[0], buf, sizeof(buf) );
+ //pthread_join(lpm_t, &dummy);
+
+ sleep(1);
+ // close the control socket pair
+ if(socket_t[0] > 0)
+ {
+ close(socket_t[0] );
+ socket_t[0] = -1;
+ }
+ if(socket_t[1] > 0)
+ {
+ close(socket_t[1] );
+ socket_t[1] = -1;
+ }
+
+ //重置还原
+ fd_t = -1;
+
+ }
+
+ return 0;
+}
+
+/*
+例如AT*POWERIND=31,就相当于设置NETWORK、SIM、SMS、CS CALL、PS DATA变化时都不主动上报,
+其中PS DATA目前暂时不支持,只是保留了这个标志位;
+AP power state: 1~31 means suspend, bitmap: bit0 - NETWORK;bit1 - SIM;bit2 - SMS;bit3 - CS CALL;bit4 - PS DATA
+0 means resume all.
+目标文件"/system/etc/powerind"
+如果bit0-bit3都配置可以采用的值是1-15,如果是当前采用NETWORK SMS CALL 则值的取值是 1 4 8 5 9 12 13
+
+*/
+
+int qser_whitelist_set(char* whitelish)
+{
+ //UNUSED(whitelish);
+ uint32 on = 0;
+ int call_t, nw_t, data_t, sms_t, tmp;
+
+ int len = strlen(whitelish);
+
+ if (len != 4)
+ {
+ LOGE("whitelish num error num=[%d]",len);
+ return -1;
+ }
+
+ tmp = atoi(whitelish);
+
+ call_t = tmp/1000;
+ nw_t = tmp%1000/100;
+ data_t = tmp%1000%100/10;
+ sms_t = tmp%1000%100%10;
+
+ if (call_t == 1)
+ call_Off = TRUE;
+ else
+ call_Off = FALSE;
+
+ if (nw_t == 1)
+ nw_off = TRUE;
+ else
+ nw_off = FALSE;
+
+ if (data_t == 1)
+ data_off = TRUE;
+ else
+ data_off = FALSE;
+
+ if (sms_t == 1)
+ sms_off = TRUE;
+ else
+ sms_off = FALSE;
+
+ if (call_Off == FALSE && nw_off == FALSE && data_off == FALSE && sms_off == FALSE)
+ {
+ on = 29;//0000的情况,所有上报源都屏蔽,SIM的上报会一直被包含在内
+ }
+ else
+ {
+ if (call_Off == TRUE)
+ call_t = 8;
+ else
+ call_t = 0;
+
+ if (nw_off == TRUE)
+ nw_t = 1;
+ else
+ nw_t = 0;
+
+ if (data_off == TRUE)
+ data_t = 16;
+ else
+ data_t = 0;
+
+ if (sms_off == TRUE)
+ sms_t = 4;
+ else
+ sms_t = 0;
+
+ on = 29 - (call_t + nw_t + data_t + sms_t);//SIM的上报会一直被包含在内
+ }
+
+ if(whitelist_info_handle == NULL)
+ {
+ whitelist_info_handle = mbtk_info_handle_get();
+ if(whitelist_info_handle)
+ {
+ LOGI("creat whitelist_info_handle is success");
+ }
+ else
+ {
+ LOGE("creat whitelist_info_handle is fail");
+ return -1;
+ }
+ }
+
+ int err = mbtk_wakeup_state_set(whitelist_info_handle, on);
+ if(err)
+ {
+ LOGE("whitelist_info_handle Error : %d", err);
+ return -1;
+ }
+
+ return 0;
+}
+
+
+int qser_whitelist_get(char* whitelish)
+{
+ //UNUSED(whitelish);
+ char list[10]={0};
+// int call_t, nw_t, data_t, sms_t;
+ int get_tmp;
+
+ get_tmp = powerrind_get();
+ //LOGI(">>>get_tmp: %d",get_tmp);
+
+ //call 8 nw 1 data 16 sms 4 SIM的上报会一直被包含在内
+ switch(get_tmp)
+ {
+ case 0:
+ sprintf(list, "%d%d%d%d", 1, 1, 1, 1);
+ break;
+ case 8:
+ sprintf(list, "%d%d%d%d", 0, 1, 1, 1);
+ break;
+ case 1:
+ sprintf(list, "%d%d%d%d", 1, 0, 1, 1);
+ break;
+ case 16:
+ sprintf(list, "%d%d%d%d", 1, 1, 0, 1);
+ break;
+ case 4:
+ sprintf(list, "%d%d%d%d", 1, 1, 1, 0);
+ break;
+
+ case 9:
+ sprintf(list, "%d%d%d%d", 0, 0, 1, 1);
+ break;
+ case 24:
+ sprintf(list, "%d%d%d%d", 0, 1, 0, 1);
+ break;
+ case 12:
+ sprintf(list, "%d%d%d%d", 0, 1, 1, 0);
+ break;
+ case 17:
+ sprintf(list, "%d%d%d%d", 1, 0, 0, 1);
+ break;
+ case 5:
+ sprintf(list, "%d%d%d%d", 1, 0, 1, 0);
+ break;
+ case 20:
+ sprintf(list, "%d%d%d%d", 1, 1, 0, 0);
+ break;
+
+ case 25:
+ sprintf(list, "%d%d%d%d", 0, 0, 0, 1);
+ break;
+ case 13:
+ sprintf(list, "%d%d%d%d", 0, 0, 1, 0);
+ break;
+ case 28:
+ sprintf(list, "%d%d%d%d", 0, 1, 0, 0);
+ break;
+ case 21:
+ sprintf(list, "%d%d%d%d", 1, 0, 0, 0);
+ break;
+
+ case 29:
+ sprintf(list, "%d%d%d%d", 0, 0, 0, 0);
+ break;
+
+ default :
+ LOGE("qser_whitelist_get is error");
+ break;
+ }
+
+ //LOGI(">>>get list: %s",list);
+ strncpy(whitelish, list, strlen(list));
+
+ if(whitelist_info_handle != NULL)
+ {
+ mbtk_info_handle_free(&whitelist_info_handle);
+ LOGI("deinit whitelist_info_handle is succuess");
+ }
+
+ return 0;
+}
+
+
+int qser_suspend_timer_set(int time, mbtk_info_callback_func cb)
+{
+ int ret = 0;
+ ret = mbtk_suspend_timer_set(time, cb);
+ if(0 > ret)
+ {
+ LOGE("qser_suspend_timer_set failed");
+ }
+
+
+ return ret;
+}
+
+
diff --git a/mbtk/liblynq_lib/lynq_sms.c b/mbtk/liblynq_lib/lynq_sms.c
new file mode 100755
index 0000000..45525cf
--- /dev/null
+++ b/mbtk/liblynq_lib/lynq_sms.c
@@ -0,0 +1,575 @@
+#include "lynq_qser_sms.h"
+#include "mbtk_type.h"
+#include "mbtk_pdu_sms.h"
+#include "mbtk_info_api.h"
+#include "lynq_sms.h"
+#include "mbtk_log.h"
+
+
+#include <stdio.h>
+#include <stdlib.h>
+
+
+#define TELEPHONE_NUM_MAX 16
+#define MSM_NUMBER_MAX 2048+1
+#define RES_NUM_MIN 128
+
+
+#define DSC_to_msg(DSC) (DSC == 0 ? "Bit7" : (DSC == 1 ? "Bit8" : "UCS2"))
+
+static mbtk_info_handle_t* sms_info_handle = NULL;
+static char sms_center_address[128] = {0};
+
+typedef struct
+{
+ QSER_SMS_RxMsgHandlerFunc_t handlerPtr;
+ void* contextPtr;
+} lynq_sms_cb_func;
+
+static lynq_sms_cb_func lynq_sms_func_cb_handle;
+
+sms_client_handle_type g_sms_val = -1;
+
+
+void lynq_sms_state_change_cb(const void* data, int data_len)
+{
+ LOGV("sms_state_change_cb()----------start\n");
+ uint8 *ptr = (uint8*)data;
+ //printf("3sms_state_change_cb() : %s\n", ptr);
+
+ if (!strncmp("+CMT:", (char*)ptr, 5))//丢弃无用消息
+ return ;
+
+ struct SMS_Struct s = PDUDecoding((char*)ptr);
+ /*
+ printf("服务中心地址: %s\n", s.SCA);
+ printf("发送方地址: %s\n", s.OA);
+ printf("服务中心时间戳: %s\n", s.SCTS);
+ printf("消息内容: %s\n", s.UD);
+ printf("数据编码方案: %s\n", DSC_to_msg(s.DCS));
+ */
+ QSER_SMS_Msg_t* tmp_data = NULL;
+
+ tmp_data = (QSER_SMS_Msg_t*)malloc(sizeof(QSER_SMS_Msg_t));
+ memset(tmp_data,0x00, sizeof(QSER_SMS_Msg_t));
+
+ tmp_data->format = s.DCS;
+ //printf("t数据编码方案: %d\n", tmp_data->format);
+ memcpy(tmp_data->src_addr, s.OA, strlen(s.OA));
+ //printf("t发送方地址: %s\n", tmp_data->src_addr);
+ memcpy(tmp_data->timestamp, s.SCTS, strlen(s.SCTS));
+ //printf("t服务中心时间戳: %s\n", tmp_data->timestamp);
+ tmp_data->sms_data_len = strlen(s.UD);
+ //printf("t消息内容长度: %d\n", tmp_data->sms_data_len);
+ memcpy(tmp_data->sms_data, s.UD, strlen(s.UD));
+ //printf("t消息内容: %s\n", tmp_data->sms_data);
+
+ lynq_sms_func_cb_handle.handlerPtr(tmp_data, NULL);
+
+ free(tmp_data);
+
+}
+
+
+int qser_sms_client_init(sms_client_handle_type *ph_sms)//out
+{
+ //UNUSED(ph_sms);
+
+ if(sms_info_handle == NULL)
+ {
+ sms_info_handle = mbtk_info_handle_get();
+ if(sms_info_handle)
+ {
+ LOGI("creat sms_info_handle is success");
+ *ph_sms = sms_info_handle->client_fd;
+ g_sms_val = sms_info_handle->client_fd;
+ }
+ else
+ {
+ LOGE("creat sms_info_handle is fail");
+ return -1;
+ }
+ }
+
+ return 0;
+}
+
+int qser_sms_client_deinit(sms_client_handle_type h_sms)//in
+{
+ //UNUSED(h_sms);
+ if (h_sms != g_sms_val || g_sms_val == -1)
+ {
+ LOGE("handle NULL\n");
+ return -1;
+ }
+
+ mbtk_sms_state_change_cb_reg(sms_info_handle, NULL);
+
+ if(sms_info_handle)
+ {
+ mbtk_info_handle_free(&sms_info_handle);
+ LOGI("deinit sms_info_handle is succuess");
+ }
+ else
+ {
+ LOGE("deinit sms_info_handle is fail");
+ return -1;
+ }
+
+ return 0;
+}
+
+int qser_sms_send_sms(sms_client_handle_type h_sms, QSER_sms_info_t *pt_sms_info)//in in 发送短信的内容、目的号码
+{
+ //UNUSED(h_sms);
+ //UNUSED(pt_sms_info);
+ if (h_sms != g_sms_val || g_sms_val == -1)
+ {
+ LOGE("handle NULL");
+ return -1;
+ }
+
+ if (pt_sms_info == NULL)
+ {
+ LOGE("QSER_sms_info_t NULL");
+ return -1;
+ }
+
+ if(sms_info_handle == NULL)
+ {
+ LOGE("qser_sms_send_sms sms_info_handle NULL");
+ return -1;
+ }
+
+ uint8_t *phone_num = NULL, *data = NULL;
+
+ char cmgs[MSM_NUMBER_MAX] = {0};
+ char resp[RES_NUM_MIN] = {0};
+ char pdu_data[512] = {0};
+// char phone_lenth[10] = {0};
+// char mem[10] = {0};
+ char *p = pdu_data;
+ int mode = 0;
+ int err = 0;
+ int i = 0;
+
+ data = (uint8_t*)pt_sms_info->sms_data;
+
+ phone_num = (uint8_t*)pt_sms_info->src_addr;
+
+ if (pt_sms_info->format == 0)//7
+ mode = 1;
+ else if (pt_sms_info->format == 1)//8
+ return SMS_ERR;
+ else if (pt_sms_info->format == 2)//USC2
+ mode = 0;
+ else
+ return -1;
+
+ //长短信配置当前仅支持text
+ if (pt_sms_info->user_data_head_valid == TRUE)
+ {
+ if (mode != 1)
+ {
+ LOGE("qser_sms_send_sms user_data_head_valid is TRUE for text only");
+ return -1;
+ }
+ }
+
+
+ //设置存储器
+/*
+ if (pt_sms_info->storage == 0)
+ {
+ strcpy(mem, "SM");
+ }
+ else if (pt_sms_info->storage == 1)
+ {
+ strcpy(mem, "ME");
+ }
+ else
+ {
+ LOGE("qser_sms_deletefromstorage storage is no Support");
+ return -1;
+ }
+
+ memset(resp, 0, sizeof(resp));
+ err = mbtk_sms_cpms_set(sms_info_handle, mem, resp);
+ if(err) {
+ LOGE("Error : %d", err);
+ } else {
+ LOGI("cpms set success. resp:%s", resp);
+ }
+*/
+ if(data == NULL)
+ {
+ LOGE("qser_sms_send_sms data NULL");
+ return -1;
+ }
+
+ if(phone_num == NULL)
+ {
+ LOGE("qser_sms_send_sms phone_num NULL");
+ return -1;
+ }
+
+ if(strlen((char*)data) > 512 || strlen((char*)data) == 0 || strlen((char*)phone_num) == 0)
+ {
+ LOGE("strlen(telephony_num):%d", strlen((char*)phone_num));
+ LOGE("strlen(msg):%d", strlen((char*)data));
+ return -1;
+ }
+
+ if (mode == 0)// PDU
+ {
+#if 1
+ if (sms_center_address[0] == '\0')
+ {
+ memset(sms_center_address, 0, sizeof(sms_center_address));
+ memcpy(sms_center_address, "+8613800280500", strlen("+8613800280500"));
+ }
+
+ //printf("phone_num:%s\n", phone_num);
+ //printf("sms_center_address:%s\n", sms_center_address);
+ //printf("data:%s\n", data);
+
+ char* pdu = NULL;
+ char* smsc = SCAEncoding(sms_center_address);
+ struct PDUS *pdus = PDUEncoding(sms_center_address, (char*)phone_num, (char*)data, NULL);
+
+ for (i = 0; i < pdus->count; i++)
+ {
+ LOGI("第 %d 条:", i + 1);
+ LOGI("%s\n", pdus->PDU[i]);
+ pdu = pdus->PDU[i];
+ }
+
+ sprintf(p, "%s",smsc);
+ LOGI("pdu_data:%s", pdu_data);
+ int sc = strlen(pdu_data);
+ sprintf(p+strlen(p), "%s", pdu);
+ LOGI("pdu_data:%s",pdu_data);
+
+ //sprintf(cmgs,"%d,%s",strlen(pdu_data), pdu_data);
+ int t = strlen(pdu_data);
+ sprintf(cmgs,"%d,%s",(t-sc)/2, pdu_data);
+ LOGI("cmgs:%s", cmgs);
+#else
+ char *tmp_t = "0891683108200805F011000D91688189914026F3000800044F60597D";
+ sprintf(cmgs,"%d,%s",19,tmp_t);
+ printf("cmgs:%s\n", cmgs);
+#endif
+
+ memset(resp, 0, sizeof(resp));
+
+ err = mbtk_sms_cmgf_set(sms_info_handle, mode);
+ if(err)
+ {
+ LOGE("cmgf set error : %d", err);
+ }
+ else
+ {
+ LOGI("cmgf set success");
+ }
+
+ err = mbtk_sms_cmgs_set(sms_info_handle, cmgs, resp);
+ if(err)
+ {
+ LOGE("Error : %d", err);
+ return -1;
+ }
+ else
+ {
+ LOGI("cmgs set success . resp:%s", resp);
+ }
+ }
+ else if (mode == 1) // text
+ {
+ err = mbtk_sms_cmgf_set(sms_info_handle, mode);
+ if(err)
+ {
+ LOGE("cmgf set error : %d", err);
+ }
+ else
+ {
+ LOGD("cmgf set success");
+ }
+
+ sprintf(cmgs,"%s,%s", (char*)phone_num, (char*)data);
+ LOGD("cmgs:%s", cmgs);
+
+ memset(resp, 0, sizeof(resp));
+
+ err = mbtk_sms_cmgs_set(sms_info_handle, cmgs, resp);
+ if(err)
+ {
+ LOGE("Error : %d", err);
+ return -1;
+ }
+ else
+ {
+ LOGD("cmgs set success . resp:%s", resp);
+ }
+ }
+ else
+ {
+ LOGE("Error : mode");
+ return -1;
+ }
+
+ return 0;
+}
+
+//注册接收新短信
+int qser_sms_addrxmsghandler(QSER_SMS_RxMsgHandlerFunc_t handlerPtr, void* contextPtr)//in sms电话状态回调函数 in 主要是获取 上报 的内容
+{
+ //UNUSED(handlerPtr);
+ //UNUSED(contextPtr);
+
+ if(sms_info_handle == NULL)
+ {
+ LOGE("qser_sms_addrxmsghandler sms_info_handle NULL");
+ return -1;
+ }
+
+ int err = mbtk_sms_cnmi_set(sms_info_handle);
+ if(err)
+ {
+ LOGE("set cnmi fail");
+ return -1;
+ }
+
+ lynq_sms_func_cb_handle.handlerPtr = handlerPtr;
+ lynq_sms_func_cb_handle.contextPtr = contextPtr;
+
+ mbtk_sms_state_change_cb_reg(sms_info_handle, lynq_sms_state_change_cb);
+
+ return 0;
+}
+
+//删除短信
+int qser_sms_deletefromstorage(sms_client_handle_type h_sms, QSER_sms_storage_info_t *pt_sms_storage)//in in 删除短信的信息
+{
+ //UNUSED(h_sms);
+ //UNUSED(pt_sms_storage);
+ char cmgd[128] = {0};
+ int err = 0;
+
+// int t_storage = 0;
+// char mem[10] = {0};
+// char resp[RES_NUM_MIN] = {0};
+
+ if (h_sms != g_sms_val || g_sms_val == -1)
+ {
+ LOGE("handle NULL");
+ return -1;
+ }
+
+ if(pt_sms_storage == NULL)
+ {
+ LOGE("qser_sms_deletefromstorage pt_sms_storage NULL");
+ return -1;
+ }
+
+ if(sms_info_handle == NULL)
+ {
+ LOGE("qser_sms_deletefromstorage sms_info_handle NULL");
+ return -1;
+ }
+/*
+ t_storage = pt_sms_storage->storage; //设置存储器
+
+ if (t_storage == 0)
+ {
+ strncpy(mem, "SM", 2);
+ }
+ else if (t_storage == 1)
+ {
+ strncpy(mem, "ME", 2);
+ }
+ else
+ {
+ LOGE("qser_sms_deletefromstorage storage is no Support");
+ return -1;
+ }
+
+ memset(resp, 0, sizeof(resp));
+ err = mbtk_sms_cpms_set(sms_info_handle, mem, resp);
+ if(err) {
+ LOGE("Error : %d", err);
+ } else {
+ LOGI("cpms set success. resp:%s", resp);
+ }
+*/
+ uint32_t id_x = 0; //若后面其他产品是int类型则用宏控制
+ id_x = pt_sms_storage->storage_idx;//获取idx的值
+
+ if(id_x == -1) //delete all
+ {
+ memcpy(cmgd, "0,4", strlen("0,4"));
+ }
+ else
+ {
+ sprintf(cmgd,"%d",id_x);
+ }
+
+ LOGI("cmgd:%s", cmgd);
+
+ err = mbtk_sms_cmgd_set(sms_info_handle, cmgd);
+ if(err)
+ {
+ LOGE("qser_sms_deletefromstorage Error : %d", err);
+ return -1;
+ }
+ else
+ {
+ LOGI("qser_sms_deletefromstorage set success");
+ }
+
+ return 0;
+}
+
+//获取短信中心号码
+int qser_sms_getsmscenteraddress( sms_client_handle_type h_sms,QSER_sms_service_center_cfg_t *set_sca_cfg)//in out
+{
+ //UNUSED(h_sms);
+ //UNUSED(set_sca_cfg);
+ char sms_center_addree[254] = {0};
+ int len_t;
+ char *p1, *p2 ,*substr;
+
+ if (h_sms != g_sms_val || g_sms_val == -1)
+ {
+ LOGE("handle NULL");
+ return -1;
+ }
+
+ if (set_sca_cfg == NULL)
+ {
+ LOGE("QSER_sms_service_center_cfg_t NULL");
+ return -1;
+ }
+
+ if(sms_info_handle == NULL)
+ {
+ LOGE("qser_sms_getsmscenteraddress sms_info_handle NULL");
+ return -1;
+ }
+
+ int err = mbtk_sms_csca_get(sms_info_handle, sms_center_addree);
+ if(sms_center_addree[0] == '\0')
+ {
+ LOGE("qser_sms_getsmscenteraddress Error : %d", err);
+ return -1;
+ }
+ else
+ {
+ p1 = strchr(sms_center_addree, '\"');
+ p2 = strrchr(sms_center_addree, '\"');
+ if (p1 && p2 && p2 > p1)
+ {
+ len_t = p2 - p1 - 1;
+ char substr_t[len_t + 1];
+ strncpy(substr_t, p1 + 1, len_t);
+ substr_t[len_t] = '\0';
+
+ substr = substr_t;
+
+ memcpy(set_sca_cfg->service_center_addr, substr, strlen(substr));
+ memcpy(sms_center_address, substr, strlen(substr));
+
+ LOGI("qser_sms_getsmscenteraddress success");
+ }
+ else
+ {
+ LOGE("String inside double quotes not found");
+ return -1;
+ }
+ }
+
+ return 0;
+}
+
+//设置短信中心号码
+int qser_sms_setsmscenteraddress( sms_client_handle_type h_sms, QSER_sms_service_center_cfg_t *get_sca_cfg)//in in
+{
+ //UNUSED(h_sms);
+ //UNUSED(get_sca_cfg);
+ char *destNum = NULL;
+
+ if (h_sms != g_sms_val || g_sms_val == -1)
+ {
+ LOGE("handle NULL");
+ return -1;
+ }
+
+ if(sms_info_handle == NULL)
+ {
+ LOGE("qser_sms_setsmscenteraddress sms_info_handle NULL");
+ return -1;
+ }
+
+ if(get_sca_cfg == NULL)
+ {
+ LOGE("qser_sms_setsmscenteraddress get_sca_cfg NULL");
+ return -1;
+ }
+
+ destNum = get_sca_cfg->service_center_addr;
+
+ //printf("1destNum:%s\n", destNum);
+ memset(sms_center_address, 0, sizeof(sms_center_address));
+ memcpy(sms_center_address, destNum, strlen(destNum));
+
+ if (destNum == NULL)
+ {
+ LOGE("qser_sms_setsmscenteraddress destNum NULL");
+ return -1;
+ }
+
+ int err = mbtk_sms_csca_set(sms_info_handle, destNum);
+ if(err)
+ {
+ LOGE("Error : %d", err);
+ return -1;
+ }
+ else
+ {
+ // memset(sms_center_address, 0, sizeof(sms_center_address));
+ // memcpy(sms_center_address, destNum, strlen(destNum));
+ //printf("destNum:%s\n", destNum);
+ LOGI("qser_sms_setsmscenteraddress success");
+ }
+
+ return 0;
+}
+
+
+//显示删除列表
+int qser_sms_deletefromstoragelist( sms_client_handle_type h_sms, char* del_list)//in out
+{
+ //UNUSED(h_sms);
+ //UNUSED(get_sca_cfg);
+
+ if (h_sms != g_sms_val || g_sms_val == -1)
+ {
+ LOGE("handle NULL");
+ return -1;
+ }
+
+ if(sms_info_handle == NULL)
+ {
+ LOGE("qser_sms_deletefromstoragelist sms_info_handle NULL");
+ return -1;
+ }
+
+ int err = mbtk_sms_cmgd_get(sms_info_handle, del_list);
+ if(err > 0 && err != 300)//MBTK_INFO_ERR_SUCCESS
+ {
+ LOGE("Error : %d", err);
+ return -1;
+ }
+
+ return 0;
+}
+
diff --git a/mbtk/liblynq_lib/lynq_thermal.c b/mbtk/liblynq_lib/lynq_thermal.c
new file mode 100755
index 0000000..f3e6e3d
--- /dev/null
+++ b/mbtk/liblynq_lib/lynq_thermal.c
@@ -0,0 +1,120 @@
+#if 1
+#include "mbtk_type.h"
+#include "mbtk_log.h"
+#include "lynq_qser_thermal.h"
+#include "mbtk_info_api.h"
+
+/****************************DEFINE***************************************/
+#define QSER_RESULT_FAIL -1
+#define QSER_RESULT_SUCCESS 0
+/****************************DEFINE***************************************/
+
+/****************************VARIABLE***************************************/
+extern mbtk_info_handle_t* qser_info_handle;
+extern int qser_info_handle_num;
+/****************************VARIABLE***************************************/
+
+
+/******************************FUNC*****************************************/
+static int qser_thermal_client_init(void)
+{
+ if(qser_info_handle == NULL)
+ {
+ qser_info_handle = mbtk_info_handle_get();
+ if(qser_info_handle)
+ {
+ qser_info_handle_num++;
+ }
+ else
+ {
+ LOGE("[qser_thermal] mbtk_info_handle_get() fail.");
+ return QSER_RESULT_FAIL;
+ }
+ }
+ else
+ {
+ qser_info_handle_num++;
+ }
+
+ LOGE("[qser_thermal] mbtk_info_handle_get() success.");
+ return QSER_RESULT_SUCCESS;
+}
+
+static int qser_thermal_client_deinit(void)
+{
+ if(qser_info_handle)
+ {
+ LOGE("[qser_thermal] qser_info_handle_num = %d", qser_info_handle_num);
+ if(qser_info_handle_num == 1)
+ { // 最后一个引用,可释放。
+ int ret = mbtk_info_handle_free(&qser_info_handle);
+ if(ret)
+ {
+ LOGE("[qser_thermal] mbtk_info_handle_free() fail.");
+ return QSER_RESULT_FAIL;
+ }
+ else
+ {
+ qser_info_handle_num = 0;
+ qser_info_handle = NULL;
+ }
+ }
+ else
+ {
+ qser_info_handle_num--;
+ }
+ }
+ else
+ {
+ LOGE("[qser_thermal] handle not inited.");
+ return QSER_RESULT_FAIL;
+ }
+
+ return QSER_RESULT_SUCCESS;
+}
+
+/******************************FUNC*****************************************/
+
+/****************************API***************************************/
+int get_thermal_zone(int *numbers, int size)
+{
+ if(numbers == NULL || size < 6)
+ {
+ LOGE("[qser_thermal]: numbers is NULL!");
+ return QSER_RESULT_FAIL;
+ }
+
+ int ret = 0;
+ int thermal = -1;
+ int thermal_num = 0;
+ mbtk_thermal_info_t temp;
+ memset(&temp, 0, sizeof(mbtk_thermal_info_t));
+
+ ret = qser_thermal_client_init();
+ if(ret != QSER_RESULT_SUCCESS)
+ {
+ LOGE("[qser_thermal]qser_led_client_init fail.");
+ return QSER_RESULT_FAIL;
+ }
+
+ ret = mbtk_temp_get(qser_info_handle, 0, &temp);
+ thermal = temp.ther;
+ if(ret != QSER_RESULT_SUCCESS)
+ {
+ LOGE("[qser_thermal]mbtk_temp_get fail.");
+ qser_thermal_client_deinit();
+ return QSER_RESULT_FAIL;
+ }
+
+ qser_thermal_client_deinit();
+ numbers[thermal_num++] = thermal;
+ for(; thermal_num < size; thermal_num++)
+ {
+ numbers[thermal_num] = 0;
+ }
+
+ return 6;
+}
+/****************************API***************************************/
+
+#endif
diff --git a/mbtk/liblynq_lib/lynq_time.c b/mbtk/liblynq_lib/lynq_time.c
new file mode 100755
index 0000000..29937bd
--- /dev/null
+++ b/mbtk/liblynq_lib/lynq_time.c
@@ -0,0 +1,418 @@
+#include "lynq_systime.h"
+#include "mbtk_type.h"
+#include <stdlib.h>
+#include <sys/types.h>
+#include <sys/socket.h>
+#include <stdio.h>
+#include <errno.h>
+#include <netdb.h>
+#include <string.h>
+#include <unistd.h>
+#include <time.h>
+#include <netinet/in.h>
+
+#include <cutils/properties.h>
+#include <sys/time.h>
+
+
+#include "mbtk_ntp.h"
+#include "mbtk_net_control.h"
+#include "lynq_systime.h"
+#include "mbtk_type.h"
+#include "mbtk_log.h"
+#include "mbtk_utils.h"
+
+
+#define MBTK_AT_NTP_LEN_MAX 128
+
+
+
+
+typedef enum {
+ LYNQ_TIME_TYPE_CELL = 0, //NITZ
+ LYNQ_TIME_TYPE_NTP,
+ LYNQ_TIME_TYPE_GNSS,
+ LYNQ_TIME_TYPE_USER,
+
+ LYNQ_TIME_TYPE_UNUSE
+} lynq_time_type_enum;
+
+//enable set time from ntp
+int ntp_sync_time(int enable);
+//enable set time from nitz
+int modem_time_enable(int enable);
+//enable set time from gnss
+int gnss_time_enable(int enable);
+//enable set time from user
+int user_set_time(char* date, char* time);
+// RTC TIME set to system
+int lynq_sync_time_from_rtc(void);
+//check sysytem type
+int lynq_get_time_src_status (time_src_status_s * time_src);
+// system time set to RTC
+int lynq_set_rtc_time(void);
+// get RTC time
+int lynq_get_rtc_time(unsigned long *ulsec);
+
+int sync_time_flag = 0;
+
+//int req_time_set(int type, char *time, int *cme_err);
+static int metis_strptime(char *str_time)
+{
+ LOGD("%s(), str_time:%s\n", __FUNCTION__, str_time);
+ struct tm stm;
+// char dateTime[30];
+ struct timeval tv;
+ if(strptime(str_time, "%Y-%m-%d %H:%M:%S",&stm) != NULL)
+ {
+ time_t _t = (long)mktime(&stm);
+ tzset();
+ tv.tv_sec = _t;
+ tv.tv_usec = 0;
+ if(_t == -1)
+ {
+ LOGD("Set time :%s", str_time);
+ LOGD("timestamp:%ld", _t);
+ LOGD("mktime error, reason: %s\n", strerror(errno));
+ return -1;
+ }
+
+ if(settimeofday(&tv, NULL)) {
+ LOGD("Set time :%s", str_time);
+ LOGD("timestamp:%ld", _t);
+ LOGD("mktime error, reason: %s\n", strerror(errno));
+ return -1;
+ }
+
+ LOGD("Success Set time to %s.\n", str_time);
+ return 0;
+
+ } else {
+ LOGD("Set time fail.");
+ return -1;
+ }
+ return 0;
+}
+
+
+static void* ntp_pthread_run(int* ntp_flag)
+{
+ if (mbtk_net_state_get() == MBTK_NET_STATE_OFF)
+ {
+ LOGD("Network is disconnected. Set time fail.");
+ if(NULL != ntp_flag)
+ {
+ *ntp_flag = -1;
+ }
+ return NULL;
+ }
+ LOGD("Network is connected.");
+
+ char time_type[10];
+ while(1){
+ memset(time_type, 0, 10);
+ property_get("persist.mbtk.time_type", time_type, "0");
+ if(atoi(time_type) == LYNQ_TIME_TYPE_NTP) // NTP time
+ {
+// char time_str[100] = {0};
+ time_t time = 0;
+ if((time = (time_t)mbtk_at_systime()) == 0)
+ {
+ LOGD("NTP client fail!\n");
+ if(NULL != ntp_flag)
+ {
+ *ntp_flag = -1;
+ }
+ return NULL;
+ }
+#if 1
+ struct tm CurlocalTime;
+ localtime_r(&time, &CurlocalTime);
+ // CurlocalTime.tm_hour += 8; //cst
+ char dateTime[30];
+ strftime(dateTime, 30, "%Y-%m-%d %H:%M:%S %A", &CurlocalTime);
+
+ // printf("dateTime:%s, %ld\n", dateTime, time+28800); //cst
+ LOGD("dateTime:%s, %ld\n", dateTime, time);
+
+ struct timeval tv;
+ tv.tv_sec = time;
+ // tv.tv_sec += 28800; //cst
+ tv.tv_usec = 0;
+
+ if(settimeofday(&tv, NULL)) {
+ LOGD("Set time :%s", dateTime);
+ LOGD("timestamp:%ld, tv.tv_sec:%ld\n", time, tv.tv_sec);
+
+ if(settimeofday(&tv, NULL)) {
+ *ntp_flag = -1;
+ LOGD("mktime error, reason: %s\n", strerror(errno));
+ return NULL;
+ }
+ }
+ LOGD("Set time success\n");
+ lynq_set_rtc_time();
+#else
+
+ struct tm *tm_t;
+ tm_t = localtime(&time);
+ tm_t->tm_hour += 8;
+ strftime(time_str,128,"%F %T",tm_t);
+
+ // NTP time
+ if(metis_strptime(time_str))
+ {
+ *ntp_flag = -1;
+ return NULL;
+ }
+#endif
+ break;
+ } else {
+ break;
+ }
+
+ sleep(64); // Sleep 64s.
+ }
+ if(NULL != ntp_flag)
+ {
+ *ntp_flag = 0;
+ }
+ return NULL;
+}
+
+int set_time_user(char* data_time_str)
+{
+
+ int ret = 0;
+ if(strlen(data_time_str) > 0)
+ {
+ ret = metis_strptime(data_time_str);
+ }
+
+ return ret;
+}
+
+
+//MBTK_TIME_TYPE_CELL = 0, //NITZ
+//MBTK_TIME_TYPE_NTP,
+//MBTK_TIME_TYPE_GNSS,
+//MBTK_TIME_TYPE_USER
+void set_time_type(int mbtk_time_type)
+{
+ char type_str[10] = {0};
+ sprintf(type_str, "%d", mbtk_time_type);
+ property_set("persist.mbtk.time_type", type_str);
+
+ return;
+}
+
+static int mbtk_get_gnss_time_set_flag() {
+ int type = 0;
+ char time_type[] ={0};
+ property_get("persist.mbtk.gnss_time_type", time_type, "0");
+
+ type = atoi(time_type);
+ LOGD("persist.mbtk.gnss_time_type :%d\n", type);
+ return type;
+}
+
+
+int ntp_sync_time(int enable)
+{
+ if(0 != enable && 1 != enable)
+ {
+ return -1;
+ }
+ UNUSED(enable);
+ int ntp_status = 0;
+ int ret = 0;
+ sync_time_flag = 0;
+ if(enable)
+ {
+ set_time_type(LYNQ_TIME_TYPE_NTP);
+ ntp_pthread_run(&ntp_status);
+ if(ntp_status == 0)
+ {
+ ret = 0;
+ sync_time_flag = 0;
+ }
+ else
+ {
+ ret = -1;
+ set_time_type(LYNQ_TIME_TYPE_UNUSE);
+ sync_time_flag = -1;
+ }
+ }
+ else
+ {
+ set_time_type(LYNQ_TIME_TYPE_UNUSE);
+ }
+
+ return ret;
+}
+
+//enable set time from nitz
+int modem_time_enable(int enable)
+{
+ if(0 != enable && 1 != enable)
+ {
+ return -1;
+ }
+ UNUSED(enable);
+ sync_time_flag = 0;
+
+ if(enable)
+ {
+ set_time_type(LYNQ_TIME_TYPE_CELL);
+ }
+ else
+ {
+ set_time_type(LYNQ_TIME_TYPE_UNUSE);
+ }
+ return 0;
+}
+
+
+//enable set time from gnss
+int gnss_time_enable(int enable)
+{
+ if(0 != enable && 1 != enable)
+ {
+ return -1;
+ }
+ UNUSED(enable);
+ sync_time_flag = 0;
+ if(enable)
+ {
+ set_time_type(LYNQ_TIME_TYPE_GNSS);
+ }
+ else
+ {
+ set_time_type(LYNQ_TIME_TYPE_UNUSE);
+ }
+
+ return 0;
+}
+
+
+//enable set time from user
+int user_set_time(char* date, char* time)
+{
+ UNUSED(date);
+ UNUSED(time);
+ if(date == NULL || time == NULL)
+ {
+ return -1;
+ }
+
+ int ret = 0;
+ char time_str[128] ={0};
+ memset(time_str, 0x0, MBTK_AT_NTP_LEN_MAX);
+
+ char *p = time;
+ char *p1 = strstr(p, ":");
+ char *p2 = strstr(p1+1, ":");
+ if(p2 == NULL)
+ {
+ sprintf(time_str, "%s %s:00", date, time); //2023-11-30 11:30
+ set_time_type(LYNQ_TIME_TYPE_USER);
+ ret = set_time_user(time_str);
+ }else
+ {
+ sprintf(time_str, "%s %s", date, time); //2023-11-30 11:30:31
+ set_time_type(LYNQ_TIME_TYPE_USER);
+ ret = set_time_user(time_str);
+ }
+
+ return ret;
+}
+
+
+//check sysytem type
+int lynq_get_time_src_status (time_src_status_s * time_src)
+{
+ UNUSED(time_src);
+ int type = 0;
+ char time_type[] ={0};
+ property_get("persist.mbtk.time_type", time_type, "0");
+
+ type = atoi(time_type);
+ printf("time_type :%d", type);
+ if(type == LYNQ_TIME_TYPE_NTP)
+ {
+ time_src->ntp = 1;
+ time_src->nitz = 0;
+ time_src->gnss = 0;
+ }
+ else if(type == LYNQ_TIME_TYPE_CELL)
+ {
+ time_src->ntp = 0;
+ time_src->nitz = 1;
+ time_src->gnss = 0;
+ }
+ else if(type == LYNQ_TIME_TYPE_GNSS)
+ {
+ time_src->ntp = 0;
+ time_src->nitz = 0;
+ time_src->gnss = 1;
+ }
+ else if(type == LYNQ_TIME_TYPE_UNUSE)
+ {
+ time_src->ntp = 0;
+ time_src->nitz = 0;
+ time_src->gnss = 0;
+ }
+
+ return 0;
+}
+
+// RTC TIME set to system
+int lynq_sync_time_from_rtc(void)
+{
+ mbtk_system("hwclock --hctosys");
+ return 0;
+}
+
+// system time set to RTC
+int lynq_set_rtc_time(void)
+{
+// system("hwclock --systohc");
+ mbtk_system("hwclock -w rtc0");
+ return 0;
+}
+
+int lynq_get_rtc_time(unsigned long *ulsec)
+{
+ UNUSED(ulsec);
+
+ return 0;
+}
+
+
+int get_sync_time_result(void )
+{
+ int type = 0;
+ int gnss_status = 0;
+ char time_type[] ={0};
+ property_get("persist.mbtk.time_type", time_type, "0");
+ type = atoi(time_type);
+ printf("time_type :%d", type);
+ if(type == LYNQ_TIME_TYPE_GNSS)
+ {
+ gnss_status = mbtk_get_gnss_time_set_flag();
+ if(gnss_status) //success
+ {
+ sync_time_flag = 0;
+ }
+ else{
+ sync_time_flag = -1;
+ }
+ }
+ LOGD("mbtk_gnss_time_set_flag :%d", mbtk_get_gnss_time_set_flag());
+ return sync_time_flag;
+}
+
+
+
+
+
diff --git a/mbtk/liblynq_lib/lynq_voice_call.c b/mbtk/liblynq_lib/lynq_voice_call.c
new file mode 100755
index 0000000..d6c0949
--- /dev/null
+++ b/mbtk/liblynq_lib/lynq_voice_call.c
Binary files differ
diff --git a/mbtk/liblynq_lib/lynq_wifi.c b/mbtk/liblynq_lib/lynq_wifi.c
new file mode 100755
index 0000000..ae1e473
--- /dev/null
+++ b/mbtk/liblynq_lib/lynq_wifi.c
@@ -0,0 +1,378 @@
+#include "sta_cli.h"
+#include "lynq_wifi.h"
+#include "mbtk_log.h"
+
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include "mbtk_utils.h"
+
+
+
+#define STA_BUF_SIZE 2048
+lynq_wifi_event_handle_sta g_event_handle_sta_cb = NULL;
+
+
+int qser_wifi_enable(void)
+{
+ static char sta_cli_buf[STA_BUF_SIZE] = "OPEN";
+ char reply[STA_BUF_SIZE];
+ if(sta_cli_cmd_parse(sta_cli_buf, reply, STA_BUF_SIZE)){
+ if(strlen(reply) > 0)
+ {
+ LOGE("reply data(%s).\n",reply);
+ }else{
+ LOGE("No reply data(%s).\n",sta_cli_buf);
+ }
+ }else{
+ LOGE("Parse cmd fail.\n");
+ }
+
+ return 0;
+}
+
+
+int qser_wifi_disable(void)
+{
+ static char sta_cli_buf[STA_BUF_SIZE] = "CLOSE";
+ char reply[STA_BUF_SIZE];
+ if(sta_cli_cmd_parse(sta_cli_buf, reply, STA_BUF_SIZE)){
+ if(strlen(reply) > 0)
+ {
+ LOGE("reply data(%s).\n",reply);
+ }else{
+ LOGE("No reply data(%s).\n",sta_cli_buf);
+ }
+ }else{
+ LOGE("Parse cmd fail.\n");
+ }
+ return 0;
+}
+
+int qser_wifi_sta_param_set(lynq_wifi_sta_param_t *param_stat)
+{
+
+ sta_cli_ssid_set(param_stat->ssid);
+ sta_cli_psk_set(param_stat->passwd);
+ return 0;
+}
+
+
+int qser_wifi_sta_param_get(lynq_wifi_sta_param_t *param_stat)
+{
+ int len = 0;
+ sta_cli_ssid_get(param_stat->ssid);
+ len = strlen(param_stat->ssid);
+ param_stat->ssid[len - 1] = '\0';
+ sta_cli_psk_get(param_stat->passwd);
+ len = strlen(param_stat->passwd);
+ param_stat->passwd[len - 1] = '\0';
+
+ LOGE("ssid: %s, passwd: %s", param_stat->ssid, param_stat->passwd);
+
+ return 0;
+}
+
+int qser_wifi_sta_start(void)
+{
+ char reply[STA_BUF_SIZE];
+
+ if(sta_cli_cmd_parse("ADD_NETWORK", reply, STA_BUF_SIZE))
+ {
+ if(strlen(reply) > 0)
+ {
+ LOGE("reply data(%s).\n",reply);
+ }else
+ {
+ LOGE("No reply data\n");
+ }
+ }
+ else
+ {
+ LOGE("Parse cmd fail.\n");
+ }
+
+
+ if(sta_cli_cmd_parse("SELECT_NETWORK", reply, STA_BUF_SIZE))
+ {
+ if(strlen(reply) > 0)
+ {
+ LOGE("reply data(%s).\n",reply);
+ }else
+ {
+ LOGE("No reply data\n");
+ }
+ }
+ else
+ {
+ LOGE("Parse cmd fail.\n");
+ }
+
+ if(sta_cli_cmd_parse("ENABLE_NETWORK", reply, STA_BUF_SIZE))
+ {
+ if(strlen(reply) > 0)
+ {
+ LOGE("reply data(%s).\n",reply);
+ }else
+ {
+ LOGE("No reply data\n");
+ }
+ }
+ else
+ {
+ LOGE("Parse cmd fail.\n");
+ }
+
+ mbtk_system("udhcpc -i wlan0");
+
+
+ return 0;
+}
+
+int qser_wifi_sta_stop(void)
+{
+ char reply[STA_BUF_SIZE];
+
+ if(sta_cli_cmd_parse("DISABLE_NETWORK", reply, STA_BUF_SIZE))
+ {
+ if(strlen(reply) > 0)
+ {
+ LOGE("reply data(%s).\n",reply);
+ }else
+ {
+ LOGE("No reply data\n");
+ }
+ }
+ else
+ {
+ LOGE("Parse cmd fail.\n");
+ }
+
+ if(sta_cli_cmd_parse("REMOVE_NETWORK", reply, STA_BUF_SIZE))
+ {
+ if(strlen(reply) > 0)
+ {
+ LOGE("reply data(%s).\n",reply);
+ }else
+ {
+ LOGE("No reply data\n");
+ }
+ }
+ else
+ {
+ LOGE("Parse cmd fail.\n");
+ }
+
+ return 0;
+}
+
+int qser_wifi_sta_get_status(lynq_wifi_sta_status_t *status_stat)
+{
+ char reply[STA_BUF_SIZE];
+ int i = 0, j = 0;
+ int status_flag = 0;
+
+ if(sta_cli_cmd_parse("STATUS", reply, STA_BUF_SIZE))
+ {
+ if(strlen(reply) > 0)
+ {
+ LOGE("reply data(%s).\n",reply);
+ }else
+ {
+ LOGE("No reply data\n");
+ }
+ }
+ else
+ {
+ LOGE("Parse cmd fail.\n");
+ }
+
+
+ for(i = 0; i < strlen(reply); i++)
+ {
+ if(',' == reply[i])
+ {
+ j = 0;
+ status_flag++;
+ continue;
+ }
+
+ if(0 == status_flag)
+ {
+ status_stat->status = 4;
+ j++;
+ }
+ else if(1 == status_flag)
+ {
+ status_stat->ap_bssid[j] = reply[i];
+ j++;
+ }
+ else if(2 == status_flag)
+ {
+ status_stat->ifname[j] = reply[i];
+ j++;
+ }
+ else if(8 == status_flag)
+ {
+ status_stat->has_addr = '1';
+ status_stat->addr[0].addr[j] = reply[i];
+ j++;
+ }
+
+
+
+ }
+ LOGE("state:%d, ap_bssid:%s, ifname:%s, has_addr:%c, addr:%s\n", status_stat->status, status_stat->ap_bssid, status_stat->ifname, status_stat->has_addr,
+ status_stat->addr[0].addr);
+
+ return 0;
+
+}
+
+
+
+int qser_wifi_register_handle(lynq_wifi_event_handle event_handle, lynq_wifi_event_handle_sta event_handle_sta, void *arg)
+{
+
+
+ if(NULL != event_handle_sta)
+ {
+ g_event_handle_sta_cb = event_handle_sta;
+
+ }
+
+ return 0;
+}
+
+
+int qser_wifi_sta_start_scan(void)
+{
+ char reply[STA_BUF_SIZE] = {0};
+ lynq_wifi_sta_scan_list_t scan_list = {0};
+ int i = 0, j = 0;
+ int status_flag = 0;
+
+ if(sta_cli_cmd_parse("SCAN", reply, STA_BUF_SIZE))
+ {
+ if(strlen(reply) > 0)
+ {
+ LOGE("reply data(%s).\n",reply);
+ }else
+ {
+ LOGE("No reply data\n");
+ }
+ }
+ else
+ {
+ LOGE("Parse cmd fail.\n");
+ }
+
+
+
+ scan_list.cnt = 1;
+
+ for(i = 0; i < strlen(reply); i++)
+ {
+ if(',' == reply[i])
+ {
+ j = 0;
+ status_flag++;
+ continue;
+ }
+
+ if(0 == status_flag)
+ {
+ scan_list.info[0].bssid[j] = reply[i];
+ j++;
+ }
+ else if(1 == status_flag)
+ {
+ //scan_list.info[0].bssid = reply[i];
+ j++;
+ }
+ else if(2 == status_flag)
+ {
+ //scan_list.info[0].signal = atoi(reply[i]);
+ j++;
+ }
+ else if(4 == status_flag)
+ {
+ scan_list.info[0].essid[j] = reply[i];
+ j++;
+ }
+
+
+
+ }
+
+
+
+ g_event_handle_sta_cb(&scan_list);
+ return 0;
+}
+
+/*
+ void lynq_wifi_event_handle_demo(lynq_wifi_event_s *event, void *arg)
+ {
+ if(event->id == LYNQ_WIFI_EVENT_AP_STATION)
+ LOGE("[lynq-wifi-demo] %s:event-id = %d- %d\n", __func__, event->id, event->status);
+ else if(event->id == LYNQ_WIFI_EVENT_AP_STA_STATUS)
+ LOGE("[lynq-wifi-demo] %s:event-id = %d,%d,%s,%s\n", __func__, event->id,
+ event->ap_sta_info.connected, event->ap_sta_info.mac,event->ap_sta_info.hostname);
+ if(event->id == LYNQ_WIFI_EVENT_STA_STATUS)
+ LOGE("[lynq-wifi-demo] %s:event-id = %d- %d\n", __func__, event->id, event->status);
+ else
+ return;
+ }
+ */
+
+ void lynq_wifi_event_handle_sta_demo(lynq_wifi_sta_scan_list_t *event)
+ {
+ int i = 0;
+ for (i = 0; i < event->cnt; i++)
+ {
+ LOGE("[lynq-wifi-demo] %s : ap[%d]:%s,%d,%d,%d,%s,%d,%d,%d\n", __func__, i,
+ event->info[i].essid, event->info[i].auth,
+ event->info[i].cipher, event->info[i].channel, event->info[i].bssid,
+ event->info[i].signal_level,event->info[i].frequency,event->info[i].signal);
+ }
+ }
+
+
+
+
+
+/*
+
+int qser_wifi_work_mode_set(lynq_wifi_work_mode_e type)
+{
+
+}
+
+
+int qser_wifi_work_mode_get(lynq_wifi_work_mode_e *type)
+{
+
+}
+
+int qser_wifi_register_handle(lynq_wifi_event_handle event_handle, lynq_wifi_event_handle_staevent_handle_sta, void *arg)
+{
+
+}
+
+
+int qser_wifi_get_sta_pkt_stats(lynq_wifi_pkt_stats_t *pkt_stat)
+{
+
+}
+
+int qser_wifi_sta_start_scan(void)
+{
+
+}
+
+*/
+
+
+
diff --git a/mbtk/test/libgsw_lib/Makefile b/mbtk/test/libgsw_lib/Makefile
new file mode 100755
index 0000000..93c4517
--- /dev/null
+++ b/mbtk/test/libgsw_lib/Makefile
@@ -0,0 +1,36 @@
+BUILD_ROOT = $(shell pwd)/../..
+include $(BUILD_ROOT)/Make.defines
+INSTALL_DIR = $(BUILD_ROOT)/rootfs/bin
+
+INC_DIR +=
+
+LIB_DIR +=
+
+LIBS += -lmbtk_lib -lgsw_lib -ldl
+
+CFLAGS += $(CFLAGS_TEST)
+
+DEFINE +=
+
+LOCAL_SRC_FILES = $(wildcard *.c) $(wildcard *.cpp)
+
+$(info LOCAL_SRC_FILES = $(LOCAL_SRC_FILES))
+
+OBJS = $(patsubst %.c,%.o,$(patsubst %.cpp,%.o,$(LOCAL_SRC_FILES)))
+BINS = $(patsubst %.o,%,$(OBJS))
+
+all: $(BINS)
+
+$(BINS):$(OBJS)
+ @echo " BIN $@"
+ $(CC) $(CFLAGS) $(LIB_DIR) $(LIBS) $@.o -o $(OUT_DIR)/bin/$@
+ cp $(OUT_DIR)/bin/$@ $(INSTALL_DIR)/
+
+%.o:%.c
+ $(CC) $(CFLAGS) $(INC_DIR) $(DEFINE) -c $< -o $@
+
+%.o:%.cpp
+ $(CC) $(CFLAGS) $(INC_DIR) $(DEFINE) -c $< -o $@
+
+clean:
+ rm -f $(OBJS)
diff --git a/mbtk/test/libgsw_lib/gsw_at_test.c b/mbtk/test/libgsw_lib/gsw_at_test.c
new file mode 100755
index 0000000..6c06efb
--- /dev/null
+++ b/mbtk/test/libgsw_lib/gsw_at_test.c
@@ -0,0 +1,56 @@
+#include <stdio.h>
+#include <string.h>
+#include <stdlib.h>
+#include <dlfcn.h>
+#include <stdint.h>
+
+typedef void(*AT_CALLBACK)(char input[],char output[],int out_max_size);
+int32_t (*gsw_reg_atcmd)(const char *atcmd,AT_CALLBACK);
+void *dlHandle_at;
+char *lynqLib_at = "/lib/libgsw_lib.so";
+
+void lynq_test_example(char input[], char output[], int out_max_size)
+{
+ if(!strcmp(input, "AT+TEST1"))
+ {
+ memcpy(output, input, strlen(input));
+ }
+ else if(!strcmp(input, "AT+TEST2"))
+ {
+ memcpy(output, input, strlen(input));
+ }
+ else if(!strcmp(input, "AT+TEST3"))
+ {
+ memcpy(output, input, strlen(input));
+ }
+ else if(!strcmp(input, "AT+TEST4"))
+ {
+ memcpy(output, input, strlen(input));
+ }
+ else if(!strcmp(input, "AT+TEST5"))
+ {
+ memcpy(output, input, strlen(input));
+ }
+ return;
+}
+
+
+int main(void)
+{
+ int ret;
+ dlHandle_at = dlopen(lynqLib_at, RTLD_NOW);
+ gsw_reg_atcmd=(int32_t(*)(const char *atcmd,AT_CALLBACK))dlsym(dlHandle_at, "gsw_reg_atcmd");
+ ret = gsw_reg_atcmd("AT+TEST1;AT+TEST2;AT+TEST3;AT+TEST4;AT+TEST5",lynq_test_example);
+ if (ret == 0)
+ printf("at add ok\n");
+ else
+ printf("at add fail\n");
+ while (1)
+ {
+ getchar();
+ }
+ dlclose(dlHandle_at);
+ dlHandle_at = NULL;
+ return 0;
+
+}
\ No newline at end of file
diff --git a/mbtk/test/libgsw_lib/gsw_data_test.c b/mbtk/test/libgsw_lib/gsw_data_test.c
new file mode 100755
index 0000000..6efa383
--- /dev/null
+++ b/mbtk/test/libgsw_lib/gsw_data_test.c
@@ -0,0 +1,365 @@
+#include <stdint.h>
+#include <string.h>
+#include <stdbool.h>
+#include <stdio.h>
+#include <dlfcn.h>
+#include <stdlib.h>
+#include <sys/socket.h>
+#include <netinet/in.h>
+#include <arpa/inet.h>
+
+//gsw include
+
+
+#define GSW_HAL_SUCCESS 0
+#define GSW_HAL_FAIL -1
+#define GSW_HAL_MEM_INVAILD -2
+#define GSW_NW_OPERATION_NAME_LEN 128
+#define GSW_NW_PLMN_LEN 6
+#define GSW_NW_MCC_LEN 3
+#define GSW_NW_MNC_LEN 3
+#define GSW_NW_PARA_MAX_LEN 128
+#define GSW_MCC_MAX_LEN 16
+#define GSW_MNC_MAX_LEN 16
+#define GSW_APN_CHANNEL_MAX 10
+#define GSW_POXY_ADDR_MAX_LEN 64
+#define GSW_PDP_TYPE_MAX_LEN 16
+#define GSW_APN_MAX_LEN 32
+#define GSW_APN_ID_MAX_LEN 32
+#define GSW_APN_TYPE_MAX_LEN 50
+#define GSW_USR_MAX_LEN 16
+#define GSW_PWD_MAX_LEN 16
+#define GSW_AUTH_TYPE_MAX_LEN 50
+#define GSW_PROTOCO_MAX_LEN 64
+#define GSW_CARRIER_ID_MAX_LEN 64
+#define GSW_IFACE_NAME_MAX_LEN 50
+#define GSW_PDP_ADDR_MAX_LEN 64
+#define GSW_DNS_ADDR_MAX_LEN 64
+#define GSW_GETWAYS_ADDR_MAX_LEN 64
+#define GSW_RSP_MAX_LEN 256
+
+typedef struct {
+ int handle; /**< data connection handle*/
+ int cid; /**< data connection cid*/
+ int state; /**< data connection state*/
+ int fail_cause; /**< data connection fail cause*/
+ char *type; /**< data connection type*/
+ char *ifname; /**< ifname*/
+
+ char *v4_ip; /**< ipv4 address*/
+ char *v4_pdns; /**< ipv4 pdns address*/
+ char *v4_sdns; /**< ipv4 sdns address*/
+ char *v4_gw; /**< ipv4 gateway address*/
+
+ char *v6_ip; /**< ipv6 address*/
+ char *v6_pdns; /**< ipv6 gateway address*/
+ char *v6_sdns; /**< ipv6 gateway address*/
+}Wan_State_ind_s;
+
+typedef struct {
+ char ip[GSW_PDP_ADDR_MAX_LEN]; /**< ip address */
+ char pdns[GSW_DNS_ADDR_MAX_LEN]; /**< pdns address*/
+ char sdns[GSW_DNS_ADDR_MAX_LEN]; /**< sdns address*/
+ char gw[GSW_GETWAYS_ADDR_MAX_LEN]; /**< gate way address*/
+}V4_Addr_s;
+
+typedef struct {
+ char ip[GSW_PDP_ADDR_MAX_LEN]; /**< ip address*/
+ char pdns[GSW_DNS_ADDR_MAX_LEN]; /**< pdns address*/
+ char sdns[GSW_DNS_ADDR_MAX_LEN]; /**< sdns address*/
+}V6_Addr_s;
+
+typedef struct {
+ int handle; /**< data connection handle*/
+
+ /* req info */
+ char mcc[GSW_MCC_MAX_LEN]; /**< apn mcc value*/
+ char mnc[GSW_MNC_MAX_LEN]; /**< apn mnc value*/
+ char apnid[GSW_APN_ID_MAX_LEN]; /**< apn id*/
+ char apn[GSW_APN_MAX_LEN]; /**< apn name*/
+ char apnType[GSW_APN_TYPE_MAX_LEN]; /**< apn type ipv4 ipv4v6 ipv6*/
+ char usr[GSW_USR_MAX_LEN]; /**< apn usr name*/
+ char pwd[GSW_PWD_MAX_LEN]; /**< apn password*/
+ char authType[GSW_AUTH_TYPE_MAX_LEN]; /**< apn auth type*/
+ char normalProtocol[GSW_PROTOCO_MAX_LEN]; /**< apn auth protoco*/
+ char roamingProtocol[GSW_PROTOCO_MAX_LEN]; /**< apn auth protoco roaming*/
+ char carrier[GSW_CARRIER_ID_MAX_LEN]; /**< carrier id*/
+
+ /* rsp */
+ int cid; /**< data connection cid for mdm sdk*/
+ int active; /**< pdn context active state: 2,actived; other,not active */
+ char ifname[GSW_IFACE_NAME_MAX_LEN]; /**< if name of current datalink */
+ int type; /**< data connection type*/
+ V4_Addr_s v4; /**< ipv4 addr*/
+ V6_Addr_s v6; /**< ipv6 addr*/
+ int mtu; /**< mtu value*/
+
+ char out[GSW_RSP_MAX_LEN]; /**< sdk return value*/
+}Link_Info_s;
+
+typedef struct
+{
+ uint64_t tx_pkts; /* the number of packet sent*/
+ uint64_t tx_bytes; /* the number of packet sent bytes */
+ uint64_t tx_dropped_pkts; /* the number of packet dropped by sent*/
+ uint64_t rx_pkts; /* the number of packet received*/
+ uint64_t rx_bytes; /* the number of packet receivedbytes */
+ uint64_t rx_dropped_pkts; /* the number of packet dropped by received*/
+}gsw_data_pkt_stats;
+
+
+typedef void (*gsw_data_call_evt_cb_t)(Wan_State_ind_s *linkState);
+
+int (*gsw_data_call_init)(gsw_data_call_evt_cb_t evt_cb);
+int (*gsw_data_call_deinit)(void);
+int (*gsw_data_call_set_apn)(Link_Info_s *LinkInf);
+int (*gsw_data_call_connect)(int linkid, Link_Info_s *LinkInf);
+int (*gsw_data_call_disconnect)(int linkid, Link_Info_s *LinkInf);
+int (*gsw_get_data_call_pkt_stats)(int linkid, gsw_data_pkt_stats *data_pkt);
+
+#define lib_gsw_data_path "/lib/libgsw_lib.so"
+static void *dlHandle_data = NULL;
+
+
+static int gsw_data_api_import()
+{
+ dlHandle_data = dlopen(lib_gsw_data_path, RTLD_NOW);
+ if (dlHandle_data == NULL) {
+ printf("error: %s\n", dlerror());
+ return -1;
+ }
+
+ gsw_data_call_init = (int (*) (gsw_data_call_evt_cb_t evt_cb))dlsym(dlHandle_data, "gsw_data_call_init");
+ if (gsw_data_call_init == NULL) {
+ printf("gsw_data_call_init dlsym failed\n");
+ return -1;
+ }
+
+ gsw_data_call_deinit = (int (*) (void))dlsym(dlHandle_data, "gsw_data_call_deinit");
+ if (gsw_data_call_deinit == NULL) {
+ printf("gsw_data_call_deinit dlsym failed\n");
+ return -1;
+ }
+
+ gsw_data_call_set_apn = (int (*)(Link_Info_s *LinkInf))dlsym(dlHandle_data, "gsw_data_call_set_apn");
+ if (gsw_data_call_set_apn == NULL) {
+ printf("gsw_data_call_set_apn dlsym failed\n");
+ return -1;
+ }
+
+ gsw_data_call_connect = (int (*)(int linkid, Link_Info_s *LinkInf))dlsym(dlHandle_data, "gsw_data_call_connect");
+ if (gsw_data_call_connect == NULL) {
+ printf("gsw_data_call_connect dlsym failed\n");
+ return -1;
+ }
+
+ gsw_data_call_disconnect = (int (*)(int linkid, Link_Info_s *LinkInf))dlsym(dlHandle_data, "gsw_data_call_disconnect");
+ if (gsw_data_call_disconnect == NULL) {
+ printf("gsw_data_call_disconnect dlsym failed\n");
+ return -1;
+ }
+
+ gsw_get_data_call_pkt_stats = (int (*)(int linkid, gsw_data_pkt_stats *data_pkt))dlsym(dlHandle_data, "gsw_get_data_call_pkt_stats");
+ if (gsw_get_data_call_pkt_stats == NULL) {
+ printf("gsw_get_data_call_pkt_stats dlsym failed\n");
+ return -1;
+ }
+
+ return 0;
+}
+
+void gsw_data_call_back(Wan_State_ind_s *linkState)
+{
+ printf("gsw_data_call_back, handle = %d\n", linkState->handle);
+ printf("gsw_data_call_back, cid = %d\n", linkState->cid);
+ printf("gsw_data_call_back, state = %d\n", linkState->state);
+ printf("gsw_data_call_back, fail_cause = %d\n", linkState->fail_cause);
+ printf("gsw_data_call_back, type = %s\n", linkState->type);
+ printf("gsw_data_call_back, ifname = %s\n", linkState->ifname);
+ printf("gsw_data_call_back, v4_ip = %s\n", linkState->v4_ip);
+ printf("gsw_data_call_back, v4_pdns = %s\n", linkState->v4_pdns);
+ printf("gsw_data_call_back, v4_sdns = %s\n", linkState->v4_sdns);
+ printf("gsw_data_call_back, v4_gw = %s\n", linkState->v4_gw);
+ printf("gsw_data_call_back, v6_ip = %s\n", linkState->v6_ip);
+ printf("gsw_data_call_back, v6_pdns = %s\n", linkState->v6_pdns);
+ printf("gsw_data_call_back, v6_sdns = %s\n", linkState->v6_sdns);
+}
+
+
+void dump_items()
+{
+
+ printf("\n");
+ printf("The current module is: data \n");
+
+ printf("-------------------------------------------------------------------------\n");
+ printf("| index | function name |\n");
+ printf("| 0 exit\n");
+ printf(" 1 gsw_data_call_init\n");
+ printf(" 2 gsw_data_call_deinit\n");
+ printf(" 3 gsw_data_call_set_apn\n");
+ printf(" 4 gsw_data_call_connect\n");
+ printf(" 5 gsw_data_call_disconnect\n");
+ printf(" 6 gsw_get_data_call_pkt_stats\n");
+ printf("-------------------------------------------------------------------------\n");
+}
+
+int main()
+{
+ int ret;
+ char operator[10];
+ int opt;
+
+ Link_Info_s* pub_LinkInf = (Link_Info_s*)malloc(sizeof(Link_Info_s));
+ memset(pub_LinkInf, 0x0, sizeof(Link_Info_s));
+
+ Link_Info_s* pri_LinkInf = (Link_Info_s*)malloc(sizeof(Link_Info_s));
+ memset(pri_LinkInf, 0x0, sizeof(Link_Info_s));
+
+ pub_LinkInf->handle = 0;
+ strcpy(pub_LinkInf->mcc,"460");
+ strcpy(pub_LinkInf->mnc,"11");
+ strcpy(pub_LinkInf->apn,"pub_apn");
+ strcpy(pub_LinkInf->apnid,"pub_apnid");
+ strcpy(pub_LinkInf->apnType,"default");
+ strcpy(pub_LinkInf->usr,"");
+ strcpy(pub_LinkInf->pwd,"");
+ strcpy(pub_LinkInf->authType,"0");
+ strcpy(pub_LinkInf->normalProtocol,"IPV4V6");
+ strcpy(pub_LinkInf->roamingProtocol,"IPV4V6");
+ strcpy(pub_LinkInf->carrier,"CHINA TELECOM");
+
+ pri_LinkInf->handle = 1;
+ strcpy(pri_LinkInf->mcc,"460");
+ strcpy(pri_LinkInf->mnc,"11");
+ strcpy(pri_LinkInf->apn,"pri_apn");
+ strcpy(pri_LinkInf->apnid,"pri_apnid");
+ strcpy(pri_LinkInf->apnType,"mms");
+ strcpy(pri_LinkInf->usr,"");
+ strcpy(pri_LinkInf->pwd,"");
+ strcpy(pri_LinkInf->authType,"0");
+ strcpy(pri_LinkInf->normalProtocol,"IPV4V6");
+ strcpy(pri_LinkInf->roamingProtocol,"IPV4V6");
+ strcpy(pri_LinkInf->carrier,"CHINA TELECOM");
+
+
+ ret = gsw_data_api_import();
+ if (ret != 0) {
+ printf("gsw_data_api_import failed \n");
+ free(pub_LinkInf);
+ free(pri_LinkInf);
+ return -1;
+ }
+
+
+ while(1)
+ {
+ dump_items();
+ printf("input the index of module: ");
+ opt = -1;
+ printf("%s/n",fgets(operator, sizeof(operator), stdin));
+ fflush(stdin);
+
+ opt = atoi(operator);
+ switch (opt) {
+ case 0:
+ {
+ printf("exit\n");
+ free(pub_LinkInf);
+ free(pri_LinkInf);
+ return 0;
+ }
+
+ case 1:
+ {
+ printf("gsw_data_call_init start\n");
+ ret = gsw_data_call_init(gsw_data_call_back);
+ if (ret != 0) {
+ printf("gsw_data_call_init failed,ret = %d\n",ret);
+ continue;
+ }
+ printf("gsw_data_call_init success\n");
+ break;
+ }
+
+ case 2:
+ {
+ printf("gsw_data_call_deinit start\n");
+ ret = gsw_data_call_deinit();
+ if (ret != 0) {
+ printf("gsw_data_call_deinit failed,ret = %d\n",ret);
+ continue;
+ }
+ printf("gsw_data_call_deinit success\n");
+ break;
+ }
+ case 3:
+ {
+ printf("gsw_data_call_set_apn start\n");
+ ret = gsw_data_call_set_apn(pub_LinkInf);
+ if (ret != 0) {
+ printf("gsw_data_call_set_apn failed,ret = %d\n",ret);
+ continue;
+ }
+ printf("gsw_data_call_set_apn success\n");
+ break;
+ }
+
+ case 4:
+ {
+ printf("gsw_data_call_connect start\n");
+ ret = gsw_data_call_connect(pub_LinkInf->handle, pub_LinkInf);
+ if (ret != 0) {
+ printf("gsw_data_call_connect failed, ret = %d\n",ret);
+ continue;
+ }
+ printf("gsw_data_call_connect success\n");
+ break;
+ }
+
+ case 5:
+ {
+ printf("gsw_data_call_disconnect start\n");
+ ret = gsw_data_call_disconnect(pub_LinkInf->handle, pub_LinkInf);
+ if (ret != 0) {
+ printf("gsw_data_call_disconnect failed,ret = %d\n",ret);
+ continue;
+ }
+ printf("gsw_data_call_disconnect success\n");
+ break;
+ }
+
+ case 6:
+ {
+ printf("gsw_get_data_call_pkt_stats start\n");
+ gsw_data_pkt_stats* data_pkt = (gsw_data_pkt_stats*)malloc(sizeof(gsw_data_pkt_stats));
+ memset(data_pkt, 0x0, sizeof(gsw_data_pkt_stats));
+ ret = gsw_get_data_call_pkt_stats(pub_LinkInf->handle, data_pkt);
+ if (ret != 0) {
+ printf("gsw_get_data_call_pkt_stats failed,ret = %d\n",ret);
+ continue;
+ }
+ else
+ {
+ printf("gsw_get_data_call_pkt_stats success \n");
+ printf("txPkts = %llu\n", data_pkt->tx_pkts);
+ printf("txbytes = %llu\n", data_pkt->tx_bytes);
+ printf("tx_dropped_pkts = %llu\n", data_pkt->tx_dropped_pkts);
+ printf("rxPkts = %llu\n", data_pkt->rx_pkts);
+ printf("rxbytes = %llu\n", data_pkt->rx_bytes);
+ printf("rx_dropped_pkts = %llu\n", data_pkt->rx_dropped_pkts);
+ free(data_pkt);
+ }
+ printf("gsw_get_data_call_pkt_stats success\n");
+ break;
+ }
+
+ default:
+ {
+ continue;
+ }
+ }
+ }
+}
+
+
diff --git a/mbtk/test/libgsw_lib/gsw_ecall_test.c b/mbtk/test/libgsw_lib/gsw_ecall_test.c
new file mode 100755
index 0000000..682d9e2
--- /dev/null
+++ b/mbtk/test/libgsw_lib/gsw_ecall_test.c
@@ -0,0 +1,566 @@
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
+#include <stdint.h>
+#include <signal.h>
+#include <pthread.h>
+#include <stdbool.h>
+#include <dlfcn.h>
+
+
+static void *ecall_handle = NULL;
+typedef struct
+{
+ int cmdIdx;
+ char *funcName;
+}st_api_test_case;
+
+#define GSW_EU_ECALL_MAX_MSD 140
+#define GSW_EU_ECALL_MAX_PHONE_NUMBER 82
+
+typedef enum
+{
+ GSW_EU_ECALL_TYPE_TEST = 1,
+ GSW_EU_ECALL_TYPE_EMERGENCY = 2,
+ GSW_EU_ECALL_TYPE_RECONFIG = 3,
+} gsw_eu_ecall_type_e;
+
+typedef struct
+{
+ uint32_t msd_len;
+ uint8_t msd[GSW_EU_ECALL_MAX_MSD];
+ gsw_eu_ecall_type_e type;
+ int32_t auto_trigger;
+ char ecall_number[GSW_EU_ECALL_MAX_PHONE_NUMBER];
+} gsw_eu_ecall_info_t;
+
+
+
+typedef enum {
+ GSW_EU_ECALL_STATE_NONE = -1,
+ GSW_EU_ECALL_STATE_INACTIVE = 0,
+ GSW_EU_ECALL_STATE_ORIGINATING_CALL = 1,
+ GSW_EU_ECALL_STATE_IN_CALL_TRANSMITTING = 2,
+ GSW_EU_ECALL_STATE_WAITING_FOR_AL_ACK = 3,
+ GSW_EU_ECALL_STATE_IN_CALL = 4,
+ GSW_EU_ECALL_STATE_IDLE_ALLOW_MT_ECALL = 5,
+} gsw_eu_ecall_state_e;
+
+typedef enum {
+ GSW_EU_ECALL_MODE_NORMAL = 0,
+ GSW_EU_ECALL_MODE_ONLY = 1,
+ GSW_EU_ECALL_MODE_DEFAULT = 2,
+} gsw_eu_ecall_mode_e;
+
+
+typedef struct
+{
+ uint8_t enable;
+ uint8_t voice_mute;
+ gsw_eu_ecall_mode_e mode;
+ uint8_t report_event;
+ uint16_t start_timer;
+ uint16_t hack_timer;
+ uint16_t trans_timer;
+ uint8_t fail_redial;
+ uint8_t drop_redial;
+ uint16_t cleardown_timer;
+ uint16_t init_timer;
+ uint16_t nad_reg_timer;
+ uint16_t nad_dereg_timer;
+ uint8_t standard;
+ uint16_t era_glonass_redial;
+ uint16_t auto_answer; //auto_answer
+} gsw_eu_ecall_config_t;
+
+typedef enum {
+ GSW_EU_ECALL_CONFIG_ENABLE = (1 << 0),
+ GSW_EU_ECALL_CONFIG_VOICE_MUTE = (1 << 1),
+ GSW_EU_ECALL_CONFIG_MODE = (1 << 2),
+ GSW_EU_ECALL_CONFIG_REPORT_EVENT = (1 << 3),
+ GSW_EU_ECALL_CONFIG_START_TIMER = (1 << 4),
+ GSW_EU_ECALL_CONFIG_HACK_TIMER = (1 << 5),
+ GSW_EU_ECALL_CONFIG_TRANS_TIMER = (1 << 6),
+ GSW_EU_ECALL_CONFIG_FAIL_REDIAL = (1 << 7),
+ GSW_EU_ECALL_CONFIG_DROP_REDIAL = (1 << 8),
+ GSW_EU_ECALL_CONFIG_CLEARDOWN_TIMER = (1 << 9),
+ GSW_EU_ECALL_CONFIG_INIT_TIMER = (1 << 10),
+ GSW_EU_ECALL_CONFIG_NAD_REG_TIMER = (1 << 11),
+ GSW_EU_ECALL_CONFIG_NAD_DEREG_TIMER = (1 << 12),
+ GSW_EU_ECALL_CONFIG_STANDARD = (1 << 13),
+ GSW_EU_ECALL_CONFIG_ERA_GLONASS_REDIAL = (1 << 14),
+ GSW_EU_ECALL_CONFIG_AUTO_ANSWER = (1 << 15),
+} gsw_eu_ecall_config_e;
+
+typedef enum {
+ GSW_EU_ECALL_EVENT_FAIL_NONE = 0,
+ GSW_EU_ECALL_EVENT_FAIL_TIMEOUT = 1,
+ GSW_EU_ECALL_EVENT_FAIL_HACK_TIMEOUT = 2,
+ GSW_EU_ECALL_EVENT_FAIL_MSD_TRANS_TIMEOUT = 3,
+ GSW_EU_ECALL_EVENT_FAIL_IVS_RESET_TIMEOUT = 4,
+ GSW_EU_ECALL_EVENT_FAIL_CLEAR_DOWN_FALLBACK_TIMEOUT = 5,
+ GSW_EU_ECALL_EVENT_FAIL_IVS_INITIATION_TIMEOUT = 6,
+} gsw_eu_ecall_event_fail_e;
+
+typedef enum {
+ GSW_EU_ECALL_EVENT_PROCESS_IVS_NONE = 0,
+ GSW_EU_ECALL_EVENT_PROCESS_IVS_START_RECEIVED_MSD = 1,
+ GSW_EU_ECALL_EVENT_PROCESS_IVS_NACK_RECEIVED = 2,
+ GSW_EU_ECALL_EVENT_PROCESS_IVS_ACK_RECEIVED = 3,
+ GSW_EU_ECALL_EVENT_PROCESS_IVS_TX_COMPLETED = 4,
+ GSW_EU_ECALL_EVENT_PROCESS_IVS_HLACK_RECEIVED = 5,
+} gsw_eu_ecall_event_process_e;
+
+typedef enum {
+ GSW_EU_ECALL_EVENT_MSDUPADTE_NONE = -1,
+ GSW_EU_ECALL_EVENT_MSDUPDATE_IVS_UPDATING_MSD = 0,
+ GSW_EU_ECALL_EVENT_MSDUPDATE_PSAP_REQURE_UPDATE_MSD = 1,
+ GSW_EU_ECALL_EVENT_MSDUPDATE_IVS_UPDATE_MSD_TIMEOUT = 2,
+} gsw_eu_ecall_event_msdupdate_e;
+
+typedef enum {
+ GSW_EU_ECALL_EVENT_ESTABLISH_NONE = -1,
+ GSW_EU_ECALL_EVENT_ESTABLISH_SUCCESS = 0,
+ GSW_EU_ECALL_EVENT_ESTABLISH_FAIL = 1,
+} gsw_eu_ecall_event_establish_e;
+
+typedef enum {
+ GSW_EU_ECALL_EVENT_EXTEND_STATE_NONE = -1,
+ GSW_EU_ECALL_EVENT_EXTEND_STATE_START_RECV_SYN = 0,
+ GSW_EU_ECALL_EVENT_EXTEND_STATE_T9_TIMEOUT = 1,
+ GSW_EU_ECALL_EVENT_EXTEND_STATE_T10_TIMEOUT = 2,
+ GSW_EU_ECALL_EVENT_EXTEND_STATE_IVS_ALACK_RECEIVED = 3,
+ GSW_EU_ECALL_EVENT_EXTEND_STATE_IVS_LLACK_RECEIVED = 4,
+ GSW_EU_ECALL_EVENT_EXTEND_STATE_STOPPED = 5,
+ GSW_EU_ECALL_EVENT_EXTEND_STATE_ANSWERING_INCOMING_PSAP_ECALL = 6,
+ GSW_EU_ECALL_EVENT_EXTEND_STATE_CLEARDOWN_RECEIVED = 7,
+ GSW_EU_ECALL_EVENT_EXTEND_STATE_CALLBACK_TIMEOUT = 8,
+ GSW_EU_ECALL_EVENT_IVS_NORMAL_CLEARING = 9,
+ GSW_EU_ECALL_EVENT_IVS_ABNORMAL_CLEARING = 10,
+} gsw_eu_ecall_event_extend_state_e;
+
+typedef struct
+{
+ uint8_t ori_remainder_times;
+ uint16_t time;
+} gsw_eu_ecall_event_originate_fail_redial_t;
+
+typedef struct
+{
+ uint8_t drop_remainder_times;
+ uint16_t time; /* The minimum time duration between the previous call attempt */
+} gsw_eu_ecall_event_drop_redial_t;
+
+
+typedef struct
+{
+ gsw_eu_ecall_event_fail_e fail;
+ gsw_eu_ecall_event_process_e process;
+ gsw_eu_ecall_event_msdupdate_e msdupdate;
+ gsw_eu_ecall_event_establish_e establish;
+ uint16_t hack_code;
+ gsw_eu_ecall_event_originate_fail_redial_t ori_redial;
+ gsw_eu_ecall_event_drop_redial_t drop_redial;
+ gsw_eu_ecall_event_extend_state_e extend_state;
+} gsw_eu_ecall_event_t;
+
+typedef void (*gsw_eu_ecall_event_cb_f)(gsw_eu_ecall_event_t *p_event);
+
+
+typedef enum {
+ GSW_EU_ECALL_MSD_TRANS_STATUS_NONE = -1,
+ GSW_EU_ECALL_MSD_TRANS_STATUS_SUCCESS = 0,
+ GSW_EU_ECALL_MSD_TRANS_STATUS_FAILURE = 1,
+} gsw_eu_ecall_msd_trans_status_e;
+
+typedef void (*gsw_eu_ecall_status_cb_f)(uint32_t id, gsw_eu_ecall_msd_trans_status_e status);
+
+
+
+typedef int32_t (*gsw_eu_ecall_voice_init)(void);
+
+
+typedef int32_t (*gsw_eu_ecall_voice_deinit)(void);
+typedef int32_t (*gsw_eu_ecall_start)(gsw_eu_ecall_info_t *p_info);
+typedef int32_t (*gsw_eu_ecall_hangup)(void);
+typedef int32_t (*gsw_eu_ecall_updateMsd)(const uint8_t *msd, uint32_t msd_len);
+typedef int32_t (*gsw_eu_ecall_pushMsd)(gsw_eu_ecall_state_e state);
+typedef int32_t (*gsw_eu_ecall_getConfig)(gsw_eu_ecall_config_t *p_config);
+typedef int32_t (*gsw_eu_ecall_setConfig)(int32_t item, gsw_eu_ecall_config_t *p_config);
+typedef int32_t (*gsw_eu_ecall_setEventCB)(gsw_eu_ecall_event_cb_f cb);
+typedef int32_t (*gsw_eu_ecall_setStatusCB)(gsw_eu_ecall_status_cb_f cb);
+
+st_api_test_case api_testcases[] =
+{
+ {0, "print_help"},
+ {1, "gsw_eu_ecall_voice_init"},
+ {2, "gsw_eu_ecall_voice_deinit"},
+ {3, "gsw_eu_ecall_start"},
+ {4, "gsw_eu_ecall_hangup"},
+ {5, "gsw_eu_ecall_updateMsd"},
+ {6, "gsw_eu_ecall_pushMsd"},
+ {7, "gsw_eu_ecall_getConfig"},
+ {8, "gsw_eu_ecall_setConfig"},
+ {9, "gsw_eu_ecall_setEventCB"},
+ {10, "gsw_eu_ecall_setStatusCB"},
+ {-1, NULL}
+
+};
+void sigint_handler(int sig)
+{
+ printf("sigint_handler\n");
+ dlclose(ecall_handle);
+ ecall_handle = NULL;
+
+ exit(0);
+}
+static void gsw_eu_ecall_status_cb(uint32_t id, gsw_eu_ecall_msd_trans_status_e status)
+{
+ printf("id is %u\n",id);
+ printf("status is %d\n",status);
+
+}
+
+
+static void gsw_eu_ecall_event_cb(gsw_eu_ecall_event_t *p_event)
+{
+ printf("p_event->fail: %ud\n",p_event->fail);
+ printf("p_event->process: %d\n",p_event->process);
+ printf("p_event->msdupdate: %d\n",p_event->msdupdate);
+ printf("p_event->establish: %d\n",p_event->establish);
+ printf("p_event->hack_code: %d\n",p_event->hack_code);
+ printf("p_event->ori_redial.ori_remainder_times: %d\n",p_event->ori_redial.ori_remainder_times);
+ printf("p_event->ori_redial.time: %d\n",p_event->ori_redial.time);
+ printf("p_event->drop_redial.drop_remainder_times: %d\n",p_event->drop_redial.drop_remainder_times);
+ printf("p_event->drop_redial.time: %d\n",p_event->drop_redial.time);
+ printf("p_event->extend_state: %d\n",p_event->extend_state);
+
+}
+
+
+static void set_config(gsw_eu_ecall_config_t *p_config)
+{
+
+ int ret = -1;
+ p_config->enable = 0;
+ p_config->voice_mute = 0;
+ p_config->mode = 0;
+ p_config->report_event = 0;
+ p_config->start_timer = 0;
+ p_config->hack_timer = 0;
+ p_config->trans_timer = 0;
+ p_config->cleardown_timer = 0;
+ p_config->drop_redial = 0;
+ p_config->init_timer = 0;
+ p_config->nad_reg_timer = 0;
+ p_config->nad_dereg_timer = 0;
+ p_config->standard = 0;
+ p_config->era_glonass_redial = 0;
+ p_config->auto_answer = 0;
+
+ printf("input p_config->fail_redial\n");
+ ret = scanf("%hhu", &p_config->fail_redial);
+ if(ret)
+ {
+ printf("input ret is %d\n",ret);
+ }
+
+
+}
+
+static void print_get_config(gsw_eu_ecall_config_t p_config)
+{
+
+ printf("input p_config.enable: %d\n",p_config.enable);
+ printf("input p_config.voice_mute:%d\n",p_config.voice_mute);
+ printf("input p_config.mode:%d\n",p_config.mode);
+ printf("input p_config.report_event:%d\n",p_config.report_event);
+ printf("input p_config.start_timer:%d\n",p_config.start_timer);
+ printf("input p_config.hack_timer:%d\n",p_config.hack_timer);
+ printf("input p_config.trans_timer:%d\n",p_config.start_timer);
+ printf("input p_config.fail_redial:%d\n",p_config.fail_redial);
+ printf("input p_config.drop_redial:%d\n",p_config.drop_redial);
+ printf("input p_config.cleardown_timer:%d\n",p_config.cleardown_timer);
+ printf("input p_config.init_timer:%d\n",p_config.init_timer);
+ printf("input p_config.nad_reg_timer:%d\n",p_config.nad_reg_timer);
+ printf("input p_config.nad_dereg_timer:%d\n",p_config.nad_dereg_timer);
+ printf("input p_config.standard:%d\n",p_config.standard);
+ printf("input p_config.era_glonass_redial:%d\n",p_config.era_glonass_redial);
+ printf("input p_config.auto_answer:%d\n",p_config.auto_answer);
+
+
+}
+void print_help(void)
+{
+ int i;
+
+ printf("Supported test cases:\n");
+ for(i = 0; ; i++)
+ {
+ if(api_testcases[i].cmdIdx == -1)
+ {
+ break;
+ }
+ printf("%d:\t%s\n", api_testcases[i].cmdIdx, api_testcases[i].funcName);
+ }
+}
+
+
+
+//static ecall_init_flag = 0;
+int main(int argc,char *argv[])
+{
+ gsw_eu_ecall_voice_init gsw_eu_ecall_voice_init_ptr = NULL;
+ gsw_eu_ecall_voice_deinit gsw_eu_ecall_voice_deinit_ptr = NULL;
+ gsw_eu_ecall_start gsw_eu_ecall_start_ptr = NULL;
+ gsw_eu_ecall_hangup gsw_eu_ecall_hangup_ptr = NULL;
+ gsw_eu_ecall_updateMsd gsw_eu_ecall_updateMsd_ptr = NULL;
+ gsw_eu_ecall_pushMsd gsw_eu_ecall_pushMsd_ptr = NULL;
+ gsw_eu_ecall_getConfig gsw_eu_ecall_getConfig_ptr = NULL;
+ gsw_eu_ecall_setConfig gsw_eu_ecall_setConfig_ptr = NULL;
+ gsw_eu_ecall_setEventCB gsw_eu_ecall_setEventCB_ptr = NULL;
+ gsw_eu_ecall_setStatusCB gsw_eu_ecall_setStatusCB_ptr = NULL;
+
+ void *ota_handle = dlopen("/lib/libgsw_lib.so", RTLD_NOW );
+ if(ota_handle == NULL)
+ {
+ printf("open lib failed\n");
+ return -1;
+ }
+
+
+ signal(SIGINT, sigint_handler);
+
+ ecall_handle = dlopen("/lib/libgsw_lib.so", RTLD_NOW );
+ if(ecall_handle == NULL)
+ {
+ printf("open lib failed\n");
+ return -1;
+ }
+ gsw_eu_ecall_voice_init_ptr = (gsw_eu_ecall_voice_init)dlsym(ecall_handle, "gsw_eu_ecall_voice_init");
+ if(gsw_eu_ecall_voice_init_ptr == NULL)
+ {
+ printf("dlsym gsw_eu_ecall_voice_init failed\n");
+ return -1;
+ }
+ gsw_eu_ecall_voice_deinit_ptr = (gsw_eu_ecall_voice_deinit)dlsym(ecall_handle, "gsw_eu_ecall_voice_deinit");
+ if(gsw_eu_ecall_voice_deinit_ptr == NULL)
+ {
+ printf("dlsym gsw_eu_ecall_voice_deinit failed\n");
+ return -1;
+ }
+ gsw_eu_ecall_start_ptr = (gsw_eu_ecall_start)dlsym(ecall_handle, "gsw_eu_ecall_start");
+ if(gsw_eu_ecall_start_ptr == NULL)
+ {
+ printf("dlsym gsw_eu_ecall_start failed\n");
+ return -1;
+ }
+ gsw_eu_ecall_hangup_ptr = (gsw_eu_ecall_hangup)dlsym(ecall_handle, "gsw_eu_ecall_hangup");
+ if(gsw_eu_ecall_hangup_ptr == NULL)
+ {
+ printf("dlsym gsw_eu_ecall_hangup failed\n");
+ return -1;
+ }
+ gsw_eu_ecall_updateMsd_ptr = (gsw_eu_ecall_updateMsd)dlsym(ecall_handle, "gsw_eu_ecall_updateMsd");
+ if(gsw_eu_ecall_updateMsd_ptr == NULL)
+ {
+ printf("dlsym gsw_eu_ecall_updateMsd failed\n");
+ return -1;
+ }
+ gsw_eu_ecall_pushMsd_ptr = (gsw_eu_ecall_pushMsd)dlsym(ecall_handle, "gsw_eu_ecall_pushMsd");
+ if(gsw_eu_ecall_pushMsd_ptr == NULL)
+ {
+ printf("dlsym gsw_eu_ecall_pushMsd failed\n");
+ return -1;
+ }
+ gsw_eu_ecall_getConfig_ptr = (gsw_eu_ecall_getConfig)dlsym(ecall_handle, "gsw_eu_ecall_getConfig");
+ if(gsw_eu_ecall_getConfig_ptr == NULL)
+ {
+ printf("dlsym gsw_eu_ecall_getConfig failed\n");
+ return -1;
+ }
+ gsw_eu_ecall_setConfig_ptr = (gsw_eu_ecall_setConfig)dlsym(ecall_handle, "gsw_eu_ecall_setConfig");
+ if(gsw_eu_ecall_setConfig_ptr == NULL)
+ {
+ printf("dlsym gsw_eu_ecall_setConfig failed\n");
+ return -1;
+ }
+ gsw_eu_ecall_setEventCB_ptr = (gsw_eu_ecall_setEventCB)dlsym(ecall_handle, "gsw_eu_ecall_setEventCB");
+ if(gsw_eu_ecall_setEventCB_ptr == NULL)
+ {
+ printf("dlsym gsw_eu_ecall_setEventCB failed\n");
+ return -1;
+ }
+ gsw_eu_ecall_setStatusCB_ptr = (gsw_eu_ecall_setStatusCB)dlsym(ecall_handle, "gsw_eu_ecall_setStatusCB");
+ if(gsw_eu_ecall_setStatusCB_ptr == NULL)
+ {
+ printf("dlsym gsw_eu_ecall_setStatusCB failed\n");
+ return -1;
+ }
+
+
+
+ printf("Enter ecall api test \n");
+ int opt = -1;
+
+ while (1)
+ {
+
+ print_help();
+ int ret = scanf("%d",&opt);
+ if (ret == 1)
+ {
+ printf("输入的整数是:%d\n", opt);
+ }
+
+ switch(opt)
+ {
+ case 0 :
+ {
+ print_help();
+ break;
+ }
+ case 1 :
+ {
+ int32_t ret = -1;
+ printf("enter gsw_eu_ecall_voice_init");
+ ret = gsw_eu_ecall_voice_init_ptr();
+ printf("gsw_eu_ecall_voice_init ret = %d\n", ret);
+
+
+ break;
+ }
+ case 2 :
+ {
+ int32_t ret = -1;
+ printf("enter gsw_eu_ecall_voice_deinit\n");
+ ret = gsw_eu_ecall_voice_deinit_ptr();
+ printf("gsw_eu_ecall_voice_deinit ret = %d\n", ret);
+ break;
+ }
+ case 3 :
+ {
+ printf("enter gsw_eu_ecall_start\n");
+ gsw_eu_ecall_info_t info;
+ memset(&info,0,sizeof(info));
+
+ int type;
+ printf("Enter MSD data (hex values, space-separated): ");
+
+ ret = scanf("%140s",info.msd);
+ if(ret)
+ {
+ printf("input ret is %d\n",ret);
+ }
+ info.msd_len = (uint32_t)strlen((char*)info.msd);
+
+
+ printf("Enter eCall type (1: Test, 2: Emergency, 3: Reconfig):\n ");
+ ret = scanf("%d", &type);
+ if(ret)
+ {
+ printf("input ret is %d\n",ret);
+ }
+ info.type = (gsw_eu_ecall_type_e)type;
+
+ printf("Enter auto trigger (0: No, 1: Yes): \n");
+ ret=scanf("%d", &info.auto_trigger);
+ if(ret)
+ {
+ printf("input ret is %d\n",ret);
+ }
+
+ if(type == 1 || type == 3)
+ {
+ // 输入 eCall 号码
+ printf("Enter eCall number: \n");
+ ret = scanf("%82s", info.ecall_number);
+ if(ret)
+ {
+ printf("input ret is %d\n",ret);
+ }
+ }
+ ret = gsw_eu_ecall_start_ptr(&info);
+ printf("gsw_eu_ecall_start ret = %d\n", ret);
+ break;
+ }
+ case 4 :
+ {
+ int32_t ret = -1;
+ printf("enter gsw_eu_ecall_hangup\n");
+ ret = gsw_eu_ecall_hangup_ptr();
+ printf("gsw_eu_ecall_hangup ret = %d\n", ret);
+ break;
+ }
+ case 5 :
+ {
+ uint8_t msd[100] = "235646023026565";
+ int32_t ret = -1;
+ printf("enter gsw_eu_ecall_updateMsd\n");
+ ret = gsw_eu_ecall_updateMsd_ptr(msd, 100);
+ printf("gsw_eu_ecall_updateMsd ret = %d\n", ret);
+ break;
+ }
+ case 6 :
+ {
+ printf("enter gsw_eu_ecall_pushMsd\n");
+ gsw_eu_ecall_state_e state = -1;
+ int32_t ret = -1;
+ ret = gsw_eu_ecall_pushMsd_ptr(state);
+ printf("gsw_eu_ecall_pushMsd ret = %d\n", ret);
+ break;
+ }
+ case 7 :
+ {
+ printf("enter gsw_eu_ecall_getConfig\n");
+ gsw_eu_ecall_config_t config;
+ int32_t ret = -1;
+ memset(&config,0,sizeof(config));
+ ret = gsw_eu_ecall_getConfig_ptr(&config);
+ printf("gsw_eu_ecall_getConfig ret = %d\n", ret);
+ print_get_config(config);
+ break;
+ }
+ case 8 :
+ {
+ printf("enter gsw_eu_ecall_setConfig\n");
+ gsw_eu_ecall_config_t config;
+ //config.ori_timeout = 10;
+ int32_t ret = -1;
+ int32_t item = 128;
+ printf("item value %d\n",item);
+ set_config(&config);
+ ret = gsw_eu_ecall_setConfig_ptr(item, &config);
+ printf("gsw_eu_ecall_setConfig ret = %d\n", ret);
+ break;
+ }
+ case 9 :
+ {
+ printf("enter gsw_eu_ecall_setEventCB\n");
+ //gsw_eu_ecall_event_cb_f cb = NULL;
+ int32_t ret = -1;
+ ret = gsw_eu_ecall_setEventCB_ptr(gsw_eu_ecall_event_cb);
+ printf("gsw_eu_ecall_setEventCB ret = %d\n", ret);
+ break;
+ }
+ case 10 :
+ {
+ printf("""enter gsw_eu_ecall_setStatusCB\n");
+ int32_t ret = -1;
+ ret = gsw_eu_ecall_setStatusCB_ptr(gsw_eu_ecall_status_cb);
+ printf("gsw_eu_ecall_setStatusCB ret = %d\n", ret);
+ break;
+
+ }
+ default:
+ {
+ printf("default");
+ print_help();
+ break;
+ }
+ }
+ }
+
+ return 0;
+}
+
diff --git a/mbtk/test/libgsw_lib/gsw_gnss_test.c b/mbtk/test/libgsw_lib/gsw_gnss_test.c
new file mode 100755
index 0000000..51e550c
--- /dev/null
+++ b/mbtk/test/libgsw_lib/gsw_gnss_test.c
@@ -0,0 +1,318 @@
+#include <stdio.h>
+#include <string.h>
+#include <strings.h>
+#include <stdlib.h>
+#include <errno.h>
+#include <fcntl.h>
+#include <signal.h>
+#include <sys/types.h>
+#include <unistd.h>
+#include <pthread.h>
+#include <termios.h>
+#include <time.h>
+#include <sys/ioctl.h>
+#include <dlfcn.h>
+#include <stdint.h>
+#include <stdbool.h>
+
+typedef struct
+{
+ /**< set to sizeof(GpsLocation) */
+ size_t size;
+ /**< Contains GpsLocationFlags bits. */
+ unsigned short int flags;
+ /**< Represents latitude in degrees. */
+ double latitude;
+ /**< Represents longitude in degrees. */
+ double longitude;
+ /**< Represents altitude in meters above the WGS 84 reference ellipsoid. */
+ double altitude;
+ /**< Represents speed in meters per second. */
+ float speed;
+ /**< Represents heading in degrees. */
+ float bearing;
+ /**< Represents expected accuracy in meters. */
+ float accuracy;
+ /**< Timestamp for the location fix. */
+ long long int timestamp;
+}GSW_GNSS_LOCATION_T;
+
+typedef struct {
+ GSW_GNSS_LOCATION_T legacyLocation;
+ float horizontalAccuracyMeters;
+ /**< Represents expected vertical position accuracy in meters
+ * (68% confidence).*/
+ float verticalAccuracyMeters;
+ /**< Represents expected speed accuracy in meter per seconds
+ * (68% confidence).*/
+ float speedAccuracyMetersPerSecond;
+ /**< Represents expected bearing accuracy in degrees
+ * (68% confidence).*/
+ float bearingAccuracyDegrees;
+}GSW_GNSS_LOCATION_EXT_T;
+
+
+typedef enum{
+ GSW_SWITCH_DISABLE = 0, /**< configuration switch disable :0 */
+ GSW_SWITCH_ENABLE /**< configuration switch enable :1 */
+}GSW_GNSS_CONF_SWITCH;
+
+typedef enum{
+ GSW_MODE_GPS = 1, /**< GPS only */
+ GSW_MODE_BEIDOU, /**< BEIDOU only*/
+ GSW_MODE_GPS_BEIDOU, /**< GPS+BEIDOU */
+ GSW_MODE_GLONASS, /**< GLONASS only */ /* The high-tech platform does not support this type */
+ GSW_MODE_GPS_GLONASS, /**< GPS+GLONASS */
+ GSW_MODE_GLONASS_BEIDOU, /**< GLONASS+BEIDOU */ /* The high-tech platform does not support this type */
+ GSW_MODE_GPS_GLONASS_BEIDOU, /**< GPS+GLONASS+BEIDOU */ /* The high-tech platform does not support this type */
+ GSW_MODE_GALILEO, /**< GALILEO only */
+ GSW_MODE_GPS_GALILEO, /**< GPS+GALILEO */
+ GSW_MODE_BEIDOU_GALILEO, /**< BEIDOU+GALILEO */
+ GSW_MODE_GPS_BEIDOU_GALILEO, /**< GPS+BEIDOU+GALILEO */
+ GSW_MODE_GLONASS_GALILEO, /**< GLONASS+GALILEO */
+ GSW_MODE_GPS_GLONASS_GALILEO, /**< GPS+GLONASS+GALILEO */
+ GSW_MODE_BEIDOU_GLONASS_GALILEO, /**< BEIDOU+GLONASS+GALILEO */ /* The high-tech platform does not support this type */
+}GSW_GNSS_MODE_CONFIGURATION;
+
+typedef void (*gsw_gnss_location_callback_ext)(GSW_GNSS_LOCATION_EXT_T* location);
+typedef void (*gsw_gnss_nmea_callback )(const char* nmea, int length);
+
+typedef struct{
+gsw_gnss_location_callback_ext gsw_location_cb;
+gsw_gnss_nmea_callback gsw_nmea_cb;
+}gsw_gnss_cb;
+
+typedef enum{
+ GSW_FREQ_1HZ = 1, /**< 1hZ */
+ GSW_FREQ_2HZ = 2, /**< 2hZ */
+ GSW_FREQ_5HZ = 5, /**< 5hZ */
+ GSW_FREQ_10HZ = 10, /**< 10hZ */
+}gnss_freq_type;
+
+typedef struct{
+GSW_GNSS_MODE_CONFIGURATION start_mode;
+gnss_freq_type freq;
+gsw_gnss_cb callback;
+}gsw_gnss_init_configure_t;
+
+int (*gsw_gnss_set_freq)(int freq);
+int (*gsw_gnss_init)(void);
+int (*gsw_gnss_start)(void);
+int (*gsw_gnss_stop)(void);
+int (*gsw_gnss_deinit)(void);
+int (*gsw_gnss_set_start_mode)(GSW_GNSS_MODE_CONFIGURATION start_mode);
+int (*gsw_gnss_epo_switch)(GSW_GNSS_CONF_SWITCH switch_op);
+int (*gsw_gnss_reg_cb_group)(gsw_gnss_cb callback);
+//int (*gsw_gnss_xtra_is_enable)(gsw_xtra_state_e state);
+int (*gsw_gnss_delete_aiding_data)(unsigned int flags);
+int (*gsw_gnss_init_configure_gps)(gsw_gnss_init_configure_t init_configure);
+
+void *dlHandle_gnss_test;
+char *lynqLib_gnss_test = "/lib/libgsw_lib.so";
+
+
+void tmp_gnss_callack(const char* nmea, int length)
+{
+ printf("%s",nmea);
+}
+
+gsw_gnss_cb tmp_ptr = {
+ NULL,
+ tmp_gnss_callack
+};
+
+void user_help(void)
+{
+ printf("\t-1 exit\n"
+ "\t1 gnss init\n"
+ "\t2 gnss deinit \n"
+ "\t3 gnss reg_cb\n"
+ "\t6 gnss start\n"
+ "\t7 gnss stop\n"
+ "\t8 gnss Delete_Aiding_Data and reset\n"
+ "\t9 gnss epo switch\n"
+ "\t10 gnss set startmode\n"
+ "\t11 gnss set frequency\n"
+ "please input operator: >> ");
+}
+void delete_type(void)
+{
+ printf("\t0 DELETE_NOTHING\n"
+ "\t1 DELETE_EPHEMERIS\n"
+ "\t2 DELETE_ALL\n"
+ "please input operator: >> ");
+}
+
+int main(void)
+{
+ int ret;
+ int opt = 0;
+ dlHandle_gnss_test = dlopen(lynqLib_gnss_test, RTLD_NOW);
+ while(1)
+ {
+ printf("=========gnss main=========\n");
+ user_help();
+ if (scanf("%d", &opt) != 1)
+ {
+ printf("Input error, please check it\n");
+ while (getchar() != '\n');
+ continue;
+ }
+ while(getchar()!='\n');
+ switch (opt)
+ {
+ case -1:
+ {
+ printf("main exit\n");
+ return 0;
+ }
+
+ case 1:
+ {
+ gsw_gnss_init=(int(*)())dlsym(dlHandle_gnss_test, "gsw_gnss_init");
+ ret = gsw_gnss_init();
+ if(ret < 0)
+ {
+ printf("gsw_gnss_init FAIL.\n");
+ return -1;
+ }
+ printf("gsw_gnss_init success.\n");
+ break;
+ }
+ case 2:
+ {
+ gsw_gnss_deinit=(int(*)())dlsym(dlHandle_gnss_test, "gsw_gnss_deinit");
+ ret =gsw_gnss_deinit();
+ if(ret < 0)
+ {
+ printf("gsw_gnss_deinit FAIL.\n");
+ return -1;
+ }
+ printf("gsw_gnss_deinit success \n");
+ break;
+ }
+ case 3:
+ {
+ gsw_gnss_reg_cb_group=(int(*)(gsw_gnss_cb))dlsym(dlHandle_gnss_test, "gsw_gnss_reg_cb_group");
+ ret =gsw_gnss_reg_cb_group(tmp_ptr);
+ if(ret < 0)
+ {
+ printf("gsw_gnss_reg_cb_group FAIL.\n");
+ return -1;
+ }
+ printf("gsw_gnss_reg_cb_group success \n");
+ break;
+ }
+ // case 4:
+ // {
+ // qser_Gnss_Deinit=(int(*)(uint32_t))dlsym(dlHandle_gnss, "qser_Gnss_Deinit");
+ // ret =qser_Gnss_Deinit(ph_gnss);
+ // if(ret < 0)
+ // {
+ // printf("mopen_gnss_client_Deinit FAIL.\n");
+ // return -1;
+ // }
+ // printf("mopen_gnss_client_Deinit success \n");
+ // break;
+ // }
+ // case 5:
+ // {
+ // qser_Gnss_Deinit=(int(*)(uint32_t))dlsym(dlHandle_gnss, "qser_Gnss_Deinit");
+ // ret =qser_Gnss_Deinit(ph_gnss);
+ // if(ret < 0)
+ // {
+ // printf("mopen_gnss_client_Deinit FAIL.\n");
+ // return -1;
+ // }
+ // printf("mopen_gnss_client_Deinit success \n");
+ // break;
+ // }
+ case 6:
+ {
+ gsw_gnss_start=(int(*)())dlsym(dlHandle_gnss_test, "gsw_gnss_start");
+ ret =gsw_gnss_start();
+ if(ret < 0)
+ {
+ printf("gsw_gnss_start FAIL.\n");
+ return -1;
+ }
+ printf("gsw_gnss_start success \n");
+ break;
+ }
+ case 7:
+ {
+ gsw_gnss_stop=(int(*)())dlsym(dlHandle_gnss_test, "gsw_gnss_stop");
+ ret =gsw_gnss_stop();
+ if(ret < 0)
+ {
+ printf("gsw_gnss_stop FAIL.\n");
+ return -1;
+ }
+ printf("gsw_gnss_stop success \n");
+ break;
+ }
+ case 8:
+ {
+ int flags; // 1-dele no ; 2- dele eph ; 3 dele all
+ gsw_gnss_delete_aiding_data=(int(*)(unsigned int))dlsym(dlHandle_gnss_test, "gsw_gnss_delete_aiding_data");
+ delete_type();
+ if (scanf("%d", &flags) != 1)
+ printf("input error,please check it");
+ ret =gsw_gnss_delete_aiding_data(flags);
+ if(ret < 0)
+ {
+ printf("gsw_gnss_delete_aiding_data FAIL.\n");
+ return -1;
+ }
+ printf("gsw_gnss_delete_aiding_data success \n");
+ break;
+ }
+ case 9:
+ {
+ int able;
+ gsw_gnss_epo_switch=(int(*)(GSW_GNSS_CONF_SWITCH))dlsym(dlHandle_gnss_test, "gsw_gnss_epo_switch");
+ if (scanf("%d", &able) != 1)
+ printf("input error,please check it");
+ ret =gsw_gnss_epo_switch(able);
+ if(ret < 0)
+ {
+ printf("mopen_gnss_client_Deinit FAIL.\n");
+ return -1;
+ }
+ printf("mopen_gnss_client_Deinit success \n");
+ break;
+ }
+ case 10:
+ {
+ int conf;
+ gsw_gnss_set_start_mode=(int(*)(uint32_t))dlsym(dlHandle_gnss_test, "gsw_gnss_set_start_mode");
+ if (scanf("%d", &conf) != 1)
+ printf("input error,please check it");
+ ret =gsw_gnss_set_start_mode(conf);
+ if(ret < 0)
+ {
+ printf("gsw_gnss_set_start_mode FAIL.\n");
+ return -1;
+ }
+ printf("gsw_gnss_set_start_mode success \n");
+ break;
+ }
+ case 11:
+ {
+ int frequency;
+ gsw_gnss_set_freq=(int(*)(int))dlsym(dlHandle_gnss_test, "gsw_gnss_set_freq");
+ if (scanf("%d", &frequency) != 1)
+ printf("input error,please check it");
+ ret =gsw_gnss_set_freq(frequency);
+ if(ret < 0)
+ {
+ printf("gsw_gnss_set_freq FAIL.\n");
+ return -1;
+ }
+ printf("frequency is %d\n",frequency);
+ printf("gsw_gnss_set_freq success\n");
+ break;
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/mbtk/test/libgsw_lib/gsw_gpio_test.c b/mbtk/test/libgsw_lib/gsw_gpio_test.c
new file mode 100755
index 0000000..3dbf1fc
--- /dev/null
+++ b/mbtk/test/libgsw_lib/gsw_gpio_test.c
@@ -0,0 +1,145 @@
+#include <stdio.h>
+#include <string.h>
+#include <strings.h>
+#include <stdlib.h>
+#include <errno.h>
+#include <fcntl.h>
+#include <signal.h>
+#include <sys/types.h>
+#include <unistd.h>
+#include <pthread.h>
+#include <termios.h>
+#include <time.h>
+#include <sys/ioctl.h>
+#include <dlfcn.h>
+#include <stdint.h>
+#include <stdbool.h>
+
+typedef enum{
+ GSW_HAL_PINDIR_IN,
+ GSW_HAL_PINDIR_OUT,
+}gsw_hal_pinDirection;
+
+typedef enum{
+ GSW_HAL_LEVEL_LOW,
+ GSW_HAL_LEVEL_HIGH,
+}gsw_hal_pinLevel;
+
+typedef enum{
+ GSW_HAL_PULL_NULL,
+ GSW_HAL_PULL_DOWN,
+ GSW_HAL_PULL_UP,
+}gsw_hal_pinPullSel;
+
+typedef enum{
+ GSW_HAL_USB_DISCONNECTED,
+ GSW_HAL_USB_CONNECTED,
+}gsw_hal_usbStatus;
+
+int32_t (*gsw_gpio_Init)(uint32_t, gsw_hal_pinDirection, gsw_hal_pinLevel);
+int32_t (*gsw_gpio_SetDirection)(uint32_t, gsw_hal_pinDirection);
+int32_t (*gsw_gpio_SetLevel)(uint32_t, gsw_hal_pinLevel);
+gsw_hal_pinLevel (*gsw_gpio_GetLevel)(uint32_t);
+gsw_hal_usbStatus (*gsw_hwpin_is_usb_connected)();
+int32_t (*gsw_setWakeupLevel)(gsw_hal_pinLevel);
+void *dlHandle_gpio;
+char *lynqLib_gpio = "/lib/libgsw_lib.so";
+
+int main(int argc,char **argv)
+{
+ int ret;
+ dlHandle_gpio = dlopen(lynqLib_gpio, RTLD_NOW);
+ if (argc == 4)
+ {
+ if (strcmp(argv[1], "D") == 0)
+ {
+ gsw_gpio_SetDirection=(int32_t(*)(uint32_t, gsw_hal_pinDirection))dlsym(dlHandle_gpio, "gsw_gpio_SetDirection");
+ ret = gsw_gpio_SetDirection(atoi(argv[2]), atoi(argv[3]));
+ if(ret < 0)
+ {
+ printf("gsw_gpio_SetDirection FAIL.\n");
+ return -1;
+ }
+ printf("gsw_gpio_SetDirection success.\n");
+ }
+ else if (strcmp(argv[1], "V") == 0)
+ {
+ gsw_gpio_SetLevel=(int32_t(*)(uint32_t, gsw_hal_pinLevel))dlsym(dlHandle_gpio, "gsw_gpio_SetLevel");
+ ret = gsw_gpio_SetLevel(atoi(argv[2]), atoi(argv[3]));
+ if(ret < 0)
+ {
+ printf("gsw_gpio_SetLevel FAIL.\n");
+ return -1;
+ }
+ printf("gsw_gpio_SetLevel success.\n");
+ }
+ else
+ {
+ gsw_gpio_Init=(int32_t(*)(uint32_t, gsw_hal_pinDirection, gsw_hal_pinLevel))dlsym(dlHandle_gpio, "gsw_gpio_Init");
+ ret = gsw_gpio_Init(atoi(argv[1]), atoi(argv[2]), atoi(argv[3]));
+ if(ret < 0)
+ {
+ printf("gsw_gpio_Init FAIL.\n");
+ return -1;
+ }
+ printf("gsw_gpio_Init success.\n");
+ }
+ }
+
+ else if (argc == 3)
+ {
+
+ if (strcmp(argv[1], "W") == 0)
+ {
+ gsw_setWakeupLevel=(int32_t(*)(gsw_hal_pinLevel))dlsym(dlHandle_gpio, "gsw_setWakeupLevel");
+ ret = gsw_setWakeupLevel(atoi(argv[2]));
+ if(ret < 0)
+ {
+ printf("gsw_setWakeupLevel FAIL.\n");
+ return -1;
+ }
+ printf("gsw_setWakeupLevel success.\n");
+ }
+ else
+ {
+ printf("error,please check input\n");
+ return -1;
+ }
+ }
+ else if (argc == 2)
+ {
+ if (strcmp(argv[1], "U") == 0)
+ {
+ gsw_hwpin_is_usb_connected=(gsw_hal_usbStatus(*)())dlsym(dlHandle_gpio, "gsw_hwpin_is_usb_connected");
+ ret = gsw_hwpin_is_usb_connected();
+ if(ret == 0)
+ {
+ printf("gsw_hwpin_is_usb_Unconnected ret = %d\n",ret);
+ return 0;
+ }
+ else
+ {
+ printf("gsw_hwpin_is_usb_connected.ret = %d\n",ret);
+ return 0;
+ }
+
+ }
+ else
+ {
+ gsw_gpio_GetLevel=(gsw_hal_pinLevel(*)(uint32_t))dlsym(dlHandle_gpio, "gsw_gpio_GetLevel");
+ ret = gsw_gpio_GetLevel(atoi(argv[1]));
+ if(ret < 0)
+ {
+ printf("gsw_gpio_GetLevel FAIL.\n");
+ return -1;
+ }
+ printf("gsw_gpio_GetLevel success.\n");
+ }
+ }
+ else
+ {
+ printf("error,please check input\n");
+ return -1;
+ }
+ return 0;
+}
\ No newline at end of file
diff --git a/mbtk/test/libgsw_lib/gsw_nw_test.c b/mbtk/test/libgsw_lib/gsw_nw_test.c
new file mode 100755
index 0000000..9fc90b1
--- /dev/null
+++ b/mbtk/test/libgsw_lib/gsw_nw_test.c
@@ -0,0 +1,1318 @@
+#include <stdio.h>
+#include <stdlib.h>
+#include <stdbool.h>
+#include <dlfcn.h>
+#include <stdint.h>
+#include <string.h>
+#include <pthread.h>
+
+//mbtk include
+#define LYNQ_AIR_PLANE_MODE_ON 4 //at+cfun = 4
+#define LYNQ_AIR_PLANE_MODE_OFF 1 // at+cfun = 1
+
+
+#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
+
+#ifndef FALSE
+#define FALSE (0)
+#endif
+
+
+#ifndef TRUE
+#define TRUE (!FALSE)
+#endif
+
+typedef unsigned int uint32;
+typedef unsigned char uint8;
+typedef unsigned short uint16;
+typedef void (*mbtk_info_callback_func)(const void* data, int data_len);
+
+typedef enum
+{
+ MBTK_DEV_MODEM_MIN_FUN, //Modem 最小功能
+ MBTK_DEV_MODEM_FULL_FUN, //Modem 全功能
+ MBTK_DEV_MODEM_DISABLE_RECEIVE_RF_CIRCUITS = 3, //Modem 禁用射频接收电路
+ MBTK_DEV_MODEM_DISABLE_TRANSMIT_AND_RECEIVE_RF_CIRCUITS, //Modem禁用射频发射和接收电路
+ MBTK_DEV_MODEM_DISABLE_SIM, //Modem 禁用(U)SIM 卡
+ MBTK_DEV_MODEM_TURN_OFF_FULL_SECONDARY_RECEIVE, //Modem 完全禁用辅助接收
+}MBTK_DEV_MODEM_FUNCTION;
+
+typedef enum
+{
+ MBTK_CELL_TYPE_GSM = 0,
+ MBTK_CELL_TYPE_UMTS,
+ MBTK_CELL_TYPE_LTE
+} mbtk_cell_type_enum;
+
+typedef struct
+{
+ MBTK_DEV_MODEM_FUNCTION fun;
+ int rst;
+} mbtk_modem_info_t;
+
+typedef struct
+{
+ int client_fd;
+ pthread_t read_thread_id;
+ int exit_fd[2];
+ bool is_waitting;
+ pthread_cond_t cond;
+ pthread_mutex_t mutex;
+
+ pthread_mutex_t send_mutex;
+
+ // Temp response data.
+ uint16 info_err;
+ uint16 data_len;
+ void *data;
+
+ //mbtk wyq for server_ready_status add start
+ char server_ready_status;
+ //mbtk wyq for server_ready_status add end
+
+ mbtk_info_callback_func net_state_cb;
+ mbtk_info_callback_func call_state_cb;
+ mbtk_info_callback_func sms_state_cb;
+ mbtk_info_callback_func radio_state_cb;
+ mbtk_info_callback_func sim_state_cb;
+ mbtk_info_callback_func pdp_state_cb;
+ //add signal by xr
+ mbtk_info_callback_func signal_state_cb;
+} mbtk_info_handle_t;
+
+
+
+typedef struct
+{
+ // LTE server cell: tac, PCI, dlEuarfcn, ulEuarfcn, band
+ // LTE cell: phyCellId,euArfcn,rsrp,rsrq
+ // WCDMA server cell: lac, ci, arfcn
+ // WCDMA cell: lac, ci, arfcn
+ // GSM server cell: lac, ci, arfcn, bsic
+ // GSM cell:
+ mbtk_cell_type_enum type : 8;
+ uint32 value1; //tac
+ uint32 value2; //pci
+ uint32 value3; //dlEuarfcn
+ uint32 value4; //ul arfcn
+ uint32 value5; //band
+ uint32 value6; //mcc
+ uint32 value7; //mnc
+ uint32 value8; //cid
+ uint32 value9; //rsrp
+ uint32 value10; //cell identiy
+} __attribute__((packed)) mbtk_cell_info_t;
+
+
+
+
+
+typedef struct
+{
+ uint8 net_pref; // mbtk_net_pref_enum
+ uint16 gsm_band; // mbtk_gsm_band_enum
+ uint16 umts_band; // mbtk_umts_band_enum
+ uint32 tdlte_band; // mbtk_tdlte_band_enum
+ uint32 fddlte_band; // mbtk_fddlte_band_enum
+ uint32 lte_ext_band; // mbtk_lte_ext_band_enum
+} __attribute__((packed)) mbtk_band_info_t;
+
+typedef struct list_arraynode
+{
+ void *data;
+ struct list_arraynode *next;
+} list_arraynode_t;
+
+typedef struct list_treenode
+{
+ list_arraynode_t *data;
+ int count;
+ struct list_treenode *left;
+ struct list_treenode *right;
+} list_treenode_t;
+
+typedef int (*list_sort_func)(void *data1, void *data2);
+typedef void (*list_free_func)(void *data);
+
+typedef struct list_node
+{
+ uint32 size;
+ list_sort_func sort_func;
+ list_free_func free_func;
+
+ uint32 cur_index;
+ list_arraynode_t *cur_array_data;
+
+ list_arraynode_t array_data;
+ list_treenode_t tree_data;
+} list_node_t;
+
+/*
+0: GSM
+1: GSM Compact
+2: UTRAN
+3: GSM w/EGPRS
+4: UTRAN w/HSDPA
+5: UTRAN w/HSUPA
+6: UTRAN w/HSDPA and HSUPA
+7: E-UTRAN
+8: UTRAN HSPA+
+*/
+typedef enum {
+ MBTK_RADIO_TECH_GSM = 0,
+ MBTK_RADIO_TECH_GSM_COMPACT,
+ MBTK_RADIO_TECH_UTRAN,
+ MBTK_RADIO_TECH_GSM_EGPRS,
+ MBTK_RADIO_TECH_UTRAN_HSDPA,
+ MBTK_RADIO_TECH_UTRAN_HSUPA,
+ MBTK_RADIO_TECH_UTRAN_HSDPA_HSUPA,
+ MBTK_RADIO_TECH_E_UTRAN, // LTE
+ MBTK_RADIO_TECH_UTRAN_HSPA
+} mbtk_radio_technology_enum;
+
+typedef struct
+{
+ /*
+ 0: automatic
+ 1: manual
+ */
+ uint8 net_sel_mode;
+ /*
+ 0: GSM
+ 1: GSM Compact
+ 2: UTRAN
+ 3: GSM w/EGPRS
+ 4: UTRAN w/HSDPA
+ 5: UTRAN w/HSUPA
+ 6: UTRAN w/HSDPA and HSUPA
+ 7: E-UTRAN
+ 8: UTRAN HSPA+
+ 0xFF: Unused
+ */
+ uint8 net_type;
+ //uint8 plmn[10]; // 46000
+ /*
+ 0: unknown
+ 1: available
+ 2: current
+ 3: forbidden
+ */
+ uint8 net_state;
+ uint32 plmn;
+} __attribute__((packed)) mbtk_net_info_t;
+
+
+typedef enum
+{
+ MBTK_NET_REG_STATE_NON = 0,
+ MBTK_NET_REG_STATE_HOME,
+ MBTK_NET_REG_STATE_SEARCHING,
+ MBTK_NET_REG_STATE_DENIED,
+ MBTK_NET_REG_STATE_UNKNOWN,
+ MBTK_NET_REG_STATE_ROAMING,
+ MBTK_NET_REG_STATE_SMS_ONLY,
+ MBTK_NET_REG_STATE_ROAMING_SMS,
+ MBTK_NET_REG_STATE_ATTACHED_EMERGENCY,
+ MBTK_NET_REG_STATE_CSFB_HOME,
+ MBTK_NET_REG_STATE_CSFB_ROAMING,
+ MBTK_NET_REG_STATE_EMERGENCY_ONLY
+} mbtk_net_reg_state_enum;
+
+typedef struct
+{
+ uint8 call_state;// mbtk_net_reg_state_enum
+ uint8 data_state;// mbtk_net_reg_state_enum
+ uint8 ims_state;// mbtk_net_reg_state_enum
+ uint8 type; // mbtk_radio_technology_enum
+ uint16 lac;
+ uint32 ci;
+} __attribute__((packed)) mbtk_net_reg_info_t;
+
+typedef struct
+{
+ uint8 type; // mbtk_radio_technology_enum
+ uint8 rssi; // 0: 113 dBm or less
+ // 1: 111 dBm
+ // 2��30: 109��53 dBm
+ // 31: 51 dBm or greater
+ // 99: not known or not detectable
+ uint8 rxlev;// 0:rssi < -110 dBm
+ // 1: -110 dBm �� rssi < -109 dBm
+ // 2: -109 dBm �� rssi < -108 dBm
+ // ......
+ // 61: -50 dBm �� rssi < -49 dBm
+ // 62: -49 dBm �� rssi < -48 dBm
+ // 63: -48 dBm �� rssi
+ // 99: not known or not detectable
+ uint8 ber; // 0...7 as RXQUAL values in the table in 3GPP TS 45.008 [20] subclause 8.2.4
+ // 99 not known or not detectable
+ uint8 rscp; // 0: rscp < -120 dBm
+ // 1: -120 dBm �� rscp < -119 dBm
+ // 2: -119 dBm �� rscp < -118 dBm
+ // ......
+ // 94: -27 dBm �� rscp < -26 dBm
+ // 95: -26 dBm �� rscp < -25 dBm
+ // 96: - 25 dBm �� rscp
+ // 255: not known or not detectable
+ uint8 ecno; // 0: Ec/Io < -24 dB
+ // 1: -24 dB �� Ec/Io < -23.5 dB
+ // 2: -23.5 dB �� Ec/Io < -23 dB
+ // ......
+ // 47: -1 dB �� Ec/Io < -0.5 dB
+ // 48: -0.5 dB �� Ec/Io < 0 dB
+ // 49: 0 dB �� Ec/Io
+ // 255: not known or not detectable
+ uint8 rsrq; // 0: rsrq < -19.5 dB
+ // 1: -19.5 dB �� rsrq < -19 dB
+ // 2: -19 dB �� rsrq < -18.5 dB
+ // ......
+ // 32: -4 dB �� rsrq < -3.5 dB
+ // 33: -3.5 dB �� rsrq < -3 dB
+ // 34: -3 dB �� rsrq
+ // 255: not known or not detectable
+ uint8 rsrp; // 0: rsrp < -140 dBm
+ // 1: -140 dBm �� rsrp < -139 dBm
+ // 2: -139 dBm �� rsrp < -138 dBm
+ // ......
+ // 95: -46 dBm �� rsrp < -45 dBm
+ // 96: -45 dBm �� rsrp < -44 dBm
+ // 97: -44 dBm �� rsrp
+ // 255: not known or not detectable
+} __attribute__((packed)) mbtk_signal_info_t;
+
+#define lib_gsw_nw_path "/lib/libgsw_lib.so"
+static void *dlHandle_nw = NULL;
+
+//gsw include
+
+
+#define GSW_HAL_SUCCESS 0
+#define GSW_HAL_FAIL -1
+#define GSW_HAL_MEM_INVAILD -2
+#define GSW_NW_OPERATION_NAME_LEN 128
+#define GSW_NW_PLMN_LEN 6
+#define GSW_NW_MCC_LEN 3
+#define GSW_NW_MNC_LEN 3
+#define GSW_NW_PARA_MAX_LEN 128
+#define GSW_MCC_MAX_LEN 16
+#define GSW_MNC_MAX_LEN 16
+#define GSW_APN_CHANNEL_MAX 10
+#define GSW_POXY_ADDR_MAX_LEN 64
+#define GSW_PDP_TYPE_MAX_LEN 16
+#define GSW_APN_MAX_LEN 65
+#define GSW_APN_ID_MAX_LEN 32
+#define GSW_APN_TYPE_MAX_LEN 50
+#define GSW_USR_MAX_LEN 16
+#define GSW_PWD_MAX_LEN 16
+#define GSW_AUTH_TYPE_MAX_LEN 50
+#define GSW_PROTOCO_MAX_LEN 64
+#define GSW_CARRIER_ID_MAX_LEN 64
+#define GSW_IFACE_NAME_MAX_LEN 50
+#define GSW_PDP_ADDR_MAX_LEN 64
+#define GSW_DNS_APN_MAX_LEN 64
+#define GSW_GETWAYS_ADDR_MAX_LEN 64
+#define GSW_RSP_MAX_LEN 256
+#define GSW_PLMN_LIST_MAX_LEN 85
+
+
+
+typedef enum service_domain
+{
+ GSW_SRV_DOMAIN_NO_SVC = 0x0, /**< no service */
+ GSW_SRV_DOMAIN_CS_ONLY = 0x1, /**< cs only */
+ GSW_SRV_DOMAIN_PS_ONLY = 0x2, /**< ps only */
+ GSW_SRV_DOMAIN_CS_PS = 0x3, /**< reg all in service */
+} GSW_SERVICE_DOMAIN_E;
+
+typedef enum gsw_network_reg_state
+{
+ GSW_NETWORK_REG_NOT_REGISTERED = 0x0, /**< no service */
+ GSW_NETWORK_REG_REGISTERED = 0x1, /**< reg in service home */
+ GSW_NETWORK_REG_NOT_REGISTERED_SEARCHING = 0x2, /**< searching network */
+ GSW_NETWORK_REG_REGISTRATION_DENIED = 0x3, /**< network denny device */
+ GSW_NETWORK_REG_REGISTRATION_UNKNOWN = 0x4, /**< unknown state */
+ GSW_NETWORK_REG_REGISTRATION_ROAMING = 0x5, /**< roaming state in service */
+ GSW_NETWORK_REG_LIMITED_SERVICE = 0x6, /**< limited service */
+} GSW_NW_REG_STATE_E;
+
+typedef enum gsw_network_radio_interface
+{
+ GSW_NETWORK_RADIO_NO_SVC = 0x0, /**< radio state no service */
+ GSW_NETWORK_RADIO_CDMA_1X = 0x1, /**< cdma 1x */
+ GSW_NETWORK_RADIO_CDMA_1XEVDO = 0x2, /**< cdma evdo */
+ GSW_NETWORK_RADIO_AMPS = 0x3, /**< amps gsm 2g*/
+ GSW_NETWORK_RADIO_GSM = 0x4, /**< gsm */
+ GSW_NETWORK_RADIO_UMTS = 0x5, /**< umts wcdma*/
+ GSW_NETWORK_RADIO_LTE = 0x6, /**< LTE 4G */
+ GSW_NETWORK_RADIO_TDSCDMA = 0x7, /**< TDS 3G*/
+ GSW_NETWORK_RADIO_NR5G = 0x8, /**< NR 5G*/
+} GSW_NW_RADIO_ACCESS_TECH_E;
+
+
+typedef enum gsw_network_roaming_state
+{
+ GSW_NETWORK_ROAMING_OFF = 0x0, /**< roaming off */
+ GSW_NETWORK_ROAMING_ON = 0x1, /**< roaming on*/
+} GSW_NW_ROAMING_STATE_E;
+
+typedef enum oprate_mode
+{
+ GSW_OP_MODE_LPM = 0, /**< radio state off*/
+ GSW_OP_MODE_ONLINE = 1, /**< radio state on*/
+ GSW_OP_MODE_FTM = 2, /**< radio state ftm*/
+ GSW_OP_MODE_OFFLINE = 3, /**< radio state offline*/
+} OPERATE_MODE_E;
+
+typedef enum prefer_mode
+{
+ GSW_PREFER_MODE_GSW = 1, /**<2G only*/
+ GSW_PREFER_MODE_WCDMA = 2, /**< 3G only*/
+ GSW_PREFER_MODE_WCDMA_GSM = 3, /**< 3G/2G*/
+ GSW_PREFER_MODE_LTE = 4, /**< 4G only*/
+ GSW_PREFER_MODE_NR5G = 5, /**< 5G only*/
+ GSW_PREFER_MODE_NR5G_LTE = 8, /**< 5G/4G*/
+ GSW_PREFER_MODE_LTE_WCDMA_GSM = 9, /**< 4G/3G/2G*/
+ GSW_PREFER_MODE_NR5G_LTE_WCDMA_GSM = 32, /**< 5G/4G/3G/2G*/
+} PREFER_MODE_E;
+
+typedef enum gsw_hal_nw_mode_state_type
+{
+ GSW_MODEM_STATE_UNKNOWN = 0,
+ GSW_MODEM_STATE_ONLINE,
+ GSW_MODEM_STATE_OFFLINE,
+ GSW_SDK_STATE_SERVICE_DOWN,
+ GSW_SDK_STATE_SERVICE_UP,// service down->up 需要routectl 重启
+ GSW_SDK_STATE_GPS_DOWN,
+ GSW_SDK_STATE_GPS_UP,
+} gsw_mode_state_e;
+
+
+typedef struct
+{
+ GSW_NW_RADIO_ACCESS_TECH_E rej_rat; /**< current network radio tech*/
+ GSW_SERVICE_DOMAIN_E rej_domain; /**< reject code from ps or cs*/
+ int rej_cause; /**< reject code number*/
+} GSW_NW_REJ_CAUSE_E;
+
+typedef struct
+{
+ int32_t gw_sig_valid; /**< 1 valid,1 invalid*/
+ int32_t rssi; /**< Valid values are (0-31, 99) as defined in TS 27.007 8.5 */
+ int32_t wcdma_sig_valid;/**< 1 valid,0 invalid*/
+ int32_t rscp; /**< The Received Signal Code Power in dBm multipled by -1.
+ * Range : 25 to 120
+ * INT_MAX: 0x7FFFFFFF denotes invalid value.
+ * Reference: 3GPP TS 25.123, section 9.1.1.1 */
+ int32_t ecno; /**< Valid values are positive integers. This value is the actual Ec/Io multiplied
+ * by -10. Example: If the actual Ec/Io is -12.5 dB, then this response value
+ * will be 125.*/
+ int32_t lte_sig_valid;/**< 1 valid,0 invalid*/
+ int32_t rsrp; /**< The current Reference Signal Receive Power in dBm multipled by -1.
+ * Range: 44 to 140 dBm
+ * INT_MAX: 0x7FFFFFFF denotes invalid value.
+ * Reference: 3GPP TS 36.133 9.1.4 */
+ int32_t rsrq; /**< The current Reference Signal Receive Quality in dB multiplied by -1.
+ * Range: 20 to 3 dB.
+ * INT_MAX: 0x7FFFFFFF denotes invalid value.
+ * Reference: 3GPP TS 36.133 9.1.7 */
+ int32_t rssnr; /**< The current reference signal signal-to-noise ratio in 0.1 dB units.
+ * Range: -200 to +300 (-200 = -20.0 dB, +300 = 30dB).
+ * INT_MAX : 0x7FFFFFFF denotes invalid value.
+ * Reference: 3GPP TS 36.101 8.1.1 */
+ int32_t nr_sig_valid;/**<1 valid,0 invalid*/
+ int32_t ssRsrp; /**< SS(Synchronization Signal) reference signal received power, multipled by -1.
+ * Reference: 3GPP TS 38.215.
+ * Range [44, 140], INT_MAX means invalid/unreported.*/
+ int32_t ssRsrq; /**< SS reference signal received quality, multipled by -1.
+ * Reference: 3GPP TS 38.215.
+ * Range [3, 20], INT_MAX means invalid/unreported.*/
+ int32_t ssSinr; /**< SS signal-to-noise and interference ratio.
+ * Reference: 3GPP TS 38.215 section 5.1.*, 3GPP TS 38.133 section 10.1.16.1.
+ * Range [-23, 40], INT_MAX means invalid/unreported.*/
+ int32_t csiRsrp; /**< CSI reference signal received power, multipled by -1.
+ * Reference: 3GPP TS 38.215.
+ * Range [44, 140], INT_MAX means invalid/unreported.*/
+ int32_t csiRsrq; /**< CSI reference signal received quality, multipled by -1.
+ * Reference: 3GPP TS 38.215.
+ * Range [3, 20], INT_MAX means invalid/unreported.*/
+ int32_t csiSinr; /**< CSI signal-to-noise and interference ratio.
+ * Reference: 3GPP TS 138.215 section 5.1.*, 3GPP TS 38.133 section 10.1.16.1.
+ * Range [-23, 40], INT_MAX means invalid/unreported.*/
+} signalStrength_t;
+
+typedef struct
+{
+ GSW_NW_REG_STATE_E reg_state; /**< network cs regstate*/
+ GSW_NW_REG_STATE_E ps_state; /**< network ps regstate*/
+ GSW_NW_RADIO_ACCESS_TECH_E reg_rat; /**< current radio state*/
+ GSW_SERVICE_DOMAIN_E srv_domain; /**< current cs or ps state*/
+ GSW_NW_ROAMING_STATE_E roaming_ind; /**< roaming state*/
+ char reg_plmn[GSW_NW_PLMN_LEN + 1]; /**< current cell plmn*/
+ char operator_name[GSW_NW_OPERATION_NAME_LEN + 1]; /**< operator name*/
+ char cell_id[128]; /**< cell id*/
+ char tac[128]; /**< cell tac*/
+ char lac[128]; /**< cell lac*/
+ int sid; /**< cell sid cdma*/
+ int nid; /**< cell nid cdma*/
+} GSW_NW_SERVING_INFO;
+
+
+typedef struct
+{
+ char long_eons[128]; /* Full name of the operator*/
+ char short_eons[128]; /* Shor name of the operator*/
+ char mcc[4]; /* Mobile country code*/
+ char mnc[4]; /* Mobile network code*/
+}gsw_mobile_operator_name;
+
+#define MAX_CELL_EXT_INFO (5)
+
+typedef struct
+{
+ unsigned char cell_id_valid;
+ unsigned char pci_valid;
+ unsigned char psc_valid;
+ unsigned char band_valid;
+ unsigned char arfcn_valid;
+ unsigned char rssi_valid;
+ unsigned char rsrp_valid;
+ unsigned char rsrq_valid;
+ unsigned char sinr_valid;
+ unsigned char rscp_valid;
+ unsigned char ecio_valid;
+ GSW_NW_RADIO_ACCESS_TECH_E rat;
+ unsigned int cell_id;
+ int pci;
+ int psc;
+ int band;
+ int arfcn;
+ int rssi;
+ int rsrp;
+ int rsrq;
+ int sinr;
+ int rscp;
+ int ecio;
+ char mcc[5];
+ char mnc[5];
+} GSW_NW_CELL_EXT_INFO;
+
+typedef struct
+{
+ GSW_NW_RADIO_ACCESS_TECH_E rat; /**< current radio state*/
+
+ unsigned char mcc_valid;
+ char mcc[5];
+
+ unsigned char mnc_valid;
+ char mnc[5];
+
+ unsigned char cell_id_valid;
+ unsigned int cell_id; /**< cell id*/
+
+ unsigned char pci_valid;
+ int pci; /**<physical cell id*/
+
+ unsigned char psc_valid;
+ int psc; /*wcdma primary scramble code*/
+
+ unsigned char nrarfcn_valid;
+ int nrarfcn; /*nr cell freq*/
+
+ unsigned char earfcn_valid;
+ int earfcn; /*lte cell freq*/
+
+ unsigned char uarfcn_valid;
+ int uarfcn; /*wcdma cell freq*/
+
+ unsigned char arfcn_valid;
+ int arfcn; /*gsw cell freq*/
+
+ unsigned char tac_valid;
+ unsigned int tac; /**< cell tac*/
+
+ unsigned char lac_valid;
+ unsigned int lac; /**< cell lac*/
+
+ unsigned char sid_valid;
+ int sid; /**< cell sid cdma*/
+
+ unsigned char nid_valid;
+ int nid; /**< cell nid cdma*/
+
+ unsigned char lteMode_valid;
+ int lteMode; /*tdd 0, fdd 1*/
+
+ unsigned char rssi_valid;
+ int rssi; /**< Valid values are (0-31, 99) as defined in TS 27.007 8.5 */
+
+ unsigned char rscp_valid;
+ int rscp; /**< The Received Signal Code Power in dBm multipled by -1.
+ * Range : 25 to 120
+ * INT_MAX: 0x7FFFFFFF denotes invalid value.
+ * Reference: 3GPP TS 25.123, section 9.1.1.1 */
+
+ unsigned char ecio_valid;
+ int ecio; /**< Valid values are positive integers. This value is the actual Ec/Io multiplied
+ * by -10. Example: If the actual Ec/Io is -12.5 dB, then this response value
+ * will be 125.*/
+
+ unsigned char rsrp_valid;
+ int rsrp; /**< The current Reference Signal Receive Power in dBm multipled by -1.
+ * Range: 44 to 140 dBm
+ * INT_MAX: 0x7FFFFFFF denotes invalid value.
+ * Reference: 3GPP TS 36.133 9.1.4 */
+
+ unsigned char rsrq_valid;
+ int rsrq; /**< The current Reference Signal Receive Quality in dB multiplied by -1.
+ * Range: 20 to 3 dB.
+ * INT_MAX: 0x7FFFFFFF denotes invalid value.
+ * Reference: 3GPP TS 36.133 9.1.7 */
+
+ unsigned char rssnr_valid;
+ int rssnr; /**< The current reference signal signal-to-noise ratio in 0.1 dB units.
+ * Range: -200 to +300 (-200 = -20.0 dB, +300 = 30dB).
+ * INT_MAX : 0x7FFFFFFF denotes invalid value.
+ * Reference: 3GPP TS 36.101 8.1.1 */
+
+ unsigned char band_valid;
+ int band;
+
+ unsigned char bler_valid;
+ int bler; /*bit error rate*/
+
+ GSW_NW_CELL_EXT_INFO ext_info[MAX_CELL_EXT_INFO]; /* Used to hold neighborhood information for service cells. */
+} GSW_NW_CELL_INFO;
+
+typedef struct {
+ char mcc[GSW_MCC_MAX_LEN];
+ char mnc[GSW_MNC_MAX_LEN];
+} gsw_nw_plmn_t;
+
+
+typedef struct {
+ int plmn_list_len;
+ gsw_nw_plmn_t plmn_list[GSW_PLMN_LIST_MAX_LEN];
+} gsw_nw_plmn_list_t;
+
+typedef struct
+{
+ /* Configuration parameters for MCM network full band network scan when OOS (out of service)*/
+ int t_min;
+ int t_step;
+ int t_max;
+}GSW_NW_OOS_CONFIG_INFO_T;
+
+typedef void (* GSW_NW_ServingInfoHandlePtr)(GSW_NW_SERVING_INFO serving_info);
+typedef void (* GSW_NW_SigInfoHandlePtr)(signalStrength_t sig_info);
+typedef void (* GSW_NW_RejectCauseHandlePtr)(GSW_NW_REJ_CAUSE_E *rej_cause);
+typedef void (* GSW_HAL_NW_AIRPLANE_MODE_HANDLE_PTR)(int32_t airplane_mode);
+typedef void (* GSW_NW_ModemStateHandlePtr)(gsw_mode_state_e state);
+
+int (*gsw_reg_serving_info_callback)(GSW_NW_ServingInfoHandlePtr handle_ptr);
+int (*gsw_reg_sig_info_callback)(GSW_NW_SigInfoHandlePtr handle_ptr);
+int (*gsw_reg_rej_cause_callback)(GSW_NW_RejectCauseHandlePtr handle_ptr);
+int (*gsw_nw_sdk_init)(int token);
+int (*gsw_nw_sdk_deinit)(void);
+int (*gsw_get_nwinfo)(GSW_NW_SERVING_INFO *serving_info);
+int (*gsw_get_netype)(int32_t *netype);
+int (*gsw_get_opmode)(int *op_mode);
+int (*gsw_set_opmode)(int32_t op_mode);
+int (*gsw_get_mode_preference)(int32_t *mode_pref);
+int (*gsw_set_mode_preference)(int32_t mode_pref);
+int (*gsw_get_sig_info)(int32_t *csq_value);
+int (*gsw_network_set_power_mode)(int8_t mode);
+int (*gsw_sigInfo_to_csq)(int32_t netType, int32_t sigValue);
+int (*gsw_get_forbidden_networks)(gsw_nw_plmn_list_t *plmn_list);
+int (*gsw_add_forbidden_networks)(gsw_nw_plmn_list_t *plmn_list);
+int (*gsw_remove_forbidden_networks)(gsw_nw_plmn_list_t *plmn_list);
+int (*gsw_clear_forbidden_networks)(void);
+int (*gsw_get_mobile_operator_name)(gsw_mobile_operator_name *nw_operator_name_infos);
+int (*gsw_reg_set_modem_status_event_callback)(GSW_NW_ModemStateHandlePtr handle_ptr);
+int (*gsw_get_cell_info)(GSW_NW_CELL_INFO *cell_info);
+int (*gsw_oos_config_get)(GSW_NW_OOS_CONFIG_INFO_T *pt_info);
+int (*gsw_oos_config_set)(GSW_NW_OOS_CONFIG_INFO_T *pt_info);
+
+
+static int gsw_nw_api_import()
+{
+ dlHandle_nw = dlopen(lib_gsw_nw_path, RTLD_NOW);
+ if (dlHandle_nw == NULL) {
+ printf("error: %s\n", dlerror());
+ return -1;
+ }
+
+ gsw_nw_sdk_init = (int(*)(int token))dlsym(dlHandle_nw, "gsw_nw_sdk_init");
+ if (gsw_nw_sdk_init == NULL) {
+ printf("gsw_nw_sdk_init dlysm failed \n");
+ return -1;
+ }
+
+ gsw_nw_sdk_deinit = (int(*)(void))dlsym(dlHandle_nw, "gsw_nw_sdk_deinit");
+ if (gsw_nw_sdk_deinit == NULL) {
+ printf("gsw_nw_sdk_deinit dlysm failed \n");
+ return -1;
+ }
+
+ gsw_get_nwinfo = (int(*)(GSW_NW_SERVING_INFO *serving_info))dlsym(dlHandle_nw, "gsw_get_nwinfo");
+ if (gsw_get_nwinfo == NULL) {
+ printf("gsw_get_nwinfo dlysm failed \n");
+ return -1;
+ }
+
+ gsw_get_netype = (int(*)(int32_t *netype))dlsym(dlHandle_nw, "gsw_get_netype");
+ if (gsw_get_netype == NULL) {
+ printf("gsw_get_netype dlysm failed \n");
+ return -1;
+ }
+
+ gsw_get_opmode = (int(*)(int *op_mode))dlsym(dlHandle_nw, "gsw_get_opmode");
+ if (gsw_get_opmode == NULL) {
+ printf("gsw_get_opmode dlysm failed \n");
+ return -1;
+ }
+
+ gsw_set_opmode = (int(*)(int32_t op_mode))dlsym(dlHandle_nw, "gsw_set_opmode");
+ if (gsw_set_opmode == NULL) {
+ printf("gsw_set_opmode dlysm failed \n");
+ return -1;
+ }
+
+ gsw_get_mode_preference = (int(*)(int32_t *mode_pref))dlsym(dlHandle_nw, "gsw_get_mode_preference");
+ if (gsw_get_mode_preference == NULL) {
+ printf("gsw_get_mode_preference dlysm failed \n");
+ return -1;
+ }
+
+ gsw_set_mode_preference = (int(*)(int32_t mode_pref))dlsym(dlHandle_nw, "gsw_set_mode_preference");
+ if (gsw_set_mode_preference == NULL) {
+ printf("gsw_set_mode_preference dlysm failed \n");
+ return -1;
+ }
+
+ gsw_get_sig_info = (int(*)(int32_t *csq_value))dlsym(dlHandle_nw, "gsw_get_sig_info");
+ if (gsw_get_sig_info == NULL) {
+ printf("gsw_get_sig_info dlysm failed \n");
+ return -1;
+ }
+
+ gsw_network_set_power_mode = (int(*)(int8_t mode))dlsym(dlHandle_nw, "gsw_network_set_power_mode");
+ if (gsw_network_set_power_mode == NULL) {
+ printf("gsw_network_set_power_mode dlysm failed \n");
+ return -1;
+ }
+
+ gsw_sigInfo_to_csq = (int(*)(int32_t netType, int32_t sigValue))dlsym(dlHandle_nw, "gsw_sigInfo_to_csq");
+ if (gsw_sigInfo_to_csq == NULL) {
+ printf("gsw_sigInfo_to_csq dlysm failed \n");
+ return -1;
+ }
+
+ gsw_get_forbidden_networks = (int(*)(gsw_nw_plmn_list_t *plmn_list))dlsym(dlHandle_nw, "gsw_get_forbidden_networks");
+ if (gsw_get_forbidden_networks == NULL) {
+ printf("gsw_get_forbidden_networks dlysm failed \n");
+ return -1;
+ }
+
+ gsw_add_forbidden_networks = (int(*)(gsw_nw_plmn_list_t *plmn_list))dlsym(dlHandle_nw, "gsw_add_forbidden_networks");
+ if (gsw_add_forbidden_networks == NULL) {
+ printf("gsw_add_forbidden_networks dlysm failed \n");
+ return -1;
+ }
+
+ gsw_remove_forbidden_networks = (int(*)(gsw_nw_plmn_list_t *plmn_list))dlsym(dlHandle_nw, "gsw_remove_forbidden_networks");
+ if (gsw_remove_forbidden_networks == NULL) {
+ printf("gsw_remove_forbidden_networks dlysm failed \n");
+ return -1;
+ }
+
+ gsw_clear_forbidden_networks = (int(*)(void))dlsym(dlHandle_nw, "gsw_clear_forbidden_networks");
+ if (gsw_clear_forbidden_networks == NULL) {
+ printf("gsw_clear_forbidden_networks dlysm failed \n");
+ return -1;
+ }
+
+ gsw_get_mobile_operator_name = (int(*)(gsw_mobile_operator_name *nw_operator_name_infos))dlsym(dlHandle_nw, "gsw_get_mobile_operator_name");
+ if (gsw_get_mobile_operator_name == NULL) {
+ printf("gsw_get_mobile_operator_name dlysm failed \n");
+ return -1;
+ }
+
+ gsw_reg_set_modem_status_event_callback = (int(*)(GSW_NW_ModemStateHandlePtr handle_ptr))dlsym(dlHandle_nw, "gsw_reg_set_modem_status_event_callback");
+ if (gsw_reg_set_modem_status_event_callback == NULL) {
+ printf("gsw_reg_set_modem_status_event_callback dlysm failed \n");
+ return -1;
+ }
+
+ gsw_get_cell_info = (int(*)(GSW_NW_CELL_INFO *cell_info))dlsym(dlHandle_nw, "gsw_get_cell_info");
+ if (gsw_get_cell_info == NULL) {
+ printf("gsw_get_cell_info dlysm failed \n");
+ return -1;
+ }
+
+ gsw_reg_serving_info_callback = (int(*)(GSW_NW_ServingInfoHandlePtr handle_ptr))dlsym(dlHandle_nw, "gsw_reg_serving_info_callback");
+ if (gsw_reg_serving_info_callback == NULL) {
+ printf("gsw_reg_serving_info_callback dlysm failed \n");
+ return -1;
+ }
+
+ gsw_reg_sig_info_callback = (int(*)(GSW_NW_SigInfoHandlePtr handle_ptr))dlsym(dlHandle_nw, "gsw_reg_sig_info_callback");
+ if (gsw_reg_sig_info_callback == NULL) {
+ printf("gsw_reg_sig_info_callback dlysm failed \n");
+ return -1;
+ }
+
+ gsw_reg_rej_cause_callback = (int(*)(GSW_NW_RejectCauseHandlePtr handle_ptr))dlsym(dlHandle_nw, "gsw_reg_rej_cause_callback");
+ if (gsw_reg_rej_cause_callback == NULL) {
+ printf("gsw_reg_rej_cause_callback dlysm failed \n");
+ return -1;
+ }
+
+ gsw_oos_config_get = (int(*)(GSW_NW_OOS_CONFIG_INFO_T *oos_config))dlsym(dlHandle_nw, "gsw_oos_config_get");
+ if (gsw_oos_config_get == NULL) {
+ printf("gsw_oos_config_get dlysm failed \n");
+ return -1;
+ }
+
+ gsw_oos_config_set = (int(*)(GSW_NW_OOS_CONFIG_INFO_T *oos_config))dlsym(dlHandle_nw, "gsw_oos_config_set");
+ if (gsw_oos_config_set == NULL) {
+ printf("gsw_oos_config_set dlysm failed \n");
+ return -1;
+ }
+
+ return 0;
+
+}
+
+static void gsw_serving_info_callback(GSW_NW_SERVING_INFO serving_info)
+{
+ printf("gsw_serving_info_callback: \n");
+ printf("reg_state = %d\n", serving_info.reg_state);
+ printf("ps_state = %d\n", serving_info.ps_state);
+ printf("reg_rat = %d\n", serving_info.reg_rat);
+ printf("srv_domain = %d\n", serving_info.srv_domain);
+ printf("roaming_ind = %d\n", serving_info.roaming_ind);
+ printf("reg_plmn = %s\n", serving_info.reg_plmn);
+ printf("operator_name = %s\n", serving_info.operator_name);
+ printf("cell_id = %s\n", serving_info.cell_id);
+ printf("tac = %s\n", serving_info.tac);
+ printf("lac = %s\n", serving_info.lac);
+ printf("sid = %d\n", serving_info.sid);
+ printf("nid = %d\n", serving_info.nid);
+}
+
+static void gsw_sig_info_callback(signalStrength_t sig_info)
+{
+ printf("gsw_sig_info_callback: \n");
+ printf("gw_sig_valid = %d\n", sig_info.gw_sig_valid);
+ printf("rssi = %d\n", sig_info.rssi);
+ printf("wcdma_sig_valid = %d\n", sig_info.wcdma_sig_valid);
+ printf("rscp = %d\n", sig_info.rscp);
+ printf("ecno = %d\n", sig_info.ecno);
+ printf("lte_sig_valid = %d\n", sig_info.lte_sig_valid);
+ printf("rsrp = %d\n", sig_info.rsrp);
+ printf("rsrq = %d\n", sig_info.rsrq);
+ printf("rssnr = %d\n", sig_info.rssnr);
+ printf("nr_sig_valid = %d\n", sig_info.nr_sig_valid);
+ printf("ssRsrp = %d\n", sig_info.ssRsrp);
+ printf("ssRsrq = %d\n", sig_info.ssRsrq);
+ printf("ssSinr = %d\n", sig_info.ssSinr);
+ printf("csiRsrp = %d\n", sig_info.csiRsrp);
+ printf("csiRsrq = %d\n", sig_info.csiRsrq);
+ printf("csiSinr = %d\n", sig_info.csiSinr);
+}
+
+static void gsw_rej_cause_callback(GSW_NW_REJ_CAUSE_E *rej_cause)
+{
+ printf("gsw_rej_cause_callback: \n");
+ printf("rej_rat = %d\n", rej_cause->rej_rat);
+ printf("rej_domain = %d\n", rej_cause->rej_domain);
+ printf("rej_cause = %d\n", rej_cause->rej_cause);
+}
+
+static void gsw_modem_status_cb(gsw_mode_state_e state)
+{
+ printf("gsw_modem_status_cb: \n");
+ printf("state = %d\n", state);
+}
+
+
+void dump_items()
+{
+ printf("\n");
+ printf("The current module is: network \n");
+
+ printf("-------------------------------------------------------------------------\n");
+ printf("| index | function name |\n");
+ printf("| -1 exit\n");
+ printf(" 1 gsw_nw_sdk_init\n");
+ printf(" 2 gsw_nw_sdk_deinit\n");
+ printf(" 3 gsw_get_nwinfo\n");
+ printf(" 4 gsw_get_netype\n");
+ printf(" 5 gsw_get_opmode\n");
+ printf(" 6 gsw_set_opmode\n");
+ printf(" 7 gsw_get_mode_preference\n");
+ printf(" 8 gsw_set_mode_preference\n");
+ printf(" 9 gsw_get_sig_info\n");
+ printf(" 10 gsw_network_set_power_mode\n");
+ printf(" 11 gsw_sigInfo_to_csq\n");
+ printf(" 12 gsw_get_forbidden_networks\n");
+ printf(" 13 gsw_add_forbidden_networks\n");
+ printf(" 14 gsw_remove_forbidden_networks\n");
+ printf(" 15 gsw_clear_forbidden_networks\n");
+ printf(" 16 gsw_get_mobile_operator_name\n");
+ printf(" 17 gsw_reg_set_modem_status_event_callback\n");
+ printf(" 18 gsw_get_cell_info\n");
+ printf(" 19 gsw_reg_serving_info_callback\n");
+ printf(" 20 gsw_reg_sig_info_callback\n");
+ printf(" 21 gsw_reg_rej_cause_callback\n");
+ printf(" 22 gsw_oos_config_get\n");
+ printf(" 23 gsw_oos_config_set\n");
+ printf("-------------------------------------------------------------------------\n");
+}
+
+int main(int argc, char *argv[])
+{
+ int ret;
+ char operator[10];
+ int opt;
+
+ ret = gsw_nw_api_import();
+ if (ret != 0) {
+ printf("gsw_nw_api_import failed \n");
+ return -1;
+ }
+
+
+ while(1)
+ {
+ dump_items();
+ printf("input the index of module: ");
+
+ opt = -1;
+ printf("%s",fgets(operator, sizeof(operator), stdin));
+ fflush(stdin);
+
+ opt = atoi(operator);
+ switch (opt) {
+ case -1:
+ {
+ printf("main exit\n");
+ return 0;
+ }
+ case 1:
+ {
+ printf("gsw_nw_sdk_init\n");
+ ret = gsw_nw_sdk_init(1024);
+ printf("gsw_nw_sdk_init ret = %d\n",ret);
+ break;
+ }
+ case 2:
+ {
+ printf("gsw_nw_sdk_deinit\n");
+ ret = gsw_nw_sdk_deinit();
+ printf("gsw_nw_sdk_deinit ret = %d\n",ret);
+ break;
+ }
+ case 3:
+ {
+ GSW_NW_SERVING_INFO* nwinfo;
+ nwinfo = (GSW_NW_SERVING_INFO*)malloc(sizeof(GSW_NW_SERVING_INFO));
+ memset(nwinfo, 0x00, sizeof(GSW_NW_SERVING_INFO));
+ printf("gsw_get_nwinfo start\n");
+ ret = gsw_get_nwinfo(nwinfo);
+ if(ret != 0)
+ {
+ printf("gsw_get_nwinfo failed \n");
+ continue;
+ }
+ printf("nwinfo.reg_state = %d\nnwinfo.ps_state = %d\nnwinfo.reg_rat = %d\nnwinfo.srv_domain = %d\nnwinfo.roaming_ind = %d\nnwinfo.reg_plmn = %s\nnwinfo.operator_name = %s\nnwinfo.cell_id = %s\nnwinfo.lac = %s\nnwinfo.sid=%d\nnwinfo.nid = %d\n",nwinfo->reg_state, nwinfo->ps_state, nwinfo->reg_rat, nwinfo->srv_domain, nwinfo->roaming_ind, nwinfo->reg_plmn, nwinfo->operator_name, nwinfo->cell_id, nwinfo->lac, nwinfo->sid, nwinfo->nid);
+ free(nwinfo);
+ break;
+ }
+ case 4:
+ {
+ int nettype;
+ ret = gsw_get_netype(&nettype);
+ if(ret != 0)
+ {
+ printf("gsw_get_netype failed \n");
+ continue;
+ }
+ printf("nettype = %d\n", nettype);
+ break;
+ }
+
+ case 5:
+ {
+ int opmode;
+ ret = gsw_get_opmode(&opmode);
+ if(ret != 0)
+ {
+ printf("gsw_get_opmode failed \n");
+ continue;
+ }
+ printf("opmode = %d\n", opmode);
+ break;
+ }
+
+ case 6:
+ {
+ printf("input the opmode: ");
+ memset(operator,0x00, sizeof(operator));
+ printf("%s\n",fgets(operator, sizeof(operator)-1, stdin));
+ fflush(stdin);
+ opt = atoi(operator);
+ ret = gsw_set_opmode(opt);
+ if(ret != 0)
+ {
+ printf("gsw_set_opmode failed \n");
+ continue;
+ }
+ break;
+ }
+
+ case 7:
+ {
+ int mode_pref;
+ ret = gsw_get_mode_preference(&mode_pref);
+ if(ret != 0)
+ {
+ printf("gsw_get_mode_preference failed \n");
+ continue;
+ }
+ printf("mode_pref = %d\n", mode_pref);
+ break;
+ }
+
+ case 8:
+ {
+ printf("input the mode_pref: ");
+ memset(operator,0x00, sizeof(operator));
+ printf("%s\n",fgets(operator, sizeof(operator)-1, stdin));
+ fflush(stdin);
+ opt = atoi(operator);
+ ret = gsw_set_mode_preference(opt);
+ if(ret != 0)
+ {
+ printf("gsw_set_mode_preference failed \n");
+ continue;
+ }
+ break;
+ }
+
+ case 9:
+ {
+ int siginfo;
+ ret = gsw_get_sig_info(&siginfo);
+ if(ret != 0)
+ {
+ printf("gsw_get_sig_info failed \n");
+ continue;
+ }
+ printf("signal info: siginfo = %d\n", siginfo);
+ break;
+ }
+
+ case 10:
+ {
+ printf("input the power mode: ");
+ memset(operator,0x00, sizeof(operator));
+ printf("%s\n",fgets(operator, sizeof(operator)-1, stdin));
+ fflush(stdin);
+ opt = atoi(operator);
+ ret = gsw_network_set_power_mode(opt);
+ if(ret != 0)
+ {
+ printf("gsw_network_set_power_mode failed \n");
+ continue;
+ }
+ break;
+ }
+
+ case 11:
+ {
+ int nettype;
+ int sigValue;
+ printf("please input the netType:");
+ memset(operator,0x00, sizeof(operator));
+ printf("%s\n",fgets(operator, sizeof(operator)-1, stdin));
+ fflush(stdin);
+ nettype = atoi(operator);
+
+ printf("input the sigValue: ");
+ memset(operator,0x00, sizeof(operator));
+ printf("%s\n",fgets(operator, sizeof(operator)-1, stdin));
+ fflush(stdin);
+ sigValue = atoi(operator);
+
+ ret = gsw_sigInfo_to_csq(nettype, sigValue);
+ printf("csq = %d\n", ret);
+
+ break;
+ }
+
+ case 12:
+ {
+ printf("gsw_get_forbidden_networks start\n");
+ gsw_nw_plmn_list_t fplmn_list;
+ fplmn_list.plmn_list_len = 0;
+ ret = gsw_get_forbidden_networks(&fplmn_list);
+ if(ret != 0)
+ {
+ printf("gsw_get_forbidden_networks failed \n");
+ continue;
+ }
+
+ printf("gsw_get_forbidden_networks end\n");
+ for(int i = 0; i < fplmn_list.plmn_list_len; i++)
+ {
+ printf("list[%d] mcc = %s,mnc = %s\n",i, fplmn_list.plmn_list[i].mcc, fplmn_list.plmn_list[i].mnc);
+ }
+
+ break;
+ }
+ case 13:
+ {
+ printf("gsw_add_forbidden_networks start\n");
+ gsw_nw_plmn_list_t fplmn_list_set;
+ fplmn_list_set.plmn_list_len = 1;
+ strcpy(fplmn_list_set.plmn_list[0].mcc, "460");
+ strcpy(fplmn_list_set.plmn_list[0].mnc, "09");
+
+ ret = gsw_add_forbidden_networks(&fplmn_list_set);
+ if(ret != 0)
+ {
+ printf("gsw_add_forbidden_networks failed \n");
+ continue;
+ }
+ printf("gsw_add_forbidden_networks end\n");
+ break;
+ }
+ case 14:
+ {
+ printf("gsw_add_forbidden_networks start\n");
+ gsw_nw_plmn_list_t fplmn_list_remove;
+ fplmn_list_remove.plmn_list_len = 1;
+ strcpy(fplmn_list_remove.plmn_list[0].mcc, "460");
+ strcpy(fplmn_list_remove.plmn_list[0].mnc, "02");
+
+ ret = gsw_remove_forbidden_networks(&fplmn_list_remove);
+ if(ret != 0)
+ {
+ printf("gsw_add_forbidden_networks failed \n");
+ continue;
+ }
+ printf("gsw_add_forbidden_networks end\n");
+ break;
+ }
+
+ case 15:
+ {
+ printf("gsw_clear_forbidden_networks start\n");
+ ret = gsw_clear_forbidden_networks();
+ if(ret != 0)
+ {
+ printf("gsw_clear_forbidden_networks failed \n");
+ continue;
+ }
+ printf("gsw_clear_forbidden_networks end\n");
+ break;
+ }
+
+ case 16:
+ {
+ gsw_mobile_operator_name opname;
+
+ ret = gsw_get_mobile_operator_name(&opname);
+ if(ret != 0)
+ {
+ printf("gsw_get_mobile_operator_name failed \n");
+ continue;
+ }
+
+ printf("opname.operator_name = %s\nopname.operator_code = %s\nopname.mcc=%s\nopname.mnc=%s", opname.long_eons, opname.short_eons, opname.mcc, opname.mnc);
+ break;
+ }
+
+ case 17:
+ {
+ printf("gsw_reg_set_modem_status_event_callback\n");
+ ret = gsw_reg_set_modem_status_event_callback(gsw_modem_status_cb);
+ if(ret != 0)
+ {
+ printf("gsw_reg_set_modem_status_event_callback failed \n");
+ continue;
+ }
+ printf("gsw_reg_set_modem_status_event_callback success\n");
+ break;
+ }
+
+ case 18:
+ {
+ printf("gsw_get_cell_info starts\n");
+ GSW_NW_CELL_INFO cell_info;
+ memset(&cell_info, 0x00, sizeof(GSW_NW_CELL_INFO));
+ ret = gsw_get_cell_info(&cell_info);
+ if(ret != 0)
+ {
+ printf("gsw_get_cell_info failed \n");
+ continue;
+ }
+
+ printf("--------------------serving cell info ------------------------------\n");
+ printf("mcc_valid = %d\n",cell_info.mcc_valid);
+ printf("mcc = %s\n",cell_info.mcc);
+ printf("mnc_valid = %d\n",cell_info.mnc_valid);
+ printf("mnc = %s\n",cell_info.mnc);
+ printf("cell_id_valid = %d\n",cell_info.cell_id_valid);
+ printf("cell_id = %u\n",cell_info.cell_id);
+ printf("pci_valid = %d\n",cell_info.pci_valid);
+ printf("pci = %d\n",cell_info.pci);
+ printf("psc_valid = %d\n",cell_info.psc_valid);
+ printf("psc = %d\n",cell_info.psc);
+ printf("earfcn_valid = %d\n",cell_info.earfcn_valid);
+ printf("earfcn = %d\n",cell_info.earfcn);
+ printf("uarfcn_valid = %d\n",cell_info.uarfcn_valid);
+ printf("uarfcn = %d\n",cell_info.uarfcn);
+ printf("arfcn_valid = %d\n",cell_info.arfcn_valid);
+ printf("arfcn = %d\n",cell_info.arfcn);
+ printf("tac_valid = %d\n",cell_info.tac_valid);
+ printf("tac = %u\n",cell_info.tac);
+ printf("lac_valid = %d\n",cell_info.lac_valid);
+ printf("lac = %u\n",cell_info.lac);
+ printf("sid_valid = %d\n",cell_info.sid_valid);
+ printf("sid = %d\n",cell_info.sid);
+ printf("nid_valid = %d\n",cell_info.nid_valid);
+ printf("nid = %d\n",cell_info.nid);
+ printf("lteMode_valid = %d\n",cell_info.lteMode_valid);
+ printf("lteMode = %d\n",cell_info.lteMode);
+ printf("rssi_valid = %d\n",cell_info.rssi_valid);
+ printf("rssi = %d\n",cell_info.rssi);
+ printf("rsrq_valid = %d\n",cell_info.rsrq_valid);
+ printf("rsrq = %d\n",cell_info.rsrq);
+ printf("ecio_valid = %d\n",cell_info.ecio_valid);
+ printf("ecio = %d\n",cell_info.ecio);
+ printf("rsrp_valid = %d\n",cell_info.rsrp_valid);
+ printf("rsrp = %d\n",cell_info.rsrp);
+ printf("rsrq_valid = %d\n",cell_info.rsrq_valid);
+ printf("rsrq = %d\n",cell_info.rsrq);
+ printf("rssnr_valid = %d\n",cell_info.rssnr_valid);
+ printf("rssnr = %d\n",cell_info.rssnr);
+ printf("band_valid = %d\n",cell_info.band_valid);
+ printf("band = %d\n",cell_info.band);
+ printf("bler_valid = %d\n",cell_info.bler_valid);
+ printf("bler = %d\n",cell_info.bler);
+
+
+ printf("-----------------------------------------------------------------------------------\n");
+
+ printf("-------------------------------------inter cell info ------------------------------\n");
+
+ for(int i = 0; i <MAX_CELL_EXT_INFO ; i++)
+ {
+ printf("-----------------------------------------------------------\n");
+ printf("inter cell info[%d] rat = %d\n",i,cell_info.ext_info[i].rat);
+
+ printf("inter cell info[%d] mcc = %s\n",i,cell_info.ext_info[i].mcc);
+
+ printf("inter cell info[%d] mnc = %s\n",i,cell_info.ext_info[i].mnc);
+
+ printf("inter cell info[%d] pci_valid = %d\n",i,cell_info.ext_info[i].pci_valid);
+ printf("inter cell info[%d] pci = %d\n",i,cell_info.ext_info[i].pci);
+
+ printf("inter cell info[%d] arfcn_valid = %d\n",i,cell_info.ext_info[i].arfcn_valid);
+ printf("inter cell info[%d] arfcn = %d\n",i,cell_info.ext_info[i].arfcn);
+
+ printf("inter cell info[%d] rsrp_valid = %d\n",i,cell_info.ext_info[i].rsrp_valid);
+ printf("inter cell info[%d] rsrp = %d\n",i,cell_info.ext_info[i].rsrp);
+
+ printf("inter cell info[%d] rsrq_valid = %d\n",i,cell_info.ext_info[i].rsrq_valid);
+ printf("inter cell info[%d] rsrq = %d\n",i,cell_info.ext_info[i].rsrq);
+
+ printf("inter cell info[%d] cell_id_valid = %d\n",i,cell_info.ext_info[i].cell_id_valid);
+ printf("inter cell info[%d] cell_id = %u\n",i,cell_info.ext_info[i].cell_id);
+
+ printf("inter cell info[%d] band_valid = %d\n",i,cell_info.ext_info[i].band_valid);
+ printf("inter cell info[%d] band = %u\n",i,cell_info.ext_info[i].band);
+
+ printf("-----------------------------------------------------------\n");
+ }
+
+
+ break;
+ }
+
+ case 19:
+ {
+ printf("gsw_reg_serving_info_callback start\n");
+ ret = gsw_reg_serving_info_callback(gsw_serving_info_callback);
+ break;
+ }
+
+ case 20:
+ {
+ printf("gsw_reg_sig_info_callback start\n");
+ ret = gsw_reg_sig_info_callback(gsw_sig_info_callback);
+ break;
+ }
+
+ case 21:
+ {
+ printf("gsw_reg_rej_cause_callback\n");
+ ret = gsw_reg_rej_cause_callback(gsw_rej_cause_callback);
+ break;
+ }
+
+ case 22:
+ {
+ printf("gsw_oos_config_get\n");
+ GSW_NW_OOS_CONFIG_INFO_T oos_cfg;
+ ret = gsw_oos_config_get(&oos_cfg);
+ if(ret != 0)
+ {
+ printf("gsw_oos_config_get failed \n");
+ continue;
+ }
+
+ else
+ {
+ printf("oos_cfg.t_min = %d\n",oos_cfg.t_min);
+ printf("oos_cfg.t_max = %d\n",oos_cfg.t_max);
+ printf("oos_cfg.t_step = %d\n",oos_cfg.t_step);
+ }
+ break;
+ }
+
+ case 23:
+ {
+ printf("gsw_oos_config_set\n");
+ GSW_NW_OOS_CONFIG_INFO_T oos_cfg;
+ oos_cfg.t_min = 5;
+ oos_cfg.t_step = 5;
+ oos_cfg.t_max = 5;
+
+ ret = gsw_oos_config_set(&oos_cfg);
+ if(ret != 0)
+ {
+ printf("gsw_oos_config_set failed \n");
+ continue;
+ }
+ else
+ {
+ printf("gsw_oos_config_set success\n");
+ }
+ break;
+ }
+
+
+ default:
+ {
+ continue;
+ }
+
+
+ }
+ }
+
+
+}
diff --git a/mbtk/test/libgsw_lib/gsw_oem_rw_test.c b/mbtk/test/libgsw_lib/gsw_oem_rw_test.c
new file mode 100755
index 0000000..723c0c6
--- /dev/null
+++ b/mbtk/test/libgsw_lib/gsw_oem_rw_test.c
@@ -0,0 +1,181 @@
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <time.h>
+#include <fcntl.h>
+#include <unistd.h>
+#include <sys/ioctl.h>
+#include <mtd/mtd-user.h>
+#include <errno.h>
+
+#include "gsw_oem_rw_interface.h"
+
+
+#define FLASH_DEVICE "/dev/mtd32"
+
+
+
+#define TEST_BLOCK_ID 1 // 测试使用的block ID
+
+void print_usage(void)
+{
+ printf("Usage:\n");
+ printf(" 1: Write test data to block\n");
+ printf(" 2: Read data from block\n");
+ printf(" 0: Exit\n");
+ printf("Please input your choice: ");
+}
+
+int write_test(void)
+{
+ int ret;
+ struct mtd_info_user mtd_info;
+ int fd;
+ char *write_buf = NULL;
+ unsigned int max_write_size;
+
+
+ fd = open(FLASH_DEVICE, O_RDONLY);
+ if (fd == -1) {
+ printf("Error opening flash device: %s\n", strerror(errno));
+ return GSW_HAL_NORMAL_FAIL;
+ }
+
+ if (ioctl(fd, MEMGETINFO, &mtd_info) < 0) {
+ printf("Error getting MTD info: %s\n", strerror(errno));
+ close(fd);
+ return GSW_HAL_NORMAL_FAIL;
+ }
+
+ close(fd);
+
+ max_write_size = mtd_info.erasesize;
+ printf("MTD erase size: %u bytes\n", max_write_size);
+
+
+ write_buf = (char *)malloc(max_write_size);
+ if (write_buf == NULL)
+ {
+ printf("Failed to allocate write buffer\n");
+ return -1;
+ }
+
+ int block_id = -1;
+ printf("enter block id \n");
+ ret = scanf("%d",&block_id);
+ memset(write_buf, 0, max_write_size);
+ snprintf(write_buf, max_write_size, "Test data for block %d, timestamp: %d",
+ block_id, (int)time(NULL));
+ printf("Write data: %s\n", write_buf);
+ printf("Writing data to block %d...\n", block_id);
+ ret = gsw_oem_write_data_ext(block_id, write_buf, max_write_size);
+ if (ret != GSW_HAL_SUCCESS)
+ {
+ printf("Write failed with error: %d\n", ret);
+ }
+ else
+ {
+ printf("Write successful\n");
+ }
+
+ free(write_buf);
+ return ret;
+}
+
+int read_test(void)
+{
+ int ret;
+ unsigned int read_len = 0;
+ struct mtd_info_user mtd_info;
+ int fd;
+ char *read_buf = NULL;
+ unsigned int max_read_size;
+
+
+ fd = open(FLASH_DEVICE, O_RDONLY);
+ if (fd == -1) {
+ printf("Error opening flash device: %s\n", strerror(errno));
+ return GSW_HAL_NORMAL_FAIL;
+ }
+
+ if (ioctl(fd, MEMGETINFO, &mtd_info) < 0) {
+ printf("Error getting MTD info: %s\n", strerror(errno));
+ close(fd);
+ return GSW_HAL_NORMAL_FAIL;
+ }
+
+ close(fd);
+
+ max_read_size = mtd_info.erasesize;
+ printf("MTD erase size: %u bytes\n", max_read_size);
+
+
+ read_buf = (char *)malloc(max_read_size);
+ if (read_buf == NULL)
+ {
+ printf("Failed to allocate read buffer\n");
+ return -1;
+ }
+
+ memset(read_buf, 0, max_read_size);
+
+ int block_id = -1;
+ printf("enter block id \n");
+ ret = scanf("%d",&block_id);
+ printf("Reading data from block %d...\n", block_id);
+
+ ret = gsw_oem_read_data_ext(block_id, read_buf, &read_len);
+ if (ret != GSW_HAL_SUCCESS)
+ {
+ printf("Read failed with error: %d\n", ret);
+ }
+ else
+ {
+ printf("Read %u bytes\n", read_len);
+ printf("Read data: %s\n", read_buf);
+ }
+ free(read_buf);
+ return ret;
+}
+
+int main()
+{
+ int choice;
+ int ret = 0;
+
+ while (1)
+ {
+ print_usage();
+ if (scanf("%d", &choice) != 1)
+ {
+ printf("Invalid input\n");
+
+ while (getchar() != '\n');
+ continue;
+ }
+
+
+ while (getchar() != '\n');
+
+ switch (choice)
+ {
+ case 0:
+ printf("Exit\n");
+ return 0;
+ case 1:
+ ret = write_test();
+ break;
+ case 2:
+ ret = read_test();
+ break;
+ default:
+ printf("Invalid choice\n");
+ break;
+ }
+
+ printf("\n");
+ }
+
+ return ret;
+}
+
diff --git a/mbtk/test/libgsw_lib/gsw_ota_test.c b/mbtk/test/libgsw_lib/gsw_ota_test.c
new file mode 100755
index 0000000..99531e9
--- /dev/null
+++ b/mbtk/test/libgsw_lib/gsw_ota_test.c
@@ -0,0 +1,385 @@
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
+#include <stdint.h>
+#include <signal.h>
+#include <pthread.h>
+#include <stdbool.h>
+#include <dlfcn.h>
+
+typedef struct
+{
+ int cmdIdx;
+ char *funcName;
+}st_api_test_case;
+
+
+
+typedef enum
+{
+ GSW_OTA_SUCCESS,
+ GSW_OTA_FAILURE,
+ GSW_OTA_TIMEOUT,
+ GSW_OTA_INPROCESS,
+ GSW_OTA_NO_TASK
+}E_GSW_OTA_RET;
+
+typedef enum _gsw_ota_ret
+{
+ GSW_OTA_SYSTEM_A,
+ GSW_OTA_SYSTEM_B,
+}E_GSW_OTA_SYSTEM;
+
+
+typedef enum
+{
+ GSW_UPDATE_SUCCEED = 0, //update succeed
+ GSW_UPDATE_INPROGRESS, //update in progress
+ GSW_UPDATE_BACKUP, //A/B partition sync in progress
+ GSW_UPDATE_FAILED, //update failed
+ GSW_UPDATE_WAITEDONE, //update in-active part finished,not switch update part.
+ GSW_UPDATE_NEEDSYNC, //switch update part, need sync A/B part
+ GSW_UPDATE_CANCEL //updata cancel success
+}gsw_update_state_t;
+
+typedef enum
+{
+ GSW_UPDATE_NOERROR=0, //升级成功
+ GSW_UPDATE_ARGUMENTERROR, //升级程序启动参数错误
+ GSW_UPDATE_SDCARDNOEXIST, //未挂载外置FLASH等存储设备
+ GSW_UPDATE_PACKAGENOEXIST, //升级包不存在
+ GSW_UPDATE_UNZIPFAILED, //解压升级包出错
+ GSW_UPDATE_PARTITIONFLUSHERROR,//写入分区出错
+ GSW_UPDATE_XMLPARSEERROR, //解析 fotaconfig.xml 文件出错
+ GSW_UPDATE_DIFFUBIUNATTACH, //差分升级 UBI 分区挂载异常
+ GSW_UPDATE_NOSPACELEFT, //空间不足
+ GSW_UPDATE_FILECHECKFAILED, //MD5 值校验失败
+ GSW_UPDATE_BSPATCHFAILED, //bspatch 合成新文件夹失败
+ GSW_UPDATE_NOFINDPARTITION, //待升级分区不存在
+ GSW_UPDATE_UBIVOLUMEERROR, //差分升级,待升级 UBI 卷不存在
+ GSW_UPDATE_NOFOTACONFIGFILE, //升级包中无 fotaconfig.xml 文件
+ GSW_UPDATE_GETOLDSOFTWAREFAILED,//读取原始版本固件失败
+ GSW_UPDATE_FILENOTEXIST, //文件不存在
+ GSW_UPDATE_UPGRADECANCELED, //升级或分区同步被取消
+ GSW_UPDATE_NONEEDCANCEL, //取消升级失败
+ GSW_UPDATE_NOGOING //升级或分区同步正在进行,不可重复操作
+}gsw_update_exit_code_t;
+
+
+typedef struct
+{
+ unsigned int percentage; //update progress0-100
+ gsw_update_state_t update_state;
+ gsw_update_exit_code_t exit_code;
+}gsw_update_info_s;
+
+typedef struct
+{
+ gsw_update_state_t update_state;
+ uint8_t is_damaged; //TURE: damaged FALSE:no damaged
+ uint8_t damaged_partname[16];
+}gsw_system_status_s;
+
+typedef int32_t (*gsw_update_modem_start_autobackup)(char* file_path);
+typedef bool (*gsw_update_modem_check_condition)(void);
+typedef E_GSW_OTA_RET (*gsw_update_modem_result_query)(void);
+typedef int32_t (*gsw_update_modem_start_nobackup)(char* file_path);
+typedef E_GSW_OTA_SYSTEM (*gsw_update_modem_get_system)(void);
+typedef int32_t (*gsw_update_modem_cancel)(void);
+typedef int32_t (*gsw_update_modem_get_info)(gsw_update_info_s *update_info);
+typedef int32_t (*gsw_update_modem_get_status)(gsw_system_status_s *system_status);
+typedef int32_t (*gsw_update_modem_sync)(void);
+typedef int32_t (*gsw_update_modem_switch)(void);
+
+gsw_update_modem_start_autobackup gsw_update_modem_start_autobackup_ptr = NULL;
+
+static void *ota_handle = NULL;
+
+st_api_test_case api_testcases[] =
+{
+ {0, "print_help"},
+ {1, "gsw_update_modem_start_autobackup"},
+ {2, "gsw_update_modem_check_condition"},
+ {3, "gsw_update_modem_result_query"},
+ {4, "gsw_update_modem_get_system"},
+ {5, "gsw_update_modem_get_info"},
+ {6, "gsw_update_modem_get_status"},
+ {7, "gsw_update_modem_sync"},
+ {8, "gsw_update_modem_switch"},
+ {9, "gsw_update_modem_start_nobackup"},
+ {10, "gsw_update_modem_cancel"},
+ {-1, NULL}
+
+};
+
+void print_help(void)
+{
+ int i;
+
+ printf("Supported test cases:\n");
+ for(i = 0; ; i++)
+ {
+ if(api_testcases[i].cmdIdx == -1)
+ {
+ break;
+ }
+ printf("%d:\t%s\n", api_testcases[i].cmdIdx, api_testcases[i].funcName);
+ }
+}
+
+void *fota_thread(void *arg)
+{
+ char *file_path = (char *)arg;
+ int ret = -1;
+ ret = gsw_update_modem_start_autobackup_ptr(file_path);
+ printf("gsw_update_modem_start_autobackup ret = %d\n", ret);
+ return NULL;
+}
+
+void sigint_handler(int sig)
+{
+ printf("sigint_handler\n");
+ dlclose(ota_handle);
+ ota_handle = NULL;
+ gsw_update_modem_start_autobackup_ptr = NULL;
+ exit(0);
+}
+void clear_input_buffer()
+{
+ int c;
+
+ while ((c = getchar()) != '\n' && c != EOF);
+}
+
+int main(int argc,char *argv[])
+{
+ gsw_update_modem_check_condition gsw_update_modem_check_condition_ptr = NULL;
+ gsw_update_modem_result_query gsw_update_modem_result_query_ptr = NULL;
+ gsw_update_modem_get_system gsw_update_modem_get_system_ptr = NULL;
+ gsw_update_modem_get_info gsw_update_modem_get_info_ptr = NULL;
+ gsw_update_modem_get_status gsw_update_modem_get_status_ptr = NULL;
+ gsw_update_modem_sync gsw_update_modem_sync_ptr = NULL;
+ gsw_update_modem_switch gsw_update_modem_switch_ptr = NULL;
+ gsw_update_modem_start_nobackup gsw_update_modem_start_nobackup_ptr = NULL;
+ gsw_update_modem_cancel gsw_update_modem_cancel_ptr = NULL;
+
+ signal(SIGINT, sigint_handler);
+ if (argc < 2)
+ {
+ printf("Usage: %s <file_path>\n", argv[0]);
+ return -1; // 确保提供了文件路径
+ }
+ char *file_path = argv[1];
+ ota_handle = dlopen("/lib/libgsw_lib.so", RTLD_NOW );
+ if(ota_handle == NULL)
+ {
+ printf("open lib failed\n");
+ return -1;
+ }
+
+ gsw_update_modem_start_autobackup_ptr = (gsw_update_modem_start_autobackup)dlsym(ota_handle, "gsw_update_modem_start_autobackup");
+ if(gsw_update_modem_start_autobackup_ptr == NULL)
+ {
+ printf("dlsym gsw_update_modem_start_autobackup failed\n");
+ return -1;
+ }
+
+ gsw_update_modem_check_condition_ptr = (gsw_update_modem_check_condition)dlsym(ota_handle, "gsw_update_modem_check_condition");
+ if(gsw_update_modem_check_condition_ptr == NULL)
+ {
+ printf("dlsym gsw_update_modem_check_condition failed\n");
+ return -1;
+ }
+
+ gsw_update_modem_result_query_ptr = (gsw_update_modem_result_query)dlsym(ota_handle, "gsw_update_modem_result_query");
+ if(gsw_update_modem_result_query_ptr == NULL)
+ {
+ printf("dlsym gsw_update_modem_result_query failed\n");
+ return -1;
+ }
+
+ gsw_update_modem_get_system_ptr = (gsw_update_modem_get_system)dlsym(ota_handle, "gsw_update_modem_get_system");
+ if(gsw_update_modem_get_system_ptr == NULL)
+ {
+ printf("dlsym gsw_update_modem_get_system failed\n");
+ return -1;
+ }
+
+ gsw_update_modem_get_info_ptr = (gsw_update_modem_get_info)dlsym(ota_handle, "gsw_update_modem_get_info");
+ if(gsw_update_modem_get_info_ptr == NULL)
+ {
+ printf("dlsym gsw_update_modem_get_info failed\n");
+ return -1;
+ }
+
+ gsw_update_modem_get_status_ptr = (gsw_update_modem_get_status)dlsym(ota_handle, "gsw_update_modem_get_status");
+ if(gsw_update_modem_get_status_ptr == NULL)
+ {
+ printf("dlsym gsw_update_modem_get_status failed\n");
+ return -1;
+ }
+
+ gsw_update_modem_sync_ptr = (gsw_update_modem_sync)dlsym(ota_handle, "gsw_update_modem_sync");
+ if(gsw_update_modem_sync_ptr == NULL)
+ {
+ printf("dlsym gsw_update_modem_sync failed\n");
+ return -1;
+ }
+
+ gsw_update_modem_switch_ptr = (gsw_update_modem_switch)dlsym(ota_handle, "gsw_update_modem_switch");
+ if(gsw_update_modem_switch_ptr == NULL)
+ {
+ printf("dlsym gsw_update_modem_switch failed\n");
+ return -1;
+ }
+
+ gsw_update_modem_start_nobackup_ptr = (gsw_update_modem_start_nobackup)dlsym(ota_handle, "gsw_update_modem_start_nobackup");
+ if(gsw_update_modem_start_nobackup_ptr == NULL)
+ {
+ printf("dlsym gsw_update_modem_start_nobackup failed\n");
+ return -1;
+ }
+
+ gsw_update_modem_cancel_ptr = (gsw_update_modem_cancel)dlsym(ota_handle, "gsw_update_modem_cancel");
+ if(gsw_update_modem_cancel_ptr == NULL)
+ {
+ printf("dlsym gsw_update_modem_cancel failed\n");
+ return -1;
+ }
+
+
+
+ printf("Enter ota api test \n");
+ int opt = -1;
+ print_help();
+ while (1)
+ {
+ char buffer[100]; // 用于存储输入的缓冲区
+
+ printf("请输入选项: \n");
+ if (fgets(buffer, sizeof(buffer), stdin) != NULL)
+ {
+
+ if (sscanf(buffer, "%d", &opt) != 1)
+ {
+ printf("无效输入,请输入一个整数。\n");
+ clear_input_buffer();
+ continue;
+ }
+ }
+ else
+ {
+
+ clear_input_buffer();
+ continue;
+ }
+
+ printf("输入的整数是:%d\n", opt);
+
+ switch(opt)
+ {
+ case 0 :
+ {
+ print_help();
+ break;
+ }
+ case 1 :
+ {
+ int32_t ret = -1;
+ pthread_t thread_id_reboot;
+ ret = pthread_create(&thread_id_reboot, NULL, fota_thread, (void*)file_path);
+ if (ret != 0)
+ {
+ printf("pthread_create failed \n");
+ return -1;
+ }
+ break;
+
+ }
+ case 2 :
+ {
+ bool ret = false;
+ ret = gsw_update_modem_check_condition_ptr();
+ printf("gsw_update_modem_check_condition ret = %d\n", ret);
+ break;
+ }
+ case 3 :
+ {
+ E_GSW_OTA_RET ret = -1;
+ ret = gsw_update_modem_result_query_ptr();
+ printf("gsw_update_modem_result_query ret = %d\n", ret);
+ break;
+ }
+ case 4 :
+ {
+ E_GSW_OTA_SYSTEM ret = -1;
+ ret = gsw_update_modem_get_system_ptr();
+ printf("gsw_update_modem_get_system ret = %d\n", ret);
+ printf("system %c\n", ret == 0? 'a' : 'b');
+
+ break;
+ }
+ case 5 :
+ {
+ int32_t ret = -1;
+ gsw_update_info_s update_info = {0};
+ ret = gsw_update_modem_get_info_ptr(&update_info);
+ printf("gsw_update_modem_get_info ret = %d\n", ret);
+
+ printf("update_info. = %u\n",update_info.percentage);
+ printf("update_state. = %d\n",update_info.update_state);
+ printf("exit_code. = %d\n",update_info.exit_code);
+
+ break;
+ }
+ case 6:
+ {
+ int32_t ret = -1;
+ gsw_system_status_s system_status = {0};
+ ret = gsw_update_modem_get_status_ptr(&system_status);
+ printf("gsw_update_modem_get_status ret is %d\n",ret);
+ break;
+
+ }
+ case 7:
+ {
+ int32_t ret = -1;
+ ret = gsw_update_modem_sync_ptr();
+ printf("gsw_update_modem_sync ret is %d\n",ret );
+ break;
+ }
+ case 8 :
+ {
+ int32_t ret = -1;
+ ret = gsw_update_modem_switch_ptr();
+ printf("gsw_update_modem_switch ret is %d \n",ret);
+ break;
+
+ }
+ case 9:
+ {
+ int32_t ret = -1;
+ ret = gsw_update_modem_start_nobackup_ptr(file_path);
+ printf("gsw_update_modem_start_nobackup ret is %d\n",ret);
+ break;
+ }
+ case 10:
+ {
+ int32_t ret = -1;
+ ret = gsw_update_modem_cancel_ptr();
+ printf("gsw_update_modem_cancel ret is %d\n",ret);
+ break;
+ }
+ default:
+ printf("invalid opt\n");
+ break;
+ }
+
+ }
+
+
+ return 0;
+
+
+}
+
diff --git a/mbtk/test/libgsw_lib/gsw_passwd_test.c b/mbtk/test/libgsw_lib/gsw_passwd_test.c
new file mode 100755
index 0000000..4bc0779
--- /dev/null
+++ b/mbtk/test/libgsw_lib/gsw_passwd_test.c
@@ -0,0 +1,59 @@
+#include <stdio.h>
+#include <string.h>
+#include <strings.h>
+#include <stdlib.h>
+#include <errno.h>
+#include <fcntl.h>
+#include <signal.h>
+#include <sys/types.h>
+#include <unistd.h>
+#include <pthread.h>
+#include <termios.h>
+#include <time.h>
+#include <sys/ioctl.h>
+#include <dlfcn.h>
+#include <stdint.h>
+#include <stdbool.h>
+
+
+int (*gsw_set_passwd)(char *username, char *passwd);
+void *dlHandle;
+char *lynqLib = "/lib/libgsw_lib.so";
+
+int main(int argc, char *argv[])
+{
+ int ret;
+ char tmp1[128];
+ char tmp2[128];
+ if(argc != 3)
+ {
+ printf("parameter error,please input username and passwd\n");
+ return -1;
+ }
+ strcpy(tmp1, argv[1]);
+ strcpy(tmp2, argv[2]);
+ printf("username is %s, passwd is %s\n",tmp1, tmp2);
+ dlHandle = dlopen(lynqLib, RTLD_NOW);
+ if(dlHandle == NULL)
+ {
+ printf("dlopen libgsw_lib fail\n");
+ return -1;
+ }
+ gsw_set_passwd=(int(*)(char *username, char *passwd))dlsym(dlHandle, "gsw_set_passwd");
+ if(dlHandle == NULL)
+ {
+ printf("dlsym gsw_set_passwd fail\n");
+ return -1;
+ }
+ ret = gsw_set_passwd(tmp1, tmp2);
+ if(ret)
+ {
+ printf("gsw_set_passwd fail\n");
+ }
+ else
+ {
+ printf("gsw_set_passwd successful\n");
+ }
+
+ return 0;
+}
diff --git a/mbtk/test/libgsw_lib/gsw_pm_test.c b/mbtk/test/libgsw_lib/gsw_pm_test.c
new file mode 100755
index 0000000..933cf9e
--- /dev/null
+++ b/mbtk/test/libgsw_lib/gsw_pm_test.c
@@ -0,0 +1,132 @@
+#include <stdio.h>
+#include <string.h>
+#include <strings.h>
+#include <stdlib.h>
+#include <errno.h>
+#include <fcntl.h>
+#include <signal.h>
+#include <sys/types.h>
+#include <unistd.h>
+#include <pthread.h>
+#include <termios.h>
+#include <time.h>
+#include <sys/ioctl.h>
+#include <dlfcn.h>
+#include <stdint.h>
+#include <stdbool.h>
+
+typedef void (*GSW_PM_WAKEUPCALLBACK)(int32_t wakeup_in);
+
+void tmp_callback(int32_t wakeup_in)
+{
+ printf("wackout value %d\n",wakeup_in);
+}
+
+int32_t (*gsw_autosleep_enable)(void);
+int32_t (*gsw_autosleep_disenable)(void);
+int32_t (*gsw_pm_sdk_init)(GSW_PM_WAKEUPCALLBACK );
+int32_t (*gsw_pm_enter_sleep)(const char *gsw_wakelock_name);
+int32_t (*gsw_pm_exit_sleep)(const char *gsw_wakelock_name);
+void (*gsw_modem_log_sync)(void);
+
+const char *tmp_name = "pm_test_lock";
+
+void *dlHandle_pm;
+char *lynqLib_pm = "/lib/libgsw_lib.so";
+
+void user_help(void)
+{
+ printf("\t1 autosleep_enable\n"
+ "\t2 autosleep_disenable \n"
+ "\t3 pm_sdk_init\n"
+ "\t4 pm_enter_sleep\n"
+ "\t5 pm_exit_sleep\n"
+ "\t6 modem_log_sync\n"
+ "please input operator: >> ");
+}
+
+int main(void)
+{
+ int ret;
+ int opt = 0;
+ dlHandle_pm = dlopen(lynqLib_pm, RTLD_NOW);
+ while(1)
+ {
+ printf("=========PM main=========\n");
+ user_help();
+ if (scanf("%d", &opt) != 1)
+ printf("input error,please check it");
+ while(getchar()!='\n');
+ switch (opt)
+ {
+ case 1:
+ {
+ gsw_autosleep_enable=(int32_t(*)())dlsym(dlHandle_pm, "gsw_autosleep_enable");
+ ret = gsw_autosleep_enable();
+ if(ret < 0)
+ {
+ printf("gsw_autosleep_enable FAIL.\n");
+ return -1;
+ }
+ printf("gsw_autosleep_enable success.\n");
+ return 0;
+ }
+ case 2:
+ {
+ gsw_autosleep_disenable=(int32_t(*)())dlsym(dlHandle_pm, "gsw_autosleep_disenable");
+ ret = gsw_autosleep_disenable();
+ if(ret < 0)
+ {
+ printf("gsw_autosleep_disenable FAIL.\n");
+ return -1;
+ }
+ printf("gsw_autosleep_disenable success.\n");
+ return 0;
+ }
+ case 3:
+ {
+ gsw_pm_sdk_init=(int32_t(*)(GSW_PM_WAKEUPCALLBACK ))dlsym(dlHandle_pm, "gsw_pm_sdk_init");
+ ret = gsw_pm_sdk_init(tmp_callback);
+ if(ret < 0)
+ {
+ printf("gsw_pm_sdk_init FAIL.\n");
+ return -1;
+ }
+ printf("gsw_pm_sdk_init success.\n");
+ break;
+ }
+ case 4:
+ {
+ gsw_pm_enter_sleep=(int32_t(*)(const char *gsw_wakelock_name))dlsym(dlHandle_pm, "gsw_pm_enter_sleep");
+ ret = gsw_pm_enter_sleep(tmp_name);
+ if(ret < 0)
+ {
+ printf("gsw_pm_enter_sleep FAIL.\n");
+ return -1;
+ }
+ printf("gsw_pm_enter_sleep success.\n");
+ return 0;
+ }
+ case 5:
+ {
+ gsw_pm_exit_sleep=(int32_t(*)(const char *gsw_wakelock_name))dlsym(dlHandle_pm, "gsw_pm_exit_sleep");
+ ret = gsw_pm_exit_sleep(tmp_name);
+ if(ret < 0)
+ {
+ printf("gsw_pm_exit_sleep FAIL.\n");
+ return -1;
+ }
+ printf("gsw_pm_exit_sleep success.\n");
+ break;
+ }
+ case 6:
+ {
+ gsw_modem_log_sync=(void(*)())dlsym(dlHandle_pm, "gsw_modem_log_sync");
+ gsw_modem_log_sync();
+ printf("gsw_modem_log_sync success.\n");
+ return 0;
+ }
+ }
+ }
+ return 0;
+}
\ No newline at end of file
diff --git a/mbtk/test/libgsw_lib/gsw_sim_test.c b/mbtk/test/libgsw_lib/gsw_sim_test.c
new file mode 100755
index 0000000..6ba8288
--- /dev/null
+++ b/mbtk/test/libgsw_lib/gsw_sim_test.c
@@ -0,0 +1,372 @@
+#include <stdio.h>
+#include <stdlib.h>
+#include <stdbool.h>
+#include <dlfcn.h>
+#include <stdint.h>
+#include <string.h>
+#include <pthread.h>
+
+//mbtk include
+
+typedef unsigned int uint32;
+typedef unsigned char uint8;
+typedef unsigned short uint16;
+typedef void (*mbtk_info_callback_func)(const void* data, int data_len);
+
+typedef struct
+{
+ int client_fd;
+ pthread_t read_thread_id;
+ int exit_fd[2];
+ bool is_waitting;
+ pthread_cond_t cond;
+ pthread_mutex_t mutex;
+
+ pthread_mutex_t send_mutex;
+
+ // Temp response data.
+ uint16 info_err;
+ uint16 data_len;
+ void *data;
+
+ //mbtk wyq for server_ready_status add start
+ char server_ready_status;
+ //mbtk wyq for server_ready_status add end
+
+ mbtk_info_callback_func net_state_cb;
+ mbtk_info_callback_func call_state_cb;
+ mbtk_info_callback_func sms_state_cb;
+ mbtk_info_callback_func radio_state_cb;
+ mbtk_info_callback_func sim_state_cb;
+ mbtk_info_callback_func pdp_state_cb;
+ //add signal by xr
+ mbtk_info_callback_func signal_state_cb;
+} mbtk_info_handle_t;
+
+typedef enum {
+ MBTK_SIM_ABSENT = 0,
+ MBTK_SIM_NOT_READY = 1,
+ MBTK_SIM_READY = 2,
+ MBTK_SIM_PIN = 3,
+ MBTK_SIM_PUK = 4,
+ MBTK_SIM_NETWORK_PERSONALIZATION = 5
+} mbtk_sim_state_enum;
+
+typedef enum
+{
+ MBTK_DEV_MODEM_MIN_FUN, //Modem 最小功能
+ MBTK_DEV_MODEM_FULL_FUN, //Modem 全功能
+ MBTK_DEV_MODEM_DISABLE_RECEIVE_RF_CIRCUITS = 3, //Modem 禁用射频接收电路
+ MBTK_DEV_MODEM_DISABLE_TRANSMIT_AND_RECEIVE_RF_CIRCUITS, //Modem禁用射频发射和接收电路
+ MBTK_DEV_MODEM_DISABLE_SIM, //Modem 禁用(U)SIM 卡
+ MBTK_DEV_MODEM_TURN_OFF_FULL_SECONDARY_RECEIVE, //Modem 完全禁用辅助接收
+}MBTK_DEV_MODEM_FUNCTION;
+
+typedef struct
+{
+ MBTK_DEV_MODEM_FUNCTION fun;
+ int rst;
+} mbtk_modem_info_t;
+
+
+
+
+//gsw include
+#define GSW_HAL_SUCCESS 0
+#define GSW_HAL_FAIL -1
+#define GSW_HAL_MEM_INVAILD -2
+#define GSW_SIM_ICCID_LENGTH 20+1
+#define GSW_SIM_IMSI_LENGTH 20+1
+#define GSW_SIM_MSISDN_LENGTH 20+1
+#define GSW_SIM_IMEI_LENGTH 20+1
+
+typedef enum sim_status
+{
+ SIM_STATUS_ABSENT = 0, /**< sim absent*/
+ SIM_STATUS_PRESENT = 1, /**< sim present mtk as ready*/
+ SIM_STATUS_ERROR = 2, /**< sim error*/
+ SIM_STATUS_READY = 3, /**< sim state ready mtk no this value*/
+ SIM_STATUS_PIN = 4, /**< pinlock status*/
+} sim_status_e_type;
+
+
+int (*gsw_sim_sdk_init)(int32_t token);
+int (*gsw_sim_sdk_deinit)(void);
+int (*gsw_get_sim_status)(int32_t *sim_state);
+int (*gsw_get_sim_iccid)(int32_t len, int8_t *iccid);
+int (*gsw_get_sim_imsi)(int32_t len, int8_t *imsi);
+int (*gsw_get_sim_msisdn)(int32_t len, int8_t *msisdn);
+int (*gsw_get_imei)(int32_t len, int8_t *imei);
+int (*gsw_set_sim_power_down)(void);
+int (*gsw_set_sim_power_up)(void);
+int (*gsw_reset_modem)(void);
+
+
+#define lib_gsw_sim_path "/lib/libgsw_lib.so"
+static void *dlHandle_sim = NULL;
+
+
+static int gsw_sim_api_import()
+{
+ dlHandle_sim = dlopen(lib_gsw_sim_path, RTLD_NOW);
+ if (dlHandle_sim == NULL) {
+ printf("dlopen gsw_sim_sdk_init fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ gsw_sim_sdk_init = (int(*)(int32_t token))dlsym(dlHandle_sim, "gsw_sim_sdk_init");
+ if (gsw_sim_sdk_init == NULL) {
+ printf("dlsym gsw_sim_sdk_init fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ gsw_sim_sdk_deinit = (int(*)(void))dlsym(dlHandle_sim, "gsw_sim_sdk_deinit");
+ if (gsw_sim_sdk_deinit == NULL) {
+ printf("dlsym gsw_sim_sdk_deinit fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ gsw_get_sim_status = (int(*)(int32_t *sim_state))dlsym(dlHandle_sim, "gsw_get_sim_status");
+ if (gsw_get_sim_status == NULL) {
+ printf("dlsym gsw_get_sim_status fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ gsw_get_sim_iccid = (int(*)(int32_t len, int8_t *iccid))dlsym(dlHandle_sim, "gsw_get_sim_iccid");
+ if (gsw_get_sim_iccid == NULL) {
+ printf("dlsym gsw_get_sim_iccid fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ gsw_get_sim_imsi = (int(*)(int32_t len, int8_t *imsi))dlsym(dlHandle_sim, "gsw_get_sim_imsi");
+ if (gsw_get_sim_imsi == NULL) {
+ printf("dlsym gsw_get_sim_imsi fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ gsw_get_sim_msisdn = (int(*)(int32_t len, int8_t *msisdn))dlsym(dlHandle_sim,"gsw_get_sim_msisdn");
+ if (gsw_get_sim_msisdn == NULL) {
+ printf("dlsym gsw_get_sim_msisdn fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ gsw_get_imei = (int(*)(int32_t len, int8_t *imei))dlsym(dlHandle_sim,"gsw_get_imei");
+ if (gsw_get_imei == NULL) {
+ printf("dlsym gsw_get_imei fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ gsw_set_sim_power_down = (int(*)(void))dlsym(dlHandle_sim,"gsw_set_sim_power_down");
+ if (gsw_set_sim_power_down == NULL) {
+ printf("dlsym gsw_set_sim_power_down fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ gsw_set_sim_power_up = (int(*)(void))dlsym(dlHandle_sim,"gsw_set_sim_power_up");
+ if (gsw_set_sim_power_up == NULL) {
+ printf("dlsym gsw_set_sim_power_up fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ gsw_reset_modem = (int(*)(void))dlsym(dlHandle_sim,"gsw_reset_modem");
+ if (gsw_reset_modem == NULL) {
+ printf("dlsym gsw_reset_modem fail\n");
+ return GSW_HAL_FAIL;
+ }
+
+ return GSW_HAL_SUCCESS;
+}
+
+
+
+int main()
+{
+ char operator[10];
+ int opt;
+ int ret = -1;
+
+ gsw_sim_api_import();
+
+ while(1)
+ {
+ printf("-1.exit\n");
+ printf("1.sim init\n");
+ printf("2.sim deinit\n");
+ printf("3.imsi : Get IMSI.\n");
+ printf("4.iccid : Get ICCID.\n");
+ printf("5.msisdn : Get phone number.\n");
+ printf("6.sim states\n");
+ printf("7.sim power_down\n");
+ printf("8.sim power_up\n");
+ printf("9.reset modem\n");
+ printf(">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>Enter cmd:");
+
+ char* temp = NULL;
+ memset(operator, 0, sizeof(operator));
+ temp = fgets(operator, sizeof(operator), stdin);
+ fflush(stdin);
+
+ printf("temp = %s",temp);
+ opt = atoi(operator);
+ switch(opt)
+ {
+ case -1:
+ {
+ printf("exit\n");
+ return 0;
+ }
+ //gsw_sim_sdk_init
+ case 1:
+ {
+ printf("sdk_init\n");
+ ret = gsw_sim_sdk_init(123);
+ if(ret == 0)
+ {
+ printf("gsw_sim_sdk_init success\n");
+ }
+ else
+ {
+ printf("gsw_sim_sdk_init fail,ret = %d\n",ret);
+ }
+ break;
+ }
+
+ //sim deinit
+ case 2:
+ {
+ printf("sim deinit\n");
+ ret = gsw_sim_sdk_deinit();
+ if(ret == 0)
+ {
+ printf("gsw_sim_sdk_deinit success\n");
+ }
+ else
+ {
+ printf("gsw_sim_sdk_deinit fail,ret = %d\n",ret);
+ }
+ break;
+ }
+
+ //imsi
+ case 3:
+ {
+ char imsi[GSW_SIM_IMEI_LENGTH] = {0};
+ ret = gsw_get_sim_imsi(GSW_SIM_IMEI_LENGTH, (int8_t *)imsi);
+ if(ret == 0)
+ {
+ printf("gsw_get_sim_imsi success, imsi = %s\n",imsi);
+ }
+ else
+ {
+ printf("gsw_get_sim_imsi fail,ret = %d\n",ret);
+ }
+ break;
+ }
+
+ //iccid
+ case 4:
+ {
+ char iccid[GSW_SIM_ICCID_LENGTH] = {0};
+ ret = gsw_get_sim_iccid(GSW_SIM_ICCID_LENGTH, (int8_t *)iccid);
+ if(ret == 0)
+ {
+ printf("gsw_get_sim_iccid success, iccid = %s\n",iccid);
+ }
+ else
+ {
+ printf("gsw_get_sim_iccid fail,ret = %d\n",ret);
+ }
+ break;
+ }
+
+ //msisdn
+ case 5:
+ {
+ char msisdn[GSW_SIM_MSISDN_LENGTH] = {0};
+ ret = gsw_get_sim_msisdn(GSW_SIM_MSISDN_LENGTH, (int8_t *)msisdn);
+ if(ret == 0)
+ {
+ printf("gsw_get_sim_msisdn success, msisdn = %s\n",msisdn);
+ }
+ else
+ {
+ printf("gsw_get_sim_msisdn fail,ret = %d\n",ret);
+ }
+ break;
+ }
+ //sim states
+ case 6:
+ {
+ int sim_state;
+ printf("start gsw_get_sim_status\n");
+ ret = gsw_get_sim_status(&sim_state);
+ printf("end gsw_get_sim_status\n");
+ if(ret == 0)
+ {
+ printf("gsw_get_sim_status success,sim_state = %d\n",sim_state);
+ }
+ else
+ {
+ printf("gsw_get_sim_status fail,ret = %d\n",ret);
+ }
+ break;
+ }
+
+ //sim power_down
+ case 7:
+ {
+ ret = gsw_set_sim_power_down();
+ if(ret == 0)
+ {
+ printf("gsw_set_sim_power_down success\n");
+ }
+ else
+ {
+ printf("gsw_set_sim_power_down fail,ret = %d\n",ret);
+ }
+ break;
+ }
+
+ //sim power_up
+ case 8:
+ {
+ ret = gsw_set_sim_power_up();
+ if(ret == 0)
+ {
+ printf("gsw_set_sim_power_up success\n");
+ }
+ else
+ {
+ printf("gsw_set_sim_power_up fail,ret = %d\n",ret);
+ }
+ break;
+ }
+
+ //reset modem
+ case 9:
+ {
+ ret = gsw_reset_modem();
+ if(ret == 0)
+ {
+ printf("gsw_reset_modem success\n");
+ }
+ else
+ {
+ printf("gsw_reset_modem fail,ret = %d\n",ret);
+ }
+ break;
+ }
+
+ default :
+ {
+ printf("error cmd.\n");
+ continue;
+ }
+
+ }
+ }
+
+
+
+
+}
diff --git a/mbtk/test/libgsw_lib/gsw_sms_test.c b/mbtk/test/libgsw_lib/gsw_sms_test.c
new file mode 100755
index 0000000..7678208
--- /dev/null
+++ b/mbtk/test/libgsw_lib/gsw_sms_test.c
@@ -0,0 +1,308 @@
+#include <stdio.h>
+#include <stdlib.h>
+#include <stdbool.h>
+#include <dlfcn.h>
+#include <stdint.h>
+#include <string.h>
+
+
+#define GSW_SMS_SEND_NUM_MAX 5 /**< dest num max count */
+#define GSW_SMS_ADDRESS_LEN 32 /**< one dest number max length*/
+#define GSW_SMS_CONCAT_SMS_COUNT_MAX 160 /**< one page max bytes*/
+#define GSW_SMS_MSG_CONTENT_LEN_MAX 3 /**< sms page max count*/
+#define GSW_SMS_CONTENT_LEN_MAX 3 /**< newmsg recv one page*/
+#define GSW_SMS_SEND_CONT_MAX (GSW_SMS_MSG_CONTENT_LEN_MAX*GSW_SMS_CONCAT_SMS_COUNT_MAX*2) /**< sms send max len*/
+#define GSW_SMS_RECV_CONT_MAX 1440 /**< sms receive max len*/
+
+#define GSW_HAL_SMS_ADDRESS_LEN GSW_SMS_ADDRESS_LEN
+#define GSW_HAL_SMS_RECV_CONT_MAX GSW_SMS_RECV_CONT_MAX
+
+typedef unsigned short uint16_t;
+typedef unsigned int uint32_t;
+typedef unsigned short uint16;
+typedef uint32_t sms_client_handle_type;
+
+typedef enum
+{
+ GSW_SMS_FULL_FLG, /**< sms full flag*/
+ GSW_SMS_RECEIVED_FLG, /**<recv new sms flag*/
+}gsw_sms_state_e;
+
+typedef enum
+{
+ SMS_FORMAT_GSM_7BIT = 0, /**< 7bit econde*/
+ SMS_FORMAT_BINARY_DATA = 1, /**< 8bit binary encode*/
+ SMS_FORMAT_UCS2 = 2, /**< ucs2 encode*/
+}gsw_sms_format_e;
+
+typedef struct gsw_hal_sms_date
+{
+ unsigned char year[5]; /**< year of date*/
+ unsigned char month[3]; /**< month of date*/
+ unsigned char day[3]; /**< day of date*/
+ unsigned char hour[3]; /**< hour of time*/
+ unsigned char minutes[3]; /**< minute of time*/
+ unsigned char seconds[3]; /**< second of time*/
+ unsigned char timezone[4]; /**< timezone*/
+} gsw_sms_date_t;
+
+typedef struct gsw_hal_sms_msg_type
+{
+ char src_num[GSW_SMS_ADDRESS_LEN+1]; /**< sms phone num send msg*/
+ char dest_num[GSW_SMS_ADDRESS_LEN + 1]; /**< sms phone num recv msg*/
+ gsw_sms_format_e content_encode; /**< sms content is 7bit or 8bit or Ucs2 encode*/
+ unsigned int content_len; /**< sms content size*/
+ char content[GSW_SMS_RECV_CONT_MAX + 1]; /**< sms content*/
+ gsw_sms_date_t date; /**< message time*/
+} gsw_sms_msg_type_t;
+
+typedef void (* GSW_HAL_SMS_CALLBACK_FUN)(gsw_sms_state_e state, gsw_sms_msg_type_t *report_info);
+
+
+int (*gsw_sms_reg_callback)(GSW_HAL_SMS_CALLBACK_FUN handle_ptr);
+int (*gsw_sms_sdk_init)(int32_t token);
+int (*gsw_sms_sdk_deinit)(void);
+int (*gsw_send_sms)(int8_t *phone_num, int32_t char_set, int8_t *msg, int32_t msg_len);
+int (*gsw_get_smsc_address)(int32_t len, int8_t *smsc);
+int (*gsw_set_smsc_address)(const int8_t *smsc);
+
+#define lib_gsw_sms_path "/lib/libgsw_lib.so"
+static void *dlHandle_sms;
+
+
+void gsw_test_callback(gsw_sms_state_e state, gsw_sms_msg_type_t *report_info)
+{
+ printf("gsw_test_callback: state = %d\n", state);
+ printf("gsw_test_callback: report_info->src_num = %s\n", report_info->src_num);
+ printf("gsw_test_callback: report_info->dest_num = %s\n", report_info->dest_num);
+ printf("gsw_test_callback: report_info->content_encode = %d\n", report_info->content_encode);
+ printf("gsw_test_callback: report_info->content_len = %d\n", report_info->content_len);
+ printf("gsw_test_callback: report_info->content = %s\n", report_info->content);
+ printf("gsw_test_callback: report_info->date->year = %s\n", report_info->date.year);
+ printf("gsw_test_callback: report_info->date->month = %s\n", report_info->date.month);
+ printf("gsw_test_callback: report_info->date->day = %s\n", report_info->date.day);
+ printf("gsw_test_callback: report_info->date->hour = %s\n", report_info->date.hour);
+ printf("gsw_test_callback: report_info->date->minutes = %s\n", report_info->date.minutes);
+ printf("gsw_test_callback: report_info->date->seconds = %s\n", report_info->date.seconds);
+ printf("gsw_test_callback: report_info->date->timezone = %s\n", report_info->date.timezone);
+}
+
+
+static int gsw_sms_api_import()
+{
+ dlHandle_sms = dlopen(lib_gsw_sms_path, RTLD_NOW);
+ if (dlHandle_sms == NULL) {
+ printf("Failed to open %s\n", lib_gsw_sms_path);
+ return -1;
+ }
+
+ gsw_sms_sdk_init = (int(*)(int32_t token))dlsym(dlHandle_sms,"gsw_sms_sdk_init");
+ if(gsw_sms_sdk_init == NULL)
+ {
+ printf("gsw_sms_sdk_init fail\n");
+ return -1;
+ }
+
+ gsw_sms_reg_callback = (int(*)(GSW_HAL_SMS_CALLBACK_FUN handle_ptr))dlsym(dlHandle_sms,"gsw_sms_reg_callback");
+ if(gsw_sms_reg_callback == NULL)
+ {
+ printf("gsw_sms_reg_callback fail\n");
+ return -1;
+ }
+
+ gsw_send_sms = (int(*)(int8_t *phone_num, int32_t char_set, int8_t *msg, int32_t msg_len))dlsym(dlHandle_sms,"gsw_send_sms");
+ if(gsw_send_sms == NULL)
+ {
+ printf("gsw_send_sms fail\n");
+ return -1;
+ }
+
+ gsw_get_smsc_address = (int(*)(int32_t len, int8_t *smsc))dlsym(dlHandle_sms,"gsw_get_smsc_address");
+ if(gsw_get_smsc_address == NULL)
+ {
+ printf("gsw_get_smsc_address fail\n");
+ return -1;
+ }
+
+ gsw_set_smsc_address = (int(*)(const int8_t *smsc))dlsym(dlHandle_sms,"gsw_set_smsc_address");
+ if(gsw_set_smsc_address == NULL)
+ {
+ printf("gsw_set_smsc_address fail\n");
+ return -1;
+ }
+
+ gsw_sms_sdk_deinit = (int(*)(void))dlsym(dlHandle_sms,"gsw_sms_sdk_deinit");
+ if(gsw_sms_sdk_deinit == NULL)
+ {
+ printf("gsw_sms_sdk_deinit fail\n");
+ return -1;
+ }
+
+ return 0;
+}
+
+int main()
+{
+ int ret = -1;
+ int opt = -1;
+ char operator[10];
+ char phone_number[GSW_HAL_SMS_ADDRESS_LEN] = {0};
+ char serv_numer[GSW_HAL_SMS_ADDRESS_LEN] = {0};
+
+ ret = gsw_sms_api_import();
+ if(ret != 0)
+ {
+ printf("gsw_sms_api_import fail\n");
+ return -1;
+ }
+
+ while(1)
+ {
+ printf("=========sms main=========\n"
+ "\t-1 exit\n"
+ "\t1 sms init\n"
+ "\t2 send text sms\n"
+ "\t3 wait receive new sms\n"
+ "\t4 send PDU sms\n"
+ "\t7 query service number\n"
+ "\t8 set service number\n"
+ "\t9 deinit sms\n"
+ "operator: >> \n");
+
+ opt = -1;
+ ret = -1;
+ printf("%s\n",fgets(operator, sizeof(operator), stdin));
+ fflush(stdin);
+ opt = atoi(operator);
+ switch (opt)
+ {
+ case -1:
+ {
+ printf("main exit\n");
+ return 0;
+ }
+ case 1:
+ {
+ printf("gsw_sms_sdk_init start");
+ ret = gsw_sms_sdk_init(1234);
+ if(ret != 0)
+ {
+ printf("gsw_sms_sdk_init fail,ret = %d\n",ret);
+ dlclose(dlHandle_sms);
+ continue;
+ }
+
+ break;
+ }
+ case 2:
+ {
+ char *tmp = "all man hello world";
+ printf("input phone number:\n");
+ memset(phone_number, 0x0, GSW_HAL_SMS_ADDRESS_LEN);
+ //fgets(phone_number, MAX_LEN, stdin);
+ printf("%d\n",scanf("%15s", phone_number));
+ fflush(stdin);
+ int len = strlen(tmp);
+ ret = gsw_send_sms((int8_t*)phone_number, 0, (int8_t*)tmp, len);
+ if(ret != 0)
+ {
+ printf("gsw_send_sms fail,ret = %d\n",ret);
+ continue;
+ }
+ break;
+ }
+
+ case 3:
+ {
+ printf("gsw_sms_reg_callback start\n");
+ ret = gsw_sms_reg_callback(gsw_test_callback);
+ if(ret != 0)
+ {
+ printf("gsw_sms_reg_callback fail,ret = %d\n",ret);
+ continue;
+ }
+ printf("gsw_sms_reg_callback end");
+ break;
+ }
+
+ case 4:
+ {
+ char *tmp = "你好";
+ printf("input phone number:\n");
+ memset(phone_number, 0x0, GSW_HAL_SMS_ADDRESS_LEN);
+ //fgets(phone_number, MAX_LEN, stdin);
+ printf("%d\n",scanf("%15s", phone_number));
+ fflush(stdin);
+ int len = strlen(tmp);
+ ret = gsw_send_sms((int8_t*)phone_number, 2, (int8_t *)tmp, len);
+ if(ret != 0)
+ {
+ printf("gsw_send_sms fail,ret = %d\n",ret);
+ continue;
+ }
+ break;
+ }
+
+ case 7:
+ {
+ printf("gsw_get_smsc_address start\n");
+ ret = gsw_get_smsc_address(GSW_HAL_SMS_ADDRESS_LEN, (int8_t *)serv_numer);
+ if(ret != 0)
+ {
+ printf("gsw_get_smsc_address fail,ret = %d\n",ret);
+ continue;
+ }
+ printf("smsc: %s\n", serv_numer);
+ break;
+ }
+
+ case 8:
+ {
+ printf("input phone number:\n");
+ memset(phone_number, 0x0, GSW_HAL_SMS_ADDRESS_LEN);
+ //fgets(phone_number, MAX_LEN, stdin);
+ printf("%d\n",scanf("%15s", phone_number));
+ fflush(stdin);
+ printf("start memcpy\n");
+ memcpy(serv_numer, phone_number, GSW_HAL_SMS_ADDRESS_LEN);
+ ret = gsw_set_smsc_address((const int8_t *)serv_numer);
+ if(ret != 0)
+ {
+ printf("gsw_set_smsc_address fail,ret = %d\n",ret);
+ continue;
+ }
+ printf("smsc: %s\n", serv_numer);
+ break;
+ }
+
+
+ case 9:
+ {
+
+ printf("gsw_sms_sdk_deinit start\n");
+ ret = gsw_sms_sdk_deinit();
+ if(ret != 0)
+ {
+ printf("gsw_sms_sdk_deinit fail,ret = %d\n",ret);
+ dlclose(dlHandle_sms);
+ continue;
+ }
+ break;
+ }
+
+ default:
+ {
+ continue;
+ }
+
+ }
+
+
+ }
+
+
+
+
+
+}
+
diff --git a/mbtk/test/libgsw_lib/gsw_tee_test.c b/mbtk/test/libgsw_lib/gsw_tee_test.c
new file mode 100755
index 0000000..8d845ae
--- /dev/null
+++ b/mbtk/test/libgsw_lib/gsw_tee_test.c
@@ -0,0 +1,130 @@
+#include <stdio.h>
+#include <string.h>
+#include <stdlib.h>
+#include <dlfcn.h>
+#include <unistd.h>
+#include <stdint.h>
+
+#define TEST_OBJECT_SIZE 7000
+
+void *dlHandle_tee;
+char *lynqLib_tee = "/lib/libgsw_lib.so";
+
+
+int32_t (*gsw_tee_sdk_init)(void);
+int32_t (*gsw_tee_write_secure_data)(const char* in_obj_name, char* in_buf, unsigned int in_buf_len);
+int32_t (*gsw_tee_read_secure_data)(const char* in_obj_name, char* out_buf, unsigned int* p_out_buf_len);
+int32_t (*gsw_tee_delete_secure_data)(const char* in_obj_name);
+int32_t (*gsw_tee_check_secure_data)(const char* in_obj_name);
+int32_t (*gsw_tee_sdk_deinit)(void);
+
+int tee_init(void)
+{
+ dlHandle_tee = dlopen(lynqLib_tee, RTLD_NOW);
+
+ if(dlHandle_tee == NULL)
+ {
+ printf("dlHandle_tee is NULL\n");
+ return -1;
+ }
+ printf("dlHandle_tee is success\n");
+
+ gsw_tee_sdk_init=(int32_t(*)())dlsym(dlHandle_tee, "gsw_tee_sdk_init");
+ if(gsw_tee_sdk_init == NULL)
+ {
+ printf("gsw_tee_sdk_init is NULL\n");
+ return -1;
+ }
+ printf("gsw_tee_sdk_init is success\n");
+
+ gsw_tee_write_secure_data=(int32_t(*)(const char* in_obj_name, char* in_buf, unsigned int in_buf_len))dlsym(dlHandle_tee, "gsw_tee_write_secure_data");
+ if(gsw_tee_write_secure_data == NULL)
+ {
+ printf("gsw_tee_write_secure_data is NULL\n");
+ return -1;
+ }
+
+
+ gsw_tee_read_secure_data=(int32_t(*)(const char* in_obj_name, char* in_buf, unsigned int* p_out_buf_len))dlsym(dlHandle_tee, "gsw_tee_read_secure_data");
+ if(gsw_tee_read_secure_data == NULL)
+ {
+ printf("gsw_tee_read_secure_data is NULL\n");
+ return -1;
+ }
+
+ gsw_tee_delete_secure_data=(int32_t(*)(const char* in_obj_name))dlsym(dlHandle_tee, "gsw_tee_delete_secure_data");
+ if(gsw_tee_delete_secure_data == NULL)
+ {
+ printf("gsw_tee_delete_secure_data is NULL\n");
+ return -1;
+ }
+
+ gsw_tee_check_secure_data=(int32_t(*)(const char* in_obj_name))dlsym(dlHandle_tee, "gsw_tee_check_secure_data");
+ if(gsw_tee_check_secure_data == NULL)
+ {
+ printf("gsw_tee_check_secure_data is NULL\n");
+ return -1;
+ }
+
+ gsw_tee_sdk_deinit=(int32_t(*)())dlsym(dlHandle_tee, "gsw_tee_sdk_deinit");
+ if(gsw_tee_sdk_deinit == NULL)
+ {
+ printf("gsw_tee_sdk_deinit is NULL\n");
+ return -1;
+ }
+
+ return 0;
+}
+
+
+
+int main(void)
+{
+ int ret;
+ unsigned int len;
+ char obj1_id[] = "object#1";
+ char obj1_data[] = "123456789";
+ char read_data[TEST_OBJECT_SIZE];
+
+ printf("gsw_optee_test start\n");
+ ret = tee_init();
+ if(ret != 0)
+ {
+ printf("tee_init fail\n");
+ }
+
+ ret = gsw_tee_sdk_init();
+ if(ret != 0)
+ {
+ printf("gsw_tee_sdk_init fail\n");
+ return ret;
+ }
+ ret = gsw_tee_write_secure_data(obj1_id, obj1_data, sizeof(obj1_data));
+ if(ret != 0)
+ {
+ printf("gsw_tee_write_secure_data fail\n");
+ return ret;
+ }
+
+ ret = gsw_tee_read_secure_data(obj1_id, read_data, &len);
+ if(ret != 0)
+ {
+ printf("gsw_tee_read_secure_data fail\n");
+ return ret;
+ }
+ printf("read_data: %s\n", read_data);
+
+ ret = gsw_tee_delete_secure_data(obj1_id);
+ if(ret != 0)
+ {
+ printf("gsw_tee_delete_secure_data fail\n");
+ return ret;
+ }
+ ret = gsw_tee_check_secure_data(obj1_id);
+ printf("gsw_tee_check_secure_data ret = %d\n", ret);
+
+ ret = gsw_tee_sdk_deinit();
+ printf("gsw_tee_sdk_deinit ret = %d\n", ret);
+ return 0;
+
+}
diff --git a/mbtk/test/libgsw_lib/gsw_uart_test.c b/mbtk/test/libgsw_lib/gsw_uart_test.c
new file mode 100755
index 0000000..95b7654
--- /dev/null
+++ b/mbtk/test/libgsw_lib/gsw_uart_test.c
@@ -0,0 +1,215 @@
+#include <stdio.h>
+#include <string.h>
+#include <strings.h>
+#include <stdlib.h>
+#include <errno.h>
+#include <fcntl.h>
+#include <signal.h>
+#include <sys/types.h>
+#include <unistd.h>
+#include <pthread.h>
+#include <termios.h>
+#include <time.h>
+#include <sys/ioctl.h>
+#include <dlfcn.h>
+#include <stdint.h>
+#include <stdbool.h>
+#define MY_IOCTL_CMD3 _IOW('d', 1, char*) // 写入字符串
+typedef enum{
+ GSW_HAL_BAUDRATE_1200=1200,
+ GSW_HAL_BAUDRATE_1800=1800,
+ GSW_HAL_BAUDRATE_4800=4800,
+ GSW_HAL_BAUDRATE_9600=9600,
+ GSW_HAL_BAUDRATE_19200=19200,
+ GSW_HAL_BAUDRATE_38400=38400,
+ GSW_HAL_BAUDRATE_57600=57600,
+ GSW_HAL_BAUDRATE_115200=115200,
+ GSW_HAL_BAUDRATE_230400=230400,
+ GSW_HAL_BAUDRATE_460800=460800,
+ GSW_HAL_BAUDRATE_500000=500000,
+ GSW_HAL_BAUDRATE_576000=576000,
+ GSW_HAL_BAUDRATE_921600=921600
+}gsw_hal_uart_baudrate;
+
+int32_t (*gsw_uart_open_ex)(int8_t *port, gsw_hal_uart_baudrate, uint32_t, int8_t, uint32_t);
+int32_t (*gsw_uart_flush)(int32_t);
+int32_t (*gsw_uart_close)(int32_t);
+int32_t (*gsw_uart_write)(int32_t, const uint8_t *buffer, uint32_t);
+int32_t (*gsw_uart_read)(int32_t, uint8_t *buffer, uint32_t, int32_t);
+int32_t (*gsw_uart_ioctl)(int32_t, uint32_t, void *pvalue);
+void *dlHandle_uart;
+char *lynqLib_uart = "/lib/libgsw_lib.so";
+
+
+int8_t *port;
+gsw_hal_uart_baudrate baudrate;
+uint32_t bits = -1;
+int8_t parity = 3;
+uint32_t stop = -1;
+int fd = -1;
+int ret = -1;
+void prama(char *buffer)
+{
+ char *words[10];
+ for (int i = 0; i < 10; i++)
+ {
+ words[i] = (char *)malloc(20 * sizeof(char));
+ if (words[i] != NULL)
+ {
+ strcpy(words[i], "");
+ }
+ }
+ int i = 0;
+ buffer[strlen(buffer)-1] = '\0';
+ char *token = strtok(buffer, " ");
+ while (token != NULL && i < 10)
+ {
+ strcpy(words[i], token);
+ printf("var%d = %s\n", i, words[i]);
+ i++;
+ token = strtok(NULL, " ");
+ }
+ if (words[0])
+ port = (int8_t *)words[0];
+ if (words[1])
+ baudrate = atoi(words[1]);
+ if (words[2])
+ bits = atoi(words[2]);
+ if (words[3])
+ parity = (int8_t)(words[3][0]);
+ if (words[4])
+ stop = atoi(words[4]);
+
+ for (int i = 1; i < 10; i++)
+ {
+ free(words[i]);
+ }
+ return;
+}
+
+void *read_function(void *timeout_ms)
+{
+ uint8_t buf[128];
+ while(1)
+ {
+ memset(buf,0,sizeof(buf));
+ ret = gsw_uart_read(fd, buf, sizeof(buf) - 1, *(int *)timeout_ms);
+ if(ret > 0)
+ {
+ if(memcmp(buf, "exit", 4) == 0)
+ {
+ printf("exit\n");
+ break;
+ }
+ printf("%s\n",buf);
+ printf("gsw_uart_read success.\n");
+ }
+ }
+ close(fd);
+ return NULL;
+}
+
+int main(void)
+{
+ int opt = 0;
+ int timeout_ms;
+ dlHandle_uart = dlopen(lynqLib_uart, RTLD_NOW);
+ pthread_t read_thread;
+ while(1)
+ {
+ printf("=========uart main=========\n");
+ if (scanf("%d", &opt) != 1)
+ printf("input error,please check it");
+ while(getchar()!='\n');
+ switch (opt)
+ {
+ case 1:
+ {
+ char buffer[126];
+ if (fgets(buffer, sizeof(buffer), stdin) == NULL)
+ {
+ printf("input error\n");
+ break;
+ }
+ prama(buffer);
+ gsw_uart_open_ex=(int32_t(*)(int8_t *port, gsw_hal_uart_baudrate, uint32_t, int8_t, uint32_t))dlsym(dlHandle_uart, "gsw_uart_open_ex");
+ fd = gsw_uart_open_ex(port, baudrate, bits, parity, stop);
+ if(fd < 0)
+ {
+ printf("gsw_uart_open_ex FAIL.\n");
+ break;
+ }
+
+ printf("gsw_uart_open_ex success.\n");
+ break;
+ }
+
+ case 2:
+ {
+ gsw_uart_flush=(int32_t(*)(int32_t))dlsym(dlHandle_uart, "gsw_uart_flush");
+ ret = gsw_uart_flush(fd);
+ if(ret < 0)
+ {
+ printf("gsw_uart_flush FAIL.\n");
+ break;
+ }
+ printf("gsw_uart_flush success.\n");
+ break;
+ }
+
+ case 3:
+ {
+ gsw_uart_close=(int32_t(*)(int32_t))dlsym(dlHandle_uart, "gsw_uart_close");
+ ret = gsw_uart_close(fd);
+ if(ret < 0)
+ {
+ printf("gsw_uart_close FAIL.\n");
+ break;
+ }
+ free(port);
+ printf("gsw_uart_close success.\n");
+ return 0;
+ }
+
+ case 4:
+ {
+ const uint8_t *buf = (const uint8_t *)"Hello ward";
+ gsw_uart_write=(int32_t(*)(int32_t, const uint8_t *buffer, uint32_t))dlsym(dlHandle_uart, "gsw_uart_write");
+ ret = gsw_uart_write(fd, buf, strlen((const char* )buf));
+ if(ret < 0)
+ {
+ printf("gsw_uart_write FAIL.\n");
+ break;
+ }
+ printf("gsw_uart_write success.\n");
+ break;
+ }
+
+ case 5:
+ {
+ printf("Non-blocking read : 0\nBlockage : 1\nTimeout time (milliseconds) : greater than 1\n");
+ ret = scanf("%d",&timeout_ms);
+ gsw_uart_read=(int32_t(*)(int32_t, uint8_t *buffer, uint32_t, int32_t))dlsym(dlHandle_uart, "gsw_uart_read");
+ pthread_create(&read_thread, NULL, read_function, (void *)&timeout_ms);
+ pthread_join(read_thread, NULL);
+ break;
+ }
+
+ case 6:
+ {
+ char buf[128] = "Hello ward";
+ gsw_uart_ioctl=(int32_t(*)(int32_t, uint32_t, void *pvalue))dlsym(dlHandle_uart, "gsw_uart_ioctl");
+ ret = gsw_uart_ioctl(fd, MY_IOCTL_CMD3, buf);
+ if(ret < 0)
+ {
+ printf("gsw_uart_ioctl FAIL.\n");
+ break;
+ }
+ printf("gsw_uart_ioctl success.\n");
+ break;
+ }
+ }
+
+ }
+ return 0;
+}
diff --git a/mbtk/test/libgsw_lib/gsw_usb_test.c b/mbtk/test/libgsw_lib/gsw_usb_test.c
new file mode 100755
index 0000000..8d58ed9
--- /dev/null
+++ b/mbtk/test/libgsw_lib/gsw_usb_test.c
@@ -0,0 +1,95 @@
+#include <stdio.h>
+#include <string.h>
+#include <strings.h>
+#include <stdlib.h>
+#include <errno.h>
+#include <fcntl.h>
+#include <signal.h>
+#include <sys/types.h>
+#include <unistd.h>
+#include <pthread.h>
+#include <termios.h>
+#include <time.h>
+#include <sys/ioctl.h>
+#include <dlfcn.h>
+#include <stdint.h>
+#include <stdbool.h>
+
+#include "gsw_usb.h"
+
+int32_t (*gsw_usb_permanent_switch_demo)(EN_GSW_USB_SWITCH_TYPE type);
+int32_t (*gsw_usb_tempporary_switch_demo)(EN_GSW_USB_SWITCH_TYPE type);
+void *dlHandle;
+char *lynqLib = "/lib/libgsw_lib.so";
+
+int main(int argc, char *argv[])
+{
+ int ret;
+ EN_GSW_USB_SWITCH_TYPE type;
+ bool usb_change = false;
+ if(argc != 2)
+ {
+ printf("parameter error,please input open or close\n");
+ return -1;
+ }
+
+ if(strcmp(argv[0],"gsw_usb_test") == 0)
+ usb_change = true;
+ else
+ usb_change = false;
+ printf("usb is %s\n",argv[1]);
+ if(strcmp(argv[1],"open") == 0)
+ type = EN_GSW_USB_SWITCH_OPEN;
+ else if(strcmp(argv[1],"close") == 0)
+ type = EN_GSW_USB_SWITCH_CLOSE;
+ else
+ {
+ printf("parameter error,please input open or close\n");
+ return -1;
+ }
+ dlHandle = dlopen(lynqLib, RTLD_NOW);
+ if(dlHandle == NULL)
+ {
+ printf("dlopen libgsw_lib fail\n");
+ return -1;
+ }
+ if(usb_change)
+ {
+ gsw_usb_permanent_switch_demo=(int32_t(*)(EN_GSW_USB_SWITCH_TYPE type))dlsym(dlHandle, "gsw_usb_permanent_switch");
+ if(gsw_usb_permanent_switch_demo == NULL)
+ {
+ printf("dlsym gsw_usb_permanent_switch_demo fail\n");
+ return -1;
+ }
+ ret = gsw_usb_permanent_switch_demo(type);
+ if(ret)
+ {
+ printf("gsw_usb_permanent_switch_demo fail\n");
+ }
+ else
+ {
+ printf("gsw_usb_permanent_switch_demo successful\n");
+ }
+ }
+ else
+ {
+ gsw_usb_tempporary_switch_demo=(int32_t(*)(EN_GSW_USB_SWITCH_TYPE type))dlsym(dlHandle, "gsw_usb_tempporary_switch");
+ if(gsw_usb_tempporary_switch_demo == NULL)
+ {
+ printf("dlsym gsw_usb_tempporary_switch_demo fail\n");
+ return -1;
+ }
+ ret = gsw_usb_tempporary_switch_demo(type);
+ if(ret)
+ {
+ printf("gsw_usb_tempporary_switch_demo fail\n");
+ }
+ else
+ {
+ printf("gsw_usb_tempporary_switch_demo successful\n");
+ }
+ }
+
+
+ return 0;
+}
diff --git a/mbtk/test/libgsw_lib/gsw_uuid_test.c b/mbtk/test/libgsw_lib/gsw_uuid_test.c
new file mode 100755
index 0000000..f02ccb2
--- /dev/null
+++ b/mbtk/test/libgsw_lib/gsw_uuid_test.c
@@ -0,0 +1,70 @@
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <fcntl.h>
+#include <unistd.h>
+#include <sys/ioctl.h>
+
+#define CPMEM_DEVICE "/dev/cpmem"
+#define CPLOAD_IOC_MAGIC 'Z'
+#define CPLOAD_IOCTL_SET_CP_ADDR _IOW(CPLOAD_IOC_MAGIC, 1, int)
+#define CPLOAD_IOCTL_GET_CP_FUSE _IOR(CPLOAD_IOC_MAGIC, 2, int)
+
+static int getUniqueKey(unsigned char *key, int keylen)
+{
+ unsigned char ukey[24];
+ int fd;
+
+ if (keylen < 16)
+ {
+ fprintf(stderr, "Error: Key length must be at least 16 bytes.\n");
+ return -1;
+ }
+
+ fd = open(CPMEM_DEVICE, O_RDONLY);
+ if (fd == -1)
+ {
+ perror("Error opening device");
+ return -1;
+ }
+
+ memset(ukey, 0, sizeof(ukey));
+
+ if (ioctl(fd, CPLOAD_IOCTL_GET_CP_FUSE, ukey) == -1)
+ {
+ perror("Error in ioctl");
+ close(fd);
+ return -1;
+ }
+
+ close(fd);
+
+ memcpy(key, ukey, 8);
+ memcpy(&key[8], ukey, 8);
+
+ return 0;
+}
+
+int main()
+{
+ unsigned char key[16];
+ int ret;
+
+ ret = getUniqueKey(key, sizeof(key));
+ if (ret == 0)
+ {
+ printf("Unique Key: ");
+ for (int i = 0; i < sizeof(key)/2; i++)
+ {
+ printf("%02x", key[i]);
+ }
+ printf("\n");
+ }
+ else
+ {
+ fprintf(stderr, "Failed to get unique key.\n");
+ return EXIT_FAILURE;
+ }
+
+ return EXIT_SUCCESS;
+}
\ No newline at end of file
diff --git a/mbtk/test/libgsw_lib/gsw_voice_test.c b/mbtk/test/libgsw_lib/gsw_voice_test.c
new file mode 100755
index 0000000..894ac86
--- /dev/null
+++ b/mbtk/test/libgsw_lib/gsw_voice_test.c
@@ -0,0 +1,494 @@
+#include <stdio.h>
+#include <stdlib.h>
+#include <stdbool.h>
+#include <dlfcn.h>
+#include <stdint.h>
+#include <string.h>
+#include <pthread.h>
+
+// mbtk includes
+
+typedef unsigned int uint32;
+typedef unsigned char uint8;
+typedef unsigned short uint16;
+typedef void (*mbtk_info_callback_func)(const void* data, int data_len);
+
+typedef struct
+{
+ int client_fd;
+ pthread_t read_thread_id;
+ int exit_fd[2];
+ bool is_waitting;
+ pthread_cond_t cond;
+ pthread_mutex_t mutex;
+
+ pthread_mutex_t send_mutex;
+
+ // Temp response data.
+ uint16 info_err;
+ uint16 data_len;
+ void *data;
+
+ //mbtk wyq for server_ready_status add start
+ char server_ready_status;
+ //mbtk wyq for server_ready_status add end
+
+ mbtk_info_callback_func net_state_cb;
+ mbtk_info_callback_func call_state_cb;
+ mbtk_info_callback_func sms_state_cb;
+ mbtk_info_callback_func radio_state_cb;
+ mbtk_info_callback_func sim_state_cb;
+ mbtk_info_callback_func pdp_state_cb;
+ //add signal by xr
+ mbtk_info_callback_func signal_state_cb;
+} mbtk_info_handle_t;
+
+typedef struct
+{
+ uint8 call_wait;
+ uint8 dir1;
+ uint8 dir;
+ uint8 state;
+ uint8 mode;
+ uint8 mpty;
+ char phone_number[100];
+ uint8 type;
+ uint8 pas;
+ uint8 disconnected_id;
+} __attribute__((packed)) mbtk_call_info_t;
+
+typedef enum {
+ MBTK_CLCC = 1,
+ MBTK_CPAS,
+ MBTK_DISCONNECTED,
+} mbtk_call_enum;
+
+typedef enum {
+ MBTK_CALL_RADY, //MT allows commands from TA/TE
+ MBTK_CALL_UNAVAILABLE, //MT does not allow commands from TA/TE
+ MBTK_CALL_UNKNOWN, //MT is not guaranteed to respond to instructions
+ MBTK_CALL_RINGING, //MT is ready for commands from TA/TE, but the ringer is active
+ MBTK_CALL_PROGRESS, //MT is ready for commands from TA/TE, but a call is in progress
+ MBTK_CALL_ASLEEP, //MT is unable to process commands from TA/TE because it is in a low functionality state
+ MBTK_CALL_ACTIVE,
+} mbtk_call_pas_enum;
+
+typedef uint32_t voice_client_handle_type;
+
+
+// GSW includes
+#define GSW_HAL_SUCCESS 0
+#define GSW_HAL_FAIL -1
+#define GSW_HAL_MEM_INVAILD -2
+
+
+typedef int CallHandle;
+typedef enum {
+ GSW_VOICE_CALL_HOLDING = 0,
+ GSW_VOICE_CALL_DIALING,
+ GSW_VOICE_CALL_ALERTING,
+ GSW_VOICE_CALL_CONNECTED,
+ GSW_VOICE_CALL_INCOMING,
+ GSW_VOICE_CALL_WAITING,
+ GSW_VOICE_CALL_END,
+}VoiceCallState;
+
+typedef enum{
+ GSW_AUDIO_MODE_CODEC = 0,
+ GSW_AUDIO_MODE_RTP = 1,
+}AudioMode;
+
+typedef enum {
+ GSW_RTP_CLIENT = 0,
+ GSW_RTP_SERVER,
+}RTPMode;
+
+typedef void (*CallStateInd)(CallHandle, VoiceCallState);
+
+
+int32_t (*gsw_voice_sdk_init)(CallStateInd ind);
+int32_t (*gsw_voice_set_speaker_volume)(int32_t volume);
+int32_t (*gsw_voice_normal_voice_start)(CallHandle *handle, const char *callNumber);
+int32_t (*gsw_voice_answer)(CallHandle handle);
+int32_t (*gsw_voice_hangup)(CallHandle handle);
+int32_t (*gsw_voice_set_auto_answer_mode)(int32_t mode);
+int32_t (*gsw_voice_get_current_call_end_reason)(CallHandle handle);
+/*#############################rtp begin*/
+int32_t (*gsw_voice_set_audio_mode)(AudioMode audioMode);
+int32_t (*gsw_voice_set_remote_rtp_ip)(const char *ip, int32_t len);
+int32_t (*gsw_voice_set_rtp_port)(RTPMode rtpMode, int32_t port);
+int32_t (*gsw_voice_set_rtp_param)(int32_t clockRate, int32_t channel, int32_t latency);
+/*#############################rtp end*/
+
+CallHandle call_handle;
+
+#define lib_gsw_voice_path "/lib/libgsw_lib.so"
+static void *dlHandle_voice = NULL;
+
+void gsw_test_callback(CallHandle handle, VoiceCallState state)
+{
+
+ printf("gsw_test_callback succeess!\n");
+ printf("id = %d, state = %d\n", handle, state);
+
+ call_handle = handle;
+ printf("set call_handle = %d\n", call_handle);
+ printf("call_handle = %d\n", call_handle);
+
+}
+
+static int gsw_rtp_api_import()
+{
+ gsw_voice_set_audio_mode = (int32_t (*)(AudioMode audioMode))dlsym(dlHandle_voice, "gsw_voice_set_audio_mode");
+ if(gsw_voice_set_audio_mode == NULL) {
+ printf("dlsym gsw_voice_set_audio_mode failed: %s\n", dlerror());
+ return -1;
+ }
+
+
+ gsw_voice_set_remote_rtp_ip = (int32_t (*)(const char *ip, int32_t len))dlsym(dlHandle_voice, "gsw_voice_set_remote_rtp_ip");
+ if(gsw_voice_set_remote_rtp_ip == NULL) {
+ printf("dlsym gsw_voice_set_remote_rtp_ip failed: %s\n", dlerror());
+ return -1;
+ }
+
+
+ gsw_voice_set_rtp_port = (int32_t (*)(RTPMode rtpMode, int32_t port))dlsym(dlHandle_voice, "gsw_voice_set_rtp_port");
+ if(gsw_voice_set_rtp_port == NULL) {
+ printf("dlsym gsw_voice_set_rtp_port failed: %s\n", dlerror());
+ return -1;
+ }
+
+
+ gsw_voice_set_rtp_param = (int32_t (*)(int32_t clockRate, int32_t channel, int32_t latency))dlsym(dlHandle_voice, "gsw_voice_set_rtp_param");
+ if(gsw_voice_set_rtp_param == NULL) {
+ printf("dlsym gsw_voice_set_rtp_param failed: %s\n", dlerror());
+ return -1;
+ }
+
+ gsw_voice_get_current_call_end_reason = (int32_t (*)(CallHandle handle))dlsym(dlHandle_voice, "gsw_voice_get_current_call_end_reason");
+ if(gsw_voice_get_current_call_end_reason == NULL) {
+ printf("dlsym gsw_voice_get_current_call_end_reason failed: %s\n", dlerror());
+ return -1;
+ }
+
+ return 0;
+
+}
+
+
+
+static int gsw_call_api_import()
+{
+ dlHandle_voice = dlopen(lib_gsw_voice_path, RTLD_NOW);
+ if (!dlHandle_voice) {
+ printf("dlopen %s failed: %s\n", lib_gsw_voice_path, dlerror());
+ return -1;
+ }
+
+ gsw_voice_sdk_init = (int32_t (*)(CallStateInd ind))dlsym(dlHandle_voice, "gsw_voice_sdk_init");
+ if(gsw_voice_sdk_init == NULL) {
+ printf("dlsym gsw_voice_sdk_init failed: %s\n", dlerror());
+ return -1;
+ }
+
+ gsw_voice_set_speaker_volume = (int32_t (*)(int32_t volume))dlsym(dlHandle_voice, "gsw_voice_set_speaker_volume");
+ if(gsw_voice_set_speaker_volume == NULL) {
+ printf("dlsym gsw_voice_set_speaker_volume failed: %s\n", dlerror());
+ return -1;
+ }
+
+ gsw_voice_normal_voice_start = (int32_t (*)(CallHandle *, const char *))dlsym(dlHandle_voice, "gsw_voice_normal_voice_start");
+ if(gsw_voice_normal_voice_start == NULL) {
+ printf("dlsym gsw_voice_normal_voice_start failed: %s\n", dlerror());
+ return -1;
+ }
+
+ gsw_voice_answer = (int32_t (*)(CallHandle handle))dlsym(dlHandle_voice, "gsw_voice_answer");
+ if(gsw_voice_answer == NULL) {
+ printf("dlsym gsw_voice_answer failed: %s\n", dlerror());
+ return -1;
+
+ }
+
+ gsw_voice_hangup = (int32_t (*)(CallHandle handle))dlsym(dlHandle_voice, "gsw_voice_hangup");
+ if(gsw_voice_hangup == NULL) {
+ printf("dlsym gsw_voice_hangup failed: %s\n", dlerror());
+ return -1;
+ }
+
+ gsw_voice_set_auto_answer_mode = (int32_t (*)(int32_t mode))dlsym(dlHandle_voice, "gsw_voice_set_auto_answer_mode");
+ if(gsw_voice_set_auto_answer_mode == NULL) {
+ printf("dlsym gsw_voice_set_auto_answer_mode failed: %s\n", dlerror());
+ return -1;
+ }
+
+ return gsw_rtp_api_import();
+}
+
+int main()
+{
+ char operator[10];
+ int opt;
+ int ret;
+
+ gsw_call_api_import();
+
+ while(1)
+ {
+ printf("=========gsw voice main=========\n"
+ "\t-1 exit\n"
+ "\t1 voice init\n"
+ "\t2 voice dial\n"
+ "\t3 voice hangup\n"
+ "\t4 voice answer\n"
+ "\t5 set auto answer mode\n"
+ "\t6 set speaker volume\n"
+ "\t7 set audio mode (local codec or rtp) \n"
+ "\t8 set remote rtp ip\n"
+ "\t9 set rtp port\n"
+ "\t10 set rtp param\n"
+ "\t11 get current call end reason\n"
+ "operator: >> \n");
+
+ memset(operator, 0, sizeof(operator));
+ printf("%s\n",fgets(operator, sizeof(operator), stdin));
+ fflush(stdin);
+ opt = atoi(operator);
+ switch (opt)
+ {
+ case -1:
+ printf("main exit\n");
+ return 0;
+ case 1:
+ {
+ printf(">>>>>voice init\n");
+ ret = gsw_voice_sdk_init(gsw_test_callback);
+ if(ret != 0)
+ {
+ printf("gsw_voice_sdk_init fail\n");
+ }
+ else
+ {
+ printf("gsw_voice_sdk_init success\n");
+ }
+ }
+ break;
+ case 2:
+ {
+ printf(">>>>>Input gsw_voice_normal_voice_start<<<<<\n");
+ char number[16] = {0};
+ printf("Enter call number\n");
+ printf("%d\n",scanf("%15s", number));
+ printf("call number is %s\n", number);
+
+ ret = gsw_voice_normal_voice_start(&call_handle, number);
+ if(ret < 0)
+ {
+ printf("gsw_voice_normal_voice_start fail\n");
+ }
+ else
+ {
+ printf("gsw_voice_normal_voice_start success\n");
+ }
+ }
+ break;
+ case 3:
+ {
+ printf(">>>>>Input gsw_voice_hangup<<<<<\n");
+ printf("call_handle is %d\n", call_handle);
+ ret = gsw_voice_hangup(call_handle);
+ if(ret < 0)
+ {
+ printf("gsw_voice_hangup fail\n");
+ }
+ else
+ {
+ printf("gsw_voice_hangup success\n");
+ }
+ }
+ break;
+ case 4:
+ {
+ printf(">>>>>Input gsw_voice_answer<<<<<\n");
+ printf("call_handle is %d\n", call_handle);
+ ret = gsw_voice_answer(call_handle);
+ if(ret < 0)
+ {
+ printf("gsw_voice_answer fail\n");
+ }
+ else
+ {
+ printf("gsw_voice_answer success\n");
+ }
+ }
+ break;
+ case 5:
+ {
+ printf(">>>>>Input gsw_voice_set_auto_answer_mode<<<<<\n");
+
+ int mode = 0;
+ printf("Enter set mode\n");
+ printf("%d\n",scanf("%d", &mode));
+ fflush(stdin);
+ printf("mode is %d\n", mode);
+
+ printf("start set auto answer mode(0:disable, 1:enable)\n");
+ ret = gsw_voice_set_auto_answer_mode(mode);
+ if(ret < 0)
+ {
+ printf("gsw_voice_set_auto_answer_mode fail\n");
+ }
+ else
+ {
+ printf("gsw_voice_set_auto_answer_mode success\n");
+ }
+ }
+ break;
+ case 6:
+ {
+ printf(">>>>>Input gsw_voice_set_speaker_volume<<<<<\n");
+
+
+ int volume;
+
+ printf("Enter set volume\n");
+ printf("%d\n",scanf("%d", &volume));
+ fflush(stdin);
+ printf("volume is %d\n", volume);
+
+ ret = gsw_voice_set_speaker_volume(volume);
+ if(ret < 0)
+ {
+ printf("gsw_voice_set_speaker_volume fail\n");
+ }
+ else
+ {
+ printf("gsw_voice_set_speaker_volume success\n");
+ }
+ }
+ break;
+ /*#############################rtp begin*/
+ case 7:
+ {
+ printf(">>>>>Input gsw_voice_set_audio_mode<<<<<\n");
+
+ int mode;
+
+ printf("Enter set mode (0: local codec, 1:rtp)\n");
+ printf("%d\n",scanf("%d", &mode));
+ fflush(stdin);
+ printf("mode is %d\n", mode);
+
+ ret = gsw_voice_set_audio_mode(mode);
+ if(ret != 0)
+ {
+ printf("gsw_voice_set_audio_mode fail\n");
+ }
+ else
+ {
+ printf("gsw_voice_set_audio_mode success\n");
+ }
+ }
+ break;
+
+ case 8:
+ {
+ printf(">>>>>Input gsw_voice_set_remote_rtp_ip<<<<<\n");
+
+ char remote_ip_addr[100] = {0};
+
+ printf("Enter set remote rtp ip address (***.***.***.***) \n");
+ printf("%d\n",scanf("%s", remote_ip_addr));
+ fflush(stdin);
+ printf("remote rtp ip address is %s\n", remote_ip_addr);
+
+ ret = gsw_voice_set_remote_rtp_ip(remote_ip_addr,strlen(remote_ip_addr)+1);
+ if(ret != 0)
+ {
+ printf("gsw_voice_set_remote_rtp_ip fail\n");
+ }
+ else
+ {
+ printf("gsw_voice_set_remote_rtp_ip success\n");
+ }
+ }
+ break;
+
+ case 9:
+ {
+ printf(">>>>>Input gsw_voice_set_rtp_port<<<<<\n");
+
+ int mode;
+ int port;
+ printf("Enter set mode (0: server, 1:client)\n");
+ printf("%d\n",scanf("%d", &mode));
+ fflush(stdin);
+ printf("mode is %d\n", mode);
+
+ printf("Enter set port\n");
+ printf("%d\n",scanf("%d", &port));
+ fflush(stdin);
+ printf("port is %d\n", port);
+
+ ret = gsw_voice_set_rtp_port(mode,port);
+ if(ret != 0)
+ {
+ printf("gsw_voice_set_rtp_port fail\n");
+ }
+ else
+ {
+ printf("gsw_voice_set_rtp_port success\n");
+ }
+ }
+ break;
+
+
+ case 10:
+ {
+ printf(">>>>>Input gsw_voice_set_rtp_param<<<<<\n");
+
+ int clockRate;
+ int channel;
+ int latency=400;
+
+ printf("Enter set clockRate (only 8000 and 16000 supoort) \n");
+ printf("%d\n",scanf("%d", &clockRate));
+ fflush(stdin);
+ printf("clockRate is %d\n", clockRate);
+
+ printf("Enter set channel (only 1 support)\n");
+ printf("%d\n",scanf("%d", &channel));
+ fflush(stdin);
+ printf("channel is %d\n", channel);
+
+ ret = gsw_voice_set_rtp_param(clockRate, channel, latency);
+ if(ret != 0)
+ {
+ printf("gsw_voice_set_rtp_param fail\n");
+ }
+ else
+ {
+ printf("gsw_voice_set_rtp_param success\n");
+ }
+ }
+ break;
+ /*#############################rtp end*/
+
+ case 11:
+ {
+ printf(">>>>gsw_voice_get_current_call_end_reason<<<\n");
+ ret = gsw_voice_get_current_call_end_reason(call_handle);
+ printf("gsw_voice_get_current_call_end_reason = %d\n", ret);
+ break;
+ }
+
+ default:
+ break;
+ }
+
+ }
+
+ return 0;
+
+}
diff --git a/mbtk/test/libgsw_lib/lynq_bus_hound_monitor.c b/mbtk/test/libgsw_lib/lynq_bus_hound_monitor.c
new file mode 100755
index 0000000..3a81b8c
--- /dev/null
+++ b/mbtk/test/libgsw_lib/lynq_bus_hound_monitor.c
@@ -0,0 +1,200 @@
+/*@file lynq-ndis-uevent.c
+* @brief adb default port is closed, The uevent event of NDIS is reported to switch port.
+* @author dongyu
+* @date 2022-10-14
+* @version V1.0
+* @copyright MobileTek
+*/
+#include <stdio.h>
+#include <string.h>
+#include <strings.h>
+#include <stdlib.h>
+#include <errno.h>
+#include <fcntl.h>
+#include <signal.h>
+#include <sys/types.h>
+#include <unistd.h>
+#include <pthread.h>
+#include <termios.h>
+#include <time.h>
+#include <sys/ioctl.h>
+#include <dlfcn.h>
+#include <stdint.h>
+#include <stdbool.h>
+
+#include <sys/socket.h>
+#include <linux/netlink.h>
+
+#define UEVENT_MSG_LEN 1024
+#define USB_REPORTING 3300
+
+struct uevent {
+ const char *action;
+ const char *path;
+ const char *subsystem;
+ const char *firmware;
+ const char *calluser;
+ int major;
+ int minor;
+};
+
+static int open_uevent_socket(void)
+{
+ struct sockaddr_nl addr;
+ int sz = 64*1024;
+ int on = 1;
+ int s;
+
+ memset(&addr, 0, sizeof(addr));
+ addr.nl_family = AF_NETLINK;
+ addr.nl_pid = getpid();
+ addr.nl_groups = 0xffffffff;
+
+ s = socket(PF_NETLINK, SOCK_DGRAM, NETLINK_KOBJECT_UEVENT);
+ if(s < 0)
+ return -1;
+
+ setsockopt(s, SOL_SOCKET, SO_RCVBUFFORCE, &sz, sizeof(sz));
+ setsockopt(s, SOL_SOCKET, SO_PASSCRED, &on, sizeof(on));
+
+ if(bind(s, (struct sockaddr *) &addr, sizeof(addr)) < 0) {
+ close(s);
+ return -1;
+ }
+
+ return s;
+}
+
+static void parse_event(const char *msg, struct uevent *uevent)
+{
+ uevent->action = "";
+ uevent->path = "";
+ uevent->subsystem = "";
+ uevent->firmware = "";
+ uevent->calluser = "";
+ uevent->major = -1;
+ uevent->minor = -1;
+
+ /* currently ignoring SEQNUM */
+ while(*msg) {
+ printf("%s\n", msg);
+ if(!strncmp(msg, "ACTION=", 7)) {
+ msg += 7;
+ uevent->action = msg;
+ } else if(!strncmp(msg, "DEVPATH=", 8)) {
+ msg += 8;
+ uevent->path = msg;
+ } else if(!strncmp(msg, "SUBSYSTEM=", 10)) {
+ msg += 10;
+ uevent->subsystem = msg;
+ } else if(!strncmp(msg, "FIRMWARE=", 9)) {
+ msg += 9;
+ uevent->firmware = msg;
+ } else if(!strncmp(msg, "MAJOR=", 6)) {
+ msg += 6;
+ uevent->major = atoi(msg);
+ } else if(!strncmp(msg, "MINOR=", 6)) {
+ msg += 6;
+ uevent->minor = atoi(msg);
+ } else if(!strncmp(msg, "CALL_USER=", 10)) {
+ msg += 10;
+ uevent->calluser = msg;
+ }
+
+ /* advance to after the next \0 */
+ while(*msg++);
+ }
+
+ printf("event { '%s', '%s', '%s', '%s', %d, %d }\n",
+ uevent->action, uevent->path, uevent->subsystem,
+ uevent->firmware, uevent->major, uevent->minor);
+}
+
+int handle_device_fd(int fd)
+{
+ printf("enter %s\n", __func__);
+ char cmd[128] = {0};
+ for(;;) {
+ char msg[UEVENT_MSG_LEN+2];
+ char cred_msg[CMSG_SPACE(sizeof(struct ucred))];
+ struct iovec iov = {msg, sizeof(msg)};
+ struct sockaddr_nl snl;
+ struct msghdr hdr = {&snl, sizeof(snl), &iov, 1, cred_msg, sizeof(cred_msg), 0};
+
+ ssize_t n = recvmsg(fd, &hdr, 0);
+ if (n <= 0) {
+ break;
+ }
+
+ if ((snl.nl_groups != 1) || (snl.nl_pid != 0)) {
+ /* ignoring non-kernel netlink multicast message */
+ continue;
+ }
+
+ struct cmsghdr * cmsg = CMSG_FIRSTHDR(&hdr);
+ if (cmsg == NULL || cmsg->cmsg_type != SCM_CREDENTIALS) {
+ /* no sender credentials received, ignore message */
+ continue;
+ }
+
+ struct ucred * cred = (struct ucred *)CMSG_DATA(cmsg);
+ if (cred->uid != 0) {
+ /* message from non-root user, ignore */
+ continue;
+ }
+
+ if(n >= UEVENT_MSG_LEN) /* overflow -- discard */
+ continue;
+
+ msg[n] = '\0';
+ msg[n+1] = '\0';
+
+ printf("usb ::: msg = %s\n", msg);
+ struct uevent uevent;
+ parse_event(msg, &uevent);
+
+ if(strcmp(uevent.calluser, "/usr/bin/usb uevent permanent reporting") == 0){
+ sprintf(cmd, "setprop persist.mbtk.usb_pid %d && /sbin/tmp_usb_init %d &", USB_REPORTING, USB_REPORTING);
+ int ret = system(cmd);
+ if (ret == -1) {
+ fprintf(stderr, "Error: Failed to execute system command.\n");
+ return 1;
+ }
+ printf("USB login port switch permanent successfully!\n");
+ // while(1){
+ // sleep(1);
+ // }
+ }
+ else if(strcmp(uevent.calluser, "/usr/bin/usb uevent tempporary reporting") == 0){
+ sprintf(cmd, "/sbin/tmp_usb_init %d &",USB_REPORTING);
+ int ret = system(cmd);
+ if (ret == -1) {
+ fprintf(stderr, "Error: Failed to execute system command.\n");
+ return 1;
+ }
+ printf("USB login port switch tempporary successfully!\n");
+ // while(1){
+ // sleep(1);
+ // }
+ }
+
+ }
+ return 0;
+}
+
+int main(void)
+{
+ int fd = 0;
+
+ fd = open_uevent_socket();
+ if (fd < 0) {
+ printf("error!\n");
+ return -1;
+ }
+
+ handle_device_fd(fd);
+ while(1){
+ sleep(1);
+ }
+ return 0;
+}
diff --git a/mbtk/test/liblynq_lib/Makefile.backup b/mbtk/test/liblynq_lib/Makefile.backup
new file mode 100755
index 0000000..d8eea05
--- /dev/null
+++ b/mbtk/test/liblynq_lib/Makefile.backup
@@ -0,0 +1,34 @@
+BUILD_ROOT = $(shell pwd)/../..
+include $(BUILD_ROOT)/Make.defines
+
+INC_DIR +=
+
+LIB_DIR +=
+
+LIBS += -lmbtk_lib -lmbtk_ril -lmbtk_net -lmbtk_audio -lmbtk_fota -lmbtk_gnss -lmbtk_factory -llynq_lib
+
+CFLAGS +=
+
+DEFINE +=
+
+LOCAL_SRC_FILES = $(wildcard *.c) $(wildcard *.cpp)
+
+$(info LOCAL_SRC_FILES = $(LOCAL_SRC_FILES))
+
+OBJS = $(patsubst %.c,%.o,$(patsubst %.cpp,%.o,$(LOCAL_SRC_FILES)))
+BINS = $(patsubst %.o,%,$(OBJS))
+
+all: $(BINS)
+
+$(BINS):$(OBJS)
+ @echo " BIN $@"
+ $(CC) $(CFLAGS) $(LIB_DIR) $(LIBS) $@.o -o $(OUT_DIR)/bin/$@
+
+%.o:%.c
+ $(CC) $(CFLAGS) $(INC_DIR) $(DEFINE) -c $< -o $@
+
+%.o:%.cpp
+ $(CC) $(CFLAGS) $(INC_DIR) $(DEFINE) -c $< -o $@
+
+clean:
+ rm -f $(OBJS)
diff --git a/mbtk/test/liblynq_lib/lynq-audio-demo.cpp b/mbtk/test/liblynq_lib/lynq-audio-demo.cpp
new file mode 100755
index 0000000..d97464d
--- /dev/null
+++ b/mbtk/test/liblynq_lib/lynq-audio-demo.cpp
@@ -0,0 +1,163 @@
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
+#include <errno.h>
+#include "ring_tele.h"
+#include "lynq/lynq-qser-audio.h"
+
+static int playback_handle = 1;
+
+void player_cmd_proc(char *cmdstr)
+{
+ if (strcmp(cmdstr, "P\n") == 0)
+ {
+ qser_AudPlayer_Pause(playback_handle);
+ }
+ else if (strcmp(cmdstr, "R\n") == 0)
+ {
+ qser_AudPlayer_Resume(playback_handle);
+ }
+ else if (strcmp(cmdstr, "T\n") == 0)
+ {
+ qser_AudPlayer_Stop(playback_handle);
+ }
+ else
+ {
+ printf("Unknown command: %s", cmdstr);
+ }
+}
+
+void capture_cmd_proc(char *cmdstr)
+{
+ if (strcmp(cmdstr, "P\n") == 0)
+ {
+ qser_AudRecorder_Pause();
+ }
+ else if (strcmp(cmdstr, "R\n") == 0)
+ {
+ qser_AudRecorder_Resume();
+ }
+ else if (strcmp(cmdstr, "T\n") == 0)
+ {
+ qser_AudRecorder_Stop();
+ }
+ else
+ {
+ printf("Unknown command: %s", cmdstr);
+ }
+}
+
+int main(int argc, char *argv[])
+{
+ if (argc < 2)
+ {
+ printf("Usage: %s <play|recd|playbuf> [file]\n", argv[0]);
+ return 1;
+ }
+
+ const char *action = argv[1];
+ const char *file = argv[2];
+
+ int g_audio_owner_id = 0;
+ char player_device[] = "device1";
+ char recorder_device[] = "device2";
+ char cmdstr[256];
+
+ _cb_onPlayer cb_fun = [](int result)
+ {
+ if (result == 0)
+ {
+ printf("Audio recorder opened successfully.\n");
+ }
+ else
+ {
+ printf("Failed to open audio recorder, error code: %d\n", result);
+ }
+ };
+
+ if (strcmp(action, "playbuf") == 0)
+ {
+ int player_open_result = qser_AudPlayer_Open(player_device, cb_fun);
+ if (player_open_result != 0)
+ {
+ printf("Failed to open audio player.\n");
+ return 1;
+ }
+ qser_AudPlayer_PlayPcmBuf(PCM_DATA, PCM_DATA_SIZE, 640, 3, 1, 8000, g_audio_owner_id);
+ while (1)
+ {
+ printf("Please input a player command (P/R/T/exit) :\n");
+ if (fgets(cmdstr, sizeof(cmdstr), stdin) != NULL)
+ {
+ if (strcmp(cmdstr, "exit\n") == 0)
+ {
+ qser_AudPlayer_Close(playback_handle);
+ break;
+ }
+ player_cmd_proc(cmdstr);
+ }
+ }
+ qser_AudPlayer_Close(playback_handle);
+ }
+ else if (strcmp(action, "play") == 0)
+ {
+ int player_open_result = qser_AudPlayer_Open(player_device, cb_fun);
+ if (player_open_result != 0)
+ {
+ printf("Failed to open audio player.\n");
+ return 1;
+ }
+
+ qser_AudPlayer_PlayFrmFile(g_audio_owner_id, file, 0);
+
+ while (1)
+ {
+ printf("Please input a player command (P/R/T/exit) :\n");
+ if (fgets(cmdstr, sizeof(cmdstr), stdin) != NULL)
+ {
+ if (strcmp(cmdstr, "exit\n") == 0)
+ {
+ qser_AudPlayer_Close(playback_handle);
+ break;
+ }
+ player_cmd_proc(cmdstr);
+ }
+ }
+
+ qser_AudPlayer_Close(playback_handle);
+ }
+ else if (strcmp(action, "recd") == 0)
+ {
+ int recorder_open_result = qser_AudRecorder_Open(recorder_device, cb_fun);
+ if (recorder_open_result != 0) {
+ printf("Failed to open audio recorder.\n");
+ return 1;
+ }
+
+ qser_AudRecorder_StartRecord(g_audio_owner_id, file, 0);
+
+ while (1)
+ {
+ printf("Please input a player command (P/R/T/exit) :\n");
+ if (fgets(cmdstr, sizeof(cmdstr), stdin) != NULL)
+ {
+ if (strcmp(cmdstr, "exit\n") == 0)
+ {
+ qser_AudRecorder_Close();
+ break;
+ }
+ capture_cmd_proc(cmdstr);
+ }
+ }
+ qser_AudRecorder_Close();
+ }
+ else
+ {
+ printf("Unknown action: %s\n", action);
+ return 1;
+ }
+
+ qser_Audio_Deinit();
+
+ return 0;
+}
diff --git a/mbtk/test/liblynq_lib/lynq_alarm_test.c b/mbtk/test/liblynq_lib/lynq_alarm_test.c
new file mode 100755
index 0000000..8f8e2f7
--- /dev/null
+++ b/mbtk/test/liblynq_lib/lynq_alarm_test.c
@@ -0,0 +1,22 @@
+#include "lynq_alarm.h"
+
+#include <stdio.h>
+#include <stdlib.h>
+
+int main()
+{
+ int rtc_id = 0;
+ rtc_id = lynq_rtc_service_init();
+ if(rtc_id == -1)
+ {
+ printf("init fail\n");
+ return 0;
+ }
+
+ lynq_set_poweralarm(60, rtc_id);
+
+ lynq_rtc_service_deinit();
+ return 0;
+}
+
+
diff --git a/mbtk/test/liblynq_lib/lynq_call_test.c b/mbtk/test/liblynq_lib/lynq_call_test.c
new file mode 100755
index 0000000..48ce4af
--- /dev/null
+++ b/mbtk/test/liblynq_lib/lynq_call_test.c
@@ -0,0 +1,398 @@
+#include "lynq-qser-voice.h"
+
+#include "mbtk_type.h"
+#include "mbtk_info_api.h"
+#include "mbtk_audio.h"
+
+#define MAX_LEN 15
+
+#if 0
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
+#include <sys/types.h>
+#include <pthread.h>
+#include <unistd.h>
+#include <dlfcn.h>
+#include <stdint.h>
+
+//#include"lynq-qser-voice-demo.h"
+
+typedef struct
+{
+ int cmdIdx;
+ char *funcName;
+} st_api_test_case;
+
+//for server test
+st_api_test_case at_api_testcases[] =
+{
+ {0, "print_help"},
+ {1, "qser_voice_call_start"},
+ {2, "qser_voice_call_end"},
+ {3, "qser_voice_call_answer"},
+ {4, "qser_voice_set_speech_volume"},
+ {5, "qser_voice_get_speech_volume"},
+ {-1, NULL}
+};
+
+
+
+typedef uint32_t voice_client_handle_type;
+
+static pthread_t s_lynq_voice_tid = -1;
+
+
+int (*qser_voice_call_client_init)(voice_client_handle_type *ph_voice);
+int (*qser_voice_call_client_deinit)(voice_client_handle_type );
+int (*qser_voice_call_addstatehandler)(voice_client_handle_type h_voice,
+ QSER_VoiceCall_StateHandlerFunc_t handlerPtr,
+ void *contextPtr);
+
+int (*qser_voice_call_removestatehandle)(voice_client_handle_type );
+int (*qser_voice_call_start)(voice_client_handle_type h_voice,
+ E_QSER_VCALL_ID_T simId,
+ char *phone_number, int *call_id);
+
+int (*qser_voice_call_end)(voice_client_handle_type ,int );
+int (*qser_voice_call_answer)(voice_client_handle_type ,int );
+int (*qser_voice_set_speech_volume)(const int volume);
+int (*qser_voice_get_speech_volume)(int *volume);
+
+void *dlHandle_call = NULL;
+
+static void yk_voice_call_cb_func(int call_id,
+ char* phone_num,
+ qser_voice_call_state_t state,
+ void *contextPtr)
+{
+ char *call_state[] = {"INCOMING", "DIALING", "ALERTING", "ACTIVE", "HOLDING", "END", "WAITING"};
+
+ printf("######### Call id=%d, PhoneNum:%s, event=%s! ######\n", call_id, phone_num, call_state[state]);
+}
+
+void print_help(void)
+{
+ int i;
+ printf("Supported test cases:\n");
+ for(i = 0; ; i++)
+ {
+ if(at_api_testcases[i].cmdIdx == -1)
+ {
+ break;
+ }
+ printf("%d:\t%s\n", at_api_testcases[i].cmdIdx, at_api_testcases[i].funcName);
+ }
+}
+
+int main(int argc, char const *argv[])
+{
+ int cmdIdx = 0;
+ int ret = 0;
+ int voice_call_id = 0;
+ voice_client_handle_type h_voice = 0;
+
+ //const char *lynqLibPath_Call = "/lib/liblynq-qser-voice.so";
+ const char *lynqLibPath_Call = "/lib/liblynq_lib.so";
+ dlHandle_call = dlopen(lynqLibPath_Call, RTLD_NOW);
+ if (dlHandle_call == NULL)
+ {
+ printf("dlopen dlHandle_call failed: %s\n", dlerror());
+ exit(EXIT_FAILURE);
+ }
+
+ qser_voice_call_client_init = (int(*)(voice_client_handle_type *ph_voice))dlsym(dlHandle_call, "qser_voice_call_client_init");
+ if(qser_voice_call_client_init == NULL)
+ {
+ printf("qser_voice_call_client_init not defined or exported in %s\n", lynqLibPath_Call);
+ return -1;
+ }
+
+ qser_voice_call_addstatehandler = (int(*)(voice_client_handle_type h_voice,
+ QSER_VoiceCall_StateHandlerFunc_t handlerPtr,
+ void *contextPtr))dlsym(dlHandle_call,"qser_voice_call_addstatehandler");
+ if(qser_voice_call_addstatehandler == NULL)
+ {
+ printf("qser_voice_call_addstatehandler not defined or exported in %s\n", lynqLibPath_Call);
+ return -1;
+ }
+
+ qser_voice_call_answer = (int(*)(voice_client_handle_type,int ))dlsym(dlHandle_call,"qser_voice_call_answer");
+ if(qser_voice_call_answer == NULL)
+ {
+ printf("qser_voice_call_answer not defined or exported in %s\n", lynqLibPath_Call);
+ return -1;
+ }
+
+ qser_voice_call_start = (int(*)(voice_client_handle_type h_voice,E_QSER_VCALL_ID_T simId,
+ char *phone_number, int *call_id))dlsym(dlHandle_call,"qser_voice_call_start");
+ if(qser_voice_call_start == NULL)
+ {
+ printf("qser_voice_call_start not defined or exported in %s\n", lynqLibPath_Call);
+ return -1;
+ }
+
+ qser_voice_call_end = (int(*)(voice_client_handle_type ,int))dlsym(dlHandle_call,"qser_voice_call_end");
+ if(qser_voice_call_end == NULL)
+ {
+ printf("qser_voice_call_end not defined or exported in %s\n", lynqLibPath_Call);
+ return -1;
+ }
+
+
+ qser_voice_call_client_deinit = (int (*)(voice_client_handle_type h_voice))dlsym(dlHandle_call,"qser_voice_call_client_deinit");
+ if(qser_voice_call_client_deinit == NULL)
+ {
+ printf("qser_voice_call_client_deinit not defined or exported in %s\n", lynqLibPath_Call);
+ return -1;
+ }
+
+ qser_voice_call_removestatehandle = (int (*)(voice_client_handle_type))dlsym(dlHandle_call,"qser_voice_call_removestatehandle");
+ if(qser_voice_call_removestatehandle == NULL)
+ {
+ printf("qser_voice_call_removestatehandle not defined or exported in %s\n", lynqLibPath_Call);
+ return -1;
+ }
+
+ qser_voice_set_speech_volume = (int (*)(const int ))dlsym(dlHandle_call,"qser_voice_set_speech_volume");
+ if(qser_voice_set_speech_volume == NULL)
+ {
+ printf("qser_voice_set_speech_volume not defined or exported in %s\n", lynqLibPath_Call);
+ return -1;
+ }
+
+ qser_voice_get_speech_volume = (int (*)(int* ))dlsym(dlHandle_call,"qser_voice_get_speech_volume");
+ if(qser_voice_get_speech_volume == NULL)
+ {
+ printf("qser_voice_get_speech_volume not defined or exported in %s\n", lynqLibPath_Call);
+ return -1;
+ }
+
+ ret = qser_voice_call_client_init(&h_voice);
+ if(ret != 0 )
+ {
+ printf("qser_voice_call_client_init FAIL\n");
+ return -1;
+ }
+
+ ret = qser_voice_call_addstatehandler(h_voice, yk_voice_call_cb_func, &voice_call_id);
+ if(ret != 0)
+ {
+ printf("qser_voice_call_addstatehandler FAIL\n");
+ return -1;
+ }
+
+
+ print_help();
+ while(1)
+ {
+ printf("\nplease input cmd index(-1 exit): ");
+ scanf("%d", &cmdIdx);
+ if(cmdIdx == -1)
+ {
+ break;
+ }
+
+ switch(cmdIdx)
+ {
+ //"print_help
+ case 0:
+ print_help();
+ break;
+
+ //"qser_voice_call_start"
+ case 1:
+ {
+ char PhoneNum[32] = {0};
+
+ printf("please input dest phone number: \n");
+ scanf("%s", PhoneNum);
+
+ ret = qser_voice_call_start(h_voice, E_QSER_VCALL_EXTERNAL_SLOT_1, PhoneNum, &voice_call_id);
+ printf("qser_voice_call_start ret = %d, with voice_call_id=%d\n", ret, voice_call_id);
+ break;
+ }
+
+ //"qser_voice_call_end"
+ case 2:
+ {
+ int call_id = -1;
+ printf("please input end call id: \n");
+ scanf("%d", &call_id);
+ ret = qser_voice_call_end(h_voice, call_id);
+ printf(" ret = %d\n", ret);
+ break;
+ }
+
+ //"qser_voice_call_answer"
+ case 3:
+ {
+ int call_id = -1;
+ printf(" please input answer call id\n");
+ scanf("%d", &call_id);
+ ret = qser_voice_call_answer(h_voice, call_id);
+ printf(" ret = %d\n", ret);
+ break;
+ }
+ case 4:
+ {
+ int volume = 0;
+ printf("Please set speech volume:0-5 level\n");
+ scanf("%d",&volume);
+ ret = qser_voice_set_speech_volume(volume);
+ printf("ret is %d\n",ret);
+ break;
+
+ }
+
+ case 5:
+ {
+ int volume = -1;
+ printf("Enter get speech volume\n");
+ ret = qser_voice_get_speech_volume(&volume);
+ printf("ret is %d,get volume is %d\n",ret,volume);
+ break;
+
+ }
+ default:
+ print_help();
+ break;
+ }
+
+ }
+ ret = qser_voice_call_removestatehandle(h_voice);
+ if(ret != 0 && ret != 1)
+ {
+ printf("qser_voice_call_removestatehandle FAIL!!!\n");
+ return -1;
+ }
+ printf("qser_voice_call_removestatehandle ret = %d\n", ret);
+
+
+ ret = qser_voice_call_client_deinit(h_voice);
+ if(ret != 0)
+ {
+ printf("qser_voice_call_client_deinit FAIL\n");
+ return -1;
+ }
+ printf("qser_voice_call_client_deinit ret = %d, with h_voice=%d\n", ret, h_voice);
+
+ return 0;
+}
+
+
+#else
+
+static void yk_voice_call_cb_func(int call_id,
+ char* phone_num,
+ qser_voice_call_state_t state,
+ void *contextPtr)
+{
+ char *call_state[] = {"INCOMING", "DIALING", "ALERTING", "ACTIVE", "HOLDING", "END", "WAITING"};
+
+ printf("######### Call id=%d, PhoneNum:%s, event=%s! ######\n", call_id, phone_num, call_state[state]);
+}
+
+int main(int argc, char *argv[])
+{
+ char operator[MAX_LEN];
+ int opt;
+ int lv_voll = 0;
+ voice_client_handle_type handle = -1;
+ int voice_call_id = 0;
+ mbtk_log_init("radio", "CALL_TEST");
+
+ printf("=========call main=========\n"
+ "\t0 exit\n"
+ "\t1 call init\n"
+ "\t2 call add register handle\n"
+ "\t3 call start\n"
+ "\t4 call end\n"
+ "\t5 call answer\n"
+ "\t6 call remove register handle\n"
+ "\t7 call set volume level 0-5\n"
+ "\t8 call get volume\n"
+ "\t9 call dtmf\n"
+ "\t10 call deinit\n"
+ "operator: >> \n");
+
+ while(1)
+ {
+ fgets(operator, sizeof(operator), stdin);
+ fflush(stdin);
+ opt = atoi(operator);
+ switch (opt)
+ {
+ case 0:
+ printf("main exit\n");
+ return 0;
+ case 1:
+ qser_voice_call_client_init(&handle);
+ printf("test>>: handle = %d\n",handle);
+ break;
+ case 2:
+ qser_voice_call_addstatehandler(handle, yk_voice_call_cb_func, &voice_call_id);
+ break;
+ case 3:
+ printf("input phone number:\n");
+ memset(operator, 0x0, MAX_LEN);
+ fgets(operator, MAX_LEN, stdin);
+ fflush(stdin);
+ printf("number:%s\n", operator);
+ qser_voice_call_start(handle, E_QSER_VCALL_EXTERNAL_SLOT_1, operator, &voice_call_id);//被叫电话
+ break;
+ case 4:
+ qser_voice_call_end(handle, voice_call_id);
+ break;
+ case 5:
+ qser_voice_call_answer(handle, voice_call_id);
+ break;
+ case 6:
+ qser_voice_call_removestatehandle(handle);
+ break;
+ case 7:
+ {
+ printf("Pleas set volume level(0-5)>>>>\n");
+ memset(operator, 0x00, sizeof(operator));
+ fgets(operator, sizeof(operator), stdin);
+ fflush(stdin);
+ //def level 3
+ lv_voll = atoi(operator);
+ if (lv_voll >= 0 && lv_voll <= 5)
+ qser_voice_set_speech_volume(lv_voll);
+ else
+ printf("set volume level(0-5) ERR\n");
+ }
+ break;
+ case 8:
+ qser_voice_get_speech_volume(&lv_voll);
+ printf("volume level = %d\n",lv_voll);
+ break;
+ case 9:
+ {
+ char inputChar;
+
+ printf("Enter set dtmf\n");
+ scanf(" %c", &inputChar);
+ printf("inputChar is %c\n", inputChar);
+
+ if (qser_voice_set_dtmf(inputChar) != 0)
+ {
+ printf("qser set voice dtmf failed\n");
+ }
+ }
+ break;
+ case 10:
+ qser_voice_call_client_deinit(handle);
+ break;
+ default:
+ break;
+ }
+
+ }
+
+ return 0;
+}
+
+#endif
+
diff --git a/mbtk/test/liblynq_lib/lynq_chip_id.c b/mbtk/test/liblynq_lib/lynq_chip_id.c
new file mode 100755
index 0000000..461948c
--- /dev/null
+++ b/mbtk/test/liblynq_lib/lynq_chip_id.c
@@ -0,0 +1,24 @@
+#include <stdio.h>
+#include <stdlib.h>
+#include <unistd.h>
+#include <sys/time.h>
+#include <time.h>
+#include "lynq_chip_id.h"
+
+int main()
+{
+ char chip_id[128]={0};
+ int ret = 0;
+ ret = lynq_get_chip_id(chip_id);
+ if(!ret)
+ {
+ printf("chip_id:%s",chip_id);
+ }
+ else{
+ printf("get chip_id error");
+ }
+ return 0;
+}
+
+
+
diff --git a/mbtk/test/liblynq_lib/lynq_irq_test.c b/mbtk/test/liblynq_lib/lynq_irq_test.c
new file mode 100755
index 0000000..e4ec8c8
--- /dev/null
+++ b/mbtk/test/liblynq_lib/lynq_irq_test.c
@@ -0,0 +1,174 @@
+#include "lynq-irq.h"
+
+#include "mbtk_type.h"
+#include "mbtk_info_api.h"
+
+int line;
+
+static void irq_test_handler(void)
+{
+ int trig_type;
+ trig_type = lynq_irq_get_type(line);
+ printf("this is irq_test_handler\nthis irq is gpio %d,trig_type is %d\n", line_gpio[line-117],trig_type);
+ return NULL;
+}
+
+int main(int argc, char *argv[])
+{
+ char operator[10];
+ int opt;
+ int irq, trig_type, en;
+ int ret;
+ irq_handler handler;
+ mbtk_log_init("radio", "IRQ_TEST");
+
+ printf("=========irq main=========\n"
+ "\t0 exit\n"
+ "\t1 irq install\n"
+ "\t2 irq set_type\n"
+ "\t3 irq get_type\n"
+ "\t4 irq set_wake\n"
+ "\t5 irq get_wake\n"
+ "\t6 irq uninstall\n"
+ "operator: >> \n");
+
+ while(1)
+ {
+
+ fgets(operator, sizeof(operator), stdin);
+ fflush(stdin);
+ opt = atoi(operator);
+ switch (opt)
+ {
+ case 0:
+ printf("main exit\n");
+ return 0;
+ case 1:
+ {
+ printf("input>> irq \n");
+ memset(operator,0x00, sizeof(operator));
+ fgets(operator, sizeof(operator)-1, stdin);
+ fflush(stdin);
+ irq = atoi(operator);
+ printf("input>> trig_type \n");
+ memset(operator,0x00, sizeof(operator));
+ fgets(operator, sizeof(operator)-1, stdin);
+ fflush(stdin);
+ trig_type = atoi(operator);
+ ret = lynq_irq_install(irq, irq_test_handler, trig_type);
+ if (ret != 0)
+ {
+ printf("lynq_irq_install fail\n");
+ }
+ else
+ {
+ printf("lynq_irq_install success\n");
+ line = irq;
+ }
+ }
+ break;
+ case 2:
+ {
+ printf("input>> trig_type \n");
+ memset(operator,0x00, sizeof(operator));
+ fgets(operator, sizeof(operator)-1, stdin);
+ fflush(stdin);
+ trig_type = atoi(operator);
+ ret = lynq_irq_set_type(line, trig_type);
+ if (ret != 0)
+ {
+ printf("lynq_irq_set_type fail\n");
+ }
+ else
+ {
+ printf("lynq_irq_set_type success\n");
+ }
+ }
+ break;
+ case 3:
+ {
+ printf("input>> irq \n");
+ memset(operator,0x00, sizeof(operator));
+ fgets(operator, sizeof(operator)-1, stdin);
+ fflush(stdin);
+ irq = atoi(operator);
+ ret = lynq_irq_get_type(irq);
+ if (ret < 0)
+ {
+ printf("lynq_irq_get_type fail\n");
+ }
+ else
+ {
+ printf("lynq_irq_get_type success trig_type =%d\n",ret);
+ }
+ }
+ break;
+ case 4:
+ {
+ printf("input>> irq \n");
+ memset(operator,0x00, sizeof(operator));
+ fgets(operator, sizeof(operator)-1, stdin);
+ fflush(stdin);
+ irq = atoi(operator);
+ printf("input>> en \n");
+ memset(operator,0x00, sizeof(operator));
+ fgets(operator, sizeof(operator)-1, stdin);
+ fflush(stdin);
+ en = atoi(operator);
+ ret = lynq_irq_set_wake(irq, en);
+ if (ret != 0)
+ {
+ printf("lynq_irq_set_wake fail\n");
+ }
+ else
+ {
+ printf("lynq_irq_set_wake success\n");
+ }
+ }
+ break;
+ case 5:
+ {
+ printf("input>> irq \n");
+ memset(operator,0x00, sizeof(operator));
+ fgets(operator, sizeof(operator)-1, stdin);
+ fflush(stdin);
+ irq = atoi(operator);
+ ret = lynq_irq_get_wake(irq);
+ if (ret < 0)
+ {
+ printf("lynq_irq_get_wake fail\n");
+ }
+ else
+ {
+ printf("lynq_irq_get_wake success en = %d\n", ret);
+ }
+ }
+ break;
+ case 6:
+ {
+ printf("input>> irq \n");
+ memset(operator,0x00, sizeof(operator));
+ fgets(operator, sizeof(operator)-1, stdin);
+ fflush(stdin);
+ irq = atoi(operator);
+ ret = lynq_irq_uninstall(irq);
+ if (ret != 0)
+ {
+ printf("lynq_irq_uninstall fail\n");
+ }
+ else
+ {
+ printf("lynq_irq_uninstall success\n");
+ }
+ }
+ break;
+ default:
+ break;
+ }
+
+ }
+
+ return 0;
+}
+
+
diff --git a/mbtk/test/liblynq_lib/lynq_log_test.c b/mbtk/test/liblynq_lib/lynq_log_test.c
new file mode 100755
index 0000000..6dfcfb7
--- /dev/null
+++ b/mbtk/test/liblynq_lib/lynq_log_test.c
@@ -0,0 +1,200 @@
+#include <stdio.h>
+#include <stdlib.h>
+#include <unistd.h>
+#include <errno.h>
+#include <string.h>
+#include "lynq_deflog.h"
+
+int main(int argc, char *argv[])
+{
+ int err, value;
+ int cmdIdx = 0;
+ int ret = 0;
+ int i = 0;
+ char operator[10];
+ int opt = 0;
+ const char * module_name = "MBTK_QL_TEST";
+ log_level_enum *level = -1;
+
+ lynq_log_configuration_init("MBTK_QL_TEST");
+
+ while(1)
+ {
+
+ printf("=========log========\n"
+ "\t 0 lynq_syslog_set_file_size\n"
+ "\t 1 lynq_syslog_get_file_size\n"
+ "\t 2 lynq_syslog_set_file_rotate\n"
+ "\t 3 lynq_syslog_get_file_rotate\n"
+ "\t 4 lynq_set_log_level\n"
+ "\t 5 lynq_get_log_level\n"
+ "\t 6 lynq_notify_recalc_log_level\n"
+ "\t 7 test write log\n"
+ "\t 8 lynq_write_log_to_file_now\n"
+ "\t 9 lynq_stop_record_log\n"
+ "\t 10 lynq_syslog_control\n"
+ "\t 11 lynq_kernel_control\n"
+ "\t -1 EXIT \n"
+ "=========================\n");
+
+ printf("input opt \n");
+ scanf("%d",&opt);
+
+
+ switch(opt)
+ {
+ case 0://"lynq_syslog_set_file_size"
+ {
+ //fgets(arg_string, MAX_INPUT, stdin);
+ printf("please input size:\n");
+ scanf("%d", &value);
+ printf("Input value is %d\n",value);
+ ret = lynq_syslog_set_file_size(value);
+ if(ret < 0)
+ {
+ printf("lynq_syslog_set_file_size failed, ret=%d\n", ret);
+ }
+
+ break;
+ }
+ case 1://"lynq_syslog_get_file_size"
+ {
+ //ret = demo_lynq_syslog_get_file_size();
+ ret = lynq_syslog_get_file_size();
+ printf("lynq_syslog_get_file_size ret:%d!\n", ret);
+
+ break;
+ }
+ case 2://"lynq_syslog_set_file_rotate"
+ {
+ printf("please input count:\n");
+ scanf("%d", &value);
+ printf("Input value is %d\n",value);
+ ret = lynq_syslog_set_file_rotate(value);
+ if(ret < 0)
+ {
+ printf("lynq_syslog_set_file_r otate failed, ret=%d\n", ret);
+ }
+
+ break;
+ }
+ case 3://"lynq_syslog_get_file_rotate"
+ {
+ ret = lynq_syslog_get_file_rotate();
+ printf("lynq_syslog_get_file_rotate ret:%d!\n", ret);
+
+ break;
+ }
+ case 4://"lynq_set_log_level"
+ {
+ printf("please input level:\n");
+ scanf("%d", &value);
+ ret = lynq_set_log_level(module_name, value);
+ printf("lynq_set_log_level ret:%d!\n", ret);
+
+ break;
+ }
+ case 5://"lynq_get_log_level"
+ {
+ ret = lynq_get_log_level(module_name, &level);
+ printf("lynq_get_log_level ret:%d, level:%d!\n", ret, level);
+
+ break;
+ }
+ case 6://test write log
+ {
+ ret = lynq_notify_recalc_log_level(0);
+ printf("lynq_notify_recalc_log_level ret: %d!\n", ret);
+ break;
+ }
+ case 7://test write log
+ {
+
+ puts(lynq_read_log_version());
+ for(i=0;i<10;i++)
+ {
+ LYVERBLOG("LYNQ: Test LYVERBLOG\n");
+ LYERRLOG("LYNQ: Test LYERRLOG\n");
+ LYWARNLOG("LYNQ: Test LYWARNLOG\n");
+ LYINFLOG("LYNQ: Test LYINFLOG\n");
+ LYDBGLOG("LYNQ: Test LYDBGLOG\n");
+ lynq_log_global_output(LOG_VERBOSE, "LOG_VERBOSE test");
+ lynq_log_global_output(LOG_ERROR, "LOG_ERROR test");
+ lynq_log_global_output(LOG_WARNING, "LOG_WARNING test");
+ lynq_log_global_output(LOG_INFO, "LOG_INFO test");
+ lynq_log_global_output(LOG_DEBUG, "LOG_DEBUG test");
+ lynq_log_global_output(LOG_UNSET, "LOG_UNSET test");
+
+ lynq_log_debug("LYNQ: test lynq_log_debug");
+ lynq_log_verbose("LYNQ: test lynq_log_verbose");
+ lynq_log_error("LYNQ: test lynq_log_error");
+ lynq_log_info("LYNQ: test lynq_log_info");
+ lynq_log_warning("LYNQ: test lynq_log_warning");
+
+ }
+
+ printf("test write log end\n");
+ break;
+ }
+ case 8:
+ {
+ int ret = -1;
+ printf("Enter lynq_write_log_to_file_now ");
+
+ lynq_log_global_output(LOG_DEBUG, "lynq_write_log_to_file_now test buffer");
+
+ ret = lynq_write_log_to_file_now();
+ printf("lynq_write_log_to_file_now is %d \n",ret );
+ break;
+ }
+ case 9:
+ {
+ int ret = -1;
+ int opt = -1;
+
+ printf("enter stop record log function: 0 ON 1:OFF\n");
+ scanf("%d",&opt);
+ ret = lynq_stop_record_log(opt);
+ printf("lynq_stop_record_log ret is %d\n",ret);
+ break;
+ }
+ case 10:
+ {
+ int ret = -1;
+ printf("Enter lynq_syslog_control 0:OPEN 1:CLOSE\n");
+ int value = -1;
+ ret = scanf("%d",&value);
+ if(ret)
+ {
+ printf("input value is %d\n",value);
+ }
+ ret = lynq_syslog_control(value);
+ printf("lynq_write_log_to_file_now is %d \n",ret );
+ break;
+ }
+ case 11:
+ {
+ int ret = -1;
+ int value = -1;
+ printf("Enter lynq_kernel_control 2:OPEN 3:CLOSE\n");
+ ret = scanf("%d",&value);
+ if(ret)
+ {
+ printf("input value is %d\n",value);
+ }
+ ret = lynq_kernel_log_control(value);
+ printf("lynq_kernel_control is %d \n",ret );
+ break;
+ }
+
+ default://EXIT
+ {
+ printf("break\n");
+ return 0;
+ }
+ }
+ }
+
+ return 0;
+}
+
diff --git a/mbtk/test/liblynq_lib/lynq_nw_test.c b/mbtk/test/liblynq_lib/lynq_nw_test.c
new file mode 100755
index 0000000..faaf2f0
--- /dev/null
+++ b/mbtk/test/liblynq_lib/lynq_nw_test.c
@@ -0,0 +1,519 @@
+#include "lynq_qser_network.h"
+#include "mbtk_type.h"
+#include "mbtk_info_api.h"
+
+#include <stdio.h>
+#include <stdlib.h>
+
+
+char *tech_domain[] = {"NONE", "3GPP", "3GPP2"};
+char *radio_tech[] = {"unknown",
+ "TD_SCDMA", "GSM", "HSPAP", "LTE", "EHRPD", "EVDO_B",
+ "HSPA", "HSUPA", "HSDPA", "EVDO_A", "EVDO_0", "1xRTT",
+ "IS95B", "IS95A", "UMTS", "EDGE", "GPRS", "NONE"};
+
+void nw_event_ind_handler (
+ nw_client_handle_type h_nw,
+ u_int32_t ind_flag,
+ void *ind_msg_buf,
+ u_int32_t ind_msg_len,
+ void *contextPtr)
+{
+ switch(ind_flag) {
+ case NW_IND_VOICE_REG_EVENT_IND_FLAG:
+ {
+ QSER_NW_VOICE_REG_EVENT_IND_T *ind = (QSER_NW_VOICE_REG_EVENT_IND_T*)ind_msg_buf;
+ printf("Recv event indication : VOICE REG EVENT\n");
+
+ if(ind==NULL)
+ {
+ printf("ind is NULL\n");
+ break;
+ }
+
+ if(ind->registration_valid)
+ {
+ printf("voice_registration: \ntech_domain=%s, radio_tech=%s, roaming=%d, registration_state=%d\n",
+ tech_domain[ind->registration.tech_domain],
+ radio_tech[ind->registration.radio_tech],
+ ind->registration.roaming,
+ ind->registration.registration_state);
+ }
+ if(ind->registration_details_3gpp_valid)
+ {
+ printf("voice_registration_details_3gpp: \ntech_domain=%s, radio_tech=%s, mcc=%s, mnc=%s, roaming=%d, forbidden=%d, cid=0x%X, lac=%d, psc=%d, tac=%d\n",
+ tech_domain[ind->registration_details_3gpp.tech_domain],
+ radio_tech[ind->registration_details_3gpp.radio_tech],
+ ind->registration_details_3gpp.mcc,
+ ind->registration_details_3gpp.mnc,
+ ind->registration_details_3gpp.roaming,
+ ind->registration_details_3gpp.forbidden,
+ ind->registration_details_3gpp.cid,
+ ind->registration_details_3gpp.lac,
+ ind->registration_details_3gpp.psc,
+ ind->registration_details_3gpp.tac);
+ }
+
+ if(ind->registration_details_3gpp2_valid)
+ {
+ printf("voice_registration_details_3gpp2: \ntech_domain=%s, radio_tech=%s, mcc=%s, mnc=%s, roaming=%d, forbidden=%d, sid=%d, nid=%d, bsid=%d\n",
+ tech_domain[ind->registration_details_3gpp2.tech_domain],
+ radio_tech[ind->registration_details_3gpp2.radio_tech],
+ ind->registration_details_3gpp2.mcc,
+ ind->registration_details_3gpp2.mnc,
+ ind->registration_details_3gpp2.roaming,
+ ind->registration_details_3gpp2.forbidden,
+ ind->registration_details_3gpp2.sid,
+ ind->registration_details_3gpp2.nid,
+ ind->registration_details_3gpp2.bsid);
+ }
+
+ break;
+ }
+ case NW_IND_DATA_REG_EVENT_IND_FLAG:
+ {
+ QSER_NW_DATA_REG_EVENT_IND_T *ind = (QSER_NW_DATA_REG_EVENT_IND_T*)ind_msg_buf;
+
+ printf("Recv event indication : DATA REG EVENT\n");
+
+ if(ind==NULL)
+ {
+ printf("ind is NULL\n");
+ break;
+ }
+
+
+ if(ind->registration_valid)
+ {
+ printf("data_registration: \ntech_domain=%s, radio_tech=%s, roaming=%d, registration_state=%d\n",
+ tech_domain[ind->registration.tech_domain],
+ radio_tech[ind->registration.radio_tech],
+ ind->registration.roaming,
+ ind->registration.registration_state);
+ }
+ if(ind->registration_details_3gpp_valid)
+ {
+ printf("data_registration_details_3gpp: \ntech_domain=%s, radio_tech=%s, mcc=%s, mnc=%s, roaming=%d, forbidden=%d, cid=0x%X, lac=%d, psc=%d, tac=%d\n",
+ tech_domain[ind->registration_details_3gpp.tech_domain],
+ radio_tech[ind->registration_details_3gpp.radio_tech],
+ ind->registration_details_3gpp.mcc,
+ ind->registration_details_3gpp.mnc,
+ ind->registration_details_3gpp.roaming,
+ ind->registration_details_3gpp.forbidden,
+ ind->registration_details_3gpp.cid,
+ ind->registration_details_3gpp.lac,
+ ind->registration_details_3gpp.psc,
+ ind->registration_details_3gpp.tac);
+ }
+
+ if(ind->registration_details_3gpp2_valid)
+ {
+ printf("data_registration_details_3gpp2: \ntech_domain=%s, radio_tech=%s, mcc=%s, mnc=%s, roaming=%d, forbidden=%d, prl=%d, css=%d, sid=%d, nid=%d, bsid=%d\n",
+ tech_domain[ind->registration_details_3gpp2.tech_domain],
+ radio_tech[ind->registration_details_3gpp2.radio_tech],
+ ind->registration_details_3gpp2.mcc,
+ ind->registration_details_3gpp2.mnc,
+ ind->registration_details_3gpp2.roaming,
+ ind->registration_details_3gpp2.forbidden,
+ ind->registration_details_3gpp2.inPRL,
+ ind->registration_details_3gpp2.css,
+ ind->registration_details_3gpp2.sid,
+ ind->registration_details_3gpp2.nid,
+ ind->registration_details_3gpp2.bsid);
+ }
+
+ break;
+ }
+ case NW_IND_SIGNAL_STRENGTH_EVENT_IND_FLAG:
+ {
+ QSER_NW_SINGNAL_EVENT_IND_T *ind = (QSER_NW_SINGNAL_EVENT_IND_T*)ind_msg_buf;
+
+ printf("Recv event indication : SIGNAL STRENGTH EVENT\n");
+
+ if(ind==NULL)
+ {
+ printf("ind is NULL\n");
+ break;
+ }
+
+ if(ind->gsm_sig_info_valid)
+ {
+ printf("gsm_sig_info: rssi=%d\n",
+ ind->gsm_sig_info.rssi);
+ }
+
+ if(ind->wcdma_sig_info_valid)
+ {
+ printf("wcdma_sig_info: rssi=%d, ecio=%d\n",
+ ind->wcdma_sig_info.rssi,
+ ind->wcdma_sig_info.ecio);
+ }
+ if(ind->tdscdma_sig_info_valid)
+ {
+ printf("tdscdma_sig_info: rssi=%d, rscp=%d, ecio=%d, sinr=%d\n",
+ ind->tdscdma_sig_info.rssi,
+ ind->tdscdma_sig_info.rscp,
+ ind->tdscdma_sig_info.ecio,
+ ind->tdscdma_sig_info.sinr);
+ }
+ if(ind->lte_sig_info_valid)
+ {
+ printf("lte_sig_info: rssi=%d, rsrq=%d, rsrp=%d, snr=%d\n",
+ ind->lte_sig_info.rssi,
+ ind->lte_sig_info.rsrq,
+ ind->lte_sig_info.rsrp,
+ ind->lte_sig_info.snr);
+ }
+ if(ind->cdma_sig_info_valid)
+ {
+ printf("cdma_sig_info: rssi=%d, ecio=%d\n",
+ ind->cdma_sig_info.rssi,
+ ind->cdma_sig_info.ecio);
+ }
+ if(ind->hdr_sig_info_valid)
+ {
+ printf("hdr_sig_info: rssi=%d, ecio=%d, sinr=%d, io=%d\n",
+ ind->hdr_sig_info.rssi,
+ ind->hdr_sig_info.ecio,
+ ind->hdr_sig_info.sinr,
+ ind->hdr_sig_info.io);
+ }
+ break;
+ }
+ case NW_IND_IMS_REG_EVENT_IND_FLAG:
+ {
+ printf("Recv event indication : IMS REG EVENT\n");
+ printf("ind is NULL\n");
+
+ break;
+ }
+ default:
+ break;
+ }
+}
+
+
+
+int main(int argc, char *argv[])
+{
+ char operator[10];
+ int opt;
+ int lv_voll = 0;
+ int ret;
+ nw_client_handle_type handle = -1;
+ mbtk_log_init("radio", "NW_TEST");
+
+ printf("=========network main=========\n"
+ "\t0 exit\n"
+ "\t1 network init\n"
+ "\t2 network add rx msg handle\n"
+ "\t3 network band set config\n"
+ "\t4 network get operator name\n"
+ "\t5 network get reg status\n"
+ "\t6 network get signal strength\n"
+ "\t7 network set oos config\n"
+ "\t8 network get oos config\n"
+ "\t9 network set rf config\n"
+ "\t10 network get rf config\n"
+ "\t11 network set ims config\n"
+ "\t12 network get ims config\n"
+ "\t13 network deinit\n"
+ "operator: >> ");
+
+ while(1)
+ {
+
+ opt = -1;
+ fgets(operator, sizeof(operator), stdin);
+ fflush(stdin);
+ opt = atoi(operator);
+ switch (opt)
+ {
+ case 0:
+ printf("main exit\n");
+ return 0;
+ case 1:
+ ret = qser_nw_client_init(&handle);
+ printf("qser_nw_client_init ret = %d\n", ret);
+ break;
+ case 2:
+ ret = qser_nw_add_rx_msg_handler(handle, nw_event_ind_handler, NULL);
+ printf("qser_nw_add_rx_msg_handler ret = %d\n", ret);
+ break;
+ case 3:
+ {
+ //漫游开关现在不支持,所以就不用配置
+ printf("please input \n"
+ "\t1:GSM \n"
+ "\t2:WCDMA \n"
+ "\t4:CDMA \n"
+ "\t8:EVDO \n"
+ "\t16:LTE \n"
+ "\t32:TDSCDMA \n"
+ );
+ memset(operator,0x00, sizeof(operator));
+ fgets(operator, sizeof(operator)-1, stdin);
+ fflush(stdin);
+ opt = atoi(operator);
+ QSER_NW_CONFIG_INFO_T t_info;
+
+ t_info.preferred_nw_mode = opt;
+ ret = qser_nw_set_config(handle, &t_info);
+ printf("qser_nw_set_config ret = %d\n", ret);
+ }
+ break;
+ case 4:
+ {
+ QSER_NW_OPERATOR_NAME_INFO_T t_info;
+ int err = qser_nw_get_operator_name(handle, &t_info);
+ if(err)
+ {
+ printf("Error : %d\n", err);
+ } else
+ {
+ printf("Operator : %s, %s, %s, %s\n", t_info.long_eons, t_info.short_eons, t_info.mcc, t_info.mnc);
+ }
+ }
+ break;
+ case 5:
+ {
+ QSER_NW_REG_STATUS_INFO_T t_info;
+ int err = qser_nw_get_reg_status(handle, &t_info);
+ if(err)
+ {
+ printf("Error : %d\n", err);
+ }
+ else
+ {
+ if(t_info.voice_registration_valid)
+ {
+ printf("voice_registration: \ntech_domain=%s, radio_tech=%s, roaming=%d, registration_state=%d\n",
+ tech_domain[t_info.voice_registration.tech_domain],
+ radio_tech[t_info.voice_registration.radio_tech],
+ t_info.voice_registration.roaming,
+ t_info.voice_registration.registration_state);
+ }
+ if(t_info.data_registration_valid)
+ {
+ printf("data_registration: \ntech_domain=%s, radio_tech=%s, roaming=%d, registration_state=%d\n",
+ tech_domain[t_info.data_registration.tech_domain],
+ radio_tech[t_info.data_registration.radio_tech],
+ t_info.data_registration.roaming,
+ t_info.data_registration.registration_state);
+ }
+ if(t_info.voice_registration_details_3gpp_valid)
+ {
+ printf("voice_registration_details_3gpp: \ntech_domain=%s, radio_tech=%s, mcc=%s, mnc=%s, roaming=%d, forbidden=%d, cid=0x%X, lac=%d, psc=%d, tac=%d\n",
+ tech_domain[t_info.voice_registration_details_3gpp.tech_domain],
+ radio_tech[t_info.voice_registration_details_3gpp.radio_tech],
+ t_info.voice_registration_details_3gpp.mcc,
+ t_info.voice_registration_details_3gpp.mnc,
+ t_info.voice_registration_details_3gpp.roaming,
+ t_info.voice_registration_details_3gpp.forbidden,
+ t_info.voice_registration_details_3gpp.cid,
+ t_info.voice_registration_details_3gpp.lac,
+ t_info.voice_registration_details_3gpp.psc,
+ t_info.voice_registration_details_3gpp.tac);
+ }
+ if(t_info.data_registration_details_3gpp_valid)
+ {
+ printf("data_registration_details_3gpp: \ntech_domain=%s, radio_tech=%s, mcc=%s, mnc=%s, roaming=%d, forbidden=%d, cid=0x%X, lac=%d, psc=%d, tac=%d\n",
+ tech_domain[t_info.data_registration_details_3gpp.tech_domain],
+ radio_tech[t_info.data_registration_details_3gpp.radio_tech],
+ t_info.data_registration_details_3gpp.mcc,
+ t_info.data_registration_details_3gpp.mnc,
+ t_info.data_registration_details_3gpp.roaming,
+ t_info.data_registration_details_3gpp.forbidden,
+ t_info.data_registration_details_3gpp.cid,
+ t_info.data_registration_details_3gpp.lac,
+ t_info.data_registration_details_3gpp.psc,
+ t_info.data_registration_details_3gpp.tac);
+ }
+
+ if(t_info.voice_registration_details_3gpp2_valid)
+ {
+ printf("voice_registration_details_3gpp2: \ntech_domain=%s, radio_tech=%s, mcc=%s, mnc=%s, roaming=%d, forbidden=%d, sid=%d, nid=%d, bsid=%d\n",
+ tech_domain[t_info.voice_registration_details_3gpp2.tech_domain],
+ radio_tech[t_info.voice_registration_details_3gpp2.radio_tech],
+ t_info.voice_registration_details_3gpp2.mcc,
+ t_info.voice_registration_details_3gpp2.mnc,
+ t_info.voice_registration_details_3gpp2.roaming,
+ t_info.voice_registration_details_3gpp2.forbidden,
+ t_info.voice_registration_details_3gpp2.sid,
+ t_info.voice_registration_details_3gpp2.nid,
+ t_info.voice_registration_details_3gpp2.bsid);
+ }
+
+ if(t_info.data_registration_details_3gpp2_valid)
+ {
+ printf("data_registration_details_3gpp2: \ntech_domain=%s, radio_tech=%s, mcc=%s, mnc=%s, roaming=%d, forbidden=%d, sid=%d, nid=%d, bsid=%d\n",
+ tech_domain[t_info.data_registration_details_3gpp2.tech_domain],
+ radio_tech[t_info.data_registration_details_3gpp2.radio_tech],
+ t_info.data_registration_details_3gpp2.mcc,
+ t_info.data_registration_details_3gpp2.mnc,
+ t_info.data_registration_details_3gpp2.roaming,
+ t_info.data_registration_details_3gpp2.forbidden,
+ t_info.data_registration_details_3gpp2.sid,
+ t_info.data_registration_details_3gpp2.nid,
+ t_info.data_registration_details_3gpp2.bsid);
+ }
+
+ //printf("Data Reg: radio_tech = %d, lac = %x, cid = %x\n", reg.data_registration_details_3gpp.radio_tech, reg.data_registration_details_3gpp.lac, reg.data_registration_details_3gpp.cid);
+ //printf("Voice Reg: radio_tech = %d, lac = %x, cid = %x\n", reg.voice_registration_details_3gpp.radio_tech, reg.voice_registration_details_3gpp.lac, reg.voice_registration_details_3gpp.cid);
+ }
+ }
+ break;
+ case 6:
+ {
+ QSER_NW_SIGNAL_STRENGTH_INFO_T t_info;
+ int err = qser_nw_get_signal_strength(handle, &t_info);
+ if(err)
+ {
+ printf("Error : %d\n", err);
+ }
+ else
+ {
+ printf("qser_nw_get_signal_strength, ret=%d\n", err);
+ if(err==0)
+ {
+ printf("qser_solicited_signal_strength gsm_sig_info_valid = %d\n"
+ " gsm_sig_info.rssi = %d\n"
+ " wcdma _sig_info_valid = %d\n"
+ " wcdma_sig_info.rssi = %d\n"
+ " wcdma_sig_info.ecio = %d\n"
+ " tdscdma_sig_info_valid = %d\n"
+ " lte_sig_info_valid = %d\n"
+ " lte_sig_info.rssi = %d\n"
+ " lte_sig_info.rsrp = %d\n"
+ " lte_sig_info.rsrq = %d\n"
+ " lte_sig_info.snr = %d\n"
+ " cdma_sig_info_valid = %d\n"
+ " hdr_sig_info_valid = %d\n"
+ " nr_sig_info_valid = %d\n"
+ " nr_sig_info.ssRsrp = %d\n"
+ " nr_sig_info.ssRsrq = %d\n"
+ " nr_sig_info.ssSinr = %d\n"
+ " nr_sig_info.csiRsrp = %d\n"
+ " nr_sig_info.csiRsrq = %d\n"
+ " nr_sig_info.csiSinr = %d\n",
+ t_info.gsm_sig_info_valid, t_info.gsm_sig_info.rssi,
+ t_info.wcdma_sig_info_valid, t_info.wcdma_sig_info.rssi, t_info.wcdma_sig_info.ecio,
+ t_info.tdscdma_sig_info_valid,
+ t_info.lte_sig_info_valid, t_info.lte_sig_info.rssi, t_info.lte_sig_info.rsrp, t_info.lte_sig_info.rsrq, t_info.lte_sig_info.snr,
+ t_info.cdma_sig_info_valid,
+ t_info.hdr_sig_info_valid,
+ t_info.nr_sig_info_valid, t_info.nr_sig_info.ssRsrp, t_info.nr_sig_info.ssRsrq, t_info.nr_sig_info.ssSinr,
+ t_info.nr_sig_info.csiRsrp, t_info.nr_sig_info.csiRsrq, t_info.nr_sig_info.csiSinr);
+
+ }
+
+ }
+ }
+ break;
+ case 7:
+ {
+ QSER_NW_OOS_CONFIG_INFO_T pt_info_s;
+ memset(&pt_info_s, 0x00, sizeof(QSER_NW_OOS_CONFIG_INFO_T));
+ /*取值范围0-255,设置时间自定义
+ phase 1 5次 次数无法更改,这五次都是以10秒为一次的间隔搜网
+ phase 2 5次 次数无法更改,这五次都是以15秒为一次的间隔搜网
+ phase 3 不限制次数的秒数设置,第三阶段不限制次数以20秒为一次的间隔搜网
+ 如果要关闭OOS配置,则把min step max 全部配置为0即可
+ */
+ int p1,p2,p3;
+ printf("input phase 1 number:\n");
+ memset(operator, 0x0, 10);
+ fgets(operator, 10, stdin);
+ fflush(stdin);
+ p1 = atoi(operator);
+ printf("phase 1 number:%s\n", operator);
+
+ printf("input phase 2 number:\n");
+ memset(operator, 0x0, 10);
+ fgets(operator, 10, stdin);
+ fflush(stdin);
+ p2 = atoi(operator);
+ printf("phase 2 number:%s\n", operator);
+
+ printf("input phase 3 number:\n");
+ memset(operator, 0x0, 10);
+ fgets(operator, 10, stdin);
+ fflush(stdin);
+ p3 = atoi(operator);
+ printf("phase 3 number:%s\n", operator);
+
+ pt_info_s.type = QSER_NW_OOS_CFG_TYPE_FULL_BAND_SCAN;//平台提供自定义配置搜网时间间隔
+ {
+ pt_info_s.u.full_band_scan_info.t_min = p1;//phase 1
+ pt_info_s.u.full_band_scan_info.t_step = p2;//phase 2
+ pt_info_s.u.full_band_scan_info.t_num = 0;//可以不配置,并没有使用
+ pt_info_s.u.full_band_scan_info.t_max = p3;//phase 3
+ }
+ printf("set OOS %d %d %d \n",pt_info_s.u.full_band_scan_info.t_min, pt_info_s.u.full_band_scan_info.t_step, pt_info_s.u.full_band_scan_info.t_max);
+ //pt_info_s.type = QSER_NW_OOS_CFG_TYPE_FAST_SCAN;平台本身有历史频点优先处理的逻辑(无接口不需要我们进行处理)
+ ret = qser_nw_set_oos_config(handle, &pt_info_s);
+ printf("qser_nw_set_oos_config ret = %d\n", ret);
+ }
+ break;
+ case 8:
+ {
+ QSER_NW_OOS_CONFIG_INFO_T pt_info_g;
+ qser_nw_get_oos_config(handle, &pt_info_g);
+ if (pt_info_g.type == QSER_NW_OOS_CFG_TYPE_FULL_BAND_SCAN)
+ printf("TYPE: %d min: %d setp: %d max: %d\n", pt_info_g.type, pt_info_g.u.full_band_scan_info.t_min, pt_info_g.u.full_band_scan_info.t_step, pt_info_g.u.full_band_scan_info.t_max);
+ else
+ printf("type not supported \n");
+ }
+ break;
+ case 9:
+ {
+ printf("please input 0 or 1 or 4: \n");
+ memset(operator,0x00, sizeof(operator));
+ fgets(operator, sizeof(operator)-1, stdin);
+ fflush(stdin);
+ opt = atoi(operator);
+ printf("rf_mode: [%d]\n",opt);
+ ret = qser_nw_set_rf_mode(handle, opt);
+ printf("qser_nw_set_rf_mode ret = %d\n", ret);
+ }
+ break;
+ case 10:
+ {
+ int rf_t;
+ qser_nw_get_rf_mode(handle, &rf_t);
+ printf(">>>rf_mode = [%d]\n",rf_t);
+ }
+ break;
+ case 11:
+ {
+ E_QSER_NW_IMS_MODE_TYPE_T ims_mode;
+ printf("please input you want set ims mode (0: off; 1: volte enable \n");
+ scanf("%d", &ims_mode);
+ ret = qser_nw_set_ims_enable(handle, ims_mode);
+ printf("qser_nw_set_ims_enable %d ret = %d\n",ims_mode, ret);
+ }
+ break;
+ case 12:
+ {
+ QSER_NW_IMS_REG_STATUS_INFO_T t_info;
+ memset(&t_info, 0, sizeof(QSER_NW_IMS_REG_STATUS_INFO_T));
+ ret = qser_nw_get_ims_reg_status(handle, &t_info);
+ printf("qser_nw_get_ims_reg_status ret = %d, detail info:\n", ret);
+ if(ret == 0)
+ {
+ printf("ims_registration: registration_state=%d\n", t_info.registration_state);
+ }
+ }
+ break;
+ case 13:
+ qser_nw_client_deinit(handle);
+ break;
+ default:
+ break;
+ }
+
+ }
+
+ return 0;
+}
+
diff --git a/mbtk/test/liblynq_lib/lynq_qser_sms_test.c b/mbtk/test/liblynq_lib/lynq_qser_sms_test.c
new file mode 100755
index 0000000..56077f4
--- /dev/null
+++ b/mbtk/test/liblynq_lib/lynq_qser_sms_test.c
@@ -0,0 +1,436 @@
+/**
+ * \file dtmf_test.c
+ * \brief A Documented file.
+ *
+ * Detailed description
+ * \Author: jinLuo
+ * \Version: 1.0.0
+ * \Date: 2022-12-1
+ */
+
+/******************************************************************************\
+ * Include files
+\******************************************************************************/
+#include <pthread.h>
+#include <time.h>
+#include <sys/ioctl.h>
+#include <fcntl.h>
+#include <unistd.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <fcntl.h>
+#include <string.h>
+#include <stdio.h>
+#include <signal.h>
+#include <unistd.h>
+#include <fcntl.h>
+#include <errno.h>
+#include <string.h>
+#include <stdlib.h>
+#include <poll.h>
+#include <stdlib.h>
+
+#include <sys/ioctl.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+#include "lynq_qser_sms.h"
+#define MAX_LEN 15
+
+
+#if 0
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
+#include <sys/types.h>
+#include <pthread.h>
+#include <unistd.h>
+#include <dlfcn.h>
+#include <stdint.h>
+#include <ctype.h>
+
+//#include"lynq-qser-sms-demo.h"
+
+
+#define SMS_BUF 64
+#define MSG_BUF 100
+
+int flag_init = 0;
+
+typedef uint32_t sim_client_handle_type;
+sms_client_handle_type ph_sms = 2022;
+sms_client_handle_type h_sms = 2022;
+
+
+int (*qser_sms_client_init)(sms_client_handle_type *ph_sms);
+int (*qser_sms_client_deinit)(sms_client_handle_type h_sms);
+int (*qser_sms_send_sms)(sms_client_handle_type h_sms, QSER_sms_info_t *pt_sms_info);
+int (*qser_sms_addrxmsghandler)(QSER_SMS_RxMsgHandlerFunc_t handlerPtr, void* contextPtr);
+int (*qser_sms_deletefromstorage)(sms_client_handle_type h_sms, QSER_sms_storage_info_t *pt_sms_storage);
+int (*qser_sms_getsmscenteraddress)(sms_client_handle_type h_sms, QSER_sms_service_center_cfg_t *set_sca_cfg);
+int (*qser_sms_setsmscenteraddress)(sms_client_handle_type h_sms, QSER_sms_service_center_cfg_t *get_sca_cfg);
+
+void qser_sms_handler(QSER_SMS_MsgRef msgRef, void* contextPtr) {
+ printf("[%s-%d] sms handler, msgRef->sms_data = %s\n", __FUNCTION__, __LINE__, msgRef->sms_data);
+}
+
+bool isNumeric(char *phnum) {
+ int length = strlen(phnum);
+
+ if (length == 0) {
+ return false;
+ }
+
+ if (phnum[0] != '+' && (phnum[0] < '0' || phnum[0] > '9')) {
+ return false;
+ }
+
+ if (phnum[0] == '+' && length < 3) {
+ return false;
+ }
+
+ for (int i = 1; i < length; i++) {
+ if (phnum[i] < '0' || phnum[i] > '9') {
+ return false;
+ }
+ }
+
+ return true;
+}
+
+//以下示例默认为所有API 执行都成功的情况下,依次执行后续API
+int main(int argc, char *argv[])
+{
+ int ret = 0;
+ //char phnum[SMS_BUF]={0};
+
+ //const char *lynq_libpath_sms = "/lib/liblynq-qser-sms.so";
+ const char *lynq_libpath_sms = "/lib/liblynq_lib.so";
+ void *dlHandle_sms = dlopen(lynq_libpath_sms, RTLD_NOW);
+
+ if (dlHandle_sms == NULL)
+ {
+ printf("dlopen dlHandle_sms failed: %s\n", dlerror());
+ exit(EXIT_FAILURE);
+ }
+
+ if(argc != 2 || !isNumeric(argv[1]))
+ {
+ printf("[%s][%d] please input correct phnum\n",__FUNCTION__,__LINE__);
+ exit(1);
+ }
+
+ qser_sms_client_init = (int(*)(sms_client_handle_type *ph_sms))dlsym(dlHandle_sms,"qser_sms_client_init");
+ if(NULL != qser_sms_client_init)
+ {
+ ret = qser_sms_client_init(&ph_sms);
+ if(ret == 0)
+ {
+ printf("Run qser_sms_client_init\n");
+ }else{
+ printf("qser_sim_client_init error\n");
+ }
+ }else{
+ printf("qser_sim_client_init dlsym error\n");
+ }
+
+ sleep(2);
+
+ qser_sms_addrxmsghandler = (int(*)(QSER_SMS_RxMsgHandlerFunc_t handlerPtr, void* contextPtr))dlsym(dlHandle_sms,"qser_sms_addrxmsghandler");
+
+ if(NULL != qser_sms_addrxmsghandler)
+ {
+ ret = qser_sms_addrxmsghandler(qser_sms_handler, NULL);
+ if(ret == 0)
+ {
+ printf("qser_sms_addrxmsghandler success");
+ }else{
+ printf("qser_sms_addrxmsghandler error, ret = %d\n", ret);
+ }
+ }else{
+ printf("qser_sms_addrxmsghandler dlsym error\n");
+ }
+
+ QSER_sms_service_center_cfg_t get_sca_cfg;
+ qser_sms_getsmscenteraddress = (int (*)(sms_client_handle_type h_sms, QSER_sms_service_center_cfg_t *get_sca_cfg))dlsym(dlHandle_sms,"qser_sms_getsmscenteraddress");
+ if(NULL != qser_sms_getsmscenteraddress)
+ {
+ ret = qser_sms_getsmscenteraddress(h_sms, &get_sca_cfg);
+ if(ret == 0)
+ {
+ printf("get smsc success,service_center_addr = %s\n",get_sca_cfg.service_center_addr);
+ }else{
+ printf("get smsc error, ret = %d\n", ret);
+ }
+ }else{
+ printf("qser_sms_getsmscenteraddress dlsym error\n");
+ }
+ sleep(1);
+ QSER_sms_service_center_cfg_t set_sca_cfg;
+ strncpy(set_sca_cfg.service_center_addr, "+8613800280500", 14);//smsc +8613800280500成都号码 +8613800230500黑龙江
+ qser_sms_setsmscenteraddress = (int (*)(sms_client_handle_type h_sms, QSER_sms_service_center_cfg_t *set_sca_cfg))dlsym(dlHandle_sms,"qser_sms_setsmscenteraddress");
+ if(NULL != qser_sms_setsmscenteraddress)
+ {
+ ret = qser_sms_setsmscenteraddress(h_sms, &set_sca_cfg);
+ if(ret == 0)
+ {
+ printf("set smsc success");
+ }else{
+ printf("set smsc error, ret = %d\n", ret);
+ }
+ }else{
+ printf("qser_sms_setsmscenteraddress dlsym error\n");
+ }
+
+ //再次查询是否设置成功
+ sleep(1);
+ qser_sms_getsmscenteraddress = (int (*)(sms_client_handle_type h_sms, QSER_sms_service_center_cfg_t *get_sca_cfg))dlsym(dlHandle_sms,"qser_sms_getsmscenteraddress");
+ if(NULL != qser_sms_getsmscenteraddress)
+ {
+ ret = qser_sms_getsmscenteraddress(h_sms, &get_sca_cfg);
+ if(ret == 0)
+ {
+ printf("get smsc success,service_center_addr = %s\n",get_sca_cfg.service_center_addr);
+ }else{
+ printf("get smsc error, ret = %d\n", ret);
+ }
+ }else{
+ printf("qser_sms_getsmscenteraddress dlsym error\n");
+ }
+
+
+ //test 7bit
+ //char telephony_num[SMS_BUF] = {};
+ char msg[MSG_BUF] = {};
+ QSER_sms_info_t pt_sms_info;
+ //sprintf(telephony_num,"18981904623");//请用户务必替换此号码,随意向运营商发短消息极有可能被封号。
+ sprintf(msg,"hello");
+ strncpy(pt_sms_info.src_addr, argv[1], SMS_BUF);
+ strncpy(pt_sms_info.sms_data, msg, MSG_BUF);
+ pt_sms_info.format = QSER_SMS_7BIT;
+ // printf("[%s,%d] src_addr=%s, telephony_num = %s\n",__FUNCTION__,__LINE__, pt_sms_info.src_addr, telephony_num);
+ printf("[%s,%d] sms_data=%s, msg = %s\n",__FUNCTION__,__LINE__, pt_sms_info.sms_data, msg);
+
+ sleep(120);
+
+ //test ucs2
+ //char telephony_num[SMS_BUF] = {};
+ char msg[MSG_BUF] = {};
+ QSER_sms_info_t pt_sms_info;
+ //sprintf(telephony_num,"18981904623");//请用户务必替换此号码,随意向运营商发短消息极有可能被封号。
+ sprintf(msg,"你好吗");
+ strncpy(pt_sms_info.src_addr, argv[1], SMS_BUF);
+ strncpy(pt_sms_info.sms_data, msg, MSG_BUF);
+ pt_sms_info.format = QSER_SMS_UCS2;
+ // printf("[%s,%d] src_addr=%s, telephony_num = %s\n",__FUNCTION__,__LINE__, pt_sms_info.src_addr, telephony_num);
+ printf("[%s,%d] sms_data=%s, msg = %s\n",__FUNCTION__,__LINE__, pt_sms_info.sms_data, msg);
+
+ qser_sms_send_sms = (int (*)(sms_client_handle_type h_sms, QSER_sms_info_t *pt_sms_info))dlsym(dlHandle_sms,"qser_sms_send_sms");
+ if(NULL != qser_sms_send_sms)
+ {
+ ret = qser_sms_send_sms(h_sms, &pt_sms_info);
+ if(ret == 0)
+ {
+ printf("send sms success");
+ }else{
+ printf("send sms error, ret = %d\n", ret);
+ }
+ }else{
+ printf("qser_sms_send_sms dlsym error\n");
+ }
+
+ sleep(120);//在此期间向模组发送短消息,即可触发“接受新短消息事件”。
+ qser_sms_client_deinit = (int (*)(sms_client_handle_type h_sms))dlsym(dlHandle_sms,"qser_sms_client_deinit");
+ if(NULL != qser_sms_client_deinit)
+ {
+ ret = qser_sms_client_deinit(h_sms);
+ if(ret == 0)
+ {
+ printf("sms deinit success");
+ }else{
+ printf("sms deinit error, ret = %d\n", ret);
+ }
+ }else{
+ printf("qser_sms_client_deinit dlsym error\n");
+ }
+
+}
+
+#else
+
+void qser_sms_handler(QSER_SMS_MsgRef msgRef, void* contextPtr) {
+ printf("[%s-%d] sms handler, msgRef->sms_data = %s\n", __FUNCTION__, __LINE__, msgRef->sms_data);
+}
+
+
+int main(int argc, char *argv[])
+{
+ char operator[10];
+ char serNum[50] = {0};
+ char phone_number[MAX_LEN] ={0};
+ int opt;
+ int ret, uToken;
+ sms_client_handle_type handle = -1;
+ QSER_sms_info_t test_sms_info;
+ QSER_sms_service_center_cfg_t test_sca_cfg;
+ QSER_sms_storage_info_t test_sms_storage;
+ mbtk_log_init("radio", "SMS_TEST");
+
+ printf("=========sms main=========\n"
+ "\t0 exit\n"
+ "\t1 sms init\n"
+ "\t2 send text sms\n"
+ "\t3 wait receive new sms\n"
+ "\t4 send PDU sms\n"
+ "\t5 //delete sms list\n"
+ "\t6 delete sms\n"
+ "\t7 query service number\n"
+ "\t8 set service number\n"
+ "\t9 deinit sms\n"
+ "operator: >> \n");
+
+ while(1)
+ {
+ opt = -1;
+ scanf("%d", &opt);;
+ fflush(stdin);
+ switch (opt)
+ {
+ case 0:
+ printf("main exit\n");
+ return 0;
+ case 1:
+ {
+ ret = qser_sms_client_init(&handle);
+ if(ret == 0)
+ printf("Run qser_sms_client_init success\n");
+ else
+ printf("qser_sim_client_init error\n");
+ }
+ break;
+ case 2:
+ {
+ memset(&test_sms_info, 0x00, sizeof(QSER_sms_info_t));
+ char *tmp = "all man hello world";
+ printf("input phone number:\n");
+ memset(phone_number, 0x0, MAX_LEN);
+ //fgets(phone_number, MAX_LEN, stdin);
+ scanf("%s", phone_number);
+ fflush(stdin);
+ int len = strlen(tmp);
+ int num_len = strlen(phone_number);
+ test_sms_info.format = 0;
+ memcpy(test_sms_info.sms_data, tmp, len);
+ memcpy(test_sms_info.src_addr, phone_number, num_len);
+ ret = qser_sms_send_sms(handle, &test_sms_info);
+ if(ret == 0)
+ printf("Run qser_sms_send_sms success\n");
+ else
+ printf("qser_sms_send_sms error\n");
+ }
+ break;
+ case 3:
+ {
+ ret = qser_sms_addrxmsghandler(qser_sms_handler, NULL);
+ if(ret == 0)
+ printf("Run qser_sms_addrxmsghandler success\n");
+ else
+ printf("qser_sms_addrxmsghandler error\n");
+ }
+ break;
+ case 4:
+ {
+ memset(&test_sms_info, 0x00, sizeof(QSER_sms_info_t));
+ char *tmp = "你好";
+ printf("input phone number:\n");
+ memset(phone_number, 0x0, MAX_LEN);
+ scanf("%s", phone_number);
+ fflush(stdin);
+ int len = strlen(tmp);
+ int num_len = strlen(phone_number);
+ test_sms_info.format = 2;
+ memcpy(test_sms_info.sms_data, tmp, len);
+ memcpy(test_sms_info.src_addr, phone_number, num_len);
+ ret = qser_sms_send_sms(handle, &test_sms_info);
+ if(ret == 0)
+ printf("Run qser_sms_send_sms success\n");
+ else
+ printf("qser_sms_send_sms error\n");
+ }
+ break;
+ case 5:
+ {
+ /*
+ char list_del[1024] = {0};
+
+ if (strcmp(list_del, "") == 0)
+ printf("list_del = NULL\n");
+ else
+ printf("list_del = [%s]\n",list_del);
+ */
+ }
+ break;
+ case 6:
+ {
+ memset(&test_sms_storage, 0x00, sizeof(QSER_sms_storage_info_t));
+ memset(operator,0x00, sizeof(operator));
+ printf("please input index \n");
+ scanf("%s", operator);
+ //fgets(operator, sizeof(operator)-1, stdin);
+ fflush(stdin);
+ opt = atoi(operator);
+ int t_index = opt;
+ test_sms_storage.storage_idx = t_index;
+ ret = qser_sms_deletefromstorage(handle, &test_sms_storage);
+ if(ret == 0)
+ printf("Run qser_sms_deletefromstorage success\n");
+ else
+ printf("qser_sms_deletefromstorage error\n");
+ }
+ break;
+ case 7:
+ {
+ memset(&test_sca_cfg, 0x00, sizeof(QSER_sms_service_center_cfg_t));
+ ret = qser_sms_getsmscenteraddress(handle,&test_sca_cfg);
+ if(!ret)
+ printf("get_smsc:%s success\n", test_sca_cfg.service_center_addr);
+ else
+ printf("qser_sms_getsmscenteraddress error\n");
+ }
+ break;
+ case 8:
+ {
+ memset(&test_sca_cfg, 0x00, sizeof(QSER_sms_service_center_cfg_t));
+ printf("input phone number:\n");
+ memset(phone_number, 0x0, MAX_LEN);
+ fgets(phone_number, MAX_LEN, stdin);
+ fflush(stdin);
+ int len = strlen(phone_number);
+ memcpy(test_sca_cfg.service_center_addr, phone_number, len);
+ ret= qser_sms_setsmscenteraddress(handle, &test_sca_cfg);
+ if(ret == 0)
+ printf("Run qser_sms_setsmscenteraddress success\n");
+ else
+ printf("qser_sms_setsmscenteraddress error\n");
+ }
+ break;
+ case 9:
+ {
+ ret = qser_sms_client_deinit(handle);
+ if(ret == 0)
+ printf("Run qser_sms_client_deinit success\n");
+ else
+ printf("qser_sms_client_deinit error\n");
+ }
+ break;
+ default:
+ break;
+ }
+ }
+
+ return 0;
+}
+
+#endif
+
+
+
diff --git a/mbtk/test/liblynq_lib/lynq_sleep_test.c b/mbtk/test/liblynq_lib/lynq_sleep_test.c
new file mode 100755
index 0000000..5366ef5
--- /dev/null
+++ b/mbtk/test/liblynq_lib/lynq_sleep_test.c
@@ -0,0 +1,187 @@
+#include "lynq-qser-autosuspend.h"
+
+#include <stdio.h>
+#include <unistd.h>
+#include <stddef.h>
+#include "mbtk_type.h"
+#include "mbtk_log.h"
+
+static void qser_lpm_handler(qser_lpm_edge_t edge_state)
+{
+ printf("this is qser_lpm_handler, edge_state=%d\n", edge_state);
+}
+
+
+int main(int argc, char *argv[])
+{
+ char operator[10];
+ int opt;
+ int lv_voll = 0;
+ int fd_t;
+ mbtk_log_init("radio", "SLEEP_TEST");
+
+ printf("=========sleep main=========\n"
+ "\t0 exit\n"
+ "\t1 autosuspend enable\n"
+ "\t2 wakelock create\n"
+ "\t3 wakelock lock\n"
+ "\t4 wakelock unlock\n"
+ "\t5 wakelock destroy\n"
+ "\t6 whitelist set\n"
+ "\t7 whitelist get\n"
+ "\t8 lpm init\n"
+ "\t9 lpm destroy\n"
+ "operator: >> \n");
+
+ while(1)
+ {
+ fgets(operator, sizeof(operator), stdin);
+ fflush(stdin);
+ opt = atoi(operator);
+ switch (opt)
+ {
+ case 0:
+ printf("main exit\n");
+ return 0;
+ case 1:
+ {
+ printf(">>>>>Input 0 or 1<<<<<\n");
+ char tmp_en[4]={0};
+ memset(tmp_en, 0x00, sizeof(tmp_en));
+ fgets(tmp_en, sizeof(tmp_en)-1, stdin);
+ fflush(stdin);
+
+ if (tmp_en[0] == '0' || tmp_en[0] == '1')
+ qser_autosuspend_enable(tmp_en[0]);
+ else
+ printf(">>>>>re Input 0 or 1 error<<<<<\n");
+ }
+ break;
+ case 2:
+ {
+ printf(">>>>>Input name<<<<<\n");
+ char t_name[64]={0};
+ int len_name;
+ char tmp_c[64]={0};
+ memset(tmp_c, 0x00, sizeof(tmp_c));
+ fgets(tmp_c, sizeof(tmp_c)-1, stdin);
+ fflush(stdin);
+ len_name = strlen(tmp_c)-1;
+ strncpy(t_name, tmp_c, len_name);
+ printf(">>>>>name=[%s] name_len=[%d]<<<<<\n",t_name, len_name);
+
+ fd_t = qser_wakelock_create(t_name, len_name);
+ if (fd_t == -1)
+ {
+ printf(">>>>>Output error =[%d]<<<<<\n",fd_t);
+ }
+ else
+ {
+ printf(">>>>>Output ID NUM =[%d]<<<<<\n",fd_t);
+ }
+ }
+ break;
+ case 3:
+ {
+ printf(">>>>>Input ID NUM<<<<<\n");
+ char tmp_l[127]={0};
+ fgets(tmp_l, sizeof(tmp_l), stdin);
+ fflush(stdin);
+ fd_t = atoi(tmp_l);
+ fd_t = qser_wakelock_lock(fd_t);
+ if (fd_t == -1)
+ {
+ printf(">>>>>Output error =[%d]<<<<<\n",fd_t);
+ }
+ else
+ {
+ printf(">>>>>Output succuess<<<<<\n");
+ }
+ }
+ break;
+ case 4:
+ {
+ printf(">>>>>Input ID NUM<<<<<\n");
+ char tmp_ul[127]={0};
+ memset(tmp_ul, 0x00, sizeof(tmp_ul));
+ fgets(tmp_ul, sizeof(tmp_ul)-1, stdin);
+ fflush(stdin);
+ fd_t = atoi(tmp_ul);
+ fd_t = qser_wakelock_unlock(fd_t);
+ if (fd_t == -1)
+ {
+ printf(">>>>>Output error =[%d]<<<<<\n",fd_t);
+ }
+ else
+ {
+ printf(">>>>>Output succuess<<<<<\n");
+ }
+ }
+ break;
+ case 5:
+ {
+ printf(">>>>>Input ID NUM<<<<<\n");
+ char tmp_d[127]={0};
+ memset(tmp_d, 0x00, sizeof(tmp_d));
+ fgets(tmp_d, sizeof(tmp_d)-1, stdin);
+ fflush(stdin);
+ fd_t = atoi(tmp_d);
+ fd_t = qser_wakelock_destroy(fd_t);
+ if (fd_t == -1)
+ {
+ printf(">>>>>Output error =[%d]<<<<<\n",fd_t);
+ }
+ else
+ {
+ printf(">>>>>Output succuess<<<<<\n");
+ }
+ }
+ break;
+ case 6:
+ {
+ printf(">>>>>Input whitelish NUM 4位(eg:1010) <<<<<\n");
+ char whitelish[16]={0};
+ int len_whitelish;
+ char tmp[16]={0};
+ memset(tmp, 0x00, sizeof(tmp));
+ fgets(tmp, sizeof(tmp)-1, stdin);
+ fflush(stdin);
+ len_whitelish = strlen(tmp)-1;
+
+ strncpy(whitelish, tmp, len_whitelish);
+ printf(">>>set tmp =[%s] list = [%s] len_whitelish =[%d]\n",tmp, whitelish,len_whitelish);
+
+ qser_whitelist_set(whitelish);
+ }
+ break;
+ case 7:
+ {
+ char whitelish_get[10]={0};
+
+ qser_whitelist_get(whitelish_get);
+ printf(">>>get list = [%s]\n", whitelish_get);
+ }
+ break;
+ case 8:
+ {
+ qser_pm_cfg_t *qser_lpm_cfg = NULL;
+ qser_lpm_cfg = (qser_pm_cfg_t *)malloc(sizeof(qser_pm_cfg_t));
+ qser_lpm_cfg->wakeupin.wakeupin_pin = 50;
+ qser_lpm_cfg->wakeupin.wakeupin_edge = E_QL_LPM_FALLING;
+ qser_lpm_init(qser_lpm_handler, qser_lpm_cfg);
+ free(qser_lpm_cfg);
+ }
+ break;
+ case 9:
+ qser_lpm_deinit();
+ break;
+
+ default:
+ break;
+ }
+
+ }
+
+ return 0;
+}
+
diff --git a/mbtk/test/liblynq_lib/lynq_time_test.c b/mbtk/test/liblynq_lib/lynq_time_test.c
new file mode 100755
index 0000000..886f4d3
--- /dev/null
+++ b/mbtk/test/liblynq_lib/lynq_time_test.c
@@ -0,0 +1,114 @@
+#include "lynq_systime.h"
+
+#include <stdio.h>
+#include <stdlib.h>
+
+
+
+int main()
+{
+ char operator[10];
+ int opt;
+ time_src_status_s time_src ={0};
+ unsigned long ulsec =0;
+ int en;
+
+ while(1)
+ {
+ printf("=========time main=========\n"
+ "\t0 exit\n"
+ "\t1 ntp_sync_time\n"
+ "\t2 modem_time_enable\n"
+ "\t3 gnss_time_enable\n"
+ "\t4 user_set_time\n"
+ "\t5 lynq_sync_time_from_rtc(don't support)\n"
+ "\t6 lynq_get_time_src_status\n"
+ "\t7 lynq_set_rtc_time(don't support)\n"
+ "\t8 lynq_get_rtc_time(don't support)\n"
+ "operator: >> ");
+
+
+ fgets(operator, sizeof(operator), stdin);
+ fflush(stdin);
+ opt = atoi(operator);
+ switch (opt)
+ {
+ case 0:
+ printf("main exit\n");
+ return 0;
+ case 1:
+ {
+ printf(">>>>>Input 0 or 1<<<<<\n");
+ memset(operator, 0x00, sizeof(operator));
+ fgets(operator, sizeof(operator)-1, stdin);
+ fflush(stdin);
+ en = atoi(operator);
+ //enable set time from ntp
+ if (en == 0 || en == 1)
+ ntp_sync_time(en);
+ else
+ printf(">>>>>RE Input 0 or 1<<<<<\n");
+ }
+ break;
+ case 2:
+ {
+ printf(">>>>>Input 0 or 1<<<<<\n");
+ memset(operator, 0x00, sizeof(operator));
+ fgets(operator, sizeof(operator)-1, stdin);
+ fflush(stdin);
+ en = atoi(operator);
+ //enable set time from nitz
+ if (en == 0 || en == 1)
+ modem_time_enable(en);
+ else
+ printf(">>>>>RE Input 0 or 1<<<<<\n");
+ }
+ break;
+ case 3:
+ {
+ printf(">>>>>Input 0 or 1<<<<<\n");
+ memset(operator, 0x00, sizeof(operator));
+ fgets(operator, sizeof(operator)-1, stdin);
+ fflush(stdin);
+ en = atoi(operator);
+ //enable set time from gnss
+ if (en == 0 || en == 1)
+ gnss_time_enable(en);
+ else
+ printf(">>>>>RE Input 0 or 1<<<<<\n");
+ }
+ break;
+ case 4:
+ //enable set time from user
+ user_set_time("2024-01-09", "11:30");
+ break;
+ case 5:
+ // RTC TIME set to system
+ lynq_sync_time_from_rtc();
+ break;
+ case 6:
+ //check sysytem type
+ lynq_get_time_src_status (&time_src);
+ printf("time source status are: \nntp=%d\nnitz=%d\ngnss=%d\n",time_src.ntp,time_src.nitz, time_src.gnss);
+ break;
+ case 7:
+ // system time set to RTC
+ lynq_set_rtc_time();
+ break;
+ case 8:
+ // get RTC time
+ lynq_get_rtc_time(&ulsec);
+ break;
+ default:
+ break;
+ }
+
+ sleep(1);
+ }
+
+ return 0;
+}
+
+
+
+
diff --git a/mbtk/test/liblynq_lib/lynq_wifi_test.c b/mbtk/test/liblynq_lib/lynq_wifi_test.c
new file mode 100755
index 0000000..077c7e3
--- /dev/null
+++ b/mbtk/test/liblynq_lib/lynq_wifi_test.c
@@ -0,0 +1,55 @@
+#include "sta_cli.h"
+#include "lynq_wifi.h"
+
+#include <stdio.h>
+#include <stdlib.h>
+
+
+
+
+#define MAX_LEN 15
+
+
+void lynq_wifi_event_handle_sta_demo(lynq_wifi_sta_scan_list_t *event)
+{
+ int i = 0;
+ for (i = 0; i < event->cnt; i++)
+ {
+ printf("[lynq-wifi-demo] %s : ap[%d]:%s,%d,%d,%d,%s,%d,%d,%d\n", __func__, i,
+ event->info[i].essid, event->info[i].auth,
+ event->info[i].cipher, event->info[i].channel, event->info[i].bssid,
+ event->info[i].signal_level,event->info[i].frequency,event->info[i].signal);
+ }
+}
+
+
+
+int main(int argc, char const *argv[])
+{
+ lynq_wifi_sta_param_t sta_param;
+ lynq_wifi_sta_status_t sta_status;
+
+ qser_wifi_enable();
+ qser_wifi_sta_param_get(&sta_param);
+ qser_wifi_register_handle(NULL, lynq_wifi_event_handle_sta_demo, NULL);
+ qser_wifi_sta_start_scan();
+ qser_wifi_sta_start();
+ qser_wifi_sta_get_status(&sta_status);
+
+
+ // qser_wifi_sta_stop();
+
+ // qser_wifi_disable();
+
+ //qser_wifi_sta_param_get(&sta_param);
+ /*
+ strcpy(sta_param.ssid, "test");
+ strcpy(sta_param.passwd, "123456");
+ printf("test111");
+ qser_wifi_sta_param_set(&sta_param);
+ */
+
+
+
+ return 0;
+}
diff --git a/mbtk/test/liblynq_lib/qser_data_call_test.c b/mbtk/test/liblynq_lib/qser_data_call_test.c
new file mode 100755
index 0000000..0d4d9f2
--- /dev/null
+++ b/mbtk/test/liblynq_lib/qser_data_call_test.c
@@ -0,0 +1,380 @@
+#include <stdio.h>
+#include <stdlib.h>
+#include <unistd.h>
+#include <errno.h>
+#include <sys/socket.h>
+#include <sys/un.h>
+#include <netinet/in.h>
+#include <pthread.h>
+#include <sys/epoll.h>
+#include <string.h>
+#include <fcntl.h>
+#include <signal.h>
+
+#include "lynq-qser-data.h"
+#include "mbtk_log.h"
+
+static void help()
+{
+ printf("apn_get <cid> : Get current apns.\n");
+ printf("apn_del <cid> : del apns.\n");
+ printf("apn_list <cid> : list apns.\n");
+ printf("apn_set <cid> <0/1/2/3> <apn> <apn_type> [<user> <pass> <(0 1)/2/3>] : \n");
+ printf("Set apn (1-6) (IPV4/PPP/IPV6/IPV4V6) (150) (iot_net_i) (127) (127) (NONE/PAP/CHAP).\n");
+ printf("apn_add <0/1/2/3> <apn> <apn_type> [<user> <pass> <(0 1)/2/3>] : \n");
+ printf("data_call <0/1/2/3> <cid> <type> <re-con> <user> <pass>: Stop/Start/State data call.\n");
+ printf("data_call <0/1/2/3> <cid> <IPV4/IPV6/IPV4V6> [<0/1> <user> <pass>].\n");
+}
+
+static int proc_exit()
+{
+ qser_data_call_destroy();
+ return 0;
+}
+
+static void sig_process(int sig)
+{
+ LOGI("I got signal %d\n", sig);
+ switch(sig)
+ {
+ case SIGINT: // Ctrl + C
+ {
+ LOGI("Exit by SIGINT.\n");
+ proc_exit();
+ exit(0);
+ }
+ case SIGQUIT: // Ctrl + \ (类似 SIGINT ,但要产生core文件)
+ {
+ LOGI("Exit by SIGQUIT.\n");
+ proc_exit();
+ exit(0);
+ }
+ case SIGTERM:// 默认kill (同 SIGKILL ,但 SIGKILL 不可捕获)
+ {
+ LOGI("Exit by SIGTERM.\n");
+ proc_exit();
+ exit(0);
+ }
+ case SIGTSTP:// Ctrl + Z (同 SIGSTOP ,但 SIGSTOP 不可捕获)
+ {
+ LOGI("Exit by SIGTSTP.\n");
+ exit(0);
+ }
+ case SIGSEGV: // 如空指针
+ {
+ LOGI("Exit by SIGSEGV.\n");
+ exit(0);
+ }
+ default:
+ {
+ LOGI("Unknown sig:%d\n",sig);
+ break;
+ }
+ }
+}
+
+static void data_call_status_cb(qser_data_call_state_s *state)
+{
+ printf("entry data_call_status_cb\n");
+ if(state == NULL)
+ {
+ printf("state is NULL\n");
+ }
+ printf("DATA_DEMO_CALL_BACK: profile_idx=%d, name=%s, ip_family=%d, state=%d, error=%d\n"
+ , state->profile_idx, state->name, state->ip_family, state->state, state->err);
+}
+
+int main(int argc, char *argv[])
+{
+ signal(SIGINT, sig_process);
+ signal(SIGQUIT, sig_process);
+ signal(SIGTERM, sig_process);
+ //signal(SIGTSTP, sig_process);
+ //signal(SIGSEGV, sig_process);
+
+ mbtk_log_init(NULL,"MBTK_QSER_DATA_CALL_TEST");
+
+ //test2(0, "192.168.1.198");
+ //test2(1, "2409:8162:140:cd3c:1:2:1494:72ba");
+ //test2(1, "254.128.0.0.0.0.0.0.0.1.0.2.144.5.212.239");
+ //test2(1, "2400:3200::1");
+
+ int err = qser_data_call_init(data_call_status_cb);
+ if(err)
+ {
+ printf("qser_data_call_init fail.");
+ return -1;
+ }
+
+ printf(">>>>>>>>>>>>>>>>>>>>>>>>Enter cmd:\n");
+ char cmd[1024];
+ while(1)
+ {
+ memset(cmd, 0, 1024);
+ if(fgets(cmd, 1024, stdin))
+ {
+ char *ptr = cmd + strlen(cmd) - 1;
+ while(ptr >= cmd && (*ptr == '\r' || *ptr == '\n'))
+ {
+ *ptr-- = '\0';
+ }
+
+ if(!strncasecmp(cmd, "apn", 3)){
+ if(!strncasecmp(cmd, "apn_get", 7)) { // Get apn
+ char *ptr = strstr(cmd, " ");
+ if(ptr == NULL)
+ continue;
+ while(*ptr != '\0' && *ptr == ' ')
+ ptr++;
+ int cid = atoi(ptr);
+ qser_apn_info_s qser_apn = {0};
+ err = qser_apn_get(cid, &qser_apn);
+ if(err) {
+ printf("Error : %d\n", err);
+ } else {
+ printf("APN : %d, %d, %s, %s, %s, %d, %s.\n",qser_apn.profile_idx, qser_apn.pdp_type, qser_apn.apn_name, qser_apn.username, qser_apn.password, qser_apn.auth_proto, qser_apn.apn_type);
+ }
+ } else if(!strncasecmp(cmd, "apn_list", 8)){
+ qser_apn_info_list_s apn_list = {0};
+ err = qser_apn_get_list(&apn_list);
+ if(err)
+ {
+ printf("Error : %d\n", err);
+ }
+ else
+ {
+ printf("cnt: %d.\n", apn_list.cnt);
+ int i = 0;
+ for(i = 0; i < apn_list.cnt; i++)
+ {
+ printf("APN : %d, %d, %s, %s, %s, %d, %s.\n", apn_list.apn[i].profile_idx, apn_list.apn[i].pdp_type, apn_list.apn[i].apn_name, apn_list.apn[i].username, apn_list.apn[i].password, apn_list.apn[i].auth_proto, apn_list.apn[i].apn_type);
+ }
+ }
+ } else if(!strncasecmp(cmd, "apn_del", 7)){
+ char *ptr = strstr(cmd, " ");
+ if(ptr == NULL)
+ continue;
+ while(*ptr != '\0' && *ptr == ' ')
+ ptr++;
+ char profile_idx = atoi(ptr);
+ err = qser_apn_del(profile_idx);
+ if(err)
+ {
+ printf("Error : %d\n", err);
+ }
+ else
+ {
+ printf("APN set success.\n");
+ }
+ } else if(!strncasecmp(cmd, "apn_add", 7)){
+ char qser_idx = 0;
+ qser_apn_add_s qser_apn = {0};
+
+ char buf1[2] = {0};
+ char buf2[2] = {0};
+ int ret = sscanf(cmd, "apn_add %s %s %s %s %s %s", buf1, qser_apn.apn_name, qser_apn.apn_type, qser_apn.username, qser_apn.password, buf2);
+ if(strlen(buf1))
+ {
+ qser_apn.pdp_type = buf1[0] - '0';
+ }
+
+ if(strlen(buf2))
+ {
+ qser_apn.auth_proto = buf2[0] - '0';
+ }
+ printf("param is [%d]\r\n", ret);
+ printf("apn_add:%d %s %s %s %s %d\r\n", qser_apn.pdp_type, qser_apn.apn_name, qser_apn.apn_type, qser_apn.username, qser_apn.password, qser_apn.auth_proto);
+ if(ret >= 3)
+ {
+ err = qser_apn_add(&qser_apn, &qser_idx);
+ }
+
+ if(err) {
+ printf("Error : %d\n", err);
+ } else {
+ printf("APN set success. get idx = [%d]\n", qser_idx);
+ }
+ }
+ else { // apn <cid> <0/1/2> <apn> <apn_type> [<user> <pass> <auth>]
+ qser_apn_info_s qser_apn = {0};
+
+ char buf0[2] = {0};
+ char buf1[2] = {0};
+ char buf2[2] = {0};
+ int ret = sscanf(cmd, "apn_set %s %s %s %s %s %s %s", buf0, buf1, qser_apn.apn_name, qser_apn.apn_type, qser_apn.username, qser_apn.password, buf2);
+ if(strlen(buf0))
+ {
+ qser_apn.profile_idx = buf0[0] - '0';
+ }
+
+ if(strlen(buf1))
+ {
+ qser_apn.pdp_type = buf1[0] - '0';
+ }
+
+ if(strlen(buf2))
+ {
+ qser_apn.auth_proto = buf2[0] - '0';
+ }
+ printf("param is [%d]\r\n", ret);
+ printf("apn_set:%d %d %s %s %s %s %d\r\n", qser_apn.profile_idx, qser_apn.pdp_type, qser_apn.apn_name, qser_apn.apn_type, qser_apn.username, qser_apn.password, qser_apn.auth_proto);
+ if(ret >= 4)
+ {
+ err = qser_apn_set(&qser_apn);
+ }
+
+ if(err) {
+ printf("Error : %d\n", err);
+ } else {
+ printf("APN set success\n");
+ }
+ }
+ } else if(!strncasecmp(cmd, "data_call", 9)){ // data_call <0/1/2> <cid> <timeout>
+ // data_call <0/1/2> <cid> <type> <re-con> <user> <pass>
+ qser_data_call_s qser_data_call = {0};
+ char *ptr = strstr(cmd, " ");
+ if(ptr == NULL)
+ continue;
+ while(*ptr != '\0' && *ptr == ' ')
+ ptr++;
+ int type = atoi(ptr);
+
+ ptr = strstr(ptr, " ");
+ if(ptr == NULL)
+ continue;
+ while(*ptr != '\0' && *ptr == ' ')
+ ptr++;
+ int cid = atoi(ptr);
+
+ ptr = strstr(ptr, " ");
+ if(ptr == NULL)
+ continue;
+ while(*ptr != '\0' && *ptr == ' ')
+ ptr++;
+ qser_data_call_ip_family_e ip_type = atoi(ptr);
+
+ ptr = strstr(ptr, " ");
+ if(ptr == NULL)
+ {
+
+ }
+ else
+ {
+ while(*ptr != '\0' && *ptr == ' ')
+ ptr++;
+ qser_data_call.reconnect = atoi(ptr);
+
+ ptr = strstr(ptr, " ");
+ if(ptr == NULL)
+ continue;
+ while(*ptr != '\0' && *ptr == ' ')
+ ptr++;
+ memcpy(qser_data_call.cdma_username, ptr, strlen(ptr));
+ char *tmp = qser_data_call.cdma_username;
+ while(*tmp) {
+ if(*tmp == ' ') {
+ *tmp = '\0';
+ break;
+ }
+ tmp++;
+ }
+
+ ptr = strstr(ptr, " ");
+ if(ptr == NULL)
+ continue;
+ while(*ptr != '\0' && *ptr == ' ')
+ ptr++;
+ memcpy(qser_data_call.cdma_password, ptr, strlen(ptr));
+ tmp = qser_data_call.cdma_password;
+ while(*tmp) {
+ if(*tmp == ' ') {
+ *tmp = '\0';
+ break;
+ }
+ tmp++;
+ }
+ }
+#if 1
+ qser_data_call_error_e qser_err;
+ switch (type)
+ {
+ case 0:
+ err = qser_data_call_stop(cid, ip_type, &qser_err);
+ break;
+ case 1:
+ qser_data_call.profile_idx = cid;
+ qser_data_call.ip_family = ip_type;
+ err = qser_data_call_start(&qser_data_call, &qser_err);
+ break;
+ case 2: {
+ qser_data_call_info_s info;
+ err = qser_data_call_info_get(cid, ip_type, &info, &qser_err);
+ if(!err) {
+ printf("cid : %d, ip_type : %d\n", info.profile_idx, info.ip_family);
+ if(info.v4.state) {
+ LOGE("[qser_data_call] IP: 0x%08x pri_DNS: 0x%08x sec_DNS: 0x%08x.", info.v4.addr.ip.s_addr, info.v4.addr.pri_dns.s_addr, info.v4.addr.sec_dns.s_addr);
+ //printf("%s: %s, %s, %s\n", info.v4.name, inet_ntoa(info.v4.addr.ip), inet_ntoa(info.v4.addr.pri_dns), inet_ntoa(info.v4.addr.sec_dns));
+ printf("%s: %s ", info.v4.name, inet_ntoa(info.v4.addr.ip));
+ printf("%s ", inet_ntoa(info.v4.addr.pri_dns));
+ printf("%s\n", inet_ntoa(info.v4.addr.sec_dns));
+ } else {
+ printf("IPV4 not available.\n");
+ }
+
+ if(info.v6.state) {
+ char IP_buf[128] = {0};
+ char pri_dns_buf[128] = {0};
+ char sec_dns_buf[128] = {0};
+ ipv6_2_str(&(info.v6.addr.ip), IP_buf);
+ ipv6_2_str(&(info.v6.addr.pri_dns), pri_dns_buf);
+ ipv6_2_str(&(info.v6.addr.sec_dns), sec_dns_buf);
+ printf("%s: %s, %s, %s\n", info.v6.name, IP_buf, pri_dns_buf, sec_dns_buf);
+ } else {
+ printf("IPV6 not available.\n");
+ }
+ }
+ break;
+ }
+ case 3:
+ {
+ qser_data_call.profile_idx = cid;
+ qser_data_call.ip_family = ip_type;
+ err = qser_data_call_start_async(&qser_data_call, &qser_err);
+ break;
+ }
+ default:
+ printf("Type error:%d\n", type);
+ break;
+ }
+#endif
+ printf("qser_err: %d\n", qser_err);
+ if(err) {
+ printf("Error : %d\n", err);
+ } else {
+ printf("DATA_CALL success\n");
+ }
+ }
+ else if(!strcasecmp(cmd, "h") || !strcasecmp(cmd, "help")) {
+ help();
+ } else if(!strcasecmp(cmd, "q")) {
+ break;
+ } else {
+ printf("\n");
+ }
+ }
+ }
+
+ proc_exit();
+
+ LOGI("Client exec complete.");
+#if 1
+ while(1)
+ {
+ sleep(1000 * 365 * 24 * 60 * 60);
+ }
+#else
+ sleep(1);
+#endif
+ return 0;
+}
+
diff --git a/mbtk/test/liblynq_lib/qser_gnss_test.c b/mbtk/test/liblynq_lib/qser_gnss_test.c
new file mode 100755
index 0000000..c7c8563
--- /dev/null
+++ b/mbtk/test/liblynq_lib/qser_gnss_test.c
@@ -0,0 +1,350 @@
+#include <stdio.h>
+#include <string.h>
+#include <strings.h>
+#include <stdlib.h>
+#include <errno.h>
+#include <termios.h>
+#include <unistd.h>
+#include <fcntl.h>
+#include <signal.h>
+#include <sys/types.h>
+#include <unistd.h>
+#include <pthread.h>
+#include <termios.h>
+#include <time.h>
+#include <sys/ioctl.h>
+#include <dlfcn.h>
+#include <stdint.h>
+#include "lynq_gnss.h"
+
+void cb(uint32_t h_loc, e_msg_id_t e_msg_id, void *pv_data, void *context_ptr)
+{
+ printf("e_msg_id=%d\n", e_msg_id);
+ switch(e_msg_id)
+ {
+ case E_MT_LOC_MSG_ID_LOCATION_INFO: //选择mode1,输出定位信息
+ {
+ mopen_location_info_t *pt_location = (mopen_location_info_t *)pv_data;
+ printf("**** flag=0x%X, Latitude = %f, Longitude=%f, altitude = %f, speed = %f, timestamp = %lld ****\n",
+ pt_location->flags,
+ pt_location->latitude,
+ pt_location->longitude,
+ pt_location->altitude,
+ pt_location->speed,
+ pt_location->timestamp);
+ break;
+ }
+ case E_MT_LOC_MSG_ID_NMEA_INFO: //选择mode3,输出nmea数据信息
+ {
+ mopen_gnss_nmea_info_t *pt_nmea = (mopen_gnss_nmea_info_t *)pv_data;
+
+ printf("**** NMEA info: timestamp=%lld, length=%d, nmea=%s ****\n",
+ pt_nmea->timestamp, pt_nmea->length, pt_nmea->nmea);
+ break;
+ }
+ }
+}
+
+void async_cb(qser_gnss_error_e state)
+{
+ printf("start gnss async state: %d \n", state);
+}
+
+void user_help(void)
+{
+ printf("\t-1 exit\n"
+ "\t1 gnss init\n"
+ "\t2 gnss deinit \n"
+ "\t3 gnss add nmea callback\n"
+ "\t4 gnss set local mode\n"
+ "\t5 gnss set nmea mode\n"
+ "\t6 gnss start\n"
+ "\t7 gnss stop\n"
+ "\t8 gnss Delete_Aiding_Data and reset (new not support)\n"
+ "\t9 gnss injecttime (new not support)\n"
+ "\t10 gnss download agps\n"
+ "\t11 gnss set frequency\n"
+ "\t12 gnss send agps data to gnss\n"
+ "\t13 gnss config agps server info\n"
+ "\t14 gnss set async cb\n"
+ "\t15 gnss start async\n"
+ "please input operator: >> \n");
+}
+void delete_type(void)
+{
+ printf("\t0 DELETE_NOTHING\n"
+ "\t1 DELETE_EPHEMERIS\n"
+ "\t2 DELETE_ALMANAC\n"
+ "\t3 DELETE_POSITION_TIME \n"
+ "\t4 DELETE_UTC\n"
+ "\t5 DELETE_ALL\n"
+ "please input operator: >> \n");
+}
+
+int main(int argc, char *argv[])
+{
+ int ret;
+ int opt = 0;
+ //char *lynqLib_gnss = "/lib/liblynq-qser-gnss.so";
+ char dev_file[12] = {0};
+ uint32_t ph_gnss;
+ //dlHandle_gnss = dlopen(lynqLib_gnss, RTLD_NOW);
+ while(1)
+ {
+ printf("=========gnss main=========\n");
+ user_help();
+ scanf("%d", &opt);
+ switch (opt)
+ {
+ case -1:
+ {
+ qser_Gnss_Stop(ph_gnss);
+ qser_Gnss_Deinit(ph_gnss);
+ printf("main exit\n");
+ return 0;
+ }
+
+ case 1:
+ {
+ ret = qser_Gnss_Init(&ph_gnss);
+ if(ret < 0)
+ {
+ printf("qser_Gnss_Init FAIL.\n");
+ }
+ else
+ {
+ printf("qser_Gnss_Init success , with address=%08x\n", ph_gnss);
+ }
+ break;
+ }
+ case 2:
+ {
+ ret =qser_Gnss_Deinit(ph_gnss);
+ if(ret < 0)
+ {
+ printf("qser_Gnss_Deinit FAIL.\n");
+ }
+ else
+ {
+ printf("qser_Gnss_Deinit success \n");
+ }
+ break;
+ }
+ case 3:
+ {
+ ret = qser_AddRxIndMsgHandler((gnss_handler_func_t)&cb,ph_gnss);
+ if(ret < 0)
+ {
+ printf("qser_AddRxIndMsgHandler fail\n");
+ }
+ else
+ {
+ printf("add success\n");
+ }
+ break;
+ }
+ case 4:
+ {
+ e_msg_id_t ptr2=E_MT_LOC_MSG_ID_LOCATION_INFO;
+ ret = qser_Set_Indications(ph_gnss,ptr2);
+ if(ret < 0)
+ {
+ printf("qser_Set_Indications fail\n");
+ }
+ else
+ {
+ printf("set location mode success\n");
+ }
+ break;
+ }
+ case 5:
+ {
+ e_msg_id_t ptr4=E_MT_LOC_MSG_ID_NMEA_INFO;
+ ret = qser_Set_Indications(ph_gnss,ptr4);
+ if(ret < 0)
+ {
+ printf("qser_Set_Indications fail\n");
+ }
+ else
+ {
+ printf("set nmea mode success\n");
+ }
+ break;
+ }
+ case 6:
+ {
+ ret = qser_Gnss_Start(ph_gnss);
+ if(ret < 0)
+ {
+ printf("qser_Gnss_Start fail\n");
+ }
+ else
+ {
+ printf("start success\n");
+ }
+ break;
+ }
+ case 7:
+ {
+ ret = qser_Gnss_Stop(ph_gnss);
+ if(ret < 0)
+ {
+ printf("qser_Gnss_Stop fail\n");
+ }
+ else
+ {
+ printf("stop success\n");
+ }
+ break;
+ }
+ case 8:
+ {
+ int opt_1;
+ DELETE_AIDING_DATA_TYPE_T ptr;
+ printf("=========delete aiding data type=========\n");
+ delete_type();
+ scanf("%d", &opt_1);
+ switch(opt_1)
+ {
+ case 0:
+ {
+ ptr = DELETE_NOTHING;//hot
+ break;
+ }
+ case 1:
+ {
+ ptr = DELETE_EPHEMERIS;//warm
+ break;
+ }
+ case 2:
+ {
+ ptr = DELETE_ALMANAC;
+ break;
+ }
+ case 3:
+ {
+ ptr = DELETE_POSITION_TIME;
+ break;
+ }
+ case 4:
+ {
+ ptr = DELETE_UTC;
+ break;
+ }
+ case 5:
+ {
+ ptr = DELETE_ALL;//cold
+ break;
+ }
+ }
+ ret = qser_Gnss_Delete_Aiding_Data(ph_gnss,ptr);
+ if(ret < 0)
+ {
+ printf("qser_Gnss_Delete_Aiding_Data %d fail\n",opt_1);
+ }
+ else
+ {
+ printf("qser_Gnss_Delete_Aiding_Data %d success\n",opt_1);
+ }
+ break;
+ }
+ case 9:
+ {
+ LYNQ_INJECT_TIME_INTO_T time_test;
+ ret = qser_Gnss_InjectTime(ph_gnss,&time_test);
+ if(ret < 0)
+ {
+ printf("qser_Gnss_InjectTime fail\n");
+ }
+ else
+ {
+ printf("qser_Gnss_InjectTime success\n");
+ }
+ break;
+ }
+ case 10:
+ {
+ ret = qser_Gnss_download_tle();
+ if(ret < 0)
+ {
+ printf("qser_Gnss_download_tle fail\n");
+ }
+ else
+ {
+ printf("qser_Gnss_download_tle success\n");
+ }
+ break;
+ }
+ case 11:
+ {
+ int frequency;
+ printf("=========Set Frequency=========\n");
+ scanf("%d", &frequency);
+ ret = qser_Gnss_Set_Frequency(ph_gnss,frequency);
+ if(ret < 0)
+ {
+ printf("qser_Gnss_Set_Frequency fail\n");
+ }
+ else
+ {
+ printf("frequency is %d\n",frequency);
+ printf("qser_Gnss_Set_Frequency success\n");
+ }
+ break;
+ }
+ case 12:
+ {
+ ret = qser_Gnss_injectEphemeris(ph_gnss);
+ if(ret < 0)
+ {
+ printf("qser_Gnss_injectEphemeris fail\n");
+ }
+ else
+ {
+ printf("qser_Gnss_injectEphemeri ssuccess\n");
+ }
+ break;
+ }
+ case 13:
+ {
+ ret = qser_Gnss_Server_Configuration("http://uagnss.allystar.com:80/ephemeris/HD_GPS_BDS.hdb","yikecs1","Z38w5urAuawubTxi");
+ if(ret < 0)
+ {
+ printf("qser_Gnss_Server_Configuration fail\n");
+ }
+ else
+ {
+ printf("qser_Gnss_Server_Configuration ssuccess\n");
+ }
+ break;
+ }
+ case 14:
+ {
+ ret = qser_Gnss_Set_Async_Callback(async_cb);
+ if(ret < 0)
+ {
+ printf("qser_Gnss_Set_Async_Callback fail\n");
+ }
+ else
+ {
+ printf("qser_Gnss_Set_Async_Callback ssuccess\n");
+ }
+ break;
+ }
+ case 15:
+ {
+ ret = qser_Gnss_Start_Async(ph_gnss);
+ if(ret < 0)
+ {
+ printf("qser_Gnss_Start_Async fail\n");
+ }
+ else
+ {
+ printf("qser_Gnss_Start_Async ssuccess\n");
+ }
+ break;
+ }
+ }
+ }
+ return 0;
+}
diff --git a/mbtk/test/liblynq_lib/qser_led_test.c b/mbtk/test/liblynq_lib/qser_led_test.c
new file mode 100755
index 0000000..00edbde
--- /dev/null
+++ b/mbtk/test/liblynq_lib/qser_led_test.c
@@ -0,0 +1,100 @@
+#include <stdio.h>
+#include <strings.h>
+#include<stdlib.h>
+
+#include "lynq_led.h"
+
+void user_help(void)
+{
+ printf("\t-1 exit\n"
+ "\t1 open net led\n"
+ "\t2 close net led \n"
+ "\t3 open status led\n"
+ "\t4 close status led\n"
+ "please input operator: >> \n");
+}
+
+
+int main(int argc, const char *argv[])
+{
+ int ret;
+ int opt = 0;
+ while(1)
+ {
+ printf("=========gnss main=========\n");
+ user_help();
+ scanf("%d", &opt);
+ switch (opt)
+ {
+ case -1:
+ {
+ printf("main exit\n");
+ return 0;
+ }
+ case 1:
+ {
+ ret = lynq_set_netled_on(1);
+ if(ret)
+ {
+ printf("[%s-%d] lynq_set_netled_on error\n", __FUNCTION__, __LINE__);
+ return -1;
+ }
+ else
+ {
+ printf("open net led success.\n");
+ }
+ break;
+ }
+ case 2:
+ {
+ ret = lynq_set_netled_on(0);
+ if(ret)
+ {
+ printf("[%s-%d] lynq_set_netled_on error\n", __FUNCTION__, __LINE__);
+ return -1;
+ }
+ else
+ {
+ printf("close net led success.\n");
+ }
+ break;
+ }
+ case 3:
+ {
+ ret = lynq_set_statusled_on(1);
+ if(ret)
+ {
+ printf("[%s-%d] lynq_set_statusled_on error\n", __FUNCTION__, __LINE__);
+ return -1;
+ }
+ else
+ {
+ printf("open status led success.\n");
+ }
+ break;
+ }
+ case 4:
+ {
+ ret = lynq_set_statusled_on(0);
+ if(ret)
+ {
+ printf("[%s-%d] lynq_set_statusled_on error\n", __FUNCTION__, __LINE__);
+ return -1;
+ }
+ else
+ {
+ printf("close status led success.\n");
+ }
+ break;
+ }
+ default:
+ {
+ printf("opt unkuown\n");
+ break;
+ }
+ }
+ }
+
+ return 0;
+}
+
diff --git a/mbtk/test/liblynq_lib/qser_sim_test.c b/mbtk/test/liblynq_lib/qser_sim_test.c
new file mode 100755
index 0000000..6022782
--- /dev/null
+++ b/mbtk/test/liblynq_lib/qser_sim_test.c
@@ -0,0 +1,325 @@
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
+#include <sys/types.h>
+#include <pthread.h>
+#include <unistd.h>
+#include <dlfcn.h>
+#include <stdint.h>
+
+#include"lynq_qser_sim.h"
+
+
+#define BUF_SIZE 32
+#define BUF_PIN QSER_SIM_PIN_LEN_MAX
+#define VER_SIZE 128
+
+typedef uint32_t sim_client_handle_type;
+
+sim_client_handle_type ph_sim = 2023;
+sim_client_handle_type h_sim = 2023;
+
+
+int main(int argc, char const *argv[])
+{
+ printf("=========sim main=========\n"
+ "\t0 qser_sim_init\n"
+ "\t1 qser_get_imsi\n"
+ "\t2 qser_get_iccid\n"
+ "\t3 qser_get_phonenumber\n"
+ "\t4 qser_verify_pin\n"
+ "\t5 qser_change_pin\n"
+ "\t6 qser_unlock_pin\n"
+ "\t7 qser_enable_pin\n"
+ "\t8 qser_disable_pin\n"
+ "\t9 qser_get_sim_status\n"
+ "\t10 qser_get_imei\n"
+ "\t11 qser_get_imei_and_sv\n"
+ "\t12 qser_reset_modem\n"
+ "\t13 qser_get_version\n"
+ "\t14 qser_reset_sim\n"
+ "\t15 qser_deinit_sim\n"
+ "\t16 exit\n");
+
+ while(1)
+ {
+ int cmdIdx = -1;
+ int res = -1;
+
+ printf("operator: >> \n");
+
+ scanf("%d", &cmdIdx);
+ fflush(stdin);
+
+ switch(cmdIdx)
+ {
+ //"qser_sim_init"
+ case 0:
+ {
+ //int token;
+ //printf("input token\n");
+ //scanf("%d", &token);
+ res = qser_sim_client_init(&h_sim);
+ if(res == 0)
+ {
+ printf("Run qser_sim_client_init\n");
+ }else{
+ printf("qser_sim_client_init error\n");
+ }
+ }
+ break;
+ //"qser_sim_getimsi"
+ case 1:
+ {
+ char imsi[BUF_SIZE] = {0};
+ QSER_SIM_APP_ID_INFO_T pt_info;
+ res = qser_sim_getimsi(h_sim, &pt_info, imsi, BUF_SIZE);
+ if(res == 0)
+ {
+ printf("imsi is %s!!!\n",imsi);
+ }else{
+ printf("get imsi error, res = %d\n", res);
+ }
+ }
+ break;
+ //"qser_get_iccid"
+ case 2:
+ {
+ char iccid[BUF_SIZE] = {0};
+ res = qser_sim_geticcid(h_sim, QSER_SIM_SLOT_ID_1, iccid, BUF_SIZE);
+ if(res == 0)
+ {
+ printf("get iccid success!!! iccid is %s\n",iccid);
+ }else{
+ printf("get iccid error, res = %d\n", res);
+ }
+ }
+ break;
+ //qser_get_phonenumber
+ case 3:
+ {
+ char phonenumber[BUF_SIZE] = "";
+ QSER_SIM_APP_ID_INFO_T pt_info;
+ res = qser_sim_getphonenumber(h_sim, &pt_info, phonenumber, BUF_SIZE);
+ if(res == 0)
+ {
+ printf("get phonenumber success!!! phonenumber is %s\n",phonenumber);
+ }else{
+ printf("get phonenumber error, res = %d\n", res);
+ }
+ }
+ break;
+ //qser_verify_pin
+ case 4:
+ {
+ char pin[BUF_PIN] = {0};
+ QSER_SIM_VERIFY_PIN_INFO_T pt_info;
+ printf("input pin\n");
+ scanf("%s", pin);
+ strncpy(pt_info.pin_value, pin, BUF_PIN);
+ printf("pin_value = %s , pin = %s\n", pt_info.pin_value, pin);
+ pt_info.pin_value_len = strlen(pt_info.pin_value);
+
+ res = qser_sim_verifypin(h_sim, &pt_info);
+ if(res == 0)
+ {
+ printf("verify pin success!!!\n");
+ }else{
+ printf("verify pin error, res = %d\n", res);
+ }
+ }
+ break;
+ //qser_change_pin
+ case 5:
+ {
+ char old_pin[BUF_PIN] = {0};
+ QSER_SIM_CHANGE_PIN_INFO_T pt_info;
+ printf("input old pin\n");
+ scanf("%s", old_pin);
+ char new_pin[BUF_PIN] = {0};
+ printf("input new pin\n");
+ scanf("%s", new_pin);
+ strncpy(pt_info.old_pin_value, old_pin, BUF_PIN);
+ strncpy(pt_info.new_pin_value, new_pin, BUF_PIN);
+ printf("pt_info.old_pin_value = %s, old_pin = %s\n", pt_info.old_pin_value, old_pin);
+ printf("pt_info.new_pin_value = %s, new_pin = %s\n", pt_info.new_pin_value, new_pin);
+ pt_info.old_pin_value_len = strlen(pt_info.old_pin_value);
+ pt_info.new_pin_value_len = strlen(pt_info.new_pin_value);
+
+ res = qser_sim_changepin(h_sim, &pt_info);
+ if(res == 0)
+ {
+ printf("change pin success!!!\n");
+ }else{
+ printf("change pin error, res = %d\n", res);
+ }
+ }
+ break;
+ //qser_unlock_pin
+ case 6:
+ {
+ char puk[BUF_PIN] = {0};
+ QSER_SIM_UNBLOCK_PIN_INFO_T pt_info;
+ printf("input puk\n");
+ scanf("%s", puk);
+ char new_pin[BUF_PIN] = {0};
+ printf("input new pin\n");
+ scanf("%s", new_pin);
+
+ strncpy(pt_info.puk_value, puk, BUF_PIN);
+ strncpy(pt_info.new_pin_value, new_pin, BUF_PIN);
+ printf("pt_info.puk_value = %s, puk = %s\n", pt_info.puk_value, puk);
+ printf("pt_info.new_pin_value = %s, new_pin = %s\n", pt_info.new_pin_value, new_pin);
+ pt_info.new_pin_value_len = strlen(pt_info.new_pin_value);
+ pt_info.puk_value_len = strlen(pt_info.puk_value);
+
+ res = qser_sim_unblockpin(h_sim, &pt_info);
+ if(res == 0)
+ {
+ printf("unlock pin success!!!\n");
+ }else{
+ printf("unlock pin error, res = %d\n", res);
+ }
+ }
+ break;
+ //qser_enable_pin
+ case 7:
+ {
+ char pin[BUF_PIN] = {0};
+ QSER_SIM_ENABLE_PIN_INFO_T pt_info;
+ printf("input pin\n");
+ scanf("%s", pin);
+ strncpy(pt_info.pin_value, pin, BUF_PIN);
+ pt_info.pin_value_len = strlen(pt_info.pin_value);
+
+ res = qser_sim_enablepin(h_sim, &pt_info);
+ if(res == 0)
+ {
+ printf("pin enabled!!!\n");
+ }else{
+ printf("pin enable error, res =%d\n", res);
+ }
+ }
+ break;
+ //qser_disable_pin
+ case 8:
+ {
+ char pin[BUF_PIN] = {0};
+ QSER_SIM_ENABLE_PIN_INFO_T pt_info;
+ printf("input pin\n");
+ scanf("%s", pin);
+ strncpy(pt_info.pin_value, pin, BUF_PIN);
+ pt_info.pin_value_len = strlen(pt_info.pin_value);
+
+ res = qser_sim_disablepin(h_sim, &pt_info);
+ if(res == 0)
+ {
+ printf("pin disnabled!!!\n");
+ }else{
+ printf("pin disable error,res = %d\n", res);
+ }
+ }
+ break;
+ //qser_get_sim_status
+ case 9:
+ {
+ QSER_SIM_CARD_STATUS_INFO_T pt_info;
+
+ res = qser_sim_getcardstatus(h_sim, QSER_SIM_SLOT_ID_1, &pt_info);
+ if(res == 0)
+ {
+ printf("state is %d !!!\n",pt_info.e_card_state);
+ }else{
+ printf("get imsi error,res = %d\n", res);
+ }
+ }
+ break;
+ //qser_get_imei
+ case 10:
+ {
+ char imei[BUF_SIZE]="";
+ res = qser_sim_getimei(h_sim, imei);
+ if(res == 0)
+ {
+ printf("get imei success!!! imei = %s\n", imei);
+ }else{
+ printf("get imei error, res = %d\n", res);
+ }
+ }
+ break;
+ //qser_get_imei_and_sv
+ case 11:
+ {
+ char imei[BUF_SIZE]="";
+ char sv[BUF_SIZE]="";
+
+ res = qser_get_imei_and_sv(h_sim, imei, sv);
+ if(res == 0)
+ {
+ printf("get imei and sv success!!!imei = %s sv = %s\n", imei, sv);
+ }else{
+ printf("get imei and sv error, res = %d\n", res);
+ }
+ }
+ break;
+ //qser_reset_modem
+ case 12:
+ {
+ res = qser_reset_modem(h_sim);
+ if(res == 0)
+ {
+ printf("reset modem success!!!\n");
+ }else{
+ printf("reset modem error, res = %d\n", res);
+ }
+ }
+ break;
+ //qser_get_version
+ case 13:
+ {
+ char buf[VER_SIZE]="";
+
+ res = qser_get_version(h_sim, buf);
+ if(res == 0)
+ {
+ printf("get version success!!! ver = %s\n", buf);
+ }else{
+ printf("get version error, res = %d\n", res);
+ }
+ }
+ break;
+ //qser_reset_sim
+ case 14:
+ {
+ res = qser_reset_sim(h_sim);
+ if(res == 0)
+ {
+ printf("reset sim success!!!\n");
+ }else{
+ printf("reset sim error, res = %d\n", res);
+ }
+ }
+ break;
+ //qser_deinit_sim
+ case 15:
+ {
+ res = qser_sim_client_deinit(h_sim);
+ if(res == 0)
+ {
+ printf("sim deinit success is!!!\n");
+ }else{
+ printf("sim deint errors, res = %d\n", res);
+ }
+ }
+ break;
+ case 16:
+ printf("main exit\n");
+ return 0;
+ default :
+ break;
+ }
+
+ }
+
+ return 0;
+}
diff --git a/mbtk/test/liblynq_lib/qser_thermal_test.c b/mbtk/test/liblynq_lib/qser_thermal_test.c
new file mode 100755
index 0000000..62af03a
--- /dev/null
+++ b/mbtk/test/liblynq_lib/qser_thermal_test.c
@@ -0,0 +1,27 @@
+#include <sys/types.h>
+#include <unistd.h>
+#include <stdio.h>
+#include <string.h>
+#include <fcntl.h>
+#include <stdlib.h>
+
+#include"lynq_qser_thermal.h"
+#define MAX_SIZE 3
+
+int main(int argc, char *argv[]){
+ int numbers[MAX_SIZE];
+ int ret = 0;
+ ret = get_thermal_zone(numbers, MAX_SIZE);
+ if (ret <= 0)
+ {
+ printf("get_thermal_zone error\n");
+ return -1;
+ }
+
+ for (int j = 0; j < ret; ++j) {
+ printf("[%s-%d] temp[%d] = %d \n", __func__, __LINE__, j, numbers[j]);
+ }
+
+ return 0;
+}
+
diff --git a/mbtk/test/liblynq_lib/ring_tele.h b/mbtk/test/liblynq_lib/ring_tele.h
new file mode 100755
index 0000000..580bfe8
--- /dev/null
+++ b/mbtk/test/liblynq_lib/ring_tele.h
@@ -0,0 +1,6364 @@
+/* Generated by reswrap version 4.0.0 */
+
+/* created by reswrap from file m.pcm */
+#ifndef RING_TELE
+#define RING_TELE
+
+#define PCM_DATA ring_tele
+#define PCM_DATA_SIZE (sizeof(ring_tele) / sizeof(ring_tele[0]))
+
+const unsigned char ring_tele[]={
+0xd8, 0xff, 0xbc, 0xff, 0xa4, 0xff, 0x9a, 0xff, 0x9a, 0xff, 0xb4, 0xff, 0xb4, 0xff, 0xd8, 0xff,
+0xfc, 0xff, 0x18, 0x00, 0x3a, 0x00, 0x44, 0x00, 0x64, 0x00, 0x6a, 0x00, 0x4e, 0x00, 0x38, 0x00,
+0x14, 0x00, 0xf6, 0xff, 0xc6, 0xff, 0x9a, 0xff, 0x86, 0xff, 0x70, 0xff, 0x68, 0xff, 0x86, 0xff,
+0x9c, 0xff, 0xca, 0xff, 0xf0, 0xff, 0x22, 0x00, 0x58, 0x00, 0x74, 0x00, 0x86, 0x00, 0x82, 0x00,
+0x6a, 0x00, 0x42, 0x00, 0x1a, 0x00, 0xe8, 0xff, 0xa8, 0xff, 0x74, 0xff, 0x66, 0xff, 0x4c, 0xff,
+0x56, 0xff, 0x7e, 0xff, 0xa2, 0xff, 0xd6, 0xff, 0x0c, 0x00, 0x3e, 0x00, 0x72, 0x00, 0x9a, 0x00,
+0xae, 0x00, 0xa0, 0x00, 0x80, 0x00, 0x4e, 0x00, 0x06, 0x00, 0xd2, 0xff, 0x96, 0xff, 0x62, 0xff,
+0x3e, 0xff, 0x3a, 0xff, 0x44, 0xff, 0x5c, 0xff, 0x9e, 0xff, 0xd0, 0xff, 0x06, 0x00, 0x42, 0x00,
+0x8c, 0x00, 0xa0, 0x00, 0xac, 0x00, 0x9e, 0x00, 0x6e, 0x00, 0x30, 0x00, 0xfc, 0xff, 0xc2, 0xff,
+0x7c, 0xff, 0x4c, 0xff, 0x20, 0xff, 0x20, 0xff, 0x34, 0xff, 0x64, 0xff, 0xa4, 0xff, 0xec, 0xff,
+0x24, 0x00, 0x5c, 0x00, 0x96, 0x00, 0xb6, 0x00, 0xc2, 0x00, 0x9c, 0x00, 0x6c, 0x00, 0x26, 0x00,
+0xee, 0xff, 0xb2, 0xff, 0x74, 0xff, 0x4e, 0xff, 0x36, 0xff, 0x3a, 0xff, 0x54, 0xff, 0x7a, 0xff,
+0xc8, 0xff, 0x06, 0x00, 0x2e, 0x00, 0x74, 0x00, 0x9c, 0x00, 0xae, 0x00, 0xa2, 0x00, 0x86, 0x00,
+0x4c, 0x00, 0x12, 0x00, 0xdc, 0xff, 0xa2, 0xff, 0x66, 0xff, 0x48, 0xff, 0x44, 0xff, 0x46, 0xff,
+0x62, 0xff, 0x90, 0xff, 0xce, 0xff, 0x02, 0x00, 0x32, 0x00, 0x62, 0x00, 0x8a, 0x00, 0x98, 0x00,
+0x90, 0x00, 0x72, 0x00, 0x42, 0x00, 0x0a, 0x00, 0xd2, 0xff, 0xaa, 0xff, 0x74, 0xff, 0x5a, 0xff,
+0x5a, 0xff, 0x68, 0xff, 0x84, 0xff, 0xa8, 0xff, 0xde, 0xff, 0x1a, 0x00, 0x56, 0x00, 0x74, 0x00,
+0x88, 0x00, 0x96, 0x00, 0x86, 0x00, 0x60, 0x00, 0x3a, 0x00, 0xfe, 0xff, 0xce, 0xff, 0xa8, 0xff,
+0x90, 0xff, 0x82, 0xff, 0x70, 0xff, 0x7e, 0xff, 0x94, 0xff, 0xba, 0xff, 0xf4, 0xff, 0x16, 0x00,
+0x40, 0x00, 0x54, 0x00, 0x6a, 0x00, 0x60, 0x00, 0x52, 0x00, 0x46, 0x00, 0x0c, 0x00, 0xf6, 0xff,
+0xd2, 0xff, 0xa6, 0xff, 0xa0, 0xff, 0x9e, 0xff, 0x94, 0xff, 0x96, 0xff, 0xa6, 0xff, 0xd2, 0xff,
+0xee, 0xff, 0x0a, 0x00, 0x2e, 0x00, 0x30, 0x00, 0x3a, 0x00, 0x44, 0x00, 0x42, 0x00, 0x36, 0x00,
+0x14, 0x00, 0xfe, 0xff, 0xea, 0xff, 0xd2, 0xff, 0xca, 0xff, 0xc8, 0xff, 0xb4, 0xff, 0xbc, 0xff,
+0xc4, 0xff, 0xd6, 0xff, 0xec, 0xff, 0xf8, 0xff, 0x0e, 0x00, 0x16, 0x00, 0x14, 0x00, 0x22, 0x00,
+0x0e, 0x00, 0x14, 0x00, 0x0e, 0x00, 0xfc, 0xff, 0xfa, 0xff, 0xe8, 0xff, 0xda, 0xff, 0xd2, 0xff,
+0xce, 0xff, 0xc8, 0xff, 0xcc, 0xff, 0xda, 0xff, 0xda, 0xff, 0xd2, 0xff, 0xec, 0xff, 0xec, 0xff,
+0xee, 0xff, 0xf6, 0xff, 0xf4, 0xff, 0xf8, 0xff, 0xfe, 0xff, 0xfe, 0xff, 0x00, 0x00, 0xfe, 0xff,
+0xf8, 0xff, 0xf8, 0xff, 0xee, 0xff, 0xea, 0xff, 0xde, 0xff, 0xd6, 0xff, 0xd2, 0xff, 0xc6, 0xff,
+0xcc, 0xff, 0xca, 0xff, 0xce, 0xff, 0xd2, 0xff, 0xe6, 0xff, 0xf8, 0xff, 0x10, 0x00, 0x1e, 0x00,
+0x20, 0x00, 0x28, 0x00, 0x10, 0x00, 0x16, 0x00, 0x12, 0x00, 0x04, 0x00, 0xe4, 0xff, 0xc0, 0xff,
+0xb6, 0xff, 0x9c, 0xff, 0x8c, 0xff, 0x98, 0xff, 0xac, 0xff, 0xbc, 0xff, 0xdc, 0xff, 0xf8, 0xff,
+0x1a, 0x00, 0x36, 0x00, 0x42, 0x00, 0x50, 0x00, 0x40, 0x00, 0x38, 0x00, 0x18, 0x00, 0xf8, 0xff,
+0xd2, 0xff, 0xa8, 0xff, 0x86, 0xff, 0x78, 0xff, 0x76, 0xff, 0x86, 0xff, 0xa6, 0xff, 0xb6, 0xff,
+0xe4, 0xff, 0x10, 0x00, 0x48, 0x00, 0x68, 0x00, 0x78, 0x00, 0x7c, 0x00, 0x6c, 0x00, 0x46, 0x00,
+0x22, 0x00, 0xf4, 0xff, 0xd0, 0xff, 0x9c, 0xff, 0x74, 0xff, 0x5e, 0xff, 0x5c, 0xff, 0x70, 0xff,
+0x90, 0xff, 0xc2, 0xff, 0xea, 0xff, 0x22, 0x00, 0x60, 0x00, 0x7a, 0x00, 0x94, 0x00, 0x9a, 0x00,
+0x7a, 0x00, 0x54, 0x00, 0x2c, 0x00, 0xf4, 0xff, 0xc2, 0xff, 0x86, 0xff, 0x52, 0xff, 0x3e, 0xff,
+0x3c, 0xff, 0x4a, 0xff, 0x7a, 0xff, 0xb8, 0xff, 0xf4, 0xff, 0x2e, 0x00, 0x68, 0x00, 0x96, 0x00,
+0xaa, 0x00, 0xb6, 0x00, 0x90, 0x00, 0x6a, 0x00, 0x32, 0x00, 0xfa, 0xff, 0xba, 0xff, 0x76, 0xff,
+0x3e, 0xff, 0x2c, 0xff, 0x30, 0xff, 0x4c, 0xff, 0x82, 0xff, 0xc8, 0xff, 0x02, 0x00, 0x36, 0x00,
+0x7c, 0x00, 0xa2, 0x00, 0xb4, 0x00, 0xae, 0x00, 0x8e, 0x00, 0x60, 0x00, 0x0e, 0x00, 0xe4, 0xff,
+0xa0, 0xff, 0x62, 0xff, 0x36, 0xff, 0x18, 0xff, 0x2c, 0xff, 0x56, 0xff, 0x8e, 0xff, 0xcc, 0xff,
+0xfc, 0xff, 0x30, 0x00, 0x72, 0x00, 0x9c, 0x00, 0xa4, 0x00, 0xa8, 0x00, 0x88, 0x00, 0x3e, 0x00,
+0x02, 0x00, 0xce, 0xff, 0x94, 0xff, 0x5a, 0xff, 0x2e, 0xff, 0x26, 0xff, 0x3a, 0xff, 0x5e, 0xff,
+0x96, 0xff, 0xd4, 0xff, 0x0e, 0x00, 0x44, 0x00, 0x78, 0x00, 0xa4, 0x00, 0xb2, 0x00, 0x9c, 0x00,
+0x74, 0x00, 0x3c, 0x00, 0x04, 0x00, 0xbe, 0xff, 0x88, 0xff, 0x54, 0xff, 0x38, 0xff, 0x32, 0xff,
+0x40, 0xff, 0x6e, 0xff, 0xa6, 0xff, 0xe6, 0xff, 0x18, 0x00, 0x48, 0x00, 0x72, 0x00, 0x92, 0x00,
+0x96, 0x00, 0x7e, 0x00, 0x5a, 0x00, 0x28, 0x00, 0xe4, 0xff, 0xb0, 0xff, 0x88, 0xff, 0x5e, 0xff,
+0x4e, 0xff, 0x54, 0xff, 0x68, 0xff, 0x8a, 0xff, 0xc6, 0xff, 0xec, 0xff, 0x1c, 0x00, 0x4c, 0x00,
+0x6c, 0x00, 0x7c, 0x00, 0x76, 0x00, 0x66, 0x00, 0x4c, 0x00, 0x10, 0x00, 0xe6, 0xff, 0xc2, 0xff,
+0xa0, 0xff, 0x90, 0xff, 0x74, 0xff, 0x7c, 0xff, 0x90, 0xff, 0xa2, 0xff, 0xde, 0xff, 0xfc, 0xff,
+0x20, 0x00, 0x44, 0x00, 0x4e, 0x00, 0x5c, 0x00, 0x5c, 0x00, 0x56, 0x00, 0x2c, 0x00, 0x0e, 0x00,
+0xe8, 0xff, 0xc4, 0xff, 0xb0, 0xff, 0xa0, 0xff, 0x98, 0xff, 0x94, 0xff, 0xa6, 0xff, 0xb4, 0xff,
+0xe4, 0xff, 0x02, 0x00, 0x14, 0x00, 0x2c, 0x00, 0x36, 0x00, 0x38, 0x00, 0x3a, 0x00, 0x34, 0x00,
+0x08, 0x00, 0xfa, 0xff, 0xe6, 0xff, 0xdc, 0xff, 0xcc, 0xff, 0xc4, 0xff, 0xba, 0xff, 0xbc, 0xff,
+0xd2, 0xff, 0xde, 0xff, 0xf4, 0xff, 0x04, 0x00, 0x06, 0x00, 0x0a, 0x00, 0x08, 0x00, 0x10, 0x00,
+0x0c, 0x00, 0x0a, 0x00, 0x08, 0x00, 0xf4, 0xff, 0xf8, 0xff, 0xea, 0xff, 0xea, 0xff, 0xf4, 0xff,
+0xf4, 0xff, 0xf2, 0xff, 0xe6, 0xff, 0xde, 0xff, 0xd4, 0xff, 0xe4, 0xff, 0xd4, 0xff, 0xd4, 0xff,
+0xde, 0xff, 0xd4, 0xff, 0xde, 0xff, 0xec, 0xff, 0xf8, 0xff, 0x04, 0x00, 0x0e, 0x00, 0x14, 0x00,
+0x1c, 0x00, 0x0e, 0x00, 0x0e, 0x00, 0x02, 0x00, 0xfc, 0xff, 0xdc, 0xff, 0xc6, 0xff, 0xb0, 0xff,
+0xa4, 0xff, 0xb6, 0xff, 0xac, 0xff, 0xb4, 0xff, 0xd6, 0xff, 0xe4, 0xff, 0xf8, 0xff, 0x14, 0x00,
+0x2a, 0x00, 0x4a, 0x00, 0x4a, 0x00, 0x3e, 0x00, 0x2e, 0x00, 0x10, 0x00, 0xf4, 0xff, 0xde, 0xff,
+0xb4, 0xff, 0x96, 0xff, 0x94, 0xff, 0x86, 0xff, 0x96, 0xff, 0x9e, 0xff, 0xbc, 0xff, 0xee, 0xff,
+0x04, 0x00, 0x32, 0x00, 0x50, 0x00, 0x62, 0x00, 0x60, 0x00, 0x58, 0x00, 0x4c, 0x00, 0x1c, 0x00,
+0xf4, 0xff, 0xca, 0xff, 0x94, 0xff, 0x80, 0xff, 0x6a, 0xff, 0x60, 0xff, 0x7e, 0xff, 0x98, 0xff,
+0xb6, 0xff, 0xec, 0xff, 0x1e, 0x00, 0x4e, 0x00, 0x76, 0x00, 0x94, 0x00, 0x88, 0x00, 0x64, 0x00,
+0x46, 0x00, 0x14, 0x00, 0xf0, 0xff, 0xba, 0xff, 0x80, 0xff, 0x60, 0xff, 0x4a, 0xff, 0x54, 0xff,
+0x68, 0xff, 0xa0, 0xff, 0xd6, 0xff, 0x02, 0x00, 0x3a, 0x00, 0x6e, 0x00, 0x96, 0x00, 0xa8, 0x00,
+0x9c, 0x00, 0x7a, 0x00, 0x44, 0x00, 0x0a, 0x00, 0xd0, 0xff, 0x9a, 0xff, 0x64, 0xff, 0x48, 0xff,
+0x36, 0xff, 0x46, 0xff, 0x66, 0xff, 0xa0, 0xff, 0xe4, 0xff, 0x16, 0x00, 0x48, 0x00, 0x90, 0x00,
+0xb2, 0x00, 0xb4, 0x00, 0x9e, 0x00, 0x78, 0x00, 0x40, 0x00, 0xfc, 0xff, 0xc6, 0xff, 0x86, 0xff,
+0x5c, 0xff, 0x36, 0xff, 0x24, 0xff, 0x3a, 0xff, 0x6e, 0xff, 0xb0, 0xff, 0xec, 0xff, 0x1e, 0x00,
+0x60, 0x00, 0x90, 0x00, 0xb8, 0x00, 0xb8, 0x00, 0xa6, 0x00, 0x78, 0x00, 0x26, 0x00, 0xf8, 0xff,
+0xc2, 0xff, 0x7c, 0xff, 0x4a, 0xff, 0x28, 0xff, 0x32, 0xff, 0x40, 0xff, 0x6c, 0xff, 0xb0, 0xff,
+0xf8, 0xff, 0x28, 0x00, 0x62, 0x00, 0x9a, 0x00, 0xae, 0x00, 0xa8, 0x00, 0x8c, 0x00, 0x5a, 0x00,
+0x14, 0x00, 0xe2, 0xff, 0xa4, 0xff, 0x72, 0xff, 0x4a, 0xff, 0x2e, 0xff, 0x32, 0xff, 0x4a, 0xff,
+0x82, 0xff, 0xc0, 0xff, 0xfe, 0xff, 0x32, 0x00, 0x6e, 0x00, 0x90, 0x00, 0x96, 0x00, 0x96, 0x00,
+0x76, 0x00, 0x46, 0x00, 0x06, 0x00, 0xd6, 0xff, 0xa4, 0xff, 0x70, 0xff, 0x58, 0xff, 0x54, 0xff,
+0x52, 0xff, 0x6a, 0xff, 0xa4, 0xff, 0xe2, 0xff, 0x12, 0x00, 0x40, 0x00, 0x66, 0x00, 0x84, 0x00,
+0x90, 0x00, 0x72, 0x00, 0x5a, 0x00, 0x32, 0x00, 0xfc, 0xff, 0xd8, 0xff, 0x9c, 0xff, 0x82, 0xff,
+0x72, 0xff, 0x64, 0xff, 0x72, 0xff, 0x8c, 0xff, 0xb6, 0xff, 0xe8, 0xff, 0x0a, 0x00, 0x3a, 0x00,
+0x54, 0x00, 0x56, 0x00, 0x68, 0x00, 0x56, 0x00, 0x30, 0x00, 0x12, 0x00, 0xf2, 0xff, 0xd6, 0xff,
+0xaa, 0xff, 0x94, 0xff, 0x90, 0xff, 0x8e, 0xff, 0x96, 0xff, 0xb0, 0xff, 0xdc, 0xff, 0xfc, 0xff,
+0x0e, 0x00, 0x30, 0x00, 0x42, 0x00, 0x40, 0x00, 0x4a, 0x00, 0x3e, 0x00, 0x20, 0x00, 0x04, 0x00,
+0xfa, 0xff, 0xdc, 0xff, 0xc2, 0xff, 0xc8, 0xff, 0xb6, 0xff, 0xb0, 0xff, 0xb8, 0xff, 0xce, 0xff,
+0xee, 0xff, 0xf6, 0xff, 0x08, 0x00, 0x18, 0x00, 0x1e, 0x00, 0x18, 0x00, 0x20, 0x00, 0x1e, 0x00,
+0x12, 0x00, 0xfc, 0xff, 0xf4, 0xff, 0xf8, 0xff, 0xe4, 0xff, 0xda, 0xff, 0xd6, 0xff, 0xd4, 0xff,
+0xdc, 0xff, 0xd8, 0xff, 0xe2, 0xff, 0xe8, 0xff, 0xf2, 0xff, 0xf0, 0xff, 0xfc, 0xff, 0x00, 0x00,
+0xf4, 0xff, 0x06, 0x00, 0x04, 0x00, 0x02, 0x00, 0x0c, 0x00, 0xfe, 0xff, 0x06, 0x00, 0xfc, 0xff,
+0xf2, 0xff, 0xf4, 0xff, 0xf2, 0xff, 0xf0, 0xff, 0xdc, 0xff, 0xd2, 0xff, 0xcc, 0xff, 0xcc, 0xff,
+0xd0, 0xff, 0xd6, 0xff, 0xe0, 0xff, 0xf0, 0xff, 0xf6, 0xff, 0x06, 0x00, 0x16, 0x00, 0x20, 0x00,
+0x2a, 0x00, 0x18, 0x00, 0x1a, 0x00, 0x0e, 0x00, 0xfc, 0xff, 0xea, 0xff, 0xd6, 0xff, 0xbc, 0xff,
+0xa8, 0xff, 0xa4, 0xff, 0x9a, 0xff, 0xb4, 0xff, 0xb8, 0xff, 0xd4, 0xff, 0xf6, 0xff, 0x18, 0x00,
+0x2e, 0x00, 0x40, 0x00, 0x48, 0x00, 0x42, 0x00, 0x40, 0x00, 0x38, 0x00, 0x14, 0x00, 0xe8, 0xff,
+0xcc, 0xff, 0xa0, 0xff, 0x88, 0xff, 0x7e, 0xff, 0x7a, 0xff, 0x96, 0xff, 0xaa, 0xff, 0xda, 0xff,
+0xfe, 0xff, 0x2a, 0x00, 0x54, 0x00, 0x64, 0x00, 0x7e, 0x00, 0x6e, 0x00, 0x5e, 0x00, 0x3e, 0x00,
+0x08, 0x00, 0xe2, 0xff, 0xb2, 0xff, 0x7c, 0xff, 0x66, 0xff, 0x54, 0xff, 0x5c, 0xff, 0x7c, 0xff,
+0x9e, 0xff, 0xdc, 0xff, 0x10, 0x00, 0x40, 0x00, 0x64, 0x00, 0x8a, 0x00, 0x9a, 0x00, 0x94, 0x00,
+0x72, 0x00, 0x36, 0x00, 0x06, 0x00, 0xc2, 0xff, 0x90, 0xff, 0x5e, 0xff, 0x52, 0xff, 0x3c, 0xff,
+0x42, 0xff, 0x78, 0xff, 0xa2, 0xff, 0xe6, 0xff, 0x18, 0x00, 0x62, 0x00, 0x8a, 0x00, 0xa4, 0x00,
+0xb2, 0x00, 0x9a, 0x00, 0x7e, 0x00, 0x3a, 0x00, 0xf6, 0xff, 0xc0, 0xff, 0x84, 0xff, 0x4a, 0xff,
+0x30, 0xff, 0x32, 0xff, 0x4c, 0xff, 0x7e, 0xff, 0xc8, 0xff, 0xf4, 0xff, 0x2a, 0x00, 0x70, 0x00,
+0xa6, 0x00, 0xbe, 0x00, 0xbe, 0x00, 0x9e, 0x00, 0x6e, 0x00, 0x20, 0x00, 0xf2, 0xff, 0xae, 0xff,
+0x6c, 0xff, 0x4a, 0xff, 0x24, 0xff, 0x30, 0xff, 0x58, 0xff, 0x88, 0xff, 0xce, 0xff, 0x08, 0x00,
+0x32, 0x00, 0x72, 0x00, 0xa8, 0x00, 0xbc, 0x00, 0xaa, 0x00, 0x92, 0x00, 0x4c, 0x00, 0x12, 0x00,
+0xde, 0xff, 0x9e, 0xff, 0x6c, 0xff, 0x42, 0xff, 0x2c, 0xff, 0x38, 0xff, 0x60, 0xff, 0x96, 0xff,
+0xd0, 0xff, 0x0c, 0x00, 0x42, 0x00, 0x7c, 0x00, 0xaa, 0x00, 0xb0, 0x00, 0xa4, 0x00, 0x7e, 0x00,
+0x48, 0x00, 0x08, 0x00, 0xcc, 0xff, 0x98, 0xff, 0x6a, 0xff, 0x48, 0xff, 0x3a, 0xff, 0x46, 0xff,
+0x70, 0xff, 0xa8, 0xff, 0xe4, 0xff, 0x1a, 0x00, 0x48, 0x00, 0x74, 0x00, 0x90, 0x00, 0x9a, 0x00,
+0x88, 0x00, 0x5e, 0x00, 0x28, 0x00, 0xf4, 0xff, 0xbc, 0xff, 0x92, 0xff, 0x70, 0xff, 0x56, 0xff,
+0x5a, 0xff, 0x70, 0xff, 0x8c, 0xff, 0xc0, 0xff, 0xe8, 0xff, 0x1c, 0x00, 0x4a, 0x00, 0x6c, 0x00,
+0x76, 0x00, 0x6e, 0x00, 0x62, 0x00, 0x38, 0x00, 0x06, 0x00, 0xe8, 0xff, 0xb8, 0xff, 0x98, 0xff,
+0x88, 0xff, 0x76, 0xff, 0x7e, 0xff, 0x8c, 0xff, 0xa4, 0xff, 0xd2, 0xff, 0xfa, 0xff, 0x22, 0x00,
+0x4e, 0x00, 0x4c, 0x00, 0x48, 0x00, 0x48, 0x00, 0x38, 0x00, 0x14, 0x00, 0x02, 0x00, 0xde, 0xff,
+0xc4, 0xff, 0xa0, 0xff, 0xa6, 0xff, 0xa8, 0xff, 0x9e, 0xff, 0xb4, 0xff, 0xc4, 0xff, 0xe0, 0xff,
+0xfe, 0xff, 0x10, 0x00, 0x20, 0x00, 0x2e, 0x00, 0x30, 0x00, 0x1e, 0x00, 0x0a, 0x00, 0x08, 0x00,
+0xfc, 0xff, 0xec, 0xff, 0xe0, 0xff, 0xd4, 0xff, 0xe0, 0xff, 0xda, 0xff, 0xd6, 0xff, 0xe0, 0xff,
+0xe4, 0xff, 0xee, 0xff, 0xf6, 0xff, 0xfa, 0xff, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x02, 0x00,
+0x06, 0x00, 0x04, 0x00, 0x02, 0x00, 0xfc, 0xff, 0x02, 0x00, 0x04, 0x00, 0xfc, 0xff, 0xfc, 0xff,
+0x02, 0x00, 0xf0, 0xff, 0xe2, 0xff, 0xe2, 0xff, 0xda, 0xff, 0xd8, 0xff, 0xd4, 0xff, 0xd6, 0xff,
+0xd4, 0xff, 0xe4, 0xff, 0xe8, 0xff, 0xf8, 0xff, 0x08, 0x00, 0x12, 0x00, 0x1c, 0x00, 0x18, 0x00,
+0x1e, 0x00, 0x1a, 0x00, 0x0a, 0x00, 0x00, 0x00, 0xf2, 0xff, 0xce, 0xff, 0xc2, 0xff, 0xa4, 0xff,
+0xa8, 0xff, 0xb4, 0xff, 0xb2, 0xff, 0xcc, 0xff, 0xea, 0xff, 0x04, 0x00, 0x1e, 0x00, 0x38, 0x00,
+0x44, 0x00, 0x46, 0x00, 0x38, 0x00, 0x3a, 0x00, 0x18, 0x00, 0x04, 0x00, 0xe0, 0xff, 0xbc, 0xff,
+0x9c, 0xff, 0x8c, 0xff, 0x86, 0xff, 0x92, 0xff, 0xa4, 0xff, 0xb2, 0xff, 0xe0, 0xff, 0x06, 0x00,
+0x2c, 0x00, 0x54, 0x00, 0x62, 0x00, 0x58, 0x00, 0x4e, 0x00, 0x3c, 0x00, 0x1e, 0x00, 0xf2, 0xff,
+0xcc, 0xff, 0x96, 0xff, 0x80, 0xff, 0x62, 0xff, 0x54, 0xff, 0x72, 0xff, 0x94, 0xff, 0xb6, 0xff,
+0xe4, 0xff, 0x14, 0x00, 0x50, 0x00, 0x6a, 0x00, 0x8a, 0x00, 0x92, 0x00, 0x6e, 0x00, 0x46, 0x00,
+0x1a, 0x00, 0xee, 0xff, 0xbc, 0xff, 0x8a, 0xff, 0x60, 0xff, 0x48, 0xff, 0x46, 0xff, 0x5c, 0xff,
+0x96, 0xff, 0xb6, 0xff, 0xf6, 0xff, 0x30, 0x00, 0x60, 0x00, 0x94, 0x00, 0xa2, 0x00, 0xa2, 0x00,
+0x82, 0x00, 0x56, 0x00, 0x12, 0x00, 0xec, 0xff, 0xb2, 0xff, 0x6a, 0xff, 0x3e, 0xff, 0x30, 0xff,
+0x30, 0xff, 0x54, 0xff, 0x86, 0xff, 0xc2, 0xff, 0xf8, 0xff, 0x3e, 0x00, 0x82, 0x00, 0xa0, 0x00,
+0xbe, 0x00, 0xae, 0x00, 0x8e, 0x00, 0x52, 0x00, 0x0c, 0x00, 0xe6, 0xff, 0xa2, 0xff, 0x66, 0xff,
+0x3e, 0xff, 0x22, 0xff, 0x3e, 0xff, 0x5c, 0xff, 0x98, 0xff, 0xd8, 0xff, 0x0e, 0x00, 0x56, 0x00,
+0x88, 0x00, 0xb4, 0x00, 0xc2, 0x00, 0xac, 0x00, 0x8a, 0x00, 0x46, 0x00, 0xfc, 0xff, 0xd2, 0xff,
+0x8e, 0xff, 0x54, 0xff, 0x30, 0xff, 0x30, 0xff, 0x3a, 0xff, 0x64, 0xff, 0xa2, 0xff, 0xe0, 0xff,
+0x16, 0x00, 0x56, 0x00, 0x8c, 0x00, 0xb0, 0x00, 0xb6, 0x00, 0x9a, 0x00, 0x62, 0x00, 0x24, 0x00,
+0xf6, 0xff, 0xba, 0xff, 0x7e, 0xff, 0x4a, 0xff, 0x32, 0xff, 0x38, 0xff, 0x58, 0xff, 0x82, 0xff,
+0xc8, 0xff, 0xf8, 0xff, 0x30, 0x00, 0x68, 0x00, 0x8e, 0x00, 0xaa, 0x00, 0x9c, 0x00, 0x86, 0x00,
+0x50, 0x00, 0x1a, 0x00, 0xf2, 0xff, 0xb0, 0xff, 0x7a, 0xff, 0x5a, 0xff, 0x44, 0xff, 0x58, 0xff,
+0x76, 0xff, 0xa0, 0xff, 0xe0, 0xff, 0x08, 0x00, 0x32, 0x00, 0x56, 0x00, 0x78, 0x00, 0x7e, 0x00,
+0x7a, 0x00, 0x60, 0x00, 0x34, 0x00, 0x04, 0x00, 0xdc, 0xff, 0xa2, 0xff, 0x7e, 0xff, 0x66, 0xff,
+0x64, 0xff, 0x72, 0xff, 0x7a, 0xff, 0xac, 0xff, 0xe0, 0xff, 0x00, 0x00, 0x22, 0x00, 0x42, 0x00,
+0x4e, 0x00, 0x56, 0x00, 0x4a, 0x00, 0x36, 0x00, 0x18, 0x00, 0xfe, 0xff, 0xe2, 0xff, 0xb4, 0xff,
+0xa2, 0xff, 0x8e, 0xff, 0x96, 0xff, 0x96, 0xff, 0xa8, 0xff, 0xce, 0xff, 0xf4, 0xff, 0x06, 0x00,
+0x1a, 0x00, 0x2e, 0x00, 0x2a, 0x00, 0x3a, 0x00, 0x32, 0x00, 0x26, 0x00, 0x08, 0x00, 0xfa, 0xff,
+0xea, 0xff, 0xce, 0xff, 0xbc, 0xff, 0xc0, 0xff, 0xb2, 0xff, 0xb6, 0xff, 0xca, 0xff, 0xd8, 0xff,
+0xf4, 0xff, 0xfc, 0xff, 0xfc, 0xff, 0x0a, 0x00, 0x12, 0x00, 0x10, 0x00, 0x16, 0x00, 0x0a, 0x00,
+0x04, 0x00, 0xfa, 0xff, 0xf0, 0xff, 0xea, 0xff, 0xe4, 0xff, 0xda, 0xff, 0xe4, 0xff, 0xdc, 0xff,
+0xde, 0xff, 0xe6, 0xff, 0xdc, 0xff, 0xde, 0xff, 0xe8, 0xff, 0xf2, 0xff, 0xfe, 0xff, 0xf8, 0xff,
+0xf2, 0xff, 0xfe, 0xff, 0x00, 0x00, 0x0c, 0x00, 0x0a, 0x00, 0x16, 0x00, 0x12, 0x00, 0x0c, 0x00,
+0x12, 0x00, 0xfc, 0xff, 0xfc, 0xff, 0xf6, 0xff, 0xdc, 0xff, 0xc4, 0xff, 0xc8, 0xff, 0xcc, 0xff,
+0xd0, 0xff, 0xca, 0xff, 0xda, 0xff, 0xf0, 0xff, 0xfc, 0xff, 0x14, 0x00, 0x20, 0x00, 0x30, 0x00,
+0x2a, 0x00, 0x28, 0x00, 0x26, 0x00, 0x0a, 0x00, 0xfc, 0xff, 0xdc, 0xff, 0xc0, 0xff, 0xac, 0xff,
+0xa6, 0xff, 0xa8, 0xff, 0xb0, 0xff, 0xba, 0xff, 0xd0, 0xff, 0xee, 0xff, 0xfc, 0xff, 0x28, 0x00,
+0x40, 0x00, 0x56, 0x00, 0x54, 0x00, 0x48, 0x00, 0x3a, 0x00, 0x16, 0x00, 0xfc, 0xff, 0xc4, 0xff,
+0xa6, 0xff, 0x8e, 0xff, 0x7e, 0xff, 0x84, 0xff, 0x98, 0xff, 0xa6, 0xff, 0xc4, 0xff, 0xea, 0xff,
+0x0c, 0x00, 0x48, 0x00, 0x5e, 0x00, 0x6c, 0x00, 0x72, 0x00, 0x5c, 0x00, 0x3c, 0x00, 0x10, 0x00,
+0xe8, 0xff, 0xa8, 0xff, 0x74, 0xff, 0x5c, 0xff, 0x56, 0xff, 0x4e, 0xff, 0x60, 0xff, 0x8a, 0xff,
+0xb8, 0xff, 0xea, 0xff, 0x1c, 0x00, 0x52, 0x00, 0x78, 0x00, 0x8e, 0x00, 0x88, 0x00, 0x68, 0x00,
+0x40, 0x00, 0x0e, 0x00, 0xd6, 0xff, 0xa0, 0xff, 0x6a, 0xff, 0x48, 0xff, 0x3c, 0xff, 0x42, 0xff,
+0x60, 0xff, 0x9a, 0xff, 0xc8, 0xff, 0xfa, 0xff, 0x3c, 0x00, 0x78, 0x00, 0x98, 0x00, 0xae, 0x00,
+0x9e, 0x00, 0x80, 0x00, 0x40, 0x00, 0x12, 0x00, 0xd0, 0xff, 0x8e, 0xff, 0x62, 0xff, 0x32, 0xff,
+0x28, 0xff, 0x32, 0xff, 0x56, 0xff, 0xa2, 0xff, 0xd6, 0xff, 0x10, 0x00, 0x5c, 0x00, 0x8a, 0x00,
+0xb2, 0x00, 0xb6, 0x00, 0xa8, 0x00, 0x6c, 0x00, 0x24, 0x00, 0xf0, 0xff, 0xbc, 0xff, 0x80, 0xff,
+0x48, 0xff, 0x28, 0xff, 0x2a, 0xff, 0x46, 0xff, 0x7a, 0xff, 0xcc, 0xff, 0xfa, 0xff, 0x28, 0x00,
+0x6e, 0x00, 0xb0, 0x00, 0xca, 0x00, 0xb8, 0x00, 0x9a, 0x00, 0x60, 0x00, 0x1e, 0x00, 0xe0, 0xff,
+0xb0, 0xff, 0x74, 0xff, 0x46, 0xff, 0x36, 0xff, 0x3c, 0xff, 0x64, 0xff, 0x9e, 0xff, 0xd6, 0xff,
+0x20, 0x00, 0x4e, 0x00, 0x86, 0x00, 0xa0, 0x00, 0xbc, 0x00, 0xae, 0x00, 0x74, 0x00, 0x48, 0x00,
+0x06, 0x00, 0xce, 0xff, 0x96, 0xff, 0x6c, 0xff, 0x44, 0xff, 0x3e, 0xff, 0x4a, 0xff, 0x70, 0xff,
+0xae, 0xff, 0xe2, 0xff, 0x18, 0x00, 0x48, 0x00, 0x84, 0x00, 0x90, 0x00, 0xa6, 0x00, 0x82, 0x00,
+0x62, 0x00, 0x34, 0x00, 0xfa, 0xff, 0xd4, 0xff, 0x90, 0xff, 0x76, 0xff, 0x60, 0xff, 0x58, 0xff,
+0x68, 0xff, 0x8a, 0xff, 0xc0, 0xff, 0xf4, 0xff, 0x1e, 0x00, 0x4e, 0x00, 0x64, 0x00, 0x80, 0x00,
+0x7c, 0x00, 0x64, 0x00, 0x54, 0x00, 0x1e, 0x00, 0xec, 0xff, 0xc2, 0xff, 0x9a, 0xff, 0x8c, 0xff,
+0x7c, 0xff, 0x74, 0xff, 0x7c, 0xff, 0xa0, 0xff, 0xce, 0xff, 0xf2, 0xff, 0x1c, 0x00, 0x3e, 0x00,
+0x3e, 0x00, 0x50, 0x00, 0x4e, 0x00, 0x44, 0x00, 0x1e, 0x00, 0x06, 0x00, 0xe6, 0xff, 0xc2, 0xff,
+0xa0, 0xff, 0x94, 0xff, 0x96, 0xff, 0x94, 0xff, 0xa0, 0xff, 0xbe, 0xff, 0xda, 0xff, 0xf6, 0xff,
+0x0c, 0x00, 0x28, 0x00, 0x2e, 0x00, 0x2e, 0x00, 0x32, 0x00, 0x22, 0x00, 0x10, 0x00, 0xfe, 0xff,
+0xe8, 0xff, 0xd6, 0xff, 0xc8, 0xff, 0xc6, 0xff, 0xc6, 0xff, 0xb6, 0xff, 0xcc, 0xff, 0xda, 0xff,
+0xec, 0xff, 0xf6, 0xff, 0xf0, 0xff, 0xfc, 0xff, 0x0a, 0x00, 0x00, 0x00, 0x02, 0x00, 0xf8, 0xff,
+0xfc, 0xff, 0xfa, 0xff, 0xee, 0xff, 0xe8, 0xff, 0xee, 0xff, 0xea, 0xff, 0xe6, 0xff, 0xe8, 0xff,
+0xee, 0xff, 0xe8, 0xff, 0xdc, 0xff, 0xde, 0xff, 0xd6, 0xff, 0xde, 0xff, 0xe2, 0xff, 0xda, 0xff,
+0xe0, 0xff, 0xf6, 0xff, 0xf8, 0xff, 0x02, 0x00, 0x12, 0x00, 0x14, 0x00, 0x20, 0x00, 0x12, 0x00,
+0x18, 0x00, 0x10, 0x00, 0x00, 0x00, 0xfc, 0xff, 0xe4, 0xff, 0xd4, 0xff, 0xbc, 0xff, 0xbc, 0xff,
+0xc6, 0xff, 0xd6, 0xff, 0xce, 0xff, 0xf4, 0xff, 0x00, 0x00, 0x18, 0x00, 0x36, 0x00, 0x3c, 0x00,
+0x46, 0x00, 0x3c, 0x00, 0x28, 0x00, 0x22, 0x00, 0xfc, 0xff, 0xe4, 0xff, 0xc8, 0xff, 0x98, 0xff,
+0x9a, 0xff, 0x92, 0xff, 0x88, 0xff, 0xa0, 0xff, 0xba, 0xff, 0xee, 0xff, 0x08, 0x00, 0x2a, 0x00,
+0x58, 0x00, 0x5a, 0x00, 0x6c, 0x00, 0x60, 0x00, 0x42, 0x00, 0x34, 0x00, 0x02, 0x00, 0xda, 0xff,
+0xac, 0xff, 0x7c, 0xff, 0x6c, 0xff, 0x62, 0xff, 0x74, 0xff, 0x94, 0xff, 0xba, 0xff, 0xe6, 0xff,
+0x14, 0x00, 0x4c, 0x00, 0x78, 0x00, 0x88, 0x00, 0x84, 0x00, 0x7a, 0x00, 0x5c, 0x00, 0x28, 0x00,
+0x00, 0x00, 0xcc, 0xff, 0x96, 0xff, 0x58, 0xff, 0x42, 0xff, 0x44, 0xff, 0x52, 0xff, 0x7e, 0xff,
+0xb2, 0xff, 0xe8, 0xff, 0x20, 0x00, 0x50, 0x00, 0x78, 0x00, 0x94, 0x00, 0x94, 0x00, 0x86, 0x00,
+0x52, 0x00, 0x14, 0x00, 0xdc, 0xff, 0xa0, 0xff, 0x70, 0xff, 0x4e, 0xff, 0x62, 0xff, 0x8a, 0xff,
+0xc4, 0xff, 0xfe, 0xff, 0x38, 0x00, 0x76, 0x00, 0x9a, 0x00, 0xa6, 0x00, 0xa8, 0x00, 0x8c, 0x00,
+0x52, 0x00, 0x0c, 0x00, 0xd4, 0xff, 0x9a, 0xff, 0x60, 0xff, 0x2a, 0xff, 0x1e, 0xff, 0x36, 0xff,
+0x62, 0xff, 0x9c, 0xff, 0xda, 0xff, 0x0c, 0x00, 0x48, 0x00, 0x86, 0x00, 0xa0, 0x00, 0xb8, 0x00,
+0xa8, 0x00, 0x74, 0x00, 0x38, 0x00, 0xf6, 0xff, 0xc2, 0xff, 0x86, 0xff, 0x52, 0xff, 0x28, 0xff,
+0x26, 0xff, 0x3e, 0xff, 0x68, 0xff, 0xa0, 0xff, 0xe6, 0xff, 0x14, 0x00, 0x4e, 0x00, 0x80, 0x00,
+0xa2, 0x00, 0xb6, 0x00, 0x94, 0x00, 0x6c, 0x00, 0x2a, 0x00, 0xf2, 0xff, 0xb8, 0xff, 0x7a, 0xff,
+0x5c, 0xff, 0x48, 0xff, 0x46, 0xff, 0x62, 0xff, 0x82, 0xff, 0xb4, 0xff, 0xf4, 0xff, 0x26, 0x00,
+0x5a, 0x00, 0x84, 0x00, 0xa0, 0x00, 0xa0, 0x00, 0x8c, 0x00, 0x60, 0x00, 0x20, 0x00, 0xf4, 0xff,
+0xbe, 0xff, 0x8c, 0xff, 0x62, 0xff, 0x44, 0xff, 0x54, 0xff, 0x6e, 0xff, 0x8e, 0xff, 0xc2, 0xff,
+0xf6, 0xff, 0x26, 0x00, 0x52, 0x00, 0x78, 0x00, 0x82, 0x00, 0x7a, 0x00, 0x6e, 0x00, 0x40, 0x00,
+0x0e, 0x00, 0xe2, 0xff, 0xb2, 0xff, 0x8c, 0xff, 0x7c, 0xff, 0x6a, 0xff, 0x6a, 0xff, 0x82, 0xff,
+0x9e, 0xff, 0xda, 0xff, 0x06, 0x00, 0x2e, 0x00, 0x4c, 0x00, 0x66, 0x00, 0x60, 0x00, 0x56, 0x00,
+0x50, 0x00, 0x24, 0x00, 0x06, 0x00, 0xec, 0xff, 0xc2, 0xff, 0xa6, 0xff, 0xa4, 0xff, 0x98, 0xff,
+0xa4, 0xff, 0xaa, 0xff, 0xc0, 0xff, 0xea, 0xff, 0xfe, 0xff, 0x14, 0x00, 0x28, 0x00, 0x3a, 0x00,
+0x40, 0x00, 0x38, 0x00, 0x1a, 0x00, 0x08, 0x00, 0xfe, 0xff, 0xe4, 0xff, 0xcc, 0xff, 0xba, 0xff,
+0xb4, 0xff, 0xbc, 0xff, 0xac, 0xff, 0xc6, 0xff, 0xe0, 0xff, 0xee, 0xff, 0xf6, 0xff, 0xfe, 0xff,
+0x10, 0x00, 0x10, 0x00, 0x12, 0x00, 0x06, 0x00, 0x06, 0x00, 0xfc, 0xff, 0xf2, 0xff, 0xf0, 0xff,
+0xe8, 0xff, 0xd6, 0xff, 0xda, 0xff, 0xd8, 0xff, 0xdc, 0xff, 0xdc, 0xff, 0xd0, 0xff, 0xea, 0xff,
+0xf2, 0xff, 0xec, 0xff, 0xf6, 0xff, 0xfe, 0xff, 0xfe, 0xff, 0xfe, 0xff, 0xf6, 0xff, 0xf0, 0xff,
+0x06, 0x00, 0x08, 0x00, 0x06, 0x00, 0x02, 0x00, 0xfe, 0xff, 0x08, 0x00, 0xf6, 0xff, 0xe6, 0xff,
+0xe6, 0xff, 0xd2, 0xff, 0xc6, 0xff, 0xc4, 0xff, 0xcc, 0xff, 0xd4, 0xff, 0xd2, 0xff, 0xe0, 0xff,
+0xf0, 0xff, 0x06, 0x00, 0x0c, 0x00, 0x24, 0x00, 0x3a, 0x00, 0x22, 0x00, 0x1a, 0x00, 0x16, 0x00,
+0x02, 0x00, 0xf4, 0xff, 0xd4, 0xff, 0xb0, 0xff, 0xaa, 0xff, 0xaa, 0xff, 0xa2, 0xff, 0xa0, 0xff,
+0xb4, 0xff, 0xd2, 0xff, 0xfc, 0xff, 0x14, 0x00, 0x3c, 0x00, 0x60, 0x00, 0x5c, 0x00, 0x6a, 0x00,
+0x4c, 0x00, 0x30, 0x00, 0x10, 0x00, 0xe8, 0xff, 0xca, 0xff, 0x9e, 0xff, 0x8a, 0xff, 0x82, 0xff,
+0x7a, 0xff, 0x90, 0xff, 0xac, 0xff, 0xd0, 0xff, 0x06, 0x00, 0x2a, 0x00, 0x5a, 0x00, 0x78, 0x00,
+0x82, 0x00, 0x7e, 0x00, 0x60, 0x00, 0x30, 0x00, 0x04, 0x00, 0xde, 0xff, 0xa4, 0xff, 0x6c, 0xff,
+0x5a, 0xff, 0x50, 0xff, 0x54, 0xff, 0x74, 0xff, 0x9c, 0xff, 0xd6, 0xff, 0x14, 0x00, 0x46, 0x00,
+0x6e, 0x00, 0x90, 0x00, 0x96, 0x00, 0x8a, 0x00, 0x60, 0x00, 0x30, 0x00, 0x06, 0x00, 0xca, 0xff,
+0x94, 0xff, 0x66, 0xff, 0x42, 0xff, 0x3a, 0xff, 0x48, 0xff, 0x68, 0xff, 0xa8, 0xff, 0xec, 0xff,
+0x20, 0x00, 0x5e, 0x00, 0x92, 0x00, 0xa4, 0x00, 0xa8, 0x00, 0x90, 0x00, 0x62, 0x00, 0x2e, 0x00,
+0xee, 0xff, 0xba, 0xff, 0x7e, 0xff, 0x4a, 0xff, 0x2e, 0xff, 0x22, 0xff, 0x44, 0xff, 0x70, 0xff,
+0xa8, 0xff, 0xee, 0xff, 0x20, 0x00, 0x5c, 0x00, 0x92, 0x00, 0xac, 0x00, 0xa4, 0x00, 0x90, 0x00,
+0x62, 0x00, 0x2a, 0x00, 0xe8, 0xff, 0xb0, 0xff, 0x66, 0xff, 0x38, 0xff, 0x28, 0xff, 0x22, 0xff,
+0x44, 0xff, 0x74, 0xff, 0xc2, 0xff, 0x00, 0x00, 0x36, 0x00, 0x74, 0x00, 0x98, 0x00, 0xac, 0x00,
+0xaa, 0x00, 0x92, 0x00, 0x5a, 0x00, 0x1c, 0x00, 0xe8, 0xff, 0xa6, 0xff, 0x72, 0xff, 0x46, 0xff,
+0x2c, 0xff, 0x40, 0xff, 0x5a, 0xff, 0x8c, 0xff, 0xd4, 0xff, 0x0e, 0x00, 0x38, 0x00, 0x70, 0x00,
+0x92, 0x00, 0xa0, 0x00, 0x96, 0x00, 0x74, 0x00, 0x3c, 0x00, 0x04, 0x00, 0xc8, 0xff, 0x8a, 0xff,
+0x6a, 0xff, 0x50, 0xff, 0x42, 0xff, 0x4c, 0xff, 0x76, 0xff, 0xa8, 0xff, 0xdc, 0xff, 0x0a, 0x00,
+0x3e, 0x00, 0x74, 0x00, 0x86, 0x00, 0x8e, 0x00, 0x80, 0x00, 0x5e, 0x00, 0x32, 0x00, 0xf4, 0xff,
+0xc2, 0xff, 0x9e, 0xff, 0x76, 0xff, 0x64, 0xff, 0x66, 0xff, 0x6c, 0xff, 0x8e, 0xff, 0xbe, 0xff,
+0xf6, 0xff, 0x2a, 0x00, 0x50, 0x00, 0x5c, 0x00, 0x6e, 0x00, 0x74, 0x00, 0x5c, 0x00, 0x46, 0x00,
+0x14, 0x00, 0xec, 0xff, 0xc6, 0xff, 0xa0, 0xff, 0x90, 0xff, 0x78, 0xff, 0x74, 0xff, 0x88, 0xff,
+0xa6, 0xff, 0xd2, 0xff, 0xf6, 0xff, 0x12, 0x00, 0x32, 0x00, 0x3e, 0x00, 0x48, 0x00, 0x3c, 0x00,
+0x3a, 0x00, 0x26, 0x00, 0xfa, 0xff, 0xe0, 0xff, 0xc2, 0xff, 0xae, 0xff, 0xaa, 0xff, 0xa0, 0xff,
+0xaa, 0xff, 0xae, 0xff, 0xbe, 0xff, 0xe8, 0xff, 0xf8, 0xff, 0x04, 0x00, 0x0e, 0x00, 0x24, 0x00,
+0x20, 0x00, 0x24, 0x00, 0x14, 0x00, 0x0c, 0x00, 0x08, 0x00, 0xec, 0xff, 0xe8, 0xff, 0xcc, 0xff,
+0xca, 0xff, 0xdc, 0xff, 0xc8, 0xff, 0xce, 0xff, 0xdc, 0xff, 0xe2, 0xff, 0xe8, 0xff, 0xf6, 0xff,
+0xf2, 0xff, 0xe8, 0xff, 0xf2, 0xff, 0xf0, 0xff, 0xf0, 0xff, 0xf2, 0xff, 0xf4, 0xff, 0xfe, 0xff,
+0xfa, 0xff, 0xf2, 0xff, 0xf0, 0xff, 0xf8, 0xff, 0xf6, 0xff, 0xea, 0xff, 0xe4, 0xff, 0xdc, 0xff,
+0xd0, 0xff, 0xd0, 0xff, 0xc2, 0xff, 0xca, 0xff, 0xca, 0xff, 0xca, 0xff, 0xe4, 0xff, 0xf6, 0xff,
+0x0e, 0x00, 0x12, 0x00, 0x1a, 0x00, 0x26, 0x00, 0x1a, 0x00, 0x2a, 0x00, 0x1e, 0x00, 0x04, 0x00,
+0xf0, 0xff, 0xd0, 0xff, 0xbc, 0xff, 0xa2, 0xff, 0xa6, 0xff, 0xa2, 0xff, 0xb2, 0xff, 0xc0, 0xff,
+0xe4, 0xff, 0x04, 0x00, 0x10, 0x00, 0x30, 0x00, 0x3a, 0x00, 0x3e, 0x00, 0x4c, 0x00, 0x3a, 0x00,
+0x26, 0x00, 0x08, 0x00, 0xda, 0xff, 0xb6, 0xff, 0x98, 0xff, 0x88, 0xff, 0x7c, 0xff, 0x86, 0xff,
+0x9c, 0xff, 0xb2, 0xff, 0xe0, 0xff, 0x08, 0x00, 0x2a, 0x00, 0x4c, 0x00, 0x6a, 0x00, 0x76, 0x00,
+0x72, 0x00, 0x50, 0x00, 0x2e, 0x00, 0xfc, 0xff, 0xde, 0xff, 0xa8, 0xff, 0x82, 0xff, 0x80, 0xff,
+0x68, 0xff, 0x72, 0xff, 0x8e, 0xff, 0xb6, 0xff, 0xf0, 0xff, 0x1c, 0x00, 0x4e, 0x00, 0x6a, 0x00,
+0x90, 0x00, 0x9a, 0x00, 0x8e, 0x00, 0x6a, 0x00, 0x2c, 0x00, 0x12, 0x00, 0xce, 0xff, 0x98, 0xff,
+0x66, 0xff, 0x4e, 0xff, 0x42, 0xff, 0x56, 0xff, 0x86, 0xff, 0xb8, 0xff, 0xf8, 0xff, 0x26, 0x00,
+0x56, 0x00, 0x86, 0x00, 0xa0, 0x00, 0xb0, 0x00, 0x9c, 0x00, 0x66, 0x00, 0x28, 0x00, 0xf0, 0xff,
+0xbc, 0xff, 0x7a, 0xff, 0x4e, 0xff, 0x3c, 0xff, 0x32, 0xff, 0x58, 0xff, 0x8a, 0xff, 0xc0, 0xff,
+0xfa, 0xff, 0x36, 0x00, 0x80, 0x00, 0xa0, 0x00, 0xc0, 0x00, 0xc2, 0x00, 0x90, 0x00, 0x60, 0x00,
+0x14, 0x00, 0xec, 0xff, 0xa8, 0xff, 0x6a, 0xff, 0x4e, 0xff, 0x2a, 0xff, 0x34, 0xff, 0x4a, 0xff,
+0x7a, 0xff, 0xd2, 0xff, 0xfe, 0xff, 0x38, 0x00, 0x7c, 0x00, 0xae, 0x00, 0xb6, 0x00, 0xaa, 0x00,
+0x8a, 0x00, 0x48, 0x00, 0x06, 0x00, 0xd2, 0xff, 0x8e, 0xff, 0x4a, 0xff, 0x32, 0xff, 0x1a, 0xff,
+0x2c, 0xff, 0x50, 0xff, 0x8e, 0xff, 0xda, 0xff, 0x18, 0x00, 0x4c, 0x00, 0x8c, 0x00, 0xae, 0x00,
+0xb0, 0x00, 0x98, 0x00, 0x74, 0x00, 0x3a, 0x00, 0xfa, 0xff, 0xc6, 0xff, 0x86, 0xff, 0x5c, 0xff,
+0x32, 0xff, 0x3c, 0xff, 0x4c, 0xff, 0x70, 0xff, 0xae, 0xff, 0xea, 0xff, 0x2a, 0x00, 0x60, 0x00,
+0x86, 0x00, 0x94, 0x00, 0x94, 0x00, 0x7e, 0x00, 0x58, 0x00, 0x2e, 0x00, 0xf2, 0xff, 0xbe, 0xff,
+0x8c, 0xff, 0x6e, 0xff, 0x4c, 0xff, 0x52, 0xff, 0x74, 0xff, 0x88, 0xff, 0xc6, 0xff, 0xfa, 0xff,
+0x28, 0x00, 0x4e, 0x00, 0x6e, 0x00, 0x80, 0x00, 0x76, 0x00, 0x5a, 0x00, 0x3c, 0x00, 0x1a, 0x00,
+0xf8, 0xff, 0xbc, 0xff, 0x9a, 0xff, 0x90, 0xff, 0x80, 0xff, 0x86, 0xff, 0x96, 0xff, 0xb6, 0xff,
+0xe4, 0xff, 0x08, 0x00, 0x2a, 0x00, 0x4e, 0x00, 0x5c, 0x00, 0x64, 0x00, 0x5c, 0x00, 0x48, 0x00,
+0x28, 0x00, 0x12, 0x00, 0xec, 0xff, 0xc6, 0xff, 0xb0, 0xff, 0x9e, 0xff, 0x9c, 0xff, 0x9c, 0xff,
+0xae, 0xff, 0xce, 0xff, 0xf4, 0xff, 0x04, 0x00, 0x26, 0x00, 0x3a, 0x00, 0x2e, 0x00, 0x38, 0x00,
+0x3e, 0x00, 0x30, 0x00, 0x10, 0x00, 0xfa, 0xff, 0xe8, 0xff, 0xd0, 0xff, 0xbc, 0xff, 0xba, 0xff,
+0xc2, 0xff, 0xba, 0xff, 0xcc, 0xff, 0xdc, 0xff, 0x02, 0x00, 0x04, 0x00, 0x08, 0x00, 0x1c, 0x00,
+0x16, 0x00, 0x20, 0x00, 0x18, 0x00, 0x16, 0x00, 0x12, 0x00, 0xfc, 0xff, 0xf4, 0xff, 0xf2, 0xff,
+0xde, 0xff, 0xec, 0xff, 0xe4, 0xff, 0xde, 0xff, 0xdc, 0xff, 0xe8, 0xff, 0xf6, 0xff, 0xec, 0xff,
+0xf6, 0xff, 0xe8, 0xff, 0xe6, 0xff, 0xf6, 0xff, 0xf6, 0xff, 0xf8, 0xff, 0xfc, 0xff, 0x04, 0x00,
+0xfe, 0xff, 0xfa, 0xff, 0xfe, 0xff, 0x00, 0x00, 0x02, 0x00, 0xee, 0xff, 0xe8, 0xff, 0xe4, 0xff,
+0xd0, 0xff, 0xba, 0xff, 0xba, 0xff, 0xb6, 0xff, 0xb8, 0xff, 0xc2, 0xff, 0xd6, 0xff, 0xf0, 0xff,
+0xf6, 0xff, 0x04, 0x00, 0x1e, 0x00, 0x2c, 0x00, 0x2c, 0x00, 0x20, 0x00, 0x22, 0x00, 0x06, 0x00,
+0xe8, 0xff, 0xd2, 0xff, 0xb4, 0xff, 0xa2, 0xff, 0x94, 0xff, 0x8e, 0xff, 0x9c, 0xff, 0xa6, 0xff,
+0xbe, 0xff, 0xf0, 0xff, 0x0a, 0x00, 0x32, 0x00, 0x52, 0x00, 0x52, 0x00, 0x5e, 0x00, 0x40, 0x00,
+0x36, 0x00, 0x14, 0x00, 0xf2, 0xff, 0xd0, 0xff, 0xa2, 0xff, 0x7c, 0xff, 0x6a, 0xff, 0x62, 0xff,
+0x78, 0xff, 0x92, 0xff, 0xb2, 0xff, 0xf6, 0xff, 0x14, 0x00, 0x50, 0x00, 0x66, 0x00, 0x72, 0x00,
+0x80, 0x00, 0x66, 0x00, 0x52, 0x00, 0x1e, 0x00, 0xfc, 0xff, 0xb6, 0xff, 0x7a, 0xff, 0x6a, 0xff,
+0x48, 0xff, 0x4e, 0xff, 0x6c, 0xff, 0x90, 0xff, 0xc0, 0xff, 0xfa, 0xff, 0x32, 0x00, 0x6c, 0x00,
+0x8a, 0x00, 0xac, 0x00, 0xa2, 0x00, 0x84, 0x00, 0x5a, 0x00, 0x22, 0x00, 0xec, 0xff, 0xb6, 0xff,
+0x78, 0xff, 0x4a, 0xff, 0x3a, 0xff, 0x36, 0xff, 0x56, 0xff, 0x92, 0xff, 0xcc, 0xff, 0x04, 0x00,
+0x44, 0x00, 0x7c, 0x00, 0xa2, 0x00, 0xb2, 0x00, 0xaa, 0x00, 0x86, 0x00, 0x50, 0x00, 0x16, 0x00,
+0xe2, 0xff, 0x9c, 0xff, 0x54, 0xff, 0x32, 0xff, 0x1a, 0xff, 0x38, 0xff, 0x58, 0xff, 0x96, 0xff,
+0xe2, 0xff, 0x16, 0x00, 0x52, 0x00, 0x8e, 0x00, 0xb2, 0x00, 0xb8, 0x00, 0xac, 0x00, 0x80, 0x00,
+0x42, 0x00, 0x02, 0x00, 0xce, 0xff, 0x7e, 0xff, 0x4e, 0xff, 0x1e, 0xff, 0x16, 0xff, 0x3e, 0xff,
+0x68, 0xff, 0xb0, 0xff, 0xf2, 0xff, 0x22, 0x00, 0x64, 0x00, 0x8e, 0x00, 0xae, 0x00, 0xb4, 0x00,
+0x96, 0x00, 0x6e, 0x00, 0x2a, 0x00, 0xe6, 0xff, 0xb4, 0xff, 0x6a, 0xff, 0x36, 0xff, 0x28, 0xff,
+0x2e, 0xff, 0x4e, 0xff, 0x80, 0xff, 0xbc, 0xff, 0xf4, 0xff, 0x24, 0x00, 0x58, 0x00, 0x84, 0x00,
+0x98, 0x00, 0x9c, 0x00, 0x7e, 0x00, 0x42, 0x00, 0x18, 0x00, 0xd0, 0xff, 0x9c, 0xff, 0x72, 0xff,
+0x4c, 0xff, 0x44, 0xff, 0x48, 0xff, 0x74, 0xff, 0x90, 0xff, 0xc8, 0xff, 0xfc, 0xff, 0x2c, 0x00,
+0x66, 0x00, 0x74, 0x00, 0x88, 0x00, 0x74, 0x00, 0x56, 0x00, 0x3a, 0x00, 0x06, 0x00, 0xd6, 0xff,
+0xa4, 0xff, 0x7e, 0xff, 0x6c, 0xff, 0x66, 0xff, 0x72, 0xff, 0x8a, 0xff, 0xb8, 0xff, 0xe2, 0xff,
+0x04, 0x00, 0x38, 0x00, 0x46, 0x00, 0x5a, 0x00, 0x5e, 0x00, 0x50, 0x00, 0x48, 0x00, 0x16, 0x00,
+0xec, 0xff, 0xd2, 0xff, 0xa8, 0xff, 0x9a, 0xff, 0x96, 0xff, 0x8a, 0xff, 0x9e, 0xff, 0xb6, 0xff,
+0xd4, 0xff, 0xee, 0xff, 0x0a, 0x00, 0x22, 0x00, 0x3e, 0x00, 0x44, 0x00, 0x40, 0x00, 0x34, 0x00,
+0x22, 0x00, 0x0c, 0x00, 0xec, 0xff, 0xde, 0xff, 0xca, 0xff, 0xc2, 0xff, 0xb8, 0xff, 0xc0, 0xff,
+0xc2, 0xff, 0xd0, 0xff, 0xe6, 0xff, 0xfc, 0xff, 0x04, 0x00, 0x14, 0x00, 0x26, 0x00, 0x20, 0x00,
+0x24, 0x00, 0x1e, 0x00, 0x08, 0x00, 0x02, 0x00, 0xf6, 0xff, 0xea, 0xff, 0xda, 0xff, 0xd8, 0xff,
+0xe6, 0xff, 0xe0, 0xff, 0xda, 0xff, 0xe0, 0xff, 0xe4, 0xff, 0xee, 0xff, 0xf2, 0xff, 0xf6, 0xff,
+0xf4, 0xff, 0xf4, 0xff, 0xfc, 0xff, 0xf8, 0xff, 0x00, 0x00, 0xf8, 0xff, 0x00, 0x00, 0x00, 0x00,
+0x04, 0x00, 0x04, 0x00, 0x04, 0x00, 0x02, 0x00, 0xee, 0xff, 0xf0, 0xff, 0xde, 0xff, 0xdc, 0xff,
+0xe2, 0xff, 0xd6, 0xff, 0xd8, 0xff, 0xd4, 0xff, 0xda, 0xff, 0xf0, 0xff, 0xf8, 0xff, 0x02, 0x00,
+0x10, 0x00, 0x1a, 0x00, 0x22, 0x00, 0x22, 0x00, 0x16, 0x00, 0x0e, 0x00, 0xfa, 0xff, 0xf0, 0xff,
+0xda, 0xff, 0xbc, 0xff, 0xb4, 0xff, 0xa4, 0xff, 0xb0, 0xff, 0xb4, 0xff, 0xbc, 0xff, 0xd4, 0xff,
+0xe2, 0xff, 0x06, 0x00, 0x26, 0x00, 0x32, 0x00, 0x34, 0x00, 0x34, 0x00, 0x22, 0x00, 0x26, 0x00,
+0x00, 0x00, 0xdc, 0xff, 0xc4, 0xff, 0x90, 0xff, 0x94, 0xff, 0x86, 0xff, 0x80, 0xff, 0x9a, 0xff,
+0x9e, 0xff, 0xd4, 0xff, 0xfc, 0xff, 0x18, 0x00, 0x4e, 0x00, 0x5c, 0x00, 0x70, 0x00, 0x5c, 0x00,
+0x48, 0x00, 0x2e, 0x00, 0x06, 0x00, 0xdc, 0xff, 0xa6, 0xff, 0x84, 0xff, 0x66, 0xff, 0x58, 0xff,
+0x64, 0xff, 0x7c, 0xff, 0xac, 0xff, 0xd8, 0xff, 0x06, 0x00, 0x46, 0x00, 0x68, 0x00, 0x88, 0x00,
+0x8c, 0x00, 0x86, 0x00, 0x50, 0x00, 0x34, 0x00, 0xfa, 0xff, 0xc0, 0xff, 0x92, 0xff, 0x5a, 0xff,
+0x44, 0xff, 0x3a, 0xff, 0x48, 0xff, 0x78, 0xff, 0xac, 0xff, 0xea, 0xff, 0x26, 0x00, 0x56, 0x00,
+0x98, 0x00, 0xaa, 0x00, 0xae, 0x00, 0x94, 0x00, 0x68, 0x00, 0x28, 0x00, 0xf2, 0xff, 0xbe, 0xff,
+0x86, 0xff, 0x58, 0xff, 0x38, 0xff, 0x34, 0xff, 0x4c, 0xff, 0x8c, 0xff, 0xca, 0xff, 0x06, 0x00,
+0x3e, 0x00, 0x76, 0x00, 0xa6, 0x00, 0xb8, 0x00, 0xc0, 0x00, 0x98, 0x00, 0x66, 0x00, 0x18, 0x00,
+0xe0, 0xff, 0xb8, 0xff, 0x72, 0xff, 0x4c, 0xff, 0x2a, 0xff, 0x28, 0xff, 0x5c, 0xff, 0x86, 0xff,
+0xd4, 0xff, 0x02, 0x00, 0x38, 0x00, 0x88, 0x00, 0x9a, 0x00, 0xbc, 0x00, 0xaa, 0x00, 0x90, 0x00,
+0x4e, 0x00, 0x0a, 0x00, 0xe2, 0xff, 0xa0, 0xff, 0x7a, 0xff, 0x40, 0xff, 0x32, 0xff, 0x3c, 0xff,
+0x5e, 0xff, 0xac, 0xff, 0xe4, 0xff, 0x22, 0x00, 0x54, 0x00, 0x82, 0x00, 0xb2, 0x00, 0xb2, 0x00,
+0x98, 0x00, 0x78, 0x00, 0x3e, 0x00, 0x0c, 0x00, 0xd2, 0xff, 0x9c, 0xff, 0x64, 0xff, 0x40, 0xff,
+0x4c, 0xff, 0x5c, 0xff, 0x82, 0xff, 0xb2, 0xff, 0xf2, 0xff, 0x22, 0x00, 0x56, 0x00, 0x82, 0x00,
+0x8e, 0x00, 0x8e, 0x00, 0x84, 0x00, 0x58, 0x00, 0x20, 0x00, 0xf0, 0xff, 0xb6, 0xff, 0x8c, 0xff,
+0x66, 0xff, 0x5a, 0xff, 0x4e, 0xff, 0x60, 0xff, 0x92, 0xff, 0xcc, 0xff, 0xee, 0xff, 0x20, 0x00,
+0x52, 0x00, 0x62, 0x00, 0x74, 0x00, 0x72, 0x00, 0x5a, 0x00, 0x40, 0x00, 0x12, 0x00, 0xee, 0xff,
+0xc8, 0xff, 0x92, 0xff, 0x86, 0xff, 0x78, 0xff, 0x7c, 0xff, 0x9a, 0xff, 0xae, 0xff, 0xe4, 0xff,
+0x02, 0x00, 0x1e, 0x00, 0x42, 0x00, 0x44, 0x00, 0x5e, 0x00, 0x52, 0x00, 0x40, 0x00, 0x32, 0x00,
+0xfc, 0xff, 0xe4, 0xff, 0xc6, 0xff, 0xac, 0xff, 0xa0, 0xff, 0x96, 0xff, 0xa0, 0xff, 0xaa, 0xff,
+0xc8, 0xff, 0xe6, 0xff, 0x00, 0x00, 0x10, 0x00, 0x24, 0x00, 0x28, 0x00, 0x2a, 0x00, 0x2e, 0x00,
+0x26, 0x00, 0x0a, 0x00, 0xf6, 0xff, 0xf2, 0xff, 0xd2, 0xff, 0xc8, 0xff, 0xc6, 0xff, 0xc0, 0xff,
+0xca, 0xff, 0xd2, 0xff, 0xe4, 0xff, 0xf6, 0xff, 0x02, 0x00, 0x08, 0x00, 0x1e, 0x00, 0x14, 0x00,
+0x12, 0x00, 0x24, 0x00, 0x16, 0x00, 0x0c, 0x00, 0xfc, 0xff, 0xf2, 0xff, 0xf8, 0xff, 0xf4, 0xff,
+0xe6, 0xff, 0xf0, 0xff, 0xec, 0xff, 0xe4, 0xff, 0xf0, 0xff, 0xf6, 0xff, 0xf2, 0xff, 0xf2, 0xff,
+0xee, 0xff, 0xf2, 0xff, 0xf4, 0xff, 0xf6, 0xff, 0xf8, 0xff, 0xf8, 0xff, 0xfe, 0xff, 0x02, 0x00,
+0x0a, 0x00, 0x0a, 0x00, 0x04, 0x00, 0x08, 0x00, 0xfc, 0xff, 0xf6, 0xff, 0xf4, 0xff, 0xe0, 0xff,
+0xcc, 0xff, 0xca, 0xff, 0xbe, 0xff, 0xc8, 0xff, 0xcc, 0xff, 0xd0, 0xff, 0xf4, 0xff, 0xf8, 0xff,
+0x10, 0x00, 0x2a, 0x00, 0x24, 0x00, 0x2c, 0x00, 0x36, 0x00, 0x34, 0x00, 0x24, 0x00, 0x06, 0x00,
+0xf0, 0xff, 0xce, 0xff, 0xa0, 0xff, 0xa2, 0xff, 0xa0, 0xff, 0x9c, 0xff, 0xa4, 0xff, 0xbc, 0xff,
+0xda, 0xff, 0xee, 0xff, 0x20, 0x00, 0x3a, 0x00, 0x4e, 0x00, 0x58, 0x00, 0x50, 0x00, 0x42, 0x00,
+0x1c, 0x00, 0xf2, 0xff, 0xd2, 0xff, 0x9c, 0xff, 0x7c, 0xff, 0x6c, 0xff, 0x60, 0xff, 0x6c, 0xff,
+0x7e, 0xff, 0xa0, 0xff, 0xd4, 0xff, 0xfc, 0xff, 0x36, 0x00, 0x58, 0x00, 0x66, 0x00, 0x78, 0x00,
+0x6c, 0x00, 0x50, 0x00, 0x2c, 0x00, 0xf0, 0xff, 0xb6, 0xff, 0x86, 0xff, 0x5c, 0xff, 0x58, 0xff,
+0x50, 0xff, 0x56, 0xff, 0x7e, 0xff, 0xa8, 0xff, 0xe4, 0xff, 0x1a, 0x00, 0x52, 0x00, 0x7a, 0x00,
+0x86, 0x00, 0x92, 0x00, 0x88, 0x00, 0x4e, 0x00, 0x1c, 0x00, 0xea, 0xff, 0xaa, 0xff, 0x78, 0xff,
+0x52, 0xff, 0x32, 0xff, 0x34, 0xff, 0x4c, 0xff, 0x7a, 0xff, 0xb6, 0xff, 0xea, 0xff, 0x26, 0x00,
+0x62, 0x00, 0x82, 0x00, 0x94, 0x00, 0xa2, 0x00, 0x7e, 0x00, 0x42, 0x00, 0x08, 0x00, 0xce, 0xff,
+0x98, 0xff, 0x68, 0xff, 0x42, 0xff, 0x38, 0xff, 0x42, 0xff, 0x5a, 0xff, 0x90, 0xff, 0xda, 0xff,
+0x0a, 0x00, 0x48, 0x00, 0x84, 0x00, 0xa6, 0x00, 0xb8, 0x00, 0x9e, 0x00, 0x76, 0x00, 0x40, 0x00,
+0x04, 0x00, 0xd4, 0xff, 0x98, 0xff, 0x60, 0xff, 0x42, 0xff, 0x3a, 0xff, 0x48, 0xff, 0x70, 0xff,
+0xb4, 0xff, 0xf4, 0xff, 0x20, 0x00, 0x60, 0x00, 0x92, 0x00, 0xaa, 0x00, 0xac, 0x00, 0x98, 0x00,
+0x68, 0x00, 0x2c, 0x00, 0xf2, 0xff, 0xb6, 0xff, 0x8a, 0xff, 0x54, 0xff, 0x3c, 0xff, 0x3c, 0xff,
+0x54, 0xff, 0x86, 0xff, 0xc0, 0xff, 0xf8, 0xff, 0x28, 0x00, 0x60, 0x00, 0x8a, 0x00, 0xa6, 0x00,
+0xac, 0x00, 0x92, 0x00, 0x62, 0x00, 0x22, 0x00, 0xf0, 0xff, 0xbe, 0xff, 0x84, 0xff, 0x5c, 0xff,
+0x56, 0xff, 0x50, 0xff, 0x72, 0xff, 0x92, 0xff, 0xba, 0xff, 0x00, 0x00, 0x32, 0x00, 0x64, 0x00,
+0x86, 0x00, 0x90, 0x00, 0x8e, 0x00, 0x72, 0x00, 0x40, 0x00, 0x0a, 0x00, 0xe4, 0xff, 0xb4, 0xff,
+0x8c, 0xff, 0x78, 0xff, 0x64, 0xff, 0x62, 0xff, 0x70, 0xff, 0x9a, 0xff, 0xd4, 0xff, 0xfc, 0xff,
+0x22, 0x00, 0x3e, 0x00, 0x56, 0x00, 0x60, 0x00, 0x52, 0x00, 0x46, 0x00, 0x22, 0x00, 0xfc, 0xff,
+0xe2, 0xff, 0xba, 0xff, 0xa4, 0xff, 0x8e, 0xff, 0x8e, 0xff, 0x8c, 0xff, 0x96, 0xff, 0xc0, 0xff,
+0xd6, 0xff, 0xfa, 0xff, 0x1c, 0x00, 0x2e, 0x00, 0x3a, 0x00, 0x2a, 0x00, 0x2e, 0x00, 0x30, 0x00,
+0x16, 0x00, 0x04, 0x00, 0xe8, 0xff, 0xd2, 0xff, 0xbe, 0xff, 0xbc, 0xff, 0xb4, 0xff, 0xac, 0xff,
+0xc0, 0xff, 0xd0, 0xff, 0xea, 0xff, 0xf6, 0xff, 0xfa, 0xff, 0x0a, 0x00, 0x0a, 0x00, 0x12, 0x00,
+0x0e, 0x00, 0x04, 0x00, 0xfe, 0xff, 0xf0, 0xff, 0xea, 0xff, 0xe2, 0xff, 0xd8, 0xff, 0xe0, 0xff,
+0xd6, 0xff, 0xd8, 0xff, 0xda, 0xff, 0xd6, 0xff, 0xea, 0xff, 0xf6, 0xff, 0xfe, 0xff, 0xf8, 0xff,
+0xf6, 0xff, 0xf6, 0xff, 0xf4, 0xff, 0xfc, 0xff, 0xfa, 0xff, 0x0e, 0x00, 0x04, 0x00, 0xfc, 0xff,
+0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0xfc, 0xff, 0xf8, 0xff, 0xf6, 0xff, 0xe6, 0xff, 0xdc, 0xff,
+0xde, 0xff, 0xd4, 0xff, 0xd8, 0xff, 0xde, 0xff, 0xec, 0xff, 0xec, 0xff, 0xf6, 0xff, 0x0a, 0x00,
+0x18, 0x00, 0x24, 0x00, 0x18, 0x00, 0x2c, 0x00, 0x2c, 0x00, 0x0c, 0x00, 0x00, 0x00, 0xea, 0xff,
+0xca, 0xff, 0xb6, 0xff, 0xb4, 0xff, 0xb0, 0xff, 0xaa, 0xff, 0xb4, 0xff, 0xcc, 0xff, 0xe6, 0xff,
+0x0a, 0x00, 0x26, 0x00, 0x4a, 0x00, 0x5a, 0x00, 0x4e, 0x00, 0x44, 0x00, 0x3a, 0x00, 0x1a, 0x00,
+0xfe, 0xff, 0xdc, 0xff, 0xac, 0xff, 0x9c, 0xff, 0x8c, 0xff, 0x8a, 0xff, 0x90, 0xff, 0x9e, 0xff,
+0xd2, 0xff, 0xfa, 0xff, 0x2a, 0x00, 0x56, 0x00, 0x68, 0x00, 0x7c, 0x00, 0x68, 0x00, 0x4e, 0x00,
+0x3e, 0x00, 0x0e, 0x00, 0xe4, 0xff, 0xb6, 0xff, 0x88, 0xff, 0x68, 0xff, 0x48, 0xff, 0x5c, 0xff,
+0x78, 0xff, 0xa0, 0xff, 0xd6, 0xff, 0x08, 0x00, 0x3e, 0x00, 0x62, 0x00, 0x7c, 0x00, 0x8a, 0x00,
+0x80, 0x00, 0x5c, 0x00, 0x2e, 0x00, 0x06, 0x00, 0xd0, 0xff, 0x9e, 0xff, 0x6a, 0xff, 0x4a, 0xff,
+0x48, 0xff, 0x54, 0xff, 0x80, 0xff, 0xb0, 0xff, 0xde, 0xff, 0x1e, 0x00, 0x56, 0x00, 0x7a, 0x00,
+0x94, 0x00, 0x96, 0x00, 0x8e, 0x00, 0x70, 0x00, 0x26, 0x00, 0xf2, 0xff, 0xbe, 0xff, 0x80, 0xff,
+0x48, 0xff, 0x3a, 0xff, 0x32, 0xff, 0x4c, 0xff, 0x7c, 0xff, 0xbc, 0xff, 0x02, 0x00, 0x26, 0x00,
+0x6a, 0x00, 0x96, 0x00, 0xb4, 0x00, 0xb0, 0x00, 0x88, 0x00, 0x58, 0x00, 0x0e, 0x00, 0xd0, 0xff,
+0x98, 0xff, 0x64, 0xff, 0x44, 0xff, 0x22, 0xff, 0x28, 0xff, 0x56, 0xff, 0x82, 0xff, 0xd2, 0xff,
+0x10, 0x00, 0x46, 0x00, 0x86, 0x00, 0xa0, 0x00, 0xb6, 0x00, 0xa6, 0x00, 0x84, 0x00, 0x50, 0x00,
+0x12, 0x00, 0xdc, 0xff, 0x96, 0xff, 0x68, 0xff, 0x46, 0xff, 0x2e, 0xff, 0x40, 0xff, 0x62, 0xff,
+0x9a, 0xff, 0xe0, 0xff, 0x18, 0x00, 0x4e, 0x00, 0x7a, 0x00, 0xa4, 0x00, 0xae, 0x00, 0xaa, 0x00,
+0x88, 0x00, 0x42, 0x00, 0x14, 0x00, 0xd6, 0xff, 0x98, 0xff, 0x70, 0xff, 0x48, 0xff, 0x42, 0xff,
+0x4e, 0xff, 0x6e, 0xff, 0xa8, 0xff, 0xe2, 0xff, 0x20, 0x00, 0x46, 0x00, 0x74, 0x00, 0x8e, 0x00,
+0x90, 0x00, 0x88, 0x00, 0x66, 0x00, 0x2e, 0x00, 0xfe, 0xff, 0xc6, 0xff, 0x94, 0xff, 0x6e, 0xff,
+0x4e, 0xff, 0x4c, 0xff, 0x64, 0xff, 0x82, 0xff, 0xb6, 0xff, 0xee, 0xff, 0x1c, 0x00, 0x48, 0x00,
+0x6a, 0x00, 0x7e, 0x00, 0x86, 0x00, 0x70, 0x00, 0x50, 0x00, 0x1e, 0x00, 0xf2, 0xff, 0xc2, 0xff,
+0x9c, 0xff, 0x88, 0xff, 0x70, 0xff, 0x78, 0xff, 0x8c, 0xff, 0xa0, 0xff, 0xca, 0xff, 0xf6, 0xff,
+0x10, 0x00, 0x38, 0x00, 0x48, 0x00, 0x58, 0x00, 0x5c, 0x00, 0x4c, 0x00, 0x32, 0x00, 0x06, 0x00,
+0xe2, 0xff, 0xc0, 0xff, 0xac, 0xff, 0x98, 0xff, 0x92, 0xff, 0x92, 0xff, 0xa0, 0xff, 0xb4, 0xff,
+0xd2, 0xff, 0xf6, 0xff, 0xfe, 0xff, 0x1e, 0x00, 0x22, 0x00, 0x28, 0x00, 0x2c, 0x00, 0x20, 0x00,
+0x16, 0x00, 0x00, 0x00, 0xea, 0xff, 0xdc, 0xff, 0xd0, 0xff, 0xc8, 0xff, 0xd0, 0xff, 0xc0, 0xff,
+0xc6, 0xff, 0xd2, 0xff, 0xdc, 0xff, 0xec, 0xff, 0xfa, 0xff, 0x04, 0x00, 0xfa, 0xff, 0x06, 0x00,
+0x08, 0x00, 0xfc, 0xff, 0xfc, 0xff, 0xf4, 0xff, 0xf6, 0xff, 0xf6, 0xff, 0xf6, 0xff, 0xfe, 0xff,
+0xf4, 0xff, 0xec, 0xff, 0xe2, 0xff, 0xe0, 0xff, 0xdc, 0xff, 0xd8, 0xff, 0xdc, 0xff, 0xe8, 0xff,
+0xee, 0xff, 0xe2, 0xff, 0xe8, 0xff, 0xf2, 0xff, 0xf2, 0xff, 0xf6, 0xff, 0x0a, 0x00, 0x18, 0x00,
+0x0c, 0x00, 0x12, 0x00, 0x18, 0x00, 0xfe, 0xff, 0xf4, 0xff, 0xe2, 0xff, 0xdc, 0xff, 0xce, 0xff,
+0xbc, 0xff, 0xce, 0xff, 0xc8, 0xff, 0xca, 0xff, 0xd4, 0xff, 0xe4, 0xff, 0xfe, 0xff, 0x0a, 0x00,
+0x24, 0x00, 0x36, 0x00, 0x42, 0x00, 0x2c, 0x00, 0x2a, 0x00, 0x22, 0x00, 0x04, 0x00, 0xf0, 0xff,
+0xda, 0xff, 0xbe, 0xff, 0xa0, 0xff, 0x92, 0xff, 0xac, 0xff, 0xb0, 0xff, 0xb2, 0xff, 0xea, 0xff,
+0x16, 0x00, 0x2e, 0x00, 0x46, 0x00, 0x50, 0x00, 0x62, 0x00, 0x66, 0x00, 0x3e, 0x00, 0x14, 0x00,
+0xee, 0xff, 0xd6, 0xff, 0xb0, 0xff, 0x84, 0xff, 0x68, 0xff, 0x5a, 0xff, 0x7a, 0xff, 0xac, 0xff,
+0xa0, 0xff, 0xc6, 0xff, 0x20, 0x00, 0x74, 0x00, 0x6a, 0x00, 0x5c, 0x00, 0x82, 0x00, 0x64, 0x00,
+0x4a, 0x00, 0x28, 0x00, 0xf6, 0xff, 0xbe, 0xff, 0x8a, 0xff, 0x7e, 0xff, 0x52, 0xff, 0x86, 0xff,
+0x7a, 0xff, 0x2c, 0xff, 0x98, 0xff, 0x26, 0x00, 0x6c, 0x00, 0x52, 0x00, 0x72, 0x00, 0xb8, 0x00,
+0xb6, 0x00, 0x04, 0x01, 0x34, 0x01, 0x48, 0x01, 0xbc, 0x00, 0xf0, 0xfe, 0x16, 0xfc, 0x70, 0xf8,
+0xc2, 0xf4, 0xf4, 0xf1, 0x12, 0xf1, 0x4c, 0xf3, 0xde, 0xf8, 0x9c, 0x01, 0x90, 0x0c, 0x1a, 0x18,
+0x0f, 0x22, 0x9b, 0x28, 0x0d, 0x2a, 0xb7, 0x24, 0xd4, 0x18, 0x6c, 0x07, 0x06, 0xf3, 0xcb, 0xde,
+0x0d, 0xcd, 0x37, 0xc0, 0x15, 0xba, 0xe1, 0xbc, 0xab, 0xc8, 0xf9, 0xdb, 0x28, 0xf5, 0x32, 0x11,
+0x43, 0x2c, 0x41, 0x42, 0xd1, 0x50, 0x7a, 0x55, 0x0d, 0x4f, 0x6b, 0x3e, 0x41, 0x25, 0xde, 0x06,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0x00, 0xc4, 0x00, 0xdc, 0x00, 0xd0, 0x00, 0xb0, 0x00,
+0x82, 0x00, 0x58, 0x00, 0x26, 0x00, 0xde, 0xff, 0x76, 0xff, 0x1c, 0xff, 0xde, 0xfe, 0xd6, 0xfe,
+0xee, 0xfe, 0x1e, 0xff, 0x64, 0xff, 0xb0, 0xff, 0xf8, 0xff, 0x36, 0x00, 0x6e, 0x00, 0x9a, 0x00,
+0xc0, 0x00, 0xbe, 0x00, 0x96, 0x00, 0x66, 0x00, 0x40, 0x00, 0x20, 0x00, 0x0c, 0x00, 0xfc, 0xff,
+0xf0, 0xff, 0xf4, 0xff, 0xf2, 0xff, 0x08, 0x00, 0x38, 0x00, 0x74, 0x00, 0xa8, 0x00, 0xcc, 0x00,
+0xec, 0x00, 0xfc, 0x00, 0xee, 0x00, 0xbc, 0x00, 0x6c, 0x00, 0x22, 0x00, 0xec, 0xff, 0xc8, 0xff,
+0xb6, 0xff, 0xb6, 0xff, 0xb0, 0xff, 0xb8, 0xff, 0xc6, 0xff, 0xe8, 0xff, 0x24, 0x00, 0x74, 0x00,
+0xbc, 0x00, 0xe8, 0x00, 0x10, 0x01, 0x24, 0x01, 0x24, 0x01, 0xf8, 0x00, 0xb6, 0x00, 0x68, 0x00,
+0x24, 0x00, 0xee, 0xff, 0xcc, 0xff, 0xd4, 0xff, 0xf2, 0xff, 0x24, 0x00, 0x4e, 0x00, 0x70, 0x00,
+0xae, 0x00, 0xf0, 0x00, 0x36, 0x01, 0x64, 0x01, 0x7a, 0x01, 0x70, 0x01, 0x3e, 0x01, 0xf6, 0x00,
+0x92, 0x00, 0x38, 0x00, 0xfe, 0xff, 0xd2, 0xff, 0xb2, 0xff, 0xb8, 0xff, 0xd2, 0xff, 0xf4, 0xff,
+0x0e, 0x00, 0x38, 0x00, 0x7a, 0x00, 0xb8, 0x00, 0xea, 0x00, 0xfc, 0x00, 0xfc, 0x00, 0xee, 0x00,
+0xe8, 0x00, 0xcc, 0x00, 0x90, 0x00, 0x72, 0x00, 0x56, 0x00, 0x46, 0x00, 0x36, 0x00, 0x20, 0x00,
+0x10, 0x00, 0x08, 0x00, 0x16, 0x00, 0x4c, 0x00, 0x92, 0x00, 0xda, 0x00, 0x04, 0x01, 0xfe, 0x00,
+0xf8, 0x00, 0xfc, 0x00, 0xfc, 0x00, 0xd6, 0x00, 0x94, 0x00, 0x58, 0x00, 0x44, 0x00, 0x54, 0x00,
+0x7e, 0x00, 0x88, 0x00, 0x7a, 0x00, 0x5c, 0x00, 0x42, 0x00, 0x44, 0x00, 0x5a, 0x00, 0x8a, 0x00,
+0xa8, 0x00, 0x9a, 0x00, 0x8a, 0x00, 0x94, 0x00, 0xa6, 0x00, 0xa8, 0x00, 0x98, 0x00, 0x96, 0x00,
+0x9c, 0x00, 0xa0, 0x00, 0xa0, 0x00, 0x8e, 0x00, 0x84, 0x00, 0x7e, 0x00, 0x76, 0x00, 0x70, 0x00,
+0x60, 0x00, 0x72, 0x00, 0x84, 0x00, 0xa0, 0x00, 0xc0, 0x00, 0xe6, 0x00, 0xee, 0x00, 0xd4, 0x00,
+0xa8, 0x00, 0x8e, 0x00, 0x98, 0x00, 0xa8, 0x00, 0xac, 0x00, 0xb2, 0x00, 0xae, 0x00, 0xb4, 0x00,
+0xbe, 0x00, 0xc8, 0x00, 0xd4, 0x00, 0xca, 0x00, 0xb6, 0x00, 0x90, 0x00, 0x70, 0x00, 0x68, 0x00,
+0x7e, 0x00, 0x92, 0x00, 0xa0, 0x00, 0xa2, 0x00, 0xa2, 0x00, 0xb2, 0x00, 0xb0, 0x00, 0xc6, 0x00,
+0xc8, 0x00, 0xcc, 0x00, 0xc2, 0x00, 0xa2, 0x00, 0x8e, 0x00, 0x7a, 0x00, 0x7c, 0x00, 0x72, 0x00,
+0x5a, 0x00, 0x54, 0x00, 0x52, 0x00, 0x50, 0x00, 0x52, 0x00, 0x5c, 0x00, 0x84, 0x00, 0xb4, 0x00,
+0xd4, 0x00, 0xe4, 0x00, 0xda, 0x00, 0xbe, 0x00, 0x9c, 0x00, 0x60, 0x00, 0x3e, 0x00, 0x30, 0x00,
+0x2a, 0x00, 0x3a, 0x00, 0x50, 0x00, 0x6c, 0x00, 0x9e, 0x00, 0xc2, 0x00, 0xd6, 0x00, 0xe0, 0x00,
+0xe6, 0x00, 0xee, 0x00, 0xe4, 0x00, 0xd2, 0x00, 0xba, 0x00, 0xa0, 0x00, 0x80, 0x00, 0x48, 0x00,
+0x1c, 0x00, 0xf8, 0xff, 0xf0, 0xff, 0xfa, 0xff, 0xfe, 0xff, 0x38, 0x00, 0x78, 0x00, 0xba, 0x00,
+0xf4, 0x00, 0x04, 0x01, 0x08, 0x01, 0xe2, 0x00, 0xac, 0x00, 0x68, 0x00, 0x42, 0x00, 0x20, 0x00,
+0x06, 0x00, 0xec, 0xff, 0xd6, 0xff, 0xcc, 0xff, 0xd6, 0xff, 0xee, 0xff, 0x10, 0x00, 0x42, 0x00,
+0x8a, 0x00, 0xc4, 0x00, 0xfe, 0x00, 0x0e, 0x01, 0x16, 0x01, 0x0a, 0x01, 0xe2, 0x00, 0xb0, 0x00,
+0x74, 0x00, 0x44, 0x00, 0x02, 0x00, 0xbe, 0xff, 0x94, 0xff, 0x84, 0xff, 0xa6, 0xff, 0xe4, 0xff,
+0x24, 0x00, 0x60, 0x00, 0xa0, 0x00, 0xc8, 0x00, 0xf0, 0x00, 0x08, 0x01, 0x1e, 0x01, 0x16, 0x01,
+0xdc, 0x00, 0x98, 0x00, 0x58, 0x00, 0x2c, 0x00, 0x00, 0x00, 0xd0, 0xff, 0xaa, 0xff, 0x8c, 0xff,
+0x88, 0xff, 0xa8, 0xff, 0xe0, 0xff, 0x32, 0x00, 0x7a, 0x00, 0xc4, 0x00, 0xfc, 0x00, 0x2c, 0x01,
+0x2e, 0x01, 0x1a, 0x01, 0xf0, 0x00, 0xa0, 0x00, 0x54, 0x00, 0x18, 0x00, 0xd0, 0xff, 0x90, 0xff,
+0x6a, 0xff, 0x6e, 0xff, 0x90, 0xff, 0xc4, 0xff, 0x0a, 0x00, 0x44, 0x00, 0x7e, 0x00, 0xc8, 0x00,
+0x06, 0x01, 0x30, 0x01, 0x22, 0x01, 0xf4, 0x00, 0xb4, 0x00, 0x62, 0x00, 0x2c, 0x00, 0x02, 0x00,
+0xda, 0xff, 0xa8, 0xff, 0x8e, 0xff, 0x94, 0xff, 0xc2, 0xff, 0xf2, 0xff, 0x28, 0x00, 0x50, 0x00,
+0x6c, 0x00, 0xa6, 0x00, 0xd8, 0x00, 0xee, 0x00, 0xf2, 0x00, 0xd0, 0x00, 0x9c, 0x00, 0x52, 0x00,
+0x1c, 0x00, 0xf2, 0xff, 0xbc, 0xff, 0xa8, 0xff, 0x92, 0xff, 0x9c, 0xff, 0xc4, 0xff, 0xec, 0xff,
+0x22, 0x00, 0x4a, 0x00, 0x80, 0x00, 0xa8, 0x00, 0xbe, 0x00, 0xc6, 0x00, 0xba, 0x00, 0xa0, 0x00,
+0x7e, 0x00, 0x4a, 0x00, 0x1a, 0x00, 0xf2, 0xff, 0xda, 0xff, 0xc4, 0xff, 0xcc, 0xff, 0xe2, 0xff,
+0xe6, 0xff, 0x06, 0x00, 0x30, 0x00, 0x4e, 0x00, 0x7e, 0x00, 0xa0, 0x00, 0xa6, 0x00, 0xa8, 0x00,
+0x96, 0x00, 0x82, 0x00, 0x64, 0x00, 0x3c, 0x00, 0x10, 0x00, 0xea, 0xff, 0xd4, 0xff, 0xc6, 0xff,
+0xca, 0xff, 0xc6, 0xff, 0xda, 0xff, 0xfa, 0xff, 0x14, 0x00, 0x40, 0x00, 0x60, 0x00, 0x74, 0x00,
+0x7e, 0x00, 0x82, 0x00, 0x82, 0x00, 0x74, 0x00, 0x58, 0x00, 0x2e, 0x00, 0x14, 0x00, 0xfc, 0xff,
+0xe4, 0xff, 0xf6, 0xff, 0xee, 0xff, 0xea, 0xff, 0xfc, 0xff, 0x04, 0x00, 0x18, 0x00, 0x30, 0x00,
+0x54, 0x00, 0x5c, 0x00, 0x58, 0x00, 0x6a, 0x00, 0x66, 0x00, 0x56, 0x00, 0x3a, 0x00, 0x30, 0x00,
+0x1c, 0x00, 0xfa, 0xff, 0xf6, 0xff, 0xfc, 0xff, 0xf4, 0xff, 0xf2, 0xff, 0xfc, 0xff, 0x02, 0x00,
+0x08, 0x00, 0x1e, 0x00, 0x24, 0x00, 0x2a, 0x00, 0x34, 0x00, 0x2e, 0x00, 0x30, 0x00, 0x2c, 0x00,
+0x32, 0x00, 0x36, 0x00, 0x30, 0x00, 0x2e, 0x00, 0x26, 0x00, 0x2a, 0x00, 0x2c, 0x00, 0x22, 0x00,
+0x20, 0x00, 0x12, 0x00, 0x02, 0x00, 0xf8, 0xff, 0xf8, 0xff, 0x08, 0x00, 0x04, 0x00, 0x0a, 0x00,
+0x14, 0x00, 0x20, 0x00, 0x2c, 0x00, 0x44, 0x00, 0x54, 0x00, 0x66, 0x00, 0x62, 0x00, 0x56, 0x00,
+0x4e, 0x00, 0x36, 0x00, 0x20, 0x00, 0x06, 0x00, 0xf2, 0xff, 0xd2, 0xff, 0xcc, 0xff, 0xd0, 0xff,
+0xd0, 0xff, 0xd4, 0xff, 0xfa, 0xff, 0x10, 0x00, 0x28, 0x00, 0x4c, 0x00, 0x66, 0x00, 0x72, 0x00,
+0x7e, 0x00, 0x6e, 0x00, 0x64, 0x00, 0x40, 0x00, 0x1a, 0x00, 0xf6, 0xff, 0xcc, 0xff, 0xbc, 0xff,
+0xaa, 0xff, 0xa0, 0xff, 0xb2, 0xff, 0xba, 0xff, 0xe4, 0xff, 0x0a, 0x00, 0x40, 0x00, 0x6e, 0x00,
+0x88, 0x00, 0x9c, 0x00, 0x98, 0x00, 0x86, 0x00, 0x72, 0x00, 0x38, 0x00, 0x0c, 0x00, 0xd6, 0xff,
+0xa4, 0xff, 0x92, 0xff, 0x72, 0xff, 0x7c, 0xff, 0x8e, 0xff, 0xaa, 0xff, 0xdc, 0xff, 0x12, 0x00,
+0x54, 0x00, 0x80, 0x00, 0xa0, 0x00, 0xaa, 0x00, 0xa0, 0x00, 0x80, 0x00, 0x58, 0x00, 0x28, 0x00,
+0xe6, 0xff, 0xaa, 0xff, 0x82, 0xff, 0x5c, 0xff, 0x54, 0xff, 0x60, 0xff, 0x78, 0xff, 0xba, 0xff,
+0xee, 0xff, 0x22, 0x00, 0x58, 0x00, 0x8c, 0x00, 0xb4, 0x00, 0xc0, 0x00, 0xaa, 0x00, 0x82, 0x00,
+0x46, 0x00, 0x1a, 0x00, 0xda, 0xff, 0xa0, 0xff, 0x7c, 0xff, 0x50, 0xff, 0x44, 0xff, 0x58, 0xff,
+0x82, 0xff, 0xca, 0xff, 0xfe, 0xff, 0x2e, 0x00, 0x7a, 0x00, 0xa6, 0x00, 0xc2, 0x00, 0xc2, 0x00,
+0xae, 0x00, 0x7e, 0x00, 0x30, 0x00, 0x02, 0x00, 0xce, 0xff, 0x94, 0xff, 0x60, 0xff, 0x38, 0xff,
+0x3e, 0xff, 0x5c, 0xff, 0x88, 0xff, 0xd8, 0xff, 0x0c, 0x00, 0x3a, 0x00, 0x80, 0x00, 0x9e, 0x00,
+0xc4, 0x00, 0xc6, 0x00, 0xa4, 0x00, 0x78, 0x00, 0x26, 0x00, 0xf8, 0xff, 0xbe, 0xff, 0x86, 0xff,
+0x66, 0xff, 0x46, 0xff, 0x5a, 0xff, 0x6e, 0xff, 0xa6, 0xff, 0xec, 0xff, 0x24, 0x00, 0x5c, 0x00,
+0x86, 0x00, 0xb0, 0x00, 0xc8, 0x00, 0xb2, 0x00, 0x9e, 0x00, 0x62, 0x00, 0x24, 0x00, 0xf0, 0xff,
+0xc0, 0xff, 0x98, 0xff, 0x68, 0xff, 0x56, 0xff, 0x62, 0xff, 0x7c, 0xff, 0xc0, 0xff, 0xf8, 0xff,
+0x24, 0x00, 0x5a, 0x00, 0x7c, 0x00, 0x94, 0x00, 0x96, 0x00, 0x8e, 0x00, 0x74, 0x00, 0x44, 0x00,
+0x0e, 0x00, 0xd6, 0xff, 0xae, 0xff, 0x8c, 0xff, 0x7c, 0xff, 0x6e, 0xff, 0x7a, 0xff, 0xa0, 0xff,
+0xc6, 0xff, 0xf8, 0xff, 0x20, 0x00, 0x4a, 0x00, 0x72, 0x00, 0x84, 0x00, 0x7c, 0x00, 0x64, 0x00,
+0x54, 0x00, 0x22, 0x00, 0xfe, 0xff, 0xde, 0xff, 0xa6, 0xff, 0xa0, 0xff, 0x8c, 0xff, 0x90, 0xff,
+0x9e, 0xff, 0xbe, 0xff, 0xe4, 0xff, 0x00, 0x00, 0x24, 0x00, 0x36, 0x00, 0x4a, 0x00, 0x54, 0x00,
+0x54, 0x00, 0x42, 0x00, 0x24, 0x00, 0x0c, 0x00, 0xec, 0xff, 0xda, 0xff, 0xb8, 0xff, 0xb4, 0xff,
+0xa0, 0xff, 0xa8, 0xff, 0xb4, 0xff, 0xca, 0xff, 0xe8, 0xff, 0xf2, 0xff, 0x00, 0x00, 0x10, 0x00,
+0x20, 0x00, 0x24, 0x00, 0x28, 0x00, 0x24, 0x00, 0x12, 0x00, 0x0a, 0x00, 0xf6, 0xff, 0xe8, 0xff,
+0xd4, 0xff, 0xd8, 0xff, 0xd4, 0xff, 0xca, 0xff, 0xd2, 0xff, 0xd4, 0xff, 0xea, 0xff, 0xf2, 0xff,
+0xf8, 0xff, 0x00, 0x00, 0xfe, 0xff, 0x04, 0x00, 0x06, 0x00, 0x10, 0x00, 0x10, 0x00, 0x04, 0x00,
+0x04, 0x00, 0x02, 0x00, 0xfc, 0xff, 0xfc, 0xff, 0xfa, 0xff, 0xf4, 0xff, 0xf6, 0xff, 0xe6, 0xff,
+0xda, 0xff, 0xda, 0xff, 0xda, 0xff, 0xe4, 0xff, 0xea, 0xff, 0xd2, 0xff, 0xea, 0xff, 0xf6, 0xff,
+0x00, 0x00, 0xfe, 0xff, 0x14, 0x00, 0x1c, 0x00, 0x1e, 0x00, 0x18, 0x00, 0x16, 0x00, 0x0c, 0x00,
+0x02, 0x00, 0xfe, 0xff, 0xe0, 0xff, 0xcc, 0xff, 0xb8, 0xff, 0xca, 0xff, 0xd2, 0xff, 0xd2, 0xff,
+0xde, 0xff, 0xf4, 0xff, 0x0c, 0x00, 0x26, 0x00, 0x2a, 0x00, 0x3e, 0x00, 0x42, 0x00, 0x3c, 0x00,
+0x48, 0x00, 0x2c, 0x00, 0x0a, 0x00, 0xec, 0xff, 0xda, 0xff, 0xae, 0xff, 0xac, 0xff, 0xa8, 0xff,
+0xb2, 0xff, 0xb6, 0xff, 0xc0, 0xff, 0xf6, 0xff, 0x06, 0x00, 0x32, 0x00, 0x4e, 0x00, 0x60, 0x00,
+0x58, 0x00, 0x5c, 0x00, 0x48, 0x00, 0x26, 0x00, 0x04, 0x00, 0xe6, 0xff, 0xb4, 0xff, 0x90, 0xff,
+0x80, 0xff, 0x70, 0xff, 0x8a, 0xff, 0x94, 0xff, 0xbc, 0xff, 0xf6, 0xff, 0x10, 0x00, 0x3c, 0x00,
+0x60, 0x00, 0x72, 0x00, 0x86, 0x00, 0x80, 0x00, 0x60, 0x00, 0x26, 0x00, 0xfa, 0xff, 0xd4, 0xff,
+0x9c, 0xff, 0x7e, 0xff, 0x5e, 0xff, 0x56, 0xff, 0x68, 0xff, 0x8c, 0xff, 0xba, 0xff, 0xe2, 0xff,
+0x1a, 0x00, 0x4a, 0x00, 0x76, 0x00, 0x94, 0x00, 0x98, 0x00, 0x92, 0x00, 0x54, 0x00, 0x26, 0x00,
+0xf2, 0xff, 0xae, 0xff, 0x7c, 0xff, 0x52, 0xff, 0x3c, 0xff, 0x32, 0xff, 0x46, 0xff, 0x78, 0xff,
+0xba, 0xff, 0xe2, 0xff, 0x1a, 0x00, 0x5c, 0x00, 0x8a, 0x00, 0xa2, 0x00, 0xa8, 0x00, 0x88, 0x00,
+0x58, 0x00, 0x18, 0x00, 0xea, 0xff, 0xb0, 0xff, 0x6c, 0xff, 0x46, 0xff, 0x24, 0xff, 0x38, 0xff,
+0x58, 0xff, 0x7c, 0xff, 0xbe, 0xff, 0xfa, 0xff, 0x32, 0x00, 0x76, 0x00, 0x9c, 0x00, 0xb8, 0x00,
+0xa8, 0x00, 0x82, 0x00, 0x48, 0x00, 0x0a, 0x00, 0xe0, 0xff, 0x94, 0xff, 0x62, 0xff, 0x42, 0xff,
+0x2e, 0xff, 0x40, 0xff, 0x5c, 0xff, 0x90, 0xff, 0xd6, 0xff, 0x04, 0x00, 0x46, 0x00, 0x7e, 0x00,
+0xa6, 0x00, 0xb8, 0x00, 0x9c, 0x00, 0x70, 0x00, 0x3a, 0x00, 0xfa, 0xff, 0xc0, 0xff, 0x8e, 0xff,
+0x5a, 0xff, 0x44, 0xff, 0x3a, 0xff, 0x52, 0xff, 0x76, 0xff, 0xae, 0xff, 0xee, 0xff, 0x18, 0x00,
+0x58, 0x00, 0x8e, 0x00, 0x9c, 0x00, 0xa8, 0x00, 0x92, 0x00, 0x62, 0x00, 0x30, 0x00, 0xf4, 0xff,
+0xc4, 0xff, 0x8a, 0xff, 0x62, 0xff, 0x4a, 0xff, 0x50, 0xff, 0x62, 0xff, 0x92, 0xff, 0xc2, 0xff,
+0xf4, 0xff, 0x28, 0x00, 0x56, 0x00, 0x78, 0x00, 0x84, 0x00, 0x88, 0x00, 0x72, 0x00, 0x46, 0x00,
+0x08, 0x00, 0xe4, 0xff, 0xbc, 0xff, 0x92, 0xff, 0x72, 0xff, 0x70, 0xff, 0x6c, 0xff, 0x70, 0xff,
+0x90, 0xff, 0xce, 0xff, 0xf8, 0xff, 0x24, 0x00, 0x4e, 0x00, 0x62, 0x00, 0x64, 0x00, 0x54, 0x00,
+0x4c, 0x00, 0x2e, 0x00, 0x06, 0x00, 0xe2, 0xff, 0xb8, 0xff, 0x9a, 0xff, 0x8e, 0xff, 0x92, 0xff,
+0x92, 0xff, 0x9c, 0xff, 0xc0, 0xff, 0xde, 0xff, 0xf4, 0xff, 0x24, 0x00, 0x38, 0x00, 0x3a, 0x00,
+0x40, 0x00, 0x3e, 0x00, 0x2a, 0x00, 0x0e, 0x00, 0xf4, 0xff, 0xdc, 0xff, 0xc4, 0xff, 0xb2, 0xff,
+0xb8, 0xff, 0xb0, 0xff, 0xae, 0xff, 0xc2, 0xff, 0xd2, 0xff, 0xea, 0xff, 0xfa, 0xff, 0x04, 0x00,
+0x18, 0x00, 0x14, 0x00, 0x16, 0x00, 0x12, 0x00, 0x08, 0x00, 0x00, 0x00, 0xf0, 0xff, 0xea, 0xff,
+0xde, 0xff, 0xc6, 0xff, 0xd2, 0xff, 0xc4, 0xff, 0xbe, 0xff, 0xd2, 0xff, 0xd4, 0xff, 0xde, 0xff,
+0xe0, 0xff, 0xf4, 0xff, 0xf2, 0xff, 0xf8, 0xff, 0xfe, 0xff, 0xfe, 0xff, 0xf6, 0xff, 0xfc, 0xff,
+0x08, 0x00, 0x04, 0x00, 0xfc, 0xff, 0xec, 0xff, 0xf8, 0xff, 0xe6, 0xff, 0xe6, 0xff, 0xe8, 0xff,
+0xde, 0xff, 0xd4, 0xff, 0xd0, 0xff, 0xce, 0xff, 0xdc, 0xff, 0xda, 0xff, 0xd8, 0xff, 0xe8, 0xff,
+0xf2, 0xff, 0x08, 0x00, 0x0c, 0x00, 0x18, 0x00, 0x1c, 0x00, 0x14, 0x00, 0x1c, 0x00, 0x1a, 0x00,
+0xfe, 0xff, 0xf0, 0xff, 0xd2, 0xff, 0xc8, 0xff, 0xb8, 0xff, 0xa8, 0xff, 0xae, 0xff, 0xac, 0xff,
+0xb4, 0xff, 0xd0, 0xff, 0xf2, 0xff, 0x0a, 0x00, 0x2c, 0x00, 0x34, 0x00, 0x44, 0x00, 0x4c, 0x00,
+0x38, 0x00, 0x36, 0x00, 0x18, 0x00, 0xf2, 0xff, 0xce, 0xff, 0xb0, 0xff, 0x94, 0xff, 0x8c, 0xff,
+0x7c, 0xff, 0x96, 0xff, 0xa0, 0xff, 0xce, 0xff, 0xfe, 0xff, 0x24, 0x00, 0x5a, 0x00, 0x68, 0x00,
+0x72, 0x00, 0x76, 0x00, 0x6a, 0x00, 0x50, 0x00, 0x2e, 0x00, 0xf0, 0xff, 0xca, 0xff, 0x96, 0xff,
+0x6c, 0xff, 0x5e, 0xff, 0x5a, 0xff, 0x70, 0xff, 0x98, 0xff, 0xca, 0xff, 0xfe, 0xff, 0x28, 0x00,
+0x68, 0x00, 0x8c, 0x00, 0x94, 0x00, 0x9c, 0x00, 0x7a, 0x00, 0x4a, 0x00, 0x24, 0x00, 0xe2, 0xff,
+0xac, 0xff, 0x7a, 0xff, 0x52, 0xff, 0x3a, 0xff, 0x40, 0xff, 0x5e, 0xff, 0x9c, 0xff, 0xd2, 0xff,
+0x06, 0x00, 0x46, 0x00, 0x70, 0x00, 0x98, 0x00, 0xa8, 0x00, 0x9e, 0x00, 0x7a, 0x00, 0x44, 0x00,
+0x0c, 0x00, 0xdc, 0xff, 0x98, 0xff, 0x58, 0xff, 0x38, 0xff, 0x30, 0xff, 0x46, 0xff, 0x6a, 0xff,
+0xac, 0xff, 0xe2, 0xff, 0x0c, 0x00, 0x54, 0x00, 0x7e, 0x00, 0x96, 0x00, 0xa6, 0x00, 0x82, 0x00,
+0x5e, 0x00, 0x28, 0x00, 0xe6, 0xff, 0xb6, 0xff, 0x76, 0xff, 0x40, 0xff, 0x2a, 0xff, 0x20, 0xff,
+0x36, 0xff, 0x72, 0xff, 0xba, 0xff, 0xf4, 0xff, 0x16, 0x00, 0x4a, 0x00, 0x7c, 0x00, 0x92, 0x00,
+0x92, 0x00, 0x7c, 0x00, 0x40, 0x00, 0x00, 0x00, 0xce, 0xff, 0xa4, 0xff, 0x66, 0xff, 0x3e, 0xff,
+0x26, 0xff, 0x2e, 0xff, 0x58, 0xff, 0x88, 0xff, 0xc8, 0xff, 0xfe, 0xff, 0x2c, 0x00, 0x58, 0x00,
+0x88, 0x00, 0x94, 0x00, 0x7e, 0x00, 0x68, 0x00, 0x3c, 0x00, 0x06, 0x00, 0xc2, 0xff, 0x94, 0xff,
+0x5c, 0xff, 0x38, 0xff, 0x2e, 0xff, 0x40, 0xff, 0x64, 0xff, 0x94, 0xff, 0xce, 0xff, 0x00, 0x00,
+0x2a, 0x00, 0x4e, 0x00, 0x72, 0x00, 0x88, 0x00, 0x74, 0x00, 0x52, 0x00, 0x2a, 0x00, 0xf2, 0xff,
+0xbc, 0xff, 0x8a, 0xff, 0x62, 0xff, 0x46, 0xff, 0x50, 0xff, 0x58, 0xff, 0x7c, 0xff, 0xac, 0xff,
+0xda, 0xff, 0x10, 0x00, 0x40, 0x00, 0x52, 0x00, 0x68, 0x00, 0x70, 0x00, 0x64, 0x00, 0x4a, 0x00,
+0x28, 0x00, 0xfa, 0xff, 0xc4, 0xff, 0x92, 0xff, 0x82, 0xff, 0x72, 0xff, 0x72, 0xff, 0x8a, 0xff,
+0x96, 0xff, 0xc2, 0xff, 0xee, 0xff, 0x0c, 0x00, 0x30, 0x00, 0x3c, 0x00, 0x4a, 0x00, 0x4a, 0x00,
+0x4e, 0x00, 0x28, 0x00, 0x10, 0x00, 0xee, 0xff, 0xc0, 0xff, 0x9e, 0xff, 0x94, 0xff, 0x98, 0xff,
+0x8c, 0xff, 0x9c, 0xff, 0xb2, 0xff, 0xd0, 0xff, 0xf0, 0xff, 0x04, 0x00, 0x1a, 0x00, 0x20, 0x00,
+0x22, 0x00, 0x30, 0x00, 0x2a, 0x00, 0x1e, 0x00, 0xfa, 0xff, 0xde, 0xff, 0xd4, 0xff, 0xba, 0xff,
+0xb8, 0xff, 0xba, 0xff, 0xb4, 0xff, 0xc2, 0xff, 0xce, 0xff, 0xda, 0xff, 0xf4, 0xff, 0x04, 0x00,
+0x00, 0x00, 0x06, 0x00, 0x06, 0x00, 0x0c, 0x00, 0x06, 0x00, 0x02, 0x00, 0xe8, 0xff, 0xe4, 0xff,
+0xe0, 0xff, 0xd0, 0xff, 0xda, 0xff, 0xd8, 0xff, 0xdc, 0xff, 0xd6, 0xff, 0xde, 0xff, 0xe2, 0xff,
+0xde, 0xff, 0xd4, 0xff, 0xd0, 0xff, 0xd6, 0xff, 0xd6, 0xff, 0xe4, 0xff, 0xde, 0xff, 0xe6, 0xff,
+0xe4, 0xff, 0xf2, 0xff, 0x02, 0x00, 0x06, 0x00, 0xfe, 0xff, 0x02, 0x00, 0x02, 0x00, 0xf4, 0xff,
+0xea, 0xff, 0xda, 0xff, 0xc0, 0xff, 0xb8, 0xff, 0xae, 0xff, 0xb2, 0xff, 0xc0, 0xff, 0xc2, 0xff,
+0xde, 0xff, 0xe8, 0xff, 0x04, 0x00, 0x18, 0x00, 0x2c, 0x00, 0x32, 0x00, 0x3a, 0x00, 0x30, 0x00,
+0x1c, 0x00, 0x0e, 0x00, 0xde, 0xff, 0xc2, 0xff, 0xa0, 0xff, 0x8a, 0xff, 0x82, 0xff, 0x8a, 0xff,
+0x96, 0xff, 0xa8, 0xff, 0xd2, 0xff, 0xee, 0xff, 0x16, 0x00, 0x42, 0x00, 0x50, 0x00, 0x66, 0x00,
+0x54, 0x00, 0x3c, 0x00, 0x38, 0x00, 0x04, 0x00, 0xe4, 0xff, 0xb0, 0xff, 0x86, 0xff, 0x6c, 0xff,
+0x6e, 0xff, 0x72, 0xff, 0x86, 0xff, 0xb4, 0xff, 0xd6, 0xff, 0x08, 0x00, 0x36, 0x00, 0x68, 0x00,
+0x86, 0x00, 0x90, 0x00, 0x8a, 0x00, 0x6a, 0x00, 0x3c, 0x00, 0x0c, 0x00, 0xda, 0xff, 0xaa, 0xff,
+0x7a, 0xff, 0x58, 0xff, 0x4c, 0xff, 0x5a, 0xff, 0x78, 0xff, 0xa6, 0xff, 0xde, 0xff, 0x10, 0x00,
+0x50, 0x00, 0x7c, 0x00, 0x94, 0x00, 0xa6, 0x00, 0x92, 0x00, 0x66, 0x00, 0x30, 0x00, 0x02, 0x00,
+0xc6, 0xff, 0x86, 0xff, 0x5a, 0xff, 0x2c, 0xff, 0x32, 0xff, 0x40, 0xff, 0x6a, 0xff, 0xa6, 0xff,
+0xe2, 0xff, 0x16, 0x00, 0x5a, 0x00, 0x96, 0x00, 0xb0, 0x00, 0xb2, 0x00, 0x92, 0x00, 0x64, 0x00,
+0x28, 0x00, 0xfa, 0xff, 0xbe, 0xff, 0x7c, 0xff, 0x42, 0xff, 0x2e, 0xff, 0x22, 0xff, 0x44, 0xff,
+0x7a, 0xff, 0xbe, 0xff, 0xf4, 0xff, 0x36, 0x00, 0x74, 0x00, 0x96, 0x00, 0xb2, 0x00, 0xb0, 0x00,
+0x88, 0x00, 0x4e, 0x00, 0x0c, 0x00, 0xdc, 0xff, 0xa0, 0xff, 0x5a, 0xff, 0x36, 0xff, 0x1a, 0xff,
+0x2a, 0xff, 0x4c, 0xff, 0x88, 0xff, 0xd0, 0xff, 0x00, 0x00, 0x3c, 0x00, 0x7e, 0x00, 0xa0, 0x00,
+0xa0, 0x00, 0x94, 0x00, 0x62, 0x00, 0x36, 0x00, 0xfc, 0xff, 0xc0, 0xff, 0x96, 0xff, 0x4e, 0xff,
+0x2c, 0xff, 0x2c, 0xff, 0x36, 0xff, 0x6e, 0xff, 0x9e, 0xff, 0xea, 0xff, 0x1c, 0x00, 0x52, 0x00,
+0x86, 0x00, 0x98, 0x00, 0xa8, 0x00, 0x8a, 0x00, 0x6a, 0x00, 0x2a, 0x00, 0xf4, 0xff, 0xba, 0xff,
+0x88, 0xff, 0x66, 0xff, 0x4e, 0xff, 0x46, 0xff, 0x52, 0xff, 0x8a, 0xff, 0xc0, 0xff, 0xf2, 0xff,
+0x28, 0x00, 0x52, 0x00, 0x6a, 0x00, 0x7a, 0x00, 0x78, 0x00, 0x6c, 0x00, 0x48, 0x00, 0x16, 0x00,
+0xf2, 0xff, 0xb0, 0xff, 0x90, 0xff, 0x72, 0xff, 0x6c, 0xff, 0x6c, 0xff, 0x78, 0xff, 0x96, 0xff,
+0xce, 0xff, 0xf8, 0xff, 0x1a, 0x00, 0x4a, 0x00, 0x4e, 0x00, 0x66, 0x00, 0x56, 0x00, 0x54, 0x00,
+0x40, 0x00, 0x10, 0x00, 0xec, 0xff, 0xca, 0xff, 0xb2, 0xff, 0x9a, 0xff, 0x9a, 0xff, 0x8a, 0xff,
+0xa4, 0xff, 0xba, 0xff, 0xe4, 0xff, 0x06, 0x00, 0x14, 0x00, 0x3a, 0x00, 0x3e, 0x00, 0x42, 0x00,
+0x4a, 0x00, 0x38, 0x00, 0x22, 0x00, 0x0c, 0x00, 0xe4, 0xff, 0xda, 0xff, 0xbe, 0xff, 0xb4, 0xff,
+0xb4, 0xff, 0xa4, 0xff, 0xc0, 0xff, 0xc8, 0xff, 0xe4, 0xff, 0x02, 0x00, 0x02, 0x00, 0x16, 0x00,
+0x16, 0x00, 0x1a, 0x00, 0x18, 0x00, 0x14, 0x00, 0x02, 0x00, 0xf2, 0xff, 0xe8, 0xff, 0xe8, 0xff,
+0xde, 0xff, 0xd8, 0xff, 0xd4, 0xff, 0xda, 0xff, 0xe4, 0xff, 0xf2, 0xff, 0xf6, 0xff, 0xf4, 0xff,
+0xfa, 0xff, 0xfe, 0xff, 0x00, 0x00, 0xfa, 0xff, 0xfa, 0xff, 0xfa, 0xff, 0x00, 0x00, 0xfc, 0xff,
+0x08, 0x00, 0x06, 0x00, 0x02, 0x00, 0xf4, 0xff, 0x02, 0x00, 0xf4, 0xff, 0xee, 0xff, 0xf6, 0xff,
+0xe4, 0xff, 0xe0, 0xff, 0xd0, 0xff, 0xd2, 0xff, 0xd6, 0xff, 0xd8, 0xff, 0xd4, 0xff, 0xf2, 0xff,
+0xf8, 0xff, 0x08, 0x00, 0x10, 0x00, 0x18, 0x00, 0x1c, 0x00, 0x0c, 0x00, 0x0a, 0x00, 0x00, 0x00,
+0xee, 0xff, 0xd8, 0xff, 0xc4, 0xff, 0xa6, 0xff, 0xa0, 0xff, 0xa4, 0xff, 0xa2, 0xff, 0xae, 0xff,
+0xc4, 0xff, 0xe6, 0xff, 0x08, 0x00, 0x22, 0x00, 0x42, 0x00, 0x3c, 0x00, 0x42, 0x00, 0x42, 0x00,
+0x38, 0x00, 0x1e, 0x00, 0xf6, 0xff, 0xd0, 0xff, 0xa8, 0xff, 0x8c, 0xff, 0x80, 0xff, 0x7c, 0xff,
+0x82, 0xff, 0x94, 0xff, 0xbc, 0xff, 0xf0, 0xff, 0x14, 0x00, 0x3e, 0x00, 0x58, 0x00, 0x6e, 0x00,
+0x6c, 0x00, 0x5c, 0x00, 0x4a, 0x00, 0x18, 0x00, 0xf0, 0xff, 0xc2, 0xff, 0x84, 0xff, 0x56, 0xff,
+0x4e, 0xff, 0x54, 0xff, 0x5c, 0xff, 0x86, 0xff, 0xb0, 0xff, 0xf2, 0xff, 0x22, 0x00, 0x58, 0x00,
+0x74, 0x00, 0x8e, 0x00, 0x92, 0x00, 0x82, 0x00, 0x58, 0x00, 0x1a, 0x00, 0xf2, 0xff, 0xb4, 0xff,
+0x7a, 0xff, 0x4c, 0xff, 0x3a, 0xff, 0x40, 0xff, 0x58, 0xff, 0x92, 0xff, 0xcc, 0xff, 0xfe, 0xff,
+0x3a, 0x00, 0x6e, 0x00, 0x98, 0x00, 0xae, 0x00, 0xb6, 0x00, 0x90, 0x00, 0x60, 0x00, 0x1c, 0x00,
+0xe0, 0xff, 0xa4, 0xff, 0x62, 0xff, 0x42, 0xff, 0x2c, 0xff, 0x30, 0xff, 0x52, 0xff, 0x90, 0xff,
+0xd4, 0xff, 0x00, 0x00, 0x38, 0x00, 0x80, 0x00, 0x9c, 0x00, 0xb6, 0x00, 0xac, 0x00, 0x80, 0x00,
+0x44, 0x00, 0x04, 0x00, 0xca, 0xff, 0x8a, 0xff, 0x50, 0xff, 0x2e, 0xff, 0x22, 0xff, 0x3c, 0xff,
+0x68, 0xff, 0x9c, 0xff, 0xe8, 0xff, 0x0c, 0x00, 0x50, 0x00, 0x88, 0x00, 0xae, 0x00, 0xbc, 0x00,
+0x9c, 0x00, 0x78, 0x00, 0x30, 0x00, 0xf6, 0xff, 0xc0, 0xff, 0x7e, 0xff, 0x4e, 0xff, 0x3c, 0xff,
+0x34, 0xff, 0x42, 0xff, 0x7e, 0xff, 0xac, 0xff, 0xe6, 0xff, 0x12, 0x00, 0x58, 0x00, 0x86, 0x00,
+0x96, 0x00, 0xa2, 0x00, 0x84, 0x00, 0x54, 0x00, 0x1e, 0x00, 0xe6, 0xff, 0xa6, 0xff, 0x7a, 0xff,
+0x54, 0xff, 0x3c, 0xff, 0x42, 0xff, 0x50, 0xff, 0x80, 0xff, 0xba, 0xff, 0xf0, 0xff, 0x1a, 0x00,
+0x54, 0x00, 0x8c, 0x00, 0x90, 0x00, 0x92, 0x00, 0x70, 0x00, 0x46, 0x00, 0x18, 0x00, 0xea, 0xff,
+0xb4, 0xff, 0x88, 0xff, 0x6a, 0xff, 0x66, 0xff, 0x62, 0xff, 0x7c, 0xff, 0xa6, 0xff, 0xca, 0xff,
+0x04, 0x00, 0x2c, 0x00, 0x5e, 0x00, 0x6a, 0x00, 0x78, 0x00, 0x70, 0x00, 0x56, 0x00, 0x32, 0x00,
+0x00, 0x00, 0xdc, 0xff, 0xb4, 0xff, 0xa6, 0xff, 0x90, 0xff, 0x84, 0xff, 0x88, 0xff, 0x9c, 0xff,
+0xbc, 0xff, 0xde, 0xff, 0x08, 0x00, 0x2c, 0x00, 0x40, 0x00, 0x46, 0x00, 0x4a, 0x00, 0x46, 0x00,
+0x34, 0x00, 0x14, 0x00, 0xfc, 0xff, 0xee, 0xff, 0xba, 0xff, 0xb0, 0xff, 0xc2, 0xff, 0xb0, 0xff,
+0xae, 0xff, 0xc8, 0xff, 0xda, 0xff, 0xf4, 0xff, 0x08, 0x00, 0x18, 0x00, 0x2e, 0x00, 0x20, 0x00,
+0x30, 0x00, 0x20, 0x00, 0x18, 0x00, 0x0a, 0x00, 0x02, 0x00, 0xf0, 0xff, 0xe2, 0xff, 0xde, 0xff,
+0xd0, 0xff, 0xdc, 0xff, 0xd8, 0xff, 0xe2, 0xff, 0xe8, 0xff, 0xfc, 0xff, 0xf4, 0xff, 0xfc, 0xff,
+0xfe, 0xff, 0xfa, 0xff, 0x06, 0x00, 0xfe, 0xff, 0xf8, 0xff, 0xfa, 0xff, 0x02, 0x00, 0x00, 0x00,
+0xf4, 0xff, 0xf0, 0xff, 0xfc, 0xff, 0xfa, 0xff, 0xfa, 0xff, 0xf0, 0xff, 0xea, 0xff, 0xdc, 0xff,
+0xd8, 0xff, 0xd8, 0xff, 0xe0, 0xff, 0xda, 0xff, 0xda, 0xff, 0xe6, 0xff, 0xec, 0xff, 0xfc, 0xff,
+0x08, 0x00, 0x1e, 0x00, 0x1c, 0x00, 0x18, 0x00, 0x16, 0x00, 0x1a, 0x00, 0x0c, 0x00, 0xf8, 0xff,
+0xe6, 0xff, 0xc4, 0xff, 0xb8, 0xff, 0xa8, 0xff, 0xb2, 0xff, 0xc2, 0xff, 0xb8, 0xff, 0xd4, 0xff,
+0xee, 0xff, 0x0c, 0x00, 0x20, 0x00, 0x40, 0x00, 0x3e, 0x00, 0x44, 0x00, 0x34, 0x00, 0x1a, 0x00,
+0xf8, 0xff, 0xb0, 0xff, 0x8c, 0xff, 0x78, 0xff, 0x84, 0xff, 0x96, 0xff, 0xa4, 0xff, 0xcc, 0xff,
+0xf8, 0xff, 0x1c, 0x00, 0x40, 0x00, 0x5e, 0x00, 0x6c, 0x00, 0x62, 0x00, 0x52, 0x00, 0x34, 0x00,
+0x06, 0x00, 0xdc, 0xff, 0xac, 0xff, 0x86, 0xff, 0x6c, 0xff, 0x5e, 0xff, 0x68, 0xff, 0x7a, 0xff,
+0xa4, 0xff, 0xda, 0xff, 0x0a, 0x00, 0x36, 0x00, 0x72, 0x00, 0x88, 0x00, 0x94, 0x00, 0x8c, 0x00,
+0x62, 0x00, 0x44, 0x00, 0x06, 0x00, 0xdc, 0xff, 0x90, 0xff, 0x64, 0xff, 0x46, 0xff, 0x38, 0xff,
+0x50, 0xff, 0x70, 0xff, 0xac, 0xff, 0xe6, 0xff, 0x1c, 0x00, 0x5a, 0x00, 0x8c, 0x00, 0xac, 0x00,
+0xb2, 0x00, 0x94, 0x00, 0x72, 0x00, 0x2e, 0x00, 0xfc, 0xff, 0xc8, 0xff, 0x84, 0xff, 0x58, 0xff,
+0x3c, 0xff, 0x38, 0xff, 0x52, 0xff, 0x7a, 0xff, 0xc4, 0xff, 0xfa, 0xff, 0x2c, 0x00, 0x74, 0x00,
+0x9c, 0x00, 0xb8, 0x00, 0xb2, 0x00, 0x9a, 0x00, 0x6e, 0x00, 0x2e, 0x00, 0xf4, 0xff, 0xc2, 0xff,
+0x76, 0xff, 0x54, 0xff, 0x34, 0xff, 0x32, 0xff, 0x5a, 0xff, 0x84, 0xff, 0xd4, 0xff, 0x08, 0x00,
+0x3e, 0x00, 0x7c, 0x00, 0xa6, 0x00, 0xba, 0x00, 0xa8, 0x00, 0x88, 0x00, 0x58, 0x00, 0x12, 0x00,
+0xe6, 0xff, 0xa8, 0xff, 0x70, 0xff, 0x44, 0xff, 0x2a, 0xff, 0x44, 0xff, 0x64, 0xff, 0x92, 0xff,
+0xde, 0xff, 0x06, 0x00, 0x40, 0x00, 0x7e, 0x00, 0x9c, 0x00, 0xae, 0x00, 0x9c, 0x00, 0x7a, 0x00,
+0x46, 0x00, 0x08, 0x00, 0xd0, 0xff, 0x9e, 0xff, 0x66, 0xff, 0x3e, 0xff, 0x3a, 0xff, 0x50, 0xff,
+0x70, 0xff, 0xa8, 0xff, 0xe4, 0xff, 0x1a, 0x00, 0x56, 0x00, 0x72, 0x00, 0x8e, 0x00, 0x98, 0x00,
+0x88, 0x00, 0x66, 0x00, 0x2c, 0x00, 0xf4, 0xff, 0xc4, 0xff, 0x94, 0xff, 0x5e, 0xff, 0x46, 0xff,
+0x4c, 0xff, 0x5c, 0xff, 0x84, 0xff, 0xb0, 0xff, 0xde, 0xff, 0x16, 0x00, 0x46, 0x00, 0x66, 0x00,
+0x7e, 0x00, 0x7e, 0x00, 0x66, 0x00, 0x48, 0x00, 0x1c, 0x00, 0xf2, 0xff, 0xb8, 0xff, 0x8a, 0xff,
+0x74, 0xff, 0x6a, 0xff, 0x5c, 0xff, 0x78, 0xff, 0x98, 0xff, 0xc8, 0xff, 0xec, 0xff, 0x16, 0x00,
+0x3e, 0x00, 0x46, 0x00, 0x68, 0x00, 0x66, 0x00, 0x5a, 0x00, 0x2e, 0x00, 0x0c, 0x00, 0xf4, 0xff,
+0xc2, 0xff, 0xaa, 0xff, 0x9e, 0xff, 0x98, 0xff, 0x9a, 0xff, 0xa6, 0xff, 0xc2, 0xff, 0xe0, 0xff,
+0xfa, 0xff, 0x16, 0x00, 0x28, 0x00, 0x2e, 0x00, 0x38, 0x00, 0x3a, 0x00, 0x30, 0x00, 0x12, 0x00,
+0xfc, 0xff, 0xec, 0xff, 0xd2, 0xff, 0xc6, 0xff, 0xc2, 0xff, 0xc8, 0xff, 0xc0, 0xff, 0xc4, 0xff,
+0xde, 0xff, 0xea, 0xff, 0xf6, 0xff, 0x00, 0x00, 0x16, 0x00, 0x0c, 0x00, 0x1c, 0x00, 0x1a, 0x00,
+0x12, 0x00, 0x0c, 0x00, 0x02, 0x00, 0xf8, 0xff, 0xec, 0xff, 0xe4, 0xff, 0xe8, 0xff, 0xe0, 0xff,
+0xde, 0xff, 0xde, 0xff, 0xe4, 0xff, 0xf8, 0xff, 0xea, 0xff, 0xf0, 0xff, 0xfa, 0xff, 0x00, 0x00,
+0xfe, 0xff, 0x06, 0x00, 0x00, 0x00, 0x06, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x08, 0x00, 0x10, 0x00,
+0x0c, 0x00, 0x00, 0x00, 0x04, 0x00, 0xea, 0xff, 0xe8, 0xff, 0xdc, 0xff, 0xce, 0xff, 0xc8, 0xff,
+0xca, 0xff, 0xd4, 0xff, 0xd4, 0xff, 0xde, 0xff, 0xf2, 0xff, 0x04, 0x00, 0x12, 0x00, 0x26, 0x00,
+0x28, 0x00, 0x32, 0x00, 0x2a, 0x00, 0x20, 0x00, 0x16, 0x00, 0xfa, 0xff, 0xce, 0xff, 0xc4, 0xff,
+0xaa, 0xff, 0x9c, 0xff, 0xa6, 0xff, 0xa0, 0xff, 0xb4, 0xff, 0xc2, 0xff, 0xee, 0xff, 0x0a, 0x00,
+0x28, 0x00, 0x50, 0x00, 0x5a, 0x00, 0x5e, 0x00, 0x52, 0x00, 0x3e, 0x00, 0x22, 0x00, 0xf6, 0xff,
+0xd6, 0xff, 0xa8, 0xff, 0x7c, 0xff, 0x72, 0xff, 0x6e, 0xff, 0x78, 0xff, 0x8e, 0xff, 0xa6, 0xff,
+0xe2, 0xff, 0x0a, 0x00, 0x3c, 0x00, 0x5c, 0x00, 0x74, 0x00, 0x82, 0x00, 0x62, 0x00, 0x48, 0x00,
+0x1c, 0x00, 0xec, 0xff, 0xba, 0xff, 0x8a, 0xff, 0x58, 0xff, 0x46, 0xff, 0x4c, 0xff, 0x4c, 0xff,
+0x80, 0xff, 0xa8, 0xff, 0xdc, 0xff, 0x18, 0x00, 0x4e, 0x00, 0x84, 0x00, 0x9a, 0x00, 0x96, 0x00,
+0x80, 0x00, 0x5a, 0x00, 0x20, 0x00, 0xf0, 0xff, 0xb4, 0xff, 0x80, 0xff, 0x52, 0xff, 0x36, 0xff,
+0x40, 0xff, 0x58, 0xff, 0x76, 0xff, 0xb4, 0xff, 0xf0, 0xff, 0x20, 0x00, 0x60, 0x00, 0x92, 0x00,
+0xb0, 0x00, 0xa6, 0x00, 0x8a, 0x00, 0x52, 0x00, 0x1c, 0x00, 0xea, 0xff, 0xae, 0xff, 0x6e, 0xff,
+0x3e, 0xff, 0x30, 0xff, 0x3c, 0xff, 0x54, 0xff, 0x8c, 0xff, 0xd2, 0xff, 0x00, 0x00, 0x38, 0x00,
+0x7c, 0x00, 0xa8, 0x00, 0xb6, 0x00, 0xa8, 0x00, 0x80, 0x00, 0x3c, 0x00, 0x08, 0x00, 0xd6, 0xff,
+0x9a, 0xff, 0x68, 0xff, 0x44, 0xff, 0x32, 0xff, 0x4a, 0xff, 0x6e, 0xff, 0xb0, 0xff, 0xf2, 0xff,
+0x1e, 0x00, 0x58, 0x00, 0x8e, 0x00, 0xb4, 0x00, 0xb6, 0x00, 0x9c, 0x00, 0x6a, 0x00, 0x2c, 0x00,
+0xf8, 0xff, 0xc2, 0xff, 0x8c, 0xff, 0x5c, 0xff, 0x36, 0xff, 0x3c, 0xff, 0x46, 0xff, 0x76, 0xff,
+0xb4, 0xff, 0xea, 0xff, 0x2a, 0x00, 0x6a, 0x00, 0x98, 0x00, 0xa6, 0x00, 0xaa, 0x00, 0x88, 0x00,
+0x60, 0x00, 0x2a, 0x00, 0xe2, 0xff, 0xa8, 0xff, 0x74, 0xff, 0x56, 0xff, 0x3c, 0xff, 0x44, 0xff,
+0x66, 0xff, 0x7e, 0xff, 0xc2, 0xff, 0xfe, 0xff, 0x38, 0x00, 0x74, 0x00, 0x92, 0x00, 0x9a, 0x00,
+0x8c, 0x00, 0x78, 0x00, 0x4a, 0x00, 0x16, 0x00, 0xe2, 0xff, 0xa6, 0xff, 0x74, 0xff, 0x5e, 0xff,
+0x52, 0xff, 0x5a, 0xff, 0x7a, 0xff, 0xa4, 0xff, 0xda, 0xff, 0x06, 0x00, 0x3a, 0x00, 0x56, 0x00,
+0x72, 0x00, 0x74, 0x00, 0x62, 0x00, 0x44, 0x00, 0x1e, 0x00, 0xf0, 0xff, 0xce, 0xff, 0xa4, 0xff,
+0x86, 0xff, 0x72, 0xff, 0x70, 0xff, 0x7c, 0xff, 0x96, 0xff, 0xc2, 0xff, 0xe8, 0xff, 0x0e, 0x00,
+0x34, 0x00, 0x3e, 0x00, 0x46, 0x00, 0x46, 0x00, 0x34, 0x00, 0x32, 0x00, 0x0c, 0x00, 0xf2, 0xff,
+0xdc, 0xff, 0xbc, 0xff, 0xaa, 0xff, 0xa6, 0xff, 0xaa, 0xff, 0xb6, 0xff, 0xc6, 0xff, 0xd2, 0xff,
+0xf6, 0xff, 0x0a, 0x00, 0x1e, 0x00, 0x2e, 0x00, 0x22, 0x00, 0x20, 0x00, 0x18, 0x00, 0x0a, 0x00,
+0xfa, 0xff, 0xf2, 0xff, 0xe8, 0xff, 0xd4, 0xff, 0xc6, 0xff, 0xce, 0xff, 0xca, 0xff, 0xd6, 0xff,
+0xdc, 0xff, 0xe6, 0xff, 0xec, 0xff, 0xf6, 0xff, 0xfc, 0xff, 0xfa, 0xff, 0xfc, 0xff, 0xf8, 0xff,
+0xfc, 0xff, 0xfe, 0xff, 0xf6, 0xff, 0xf0, 0xff, 0xf2, 0xff, 0xf0, 0xff, 0xea, 0xff, 0xf4, 0xff,
+0xf4, 0xff, 0xf0, 0xff, 0xf2, 0xff, 0xf4, 0xff, 0xe4, 0xff, 0xec, 0xff, 0xe0, 0xff, 0xd8, 0xff,
+0xec, 0xff, 0xe6, 0xff, 0xf8, 0xff, 0xfe, 0xff, 0xfa, 0xff, 0x12, 0x00, 0x1a, 0x00, 0x12, 0x00,
+0x16, 0x00, 0x0a, 0x00, 0x06, 0x00, 0x06, 0x00, 0xf8, 0xff, 0xe8, 0xff, 0xd2, 0xff, 0xc0, 0xff,
+0xae, 0xff, 0xb2, 0xff, 0xc2, 0xff, 0xc4, 0xff, 0xde, 0xff, 0xf4, 0xff, 0x0a, 0x00, 0x2a, 0x00,
+0x36, 0x00, 0x40, 0x00, 0x3c, 0x00, 0x28, 0x00, 0x20, 0x00, 0x06, 0x00, 0xf0, 0xff, 0xd4, 0xff,
+0xac, 0xff, 0x96, 0xff, 0x90, 0xff, 0x8a, 0xff, 0x9e, 0xff, 0xac, 0xff, 0xd8, 0xff, 0xf4, 0xff,
+0x20, 0x00, 0x4e, 0x00, 0x58, 0x00, 0x6a, 0x00, 0x6e, 0x00, 0x5e, 0x00, 0x3a, 0x00, 0x1a, 0x00,
+0xe4, 0xff, 0xba, 0xff, 0x96, 0xff, 0x70, 0xff, 0x64, 0xff, 0x6a, 0xff, 0x82, 0xff, 0x98, 0xff,
+0xd2, 0xff, 0xfa, 0xff, 0x30, 0x00, 0x58, 0x00, 0x7c, 0x00, 0x8c, 0x00, 0x86, 0x00, 0x72, 0x00,
+0x44, 0x00, 0x10, 0x00, 0xce, 0xff, 0x98, 0xff, 0x6a, 0xff, 0x40, 0xff, 0x2e, 0xff, 0x44, 0xff,
+0x62, 0xff, 0x9a, 0xff, 0xd4, 0xff, 0x06, 0x00, 0x40, 0x00, 0x7c, 0x00, 0x9e, 0x00, 0xac, 0x00,
+0xa0, 0x00, 0x76, 0x00, 0x42, 0x00, 0x0c, 0x00, 0xce, 0xff, 0x82, 0xff, 0x48, 0xff, 0x26, 0xff,
+0x16, 0xff, 0x34, 0xff, 0x5e, 0xff, 0xa0, 0xff, 0xe8, 0xff, 0x0e, 0x00, 0x58, 0x00, 0x9a, 0x00,
+0xb6, 0x00, 0xc4, 0x00, 0xa6, 0x00, 0x76, 0x00, 0x36, 0x00, 0xfa, 0xff, 0xbe, 0xff, 0x78, 0xff,
+0x38, 0xff, 0x1a, 0xff, 0x18, 0xff, 0x32, 0xff, 0x58, 0xff, 0xac, 0xff, 0xea, 0xff, 0x26, 0x00,
+0x6c, 0x00, 0x9a, 0x00, 0xc2, 0x00, 0xb4, 0x00, 0xa8, 0x00, 0x6c, 0x00, 0x20, 0x00, 0xe8, 0xff,
+0xaa, 0xff, 0x6a, 0xff, 0x3a, 0xff, 0x2a, 0xff, 0x2e, 0xff, 0x52, 0xff, 0x7a, 0xff, 0xc8, 0xff,
+0xfe, 0xff, 0x44, 0x00, 0x80, 0x00, 0xa4, 0x00, 0xc6, 0x00, 0xae, 0x00, 0x96, 0x00, 0x58, 0x00,
+0x16, 0x00, 0xdc, 0xff, 0xa2, 0xff, 0x6e, 0xff, 0x44, 0xff, 0x3a, 0xff, 0x44, 0xff, 0x6e, 0xff,
+0xa6, 0xff, 0xe4, 0xff, 0x12, 0x00, 0x3e, 0x00, 0x7c, 0x00, 0x9c, 0x00, 0xa4, 0x00, 0x9a, 0x00,
+0x78, 0x00, 0x3c, 0x00, 0xfe, 0xff, 0xc6, 0xff, 0x98, 0xff, 0x6e, 0xff, 0x58, 0xff, 0x52, 0xff,
+0x58, 0xff, 0x80, 0xff, 0xb8, 0xff, 0xee, 0xff, 0x1c, 0x00, 0x50, 0x00, 0x74, 0x00, 0x86, 0x00,
+0x86, 0x00, 0x76, 0x00, 0x5e, 0x00, 0x2e, 0x00, 0xfe, 0xff, 0xc8, 0xff, 0x9c, 0xff, 0x88, 0xff,
+0x74, 0xff, 0x80, 0xff, 0x88, 0xff, 0x98, 0xff, 0xca, 0xff, 0xf8, 0xff, 0x18, 0x00, 0x46, 0x00,
+0x5e, 0x00, 0x62, 0x00, 0x5e, 0x00, 0x4e, 0x00, 0x3a, 0x00, 0x0a, 0x00, 0xf0, 0xff, 0xce, 0xff,
+0xae, 0xff, 0xa4, 0xff, 0xa0, 0xff, 0x98, 0xff, 0x9c, 0xff, 0xbc, 0xff, 0xda, 0xff, 0xf0, 0xff,
+0x02, 0x00, 0x2a, 0x00, 0x28, 0x00, 0x2c, 0x00, 0x2c, 0x00, 0x26, 0x00, 0x10, 0x00, 0xf6, 0xff,
+0xec, 0xff, 0xd4, 0xff, 0xc6, 0xff, 0xc6, 0xff, 0xce, 0xff, 0xb6, 0xff, 0xc4, 0xff, 0xd4, 0xff,
+0xdc, 0xff, 0xe6, 0xff, 0xf4, 0xff, 0x06, 0x00, 0x06, 0x00, 0x0c, 0x00, 0x0a, 0x00, 0x08, 0x00,
+0x04, 0x00, 0xf4, 0xff, 0xf8, 0xff, 0xf0, 0xff, 0xec, 0xff, 0xe8, 0xff, 0xe2, 0xff, 0xe0, 0xff,
+0xe4, 0xff, 0xe8, 0xff, 0xe0, 0xff, 0xec, 0xff, 0xec, 0xff, 0xe8, 0xff, 0xec, 0xff, 0xf0, 0xff,
+0xfe, 0xff, 0xf8, 0xff, 0xfa, 0xff, 0xfe, 0xff, 0x02, 0x00, 0x0a, 0x00, 0x0e, 0x00, 0x00, 0x00,
+0xfa, 0xff, 0xf6, 0xff, 0xea, 0xff, 0xe4, 0xff, 0xd4, 0xff, 0xd0, 0xff, 0xca, 0xff, 0xc8, 0xff,
+0xc6, 0xff, 0xbe, 0xff, 0xd0, 0xff, 0xee, 0xff, 0x02, 0x00, 0x0e, 0x00, 0x22, 0x00, 0x34, 0x00,
+0x36, 0x00, 0x24, 0x00, 0x2a, 0x00, 0x16, 0x00, 0xf0, 0xff, 0xe4, 0xff, 0xc2, 0xff, 0xa4, 0xff,
+0xb0, 0xff, 0xa0, 0xff, 0xa4, 0xff, 0xb2, 0xff, 0xc4, 0xff, 0xf6, 0xff, 0x10, 0x00, 0x2a, 0x00,
+0x52, 0x00, 0x62, 0x00, 0x5a, 0x00, 0x52, 0x00, 0x36, 0x00, 0x28, 0x00, 0xf6, 0xff, 0xd0, 0xff,
+0xae, 0xff, 0x86, 0xff, 0x7e, 0xff, 0x70, 0xff, 0x84, 0xff, 0xa2, 0xff, 0xbe, 0xff, 0xf6, 0xff,
+0x14, 0x00, 0x40, 0x00, 0x6e, 0x00, 0x76, 0x00, 0x7e, 0x00, 0x72, 0x00, 0x50, 0x00, 0x1e, 0x00,
+0xf4, 0xff, 0xce, 0xff, 0x98, 0xff, 0x6a, 0xff, 0x56, 0xff, 0x52, 0xff, 0x64, 0xff, 0x94, 0xff,
+0xc0, 0xff, 0xf6, 0xff, 0x26, 0x00, 0x54, 0x00, 0x88, 0x00, 0xa0, 0x00, 0x9a, 0x00, 0x90, 0x00,
+0x60, 0x00, 0x2c, 0x00, 0xfa, 0xff, 0xbe, 0xff, 0x8a, 0xff, 0x64, 0xff, 0x3e, 0xff, 0x32, 0xff,
+0x4a, 0xff, 0x7c, 0xff, 0xc0, 0xff, 0xf4, 0xff, 0x2a, 0x00, 0x5e, 0x00, 0x98, 0x00, 0xa4, 0x00,
+0xa8, 0x00, 0x8c, 0x00, 0x58, 0x00, 0x1c, 0x00, 0xe2, 0xff, 0xae, 0xff, 0x72, 0xff, 0x44, 0xff,
+0x20, 0xff, 0x22, 0xff, 0x4a, 0xff, 0x80, 0xff, 0xbc, 0xff, 0xf6, 0xff, 0x32, 0x00, 0x6e, 0x00,
+0x9e, 0x00, 0xae, 0x00, 0xa0, 0x00, 0x8c, 0x00, 0x48, 0x00, 0x0c, 0x00, 0xe6, 0xff, 0xa2, 0xff,
+0x64, 0xff, 0x40, 0xff, 0x28, 0xff, 0x38, 0xff, 0x5e, 0xff, 0x98, 0xff, 0xe6, 0xff, 0x04, 0x00,
+0x44, 0x00, 0x82, 0x00, 0xa2, 0x00, 0xb0, 0x00, 0xa2, 0x00, 0x7c, 0x00, 0x3c, 0x00, 0x00, 0x00,
+0xcc, 0xff, 0x94, 0xff, 0x58, 0xff, 0x38, 0xff, 0x26, 0xff, 0x3e, 0xff, 0x66, 0xff, 0xaa, 0xff,
+0xf2, 0xff, 0x16, 0x00, 0x54, 0x00, 0x80, 0x00, 0x9e, 0x00, 0xa4, 0x00, 0x92, 0x00, 0x68, 0x00,
+0x24, 0x00, 0xec, 0xff, 0xb8, 0xff, 0x7e, 0xff, 0x56, 0xff, 0x3e, 0xff, 0x38, 0xff, 0x56, 0xff,
+0x88, 0xff, 0xb8, 0xff, 0x00, 0x00, 0x36, 0x00, 0x58, 0x00, 0x86, 0x00, 0x96, 0x00, 0x94, 0x00,
+0x86, 0x00, 0x58, 0x00, 0x1c, 0x00, 0xf2, 0xff, 0xb0, 0xff, 0x86, 0xff, 0x70, 0xff, 0x5e, 0xff,
+0x68, 0xff, 0x80, 0xff, 0x9e, 0xff, 0xd4, 0xff, 0x08, 0x00, 0x32, 0x00, 0x58, 0x00, 0x66, 0x00,
+0x6c, 0x00, 0x6c, 0x00, 0x5c, 0x00, 0x36, 0x00, 0x02, 0x00, 0xda, 0xff, 0xb2, 0xff, 0x9c, 0xff,
+0x8e, 0xff, 0x8c, 0xff, 0x94, 0xff, 0xa0, 0xff, 0xc2, 0xff, 0xea, 0xff, 0x00, 0x00, 0x22, 0x00,
+0x3c, 0x00, 0x44, 0x00, 0x44, 0x00, 0x44, 0x00, 0x3a, 0x00, 0x12, 0x00, 0xfa, 0xff, 0xde, 0xff,
+0xbc, 0xff, 0xb0, 0xff, 0xb6, 0xff, 0xae, 0xff, 0xb0, 0xff, 0xc6, 0xff, 0xd8, 0xff, 0xf6, 0xff,
+0x0e, 0x00, 0x10, 0x00, 0x2a, 0x00, 0x22, 0x00, 0x20, 0x00, 0x22, 0x00, 0x08, 0x00, 0xfc, 0xff,
+0xde, 0xff, 0xd6, 0xff, 0xd4, 0xff, 0xca, 0xff, 0xce, 0xff, 0xd0, 0xff, 0xcc, 0xff, 0xd8, 0xff,
+0xe2, 0xff, 0xe4, 0xff, 0xf8, 0xff, 0xfa, 0xff, 0xfa, 0xff, 0xfe, 0xff, 0xf4, 0xff, 0x00, 0x00,
+0xf4, 0xff, 0xf4, 0xff, 0xf2, 0xff, 0xe4, 0xff, 0xe6, 0xff, 0xee, 0xff, 0xf4, 0xff, 0xe8, 0xff,
+0xf0, 0xff, 0xe8, 0xff, 0xe8, 0xff, 0xea, 0xff, 0xde, 0xff, 0xce, 0xff, 0xe0, 0xff, 0xe2, 0xff,
+0xd4, 0xff, 0xe6, 0xff, 0xea, 0xff, 0xf0, 0xff, 0xfe, 0xff, 0x12, 0x00, 0x12, 0x00, 0x10, 0x00,
+0x14, 0x00, 0x12, 0x00, 0x10, 0x00, 0xfa, 0xff, 0xe4, 0xff, 0xd2, 0xff, 0xb2, 0xff, 0xaa, 0xff,
+0xb4, 0xff, 0xb2, 0xff, 0xb4, 0xff, 0xc8, 0xff, 0xee, 0xff, 0x02, 0x00, 0x1c, 0x00, 0x3a, 0x00,
+0x44, 0x00, 0x3c, 0x00, 0x3e, 0x00, 0x2e, 0x00, 0x16, 0x00, 0xee, 0xff, 0xce, 0xff, 0xb6, 0xff,
+0x8e, 0xff, 0x80, 0xff, 0x8e, 0xff, 0xa0, 0xff, 0xb2, 0xff, 0xd0, 0xff, 0xfe, 0xff, 0x24, 0x00,
+0x42, 0x00, 0x68, 0x00, 0x72, 0x00, 0x80, 0x00, 0x5a, 0x00, 0x3e, 0x00, 0x18, 0x00, 0xe2, 0xff,
+0xba, 0xff, 0x86, 0xff, 0x70, 0xff, 0x66, 0xff, 0x66, 0xff, 0x80, 0xff, 0xa4, 0xff, 0xd6, 0xff,
+0x02, 0x00, 0x2a, 0x00, 0x66, 0x00, 0x7c, 0x00, 0x94, 0x00, 0x8e, 0x00, 0x6e, 0x00, 0x40, 0x00,
+0x16, 0x00, 0xce, 0xff, 0x9e, 0xff, 0x78, 0xff, 0x50, 0xff, 0x46, 0xff, 0x4e, 0xff, 0x72, 0xff,
+0x9e, 0xff, 0xda, 0xff, 0x0e, 0x00, 0x42, 0x00, 0x76, 0x00, 0xa2, 0x00, 0xaa, 0x00, 0x9e, 0x00,
+0x78, 0x00, 0x3a, 0x00, 0xfe, 0xff, 0xd4, 0xff, 0xa0, 0xff, 0x62, 0xff, 0x46, 0xff, 0x3c, 0xff,
+0x4c, 0xff, 0x78, 0xff, 0xaa, 0xff, 0xec, 0xff, 0x1a, 0x00, 0x52, 0x00, 0x88, 0x00, 0xa2, 0x00,
+0xb0, 0x00, 0x8e, 0x00, 0x5a, 0x00, 0x20, 0x00, 0xee, 0xff, 0xb4, 0xff, 0x7a, 0xff, 0x50, 0xff,
+0x34, 0xff, 0x24, 0xff, 0x46, 0xff, 0x76, 0xff, 0xb4, 0xff, 0xfe, 0xff, 0x1e, 0x00, 0x60, 0x00,
+0x92, 0x00, 0xa2, 0x00, 0xa8, 0x00, 0x8c, 0x00, 0x54, 0x00, 0x0e, 0x00, 0xe0, 0xff, 0xa8, 0xff,
+0x74, 0xff, 0x3e, 0xff, 0x2a, 0xff, 0x2e, 0xff, 0x4c, 0xff, 0x90, 0xff, 0xca, 0xff, 0x06, 0x00,
+0x42, 0x00, 0x76, 0x00, 0x9e, 0x00, 0xb4, 0x00, 0xb0, 0x00, 0x8c, 0x00, 0x4c, 0x00, 0x16, 0x00,
+0xd0, 0xff, 0x9a, 0xff, 0x68, 0xff, 0x44, 0xff, 0x32, 0xff, 0x3a, 0xff, 0x5c, 0xff, 0x96, 0xff,
+0xd2, 0xff, 0x0e, 0x00, 0x40, 0x00, 0x6a, 0x00, 0x9a, 0x00, 0xa8, 0x00, 0x9e, 0x00, 0x7a, 0x00,
+0x42, 0x00, 0x04, 0x00, 0xca, 0xff, 0x9e, 0xff, 0x70, 0xff, 0x52, 0xff, 0x44, 0xff, 0x50, 0xff,
+0x72, 0xff, 0xaa, 0xff, 0xdc, 0xff, 0x12, 0x00, 0x52, 0x00, 0x70, 0x00, 0x8c, 0x00, 0x8e, 0x00,
+0x82, 0x00, 0x70, 0x00, 0x3c, 0x00, 0x04, 0x00, 0xda, 0xff, 0xa2, 0xff, 0x94, 0xff, 0x78, 0xff,
+0x6c, 0xff, 0x7e, 0xff, 0x92, 0xff, 0xbe, 0xff, 0xec, 0xff, 0x18, 0x00, 0x3e, 0x00, 0x56, 0x00,
+0x6a, 0x00, 0x64, 0x00, 0x5c, 0x00, 0x42, 0x00, 0x16, 0x00, 0x00, 0x00, 0xe4, 0xff, 0xb6, 0xff,
+0xa2, 0xff, 0x9e, 0xff, 0x86, 0xff, 0x94, 0xff, 0xae, 0xff, 0xdc, 0xff, 0xf2, 0xff, 0x10, 0x00,
+0x1e, 0x00, 0x32, 0x00, 0x2e, 0x00, 0x38, 0x00, 0x30, 0x00, 0x10, 0x00, 0x0e, 0x00, 0xf4, 0xff,
+0xec, 0xff, 0xca, 0xff, 0xc4, 0xff, 0xc2, 0xff, 0xae, 0xff, 0xba, 0xff, 0xd0, 0xff, 0xde, 0xff,
+0xf8, 0xff, 0xfa, 0xff, 0x0a, 0x00, 0x0c, 0x00, 0x08, 0x00, 0x14, 0x00, 0x0c, 0x00, 0x0c, 0x00,
+0x02, 0x00, 0xfc, 0xff, 0xf4, 0xff, 0xe6, 0xff, 0xe2, 0xff, 0xe6, 0xff, 0xd8, 0xff, 0xd4, 0xff,
+0xde, 0xff, 0xd6, 0xff, 0xde, 0xff, 0xdc, 0xff, 0xd8, 0xff, 0xe2, 0xff, 0xd4, 0xff, 0xe6, 0xff,
+0xf0, 0xff, 0xfa, 0xff, 0x06, 0x00, 0x0a, 0x00, 0x08, 0x00, 0x08, 0x00, 0xfc, 0xff, 0xfc, 0xff,
+0xfc, 0xff, 0xf6, 0xff, 0xec, 0xff, 0xc8, 0xff, 0xb8, 0xff, 0xb4, 0xff, 0xb6, 0xff, 0xba, 0xff,
+0xc2, 0xff, 0xc8, 0xff, 0xde, 0xff, 0xf8, 0xff, 0x08, 0x00, 0x1e, 0x00, 0x2a, 0x00, 0x34, 0x00,
+0x24, 0x00, 0x24, 0x00, 0x1c, 0x00, 0xfa, 0xff, 0xe8, 0xff, 0xce, 0xff, 0xaa, 0xff, 0x98, 0xff,
+0x90, 0xff, 0x92, 0xff, 0xa8, 0xff, 0xa8, 0xff, 0xde, 0xff, 0xfc, 0xff, 0x1a, 0x00, 0x40, 0x00,
+0x44, 0x00, 0x58, 0x00, 0x4c, 0x00, 0x42, 0x00, 0x2c, 0x00, 0x08, 0x00, 0xe2, 0xff, 0xb8, 0xff,
+0x94, 0xff, 0x7c, 0xff, 0x6a, 0xff, 0x7a, 0xff, 0x8a, 0xff, 0xb0, 0xff, 0xe4, 0xff, 0x14, 0x00,
+0x40, 0x00, 0x5a, 0x00, 0x78, 0x00, 0x80, 0x00, 0x7a, 0x00, 0x60, 0x00, 0x38, 0x00, 0x08, 0x00,
+0xd8, 0xff, 0xaa, 0xff, 0x74, 0xff, 0x62, 0xff, 0x52, 0xff, 0x60, 0xff, 0x88, 0xff, 0xac, 0xff,
+0xf2, 0xff, 0x1e, 0x00, 0x58, 0x00, 0x88, 0x00, 0xa0, 0x00, 0xa0, 0x00, 0x8c, 0x00, 0x70, 0x00,
+0x42, 0x00, 0x04, 0x00, 0xc8, 0xff, 0x88, 0xff, 0x58, 0xff, 0x40, 0xff, 0x32, 0xff, 0x50, 0xff,
+0x8a, 0xff, 0xc6, 0xff, 0xfc, 0xff, 0x2e, 0x00, 0x68, 0x00, 0x9e, 0x00, 0xb6, 0x00, 0xb4, 0x00,
+0x9c, 0x00, 0x6a, 0x00, 0x28, 0x00, 0xea, 0xff, 0xac, 0xff, 0x66, 0xff, 0x34, 0xff, 0x20, 0xff,
+0x32, 0xff, 0x56, 0xff, 0x88, 0xff, 0xd8, 0xff, 0x06, 0x00, 0x3c, 0x00, 0x76, 0x00, 0xa2, 0x00,
+0xbe, 0x00, 0xba, 0x00, 0x96, 0x00, 0x5c, 0x00, 0x0c, 0x00, 0xd6, 0xff, 0xa4, 0xff, 0x54, 0xff,
+0x30, 0xff, 0x20, 0xff, 0x3a, 0xff, 0x5e, 0xff, 0x90, 0xff, 0xe6, 0xff, 0x0a, 0x00, 0x38, 0x00,
+0x78, 0x00, 0x9a, 0x00, 0xb0, 0x00, 0x9c, 0x00, 0x78, 0x00, 0x3e, 0x00, 0xfc, 0xff, 0xc8, 0xff,
+0x84, 0xff, 0x58, 0xff, 0x3a, 0xff, 0x2c, 0xff, 0x46, 0xff, 0x64, 0xff, 0xa2, 0xff, 0xd8, 0xff,
+0x0e, 0x00, 0x44, 0x00, 0x6e, 0x00, 0x96, 0x00, 0x92, 0x00, 0x7e, 0x00, 0x5e, 0x00, 0x26, 0x00,
+0xec, 0xff, 0xb8, 0xff, 0x8c, 0xff, 0x66, 0xff, 0x4a, 0xff, 0x46, 0xff, 0x5a, 0xff, 0x8a, 0xff,
+0xb8, 0xff, 0xe4, 0xff, 0x1c, 0x00, 0x4c, 0x00, 0x7c, 0x00, 0x84, 0x00, 0x88, 0x00, 0x70, 0x00,
+0x40, 0x00, 0x18, 0x00, 0xee, 0xff, 0xbe, 0xff, 0x94, 0xff, 0x74, 0xff, 0x64, 0xff, 0x62, 0xff,
+0x7c, 0xff, 0x9a, 0xff, 0xca, 0xff, 0xf8, 0xff, 0x1c, 0x00, 0x3c, 0x00, 0x64, 0x00, 0x74, 0x00,
+0x6c, 0x00, 0x5a, 0x00, 0x34, 0x00, 0x0c, 0x00, 0xec, 0xff, 0xc6, 0xff, 0xac, 0xff, 0x9a, 0xff,
+0x8e, 0xff, 0x92, 0xff, 0x96, 0xff, 0xba, 0xff, 0xda, 0xff, 0xfa, 0xff, 0x20, 0x00, 0x38, 0x00,
+0x42, 0x00, 0x4e, 0x00, 0x4c, 0x00, 0x3a, 0x00, 0x30, 0x00, 0x04, 0x00, 0xf0, 0xff, 0xdc, 0xff,
+0xc2, 0xff, 0xc2, 0xff, 0xb8, 0xff, 0xc0, 0xff, 0xcc, 0xff, 0xd0, 0xff, 0xea, 0xff, 0x06, 0x00,
+0x04, 0x00, 0x20, 0x00, 0x1a, 0x00, 0x22, 0x00, 0x1e, 0x00, 0x0c, 0x00, 0x0e, 0x00, 0xfc, 0xff,
+0xee, 0xff, 0xe6, 0xff, 0xd8, 0xff, 0xe0, 0xff, 0xdc, 0xff, 0xdc, 0xff, 0xec, 0xff, 0xe2, 0xff,
+0xea, 0xff, 0xf2, 0xff, 0xf8, 0xff, 0xf6, 0xff, 0xf6, 0xff, 0xf0, 0xff, 0xf8, 0xff, 0xf0, 0xff,
+0xf8, 0xff, 0x04, 0x00, 0xfc, 0xff, 0x06, 0x00, 0x06, 0x00, 0x04, 0x00, 0xfe, 0xff, 0xfc, 0xff,
+0xfc, 0xff, 0xee, 0xff, 0xe8, 0xff, 0xde, 0xff, 0xd2, 0xff, 0xd4, 0xff, 0xd8, 0xff, 0xce, 0xff,
+0xd6, 0xff, 0xe0, 0xff, 0xea, 0xff, 0x00, 0x00, 0x12, 0x00, 0x1c, 0x00, 0x1a, 0x00, 0x18, 0x00,
+0x12, 0x00, 0x06, 0x00, 0xfa, 0xff, 0xe2, 0xff, 0xd2, 0xff, 0xc6, 0xff, 0xb6, 0xff, 0xa8, 0xff,
+0xb0, 0xff, 0xa6, 0xff, 0xba, 0xff, 0xd6, 0xff, 0xea, 0xff, 0x12, 0x00, 0x28, 0x00, 0x40, 0x00,
+0x3a, 0x00, 0x30, 0x00, 0x2e, 0x00, 0x10, 0x00, 0xf8, 0xff, 0xda, 0xff, 0xba, 0xff, 0x9e, 0xff,
+0x8e, 0xff, 0x8a, 0xff, 0x96, 0xff, 0xa2, 0xff, 0xb0, 0xff, 0xe6, 0xff, 0x06, 0x00, 0x3a, 0x00,
+0x5a, 0x00, 0x5a, 0x00, 0x6a, 0x00, 0x52, 0x00, 0x46, 0x00, 0x18, 0x00, 0xf6, 0xff, 0xca, 0xff,
+0x98, 0xff, 0x82, 0xff, 0x6a, 0xff, 0x5c, 0xff, 0x6a, 0xff, 0x92, 0xff, 0xb0, 0xff, 0xec, 0xff,
+0x20, 0x00, 0x48, 0x00, 0x6e, 0x00, 0x82, 0x00, 0x7e, 0x00, 0x6e, 0x00, 0x4c, 0x00, 0x1e, 0x00,
+0xf0, 0xff, 0xb6, 0xff, 0x8e, 0xff, 0x66, 0xff, 0x3e, 0xff, 0x42, 0xff, 0x60, 0xff, 0x94, 0xff,
+0xca, 0xff, 0x00, 0x00, 0x3a, 0x00, 0x62, 0x00, 0x92, 0x00, 0x9a, 0x00, 0x92, 0x00, 0x8c, 0x00,
+0x5a, 0x00, 0x20, 0x00, 0xf0, 0xff, 0xb6, 0xff, 0x82, 0xff, 0x68, 0xff, 0x48, 0xff, 0x46, 0xff,
+0x64, 0xff, 0x9e, 0xff, 0xd6, 0xff, 0x0e, 0x00, 0x40, 0x00, 0x7c, 0x00, 0xa4, 0x00, 0xa2, 0x00,
+0x94, 0x00, 0x70, 0x00, 0x3c, 0x00, 0x0c, 0x00, 0xdc, 0xff, 0x98, 0xff, 0x66, 0xff, 0x3e, 0xff,
+0x30, 0xff, 0x4a, 0xff, 0x70, 0xff, 0xb4, 0xff, 0xf2, 0xff, 0x16, 0x00, 0x58, 0x00, 0x8a, 0x00,
+0xb2, 0x00, 0xb0, 0x00, 0x94, 0x00, 0x6c, 0x00, 0x28, 0x00, 0xfc, 0xff, 0xc2, 0xff, 0x88, 0xff,
+0x5c, 0xff, 0x34, 0xff, 0x40, 0xff, 0x50, 0xff, 0x84, 0xff, 0xc2, 0xff, 0x02, 0x00, 0x36, 0x00,
+0x64, 0x00, 0x96, 0x00, 0xb0, 0x00, 0xa6, 0x00, 0x8a, 0x00, 0x5c, 0x00, 0x10, 0x00, 0xea, 0xff,
+0xb2, 0xff, 0x7c, 0xff, 0x58, 0xff, 0x34, 0xff, 0x3e, 0xff, 0x5a, 0xff, 0x86, 0xff, 0xc6, 0xff,
+0xfc, 0xff, 0x32, 0x00, 0x64, 0x00, 0x86, 0x00, 0x9a, 0x00, 0x8c, 0x00, 0x72, 0x00, 0x46, 0x00,
+0x10, 0x00, 0xda, 0xff, 0x9a, 0xff, 0x70, 0xff, 0x54, 0xff, 0x42, 0xff, 0x44, 0xff, 0x70, 0xff,
+0xa0, 0xff, 0xd6, 0xff, 0x08, 0x00, 0x38, 0x00, 0x4e, 0x00, 0x6e, 0x00, 0x84, 0x00, 0x76, 0x00,
+0x5a, 0x00, 0x32, 0x00, 0xf6, 0xff, 0xd0, 0xff, 0xa4, 0xff, 0x88, 0xff, 0x7c, 0xff, 0x72, 0xff,
+0x72, 0xff, 0x80, 0xff, 0xba, 0xff, 0xe4, 0xff, 0x00, 0x00, 0x22, 0x00, 0x3e, 0x00, 0x3c, 0x00,
+0x46, 0x00, 0x40, 0x00, 0x30, 0x00, 0x18, 0x00, 0xf0, 0xff, 0xd0, 0xff, 0xae, 0xff, 0x9a, 0xff,
+0x98, 0xff, 0xa4, 0xff, 0xa0, 0xff, 0xb0, 0xff, 0xce, 0xff, 0xf2, 0xff, 0x0c, 0x00, 0x12, 0x00,
+0x24, 0x00, 0x22, 0x00, 0x2a, 0x00, 0x2a, 0x00, 0x16, 0x00, 0x04, 0x00, 0xf4, 0xff, 0xd8, 0xff,
+0xc0, 0xff, 0xcc, 0xff, 0xd0, 0xff, 0xca, 0xff, 0xd0, 0xff, 0xdc, 0xff, 0xe4, 0xff, 0xfe, 0xff,
+0x0a, 0x00, 0x0a, 0x00, 0x14, 0x00, 0x08, 0x00, 0x10, 0x00, 0x0c, 0x00, 0x0a, 0x00, 0x06, 0x00,
+0xf2, 0xff, 0xfa, 0xff, 0xee, 0xff, 0xec, 0xff, 0xee, 0xff, 0xe4, 0xff, 0xe0, 0xff, 0xe0, 0xff,
+0xe4, 0xff, 0xe6, 0xff, 0xea, 0xff, 0xe6, 0xff, 0xec, 0xff, 0xf2, 0xff, 0xee, 0xff, 0xfe, 0xff,
+0x04, 0x00, 0x02, 0x00, 0x08, 0x00, 0x0a, 0x00, 0x12, 0x00, 0x0a, 0x00, 0x12, 0x00, 0x0e, 0x00,
+0xfe, 0xff, 0xfc, 0xff, 0xee, 0xff, 0xd6, 0xff, 0xcc, 0xff, 0xc2, 0xff, 0xcc, 0xff, 0xd2, 0xff,
+0xd8, 0xff, 0xe4, 0xff, 0xf6, 0xff, 0x06, 0x00, 0x18, 0x00, 0x38, 0x00, 0x38, 0x00, 0x36, 0x00,
+0x2c, 0x00, 0x26, 0x00, 0x02, 0x00, 0xea, 0xff, 0xd8, 0xff, 0xb2, 0xff, 0x98, 0xff, 0x96, 0xff,
+0x9e, 0xff, 0xa6, 0xff, 0xb2, 0xff, 0xd0, 0xff, 0xf8, 0xff, 0x0c, 0x00, 0x40, 0x00, 0x52, 0x00,
+0x52, 0x00, 0x52, 0x00, 0x3e, 0x00, 0x2c, 0x00, 0x06, 0x00, 0xda, 0xff, 0xa8, 0xff, 0x82, 0xff,
+0x72, 0xff, 0x62, 0xff, 0x64, 0xff, 0x8a, 0xff, 0xa8, 0xff, 0xd6, 0xff, 0x02, 0x00, 0x32, 0x00,
+0x5c, 0x00, 0x7a, 0x00, 0x84, 0x00, 0x7c, 0x00, 0x64, 0x00, 0x36, 0x00, 0x00, 0x00, 0xcc, 0xff,
+0x96, 0xff, 0x6e, 0xff, 0x56, 0xff, 0x4c, 0xff, 0x5a, 0xff, 0x6e, 0xff, 0xa4, 0xff, 0xd4, 0xff,
+0x0e, 0x00, 0x40, 0x00, 0x70, 0x00, 0x90, 0x00, 0x98, 0x00, 0x90, 0x00, 0x64, 0x00, 0x32, 0x00,
+0xfa, 0xff, 0xc0, 0xff, 0x84, 0xff, 0x62, 0xff, 0x46, 0xff, 0x34, 0xff, 0x46, 0xff, 0x6a, 0xff,
+0xa8, 0xff, 0xe6, 0xff, 0x1a, 0x00, 0x52, 0x00, 0x7e, 0x00, 0xa6, 0x00, 0xac, 0x00, 0x9a, 0x00,
+0x70, 0x00, 0x2c, 0x00, 0xfa, 0xff, 0xc6, 0xff, 0x82, 0xff, 0x54, 0xff, 0x48, 0xff, 0x3a, 0xff,
+0x5a, 0xff, 0x88, 0xff, 0xb6, 0xff, 0xf2, 0xff, 0x28, 0x00, 0x6c, 0x00, 0x9c, 0x00, 0xae, 0x00,
+0xac, 0x00, 0x94, 0x00, 0x66, 0x00, 0x1a, 0x00, 0xee, 0xff, 0xbe, 0xff, 0x82, 0xff, 0x60, 0xff,
+0x3c, 0xff, 0x44, 0xff, 0x5e, 0xff, 0x88, 0xff, 0xd8, 0xff, 0x06, 0x00, 0x28, 0x00, 0x6e, 0x00,
+0x92, 0x00, 0xa6, 0x00, 0x98, 0x00, 0x7e, 0x00, 0x4a, 0x00, 0x08, 0x00, 0xe8, 0xff, 0xaa, 0xff,
+0x7a, 0xff, 0x54, 0xff, 0x48, 0xff, 0x50, 0xff, 0x76, 0xff, 0xa2, 0xff, 0xce, 0xff, 0x18, 0x00,
+0x3e, 0x00, 0x70, 0x00, 0x96, 0x00, 0x94, 0x00, 0x8c, 0x00, 0x72, 0x00, 0x42, 0x00, 0x04, 0x00,
+0xd6, 0xff, 0xa6, 0xff, 0x82, 0xff, 0x68, 0xff, 0x54, 0xff, 0x6e, 0xff, 0x8a, 0xff, 0xb0, 0xff,
+0xe8, 0xff, 0x1e, 0x00, 0x40, 0x00, 0x64, 0x00, 0x80, 0x00, 0x82, 0x00, 0x70, 0x00, 0x46, 0x00,
+0x26, 0x00, 0xec, 0xff, 0xcc, 0xff, 0x9e, 0xff, 0x7e, 0xff, 0x78, 0xff, 0x76, 0xff, 0x7e, 0xff,
+0x90, 0xff, 0xce, 0xff, 0xf8, 0xff, 0x1a, 0x00, 0x3e, 0x00, 0x4a, 0x00, 0x50, 0x00, 0x50, 0x00,
+0x50, 0x00, 0x30, 0x00, 0x06, 0x00, 0xf0, 0xff, 0xc2, 0xff, 0xa6, 0xff, 0xa0, 0xff, 0x98, 0xff,
+0x9e, 0xff, 0x9e, 0xff, 0xb4, 0xff, 0xde, 0xff, 0xf8, 0xff, 0x1a, 0x00, 0x32, 0x00, 0x34, 0x00,
+0x3a, 0x00, 0x34, 0x00, 0x26, 0x00, 0x14, 0x00, 0x04, 0x00, 0xe8, 0xff, 0xc8, 0xff, 0xbe, 0xff,
+0xbe, 0xff, 0xba, 0xff, 0xb6, 0xff, 0xc2, 0xff, 0xd8, 0xff, 0xec, 0xff, 0xfa, 0xff, 0x12, 0x00,
+0x20, 0x00, 0x1c, 0x00, 0x14, 0x00, 0x0c, 0x00, 0x02, 0x00, 0x00, 0x00, 0xfa, 0xff, 0xe6, 0xff,
+0xe2, 0xff, 0xd4, 0xff, 0xd2, 0xff, 0xda, 0xff, 0xe0, 0xff, 0xe2, 0xff, 0xe2, 0xff, 0xf0, 0xff,
+0xfe, 0xff, 0xf6, 0xff, 0xfa, 0xff, 0xfc, 0xff, 0xf6, 0xff, 0xf6, 0xff, 0xfa, 0xff, 0xf8, 0xff,
+0xfe, 0xff, 0x04, 0x00, 0x02, 0x00, 0x02, 0x00, 0x02, 0x00, 0xfa, 0xff, 0xfc, 0xff, 0xf8, 0xff,
+0xf2, 0xff, 0xe6, 0xff, 0xde, 0xff, 0xd8, 0xff, 0xce, 0xff, 0xe0, 0xff, 0xd6, 0xff, 0xd8, 0xff,
+0xee, 0xff, 0xf4, 0xff, 0x06, 0x00, 0x14, 0x00, 0x1a, 0x00, 0x1c, 0x00, 0x16, 0x00, 0x1e, 0x00,
+0x06, 0x00, 0xfe, 0xff, 0xf2, 0xff, 0xd8, 0xff, 0xbe, 0xff, 0xa6, 0xff, 0xa2, 0xff, 0xae, 0xff,
+0xbe, 0xff, 0xc0, 0xff, 0xe4, 0xff, 0x02, 0x00, 0x0c, 0x00, 0x34, 0x00, 0x48, 0x00, 0x48, 0x00,
+0x42, 0x00, 0x36, 0x00, 0x2a, 0x00, 0x00, 0x00, 0xe6, 0xff, 0xbe, 0xff, 0xa0, 0xff, 0x90, 0xff,
+0x8a, 0xff, 0x8e, 0xff, 0x92, 0xff, 0xb0, 0xff, 0xe2, 0xff, 0x0a, 0x00, 0x36, 0x00, 0x52, 0x00,
+0x5c, 0x00, 0x64, 0x00, 0x5e, 0x00, 0x4a, 0x00, 0x30, 0x00, 0x00, 0x00, 0xc6, 0xff, 0x92, 0xff,
+0x6e, 0xff, 0x5e, 0xff, 0x58, 0xff, 0x6a, 0xff, 0x8a, 0xff, 0xae, 0xff, 0xdc, 0xff, 0x12, 0x00,
+0x50, 0x00, 0x6c, 0x00, 0x80, 0x00, 0x8a, 0x00, 0x78, 0x00, 0x54, 0x00, 0x20, 0x00, 0xee, 0xff,
+0xc2, 0xff, 0x88, 0xff, 0x5a, 0xff, 0x46, 0xff, 0x3e, 0xff, 0x58, 0xff, 0x88, 0xff, 0xba, 0xff,
+0x00, 0x00, 0x32, 0x00, 0x54, 0x00, 0x94, 0x00, 0xa4, 0x00, 0xa6, 0x00, 0x9a, 0x00, 0x56, 0x00,
+0x24, 0x00, 0xec, 0xff, 0xa2, 0xff, 0x74, 0xff, 0x3e, 0xff, 0x32, 0xff, 0x36, 0xff, 0x4c, 0xff,
+0x86, 0xff, 0xc6, 0xff, 0xfc, 0xff, 0x32, 0x00, 0x7e, 0x00, 0x9c, 0x00, 0xb8, 0x00, 0xaa, 0x00,
+0x84, 0x00, 0x58, 0x00, 0x0e, 0x00, 0xde, 0xff, 0xa6, 0xff, 0x62, 0xff, 0x36, 0xff, 0x28, 0xff,
+0x42, 0xff, 0x66, 0xff, 0xa2, 0xff, 0xe2, 0xff, 0x0c, 0x00, 0x4e, 0x00, 0x86, 0x00, 0xae, 0x00,
+0xc4, 0x00, 0xb0, 0x00, 0x7e, 0x00, 0x40, 0x00, 0xfe, 0xff, 0xd6, 0xff, 0x96, 0xff, 0x62, 0xff,
+0x48, 0xff, 0x32, 0xff, 0x4e, 0xff, 0x70, 0xff, 0xb4, 0xff, 0xfc, 0xff, 0x1a, 0x00, 0x4e, 0x00,
+0x84, 0x00, 0x9e, 0x00, 0xa4, 0x00, 0x98, 0x00, 0x66, 0x00, 0x30, 0x00, 0xf2, 0xff, 0xbc, 0xff,
+0x90, 0xff, 0x60, 0xff, 0x42, 0xff, 0x40, 0xff, 0x64, 0xff, 0x8e, 0xff, 0xb2, 0xff, 0xf4, 0xff,
+0x26, 0x00, 0x4c, 0x00, 0x7e, 0x00, 0x90, 0x00, 0x92, 0x00, 0x7e, 0x00, 0x4a, 0x00, 0x1a, 0x00,
+0xe0, 0xff, 0xb2, 0xff, 0x8e, 0xff, 0x6e, 0xff, 0x6a, 0xff, 0x60, 0xff, 0x7c, 0xff, 0xa4, 0xff,
+0xd8, 0xff, 0x04, 0x00, 0x2e, 0x00, 0x5a, 0x00, 0x74, 0x00, 0x7a, 0x00, 0x70, 0x00, 0x56, 0x00,
+0x32, 0x00, 0x06, 0x00, 0xdc, 0xff, 0xa4, 0xff, 0x8c, 0xff, 0x72, 0xff, 0x6e, 0xff, 0x84, 0xff,
+0x8c, 0xff, 0xb0, 0xff, 0xdc, 0xff, 0xfe, 0xff, 0x26, 0x00, 0x46, 0x00, 0x48, 0x00, 0x4e, 0x00,
+0x42, 0x00, 0x40, 0x00, 0x1c, 0x00, 0xe8, 0xff, 0xd6, 0xff, 0xb2, 0xff, 0xa0, 0xff, 0xa2, 0xff,
+0x96, 0xff, 0xa2, 0xff, 0xb2, 0xff, 0xbe, 0xff, 0xe4, 0xff, 0x00, 0x00, 0x18, 0x00, 0x36, 0x00,
+0x38, 0x00, 0x38, 0x00, 0x3a, 0x00, 0x22, 0x00, 0x0c, 0x00, 0xf6, 0xff, 0xec, 0xff, 0xde, 0xff,
+0xbc, 0xff, 0xc4, 0xff, 0xc4, 0xff, 0xc0, 0xff, 0xce, 0xff, 0xdc, 0xff, 0xf0, 0xff, 0xfe, 0xff,
+0xfc, 0xff, 0x08, 0x00, 0x0c, 0x00, 0x14, 0x00, 0x0e, 0x00, 0x04, 0x00, 0x04, 0x00, 0xf4, 0xff,
+0xe8, 0xff, 0xe6, 0xff, 0xf2, 0xff, 0xe6, 0xff, 0xea, 0xff, 0xec, 0xff, 0xdc, 0xff, 0xe4, 0xff,
+0xdc, 0xff, 0xe2, 0xff, 0xec, 0xff, 0xe6, 0xff, 0xec, 0xff, 0xec, 0xff, 0xf0, 0xff, 0xee, 0xff,
+0xfc, 0xff, 0x14, 0x00, 0x14, 0x00, 0x1c, 0x00, 0x1e, 0x00, 0x1e, 0x00, 0x14, 0x00, 0x02, 0x00,
+0x02, 0x00, 0xf2, 0xff, 0xdc, 0xff, 0xcc, 0xff, 0xcc, 0xff, 0xca, 0xff, 0xce, 0xff, 0xd0, 0xff,
+0xdc, 0xff, 0xf6, 0xff, 0x0a, 0x00, 0x1e, 0x00, 0x30, 0x00, 0x3e, 0x00, 0x46, 0x00, 0x2e, 0x00,
+0x26, 0x00, 0x12, 0x00, 0xf2, 0xff, 0xd8, 0xff, 0xc2, 0xff, 0x9e, 0xff, 0x90, 0xff, 0x9a, 0xff,
+0xa2, 0xff, 0xa8, 0xff, 0xcc, 0xff, 0xe4, 0xff, 0x0a, 0x00, 0x30, 0x00, 0x52, 0x00, 0x60, 0x00,
+0x5a, 0x00, 0x4c, 0x00, 0x3c, 0x00, 0x14, 0x00, 0xe8, 0xff, 0xd0, 0xff, 0x9c, 0xff, 0x7e, 0xff,
+0x78, 0xff, 0x6c, 0xff, 0x84, 0xff, 0x9e, 0xff, 0xc4, 0xff, 0xf8, 0xff, 0x26, 0x00, 0x60, 0x00,
+0x76, 0x00, 0x8a, 0x00, 0x7c, 0x00, 0x66, 0x00, 0x42, 0x00, 0x10, 0x00, 0xe0, 0xff, 0xa2, 0xff,
+0x74, 0xff, 0x56, 0xff, 0x48, 0xff, 0x4c, 0xff, 0x68, 0xff, 0x8e, 0xff, 0xc4, 0xff, 0x00, 0x00,
+0x30, 0x00, 0x6a, 0x00, 0x82, 0x00, 0x90, 0x00, 0x82, 0x00, 0x60, 0x00, 0x2c, 0x00, 0xfa, 0xff,
+0xc4, 0xff, 0x8e, 0xff, 0x54, 0xff, 0x32, 0xff, 0x32, 0xff, 0x3c, 0xff, 0x5e, 0xff, 0xa4, 0xff,
+0xd0, 0xff, 0x12, 0x00, 0x4c, 0x00, 0x88, 0x00, 0xac, 0x00, 0xb2, 0x00, 0x9e, 0x00, 0x60, 0x00,
+0x36, 0x00, 0xee, 0xff, 0xc6, 0xff, 0x90, 0xff, 0x58, 0xff, 0x2c, 0xff, 0x18, 0xff, 0x36, 0xff,
+0x6c, 0xff, 0xac, 0xff, 0xf0, 0xff, 0x22, 0x00, 0x66, 0x00, 0x9a, 0x00, 0xbc, 0x00, 0xba, 0x00,
+0xa6, 0x00, 0x74, 0x00, 0x26, 0x00, 0xee, 0xff, 0xb6, 0xff, 0x70, 0xff, 0x32, 0xff, 0x20, 0xff,
+0x16, 0xff, 0x30, 0xff, 0x6c, 0xff, 0xb4, 0xff, 0xf2, 0xff, 0x30, 0x00, 0x72, 0x00, 0xa2, 0x00,
+0xb6, 0x00, 0xbc, 0x00, 0xa0, 0x00, 0x70, 0x00, 0x28, 0x00, 0xee, 0xff, 0xba, 0xff, 0x74, 0xff,
+0x46, 0xff, 0x32, 0xff, 0x32, 0xff, 0x56, 0xff, 0x82, 0xff, 0xc6, 0xff, 0x0c, 0x00, 0x46, 0x00,
+0x76, 0x00, 0xa2, 0x00, 0xae, 0x00, 0xa8, 0x00, 0x8a, 0x00, 0x58, 0x00, 0x20, 0x00, 0xe6, 0xff,
+0xae, 0xff, 0x80, 0xff, 0x56, 0xff, 0x3e, 0xff, 0x52, 0xff, 0x64, 0xff, 0x9c, 0xff, 0xda, 0xff,
+0x10, 0x00, 0x40, 0x00, 0x64, 0x00, 0x82, 0x00, 0x8a, 0x00, 0x7e, 0x00, 0x66, 0x00, 0x38, 0x00,
+0x0a, 0x00, 0xd0, 0xff, 0xa6, 0xff, 0x82, 0xff, 0x68, 0xff, 0x5e, 0xff, 0x6c, 0xff, 0x8c, 0xff,
+0xb2, 0xff, 0xe8, 0xff, 0x16, 0x00, 0x4a, 0x00, 0x50, 0x00, 0x68, 0x00, 0x72, 0x00, 0x5a, 0x00,
+0x4c, 0x00, 0x22, 0x00, 0x02, 0x00, 0xd2, 0xff, 0xaa, 0xff, 0x9e, 0xff, 0x88, 0xff, 0x8a, 0xff,
+0x90, 0xff, 0xac, 0xff, 0xcc, 0xff, 0xe6, 0xff, 0x16, 0x00, 0x28, 0x00, 0x36, 0x00, 0x34, 0x00,
+0x30, 0x00, 0x32, 0x00, 0x18, 0x00, 0x0a, 0x00, 0xee, 0xff, 0xcc, 0xff, 0xb6, 0xff, 0xae, 0xff,
+0xa8, 0xff, 0x9e, 0xff, 0xae, 0xff, 0xc4, 0xff, 0xd4, 0xff, 0xe0, 0xff, 0xf4, 0xff, 0x04, 0x00,
+0x04, 0x00, 0x08, 0x00, 0x12, 0x00, 0x08, 0x00, 0x00, 0x00, 0xf4, 0xff, 0xee, 0xff, 0xde, 0xff,
+0xdc, 0xff, 0xd8, 0xff, 0xce, 0xff, 0xc8, 0xff, 0xda, 0xff, 0xd8, 0xff, 0xe0, 0xff, 0xe8, 0xff,
+0xde, 0xff, 0xee, 0xff, 0xe6, 0xff, 0xf6, 0xff, 0xfe, 0xff, 0xf6, 0xff, 0xfa, 0xff, 0xf8, 0xff,
+0xf8, 0xff, 0x02, 0x00, 0xfa, 0xff, 0xee, 0xff, 0xf6, 0xff, 0xf4, 0xff, 0xf0, 0xff, 0xec, 0xff,
+0xea, 0xff, 0xd2, 0xff, 0xcc, 0xff, 0xca, 0xff, 0xca, 0xff, 0xce, 0xff, 0xd4, 0xff, 0xe2, 0xff,
+0xf4, 0xff, 0xfc, 0xff, 0x0e, 0x00, 0x1a, 0x00, 0x26, 0x00, 0x20, 0x00, 0x28, 0x00, 0x24, 0x00,
+0x18, 0x00, 0x00, 0x00, 0xde, 0xff, 0xd0, 0xff, 0xba, 0xff, 0xb0, 0xff, 0xb4, 0xff, 0xba, 0xff,
+0xc4, 0xff, 0xe4, 0xff, 0xfa, 0xff, 0x1a, 0x00, 0x36, 0x00, 0x48, 0x00, 0x5c, 0x00, 0x52, 0x00,
+0x4e, 0x00, 0x3a, 0x00, 0x0e, 0x00, 0xf6, 0xff, 0xce, 0xff, 0xa6, 0xff, 0x8e, 0xff, 0x84, 0xff,
+0x86, 0xff, 0xa2, 0xff, 0xba, 0xff, 0xe2, 0xff, 0x0c, 0x00, 0x30, 0x00, 0x54, 0x00, 0x70, 0x00,
+0x7e, 0x00, 0x72, 0x00, 0x5c, 0x00, 0x34, 0x00, 0x08, 0x00, 0xda, 0xff, 0xa0, 0xff, 0x84, 0xff,
+0x5c, 0xff, 0x5c, 0xff, 0x6e, 0xff, 0x8e, 0xff, 0xbe, 0xff, 0xe8, 0xff, 0x22, 0x00, 0x4a, 0x00,
+0x76, 0x00, 0x9c, 0x00, 0x9c, 0x00, 0x92, 0x00, 0x6e, 0x00, 0x2e, 0x00, 0xfa, 0xff, 0xba, 0xff,
+0x82, 0xff, 0x56, 0xff, 0x44, 0xff, 0x3e, 0xff, 0x4e, 0xff, 0x80, 0xff, 0xba, 0xff, 0xf6, 0xff,
+0x2c, 0x00, 0x66, 0x00, 0x96, 0x00, 0xb0, 0x00, 0xac, 0x00, 0x90, 0x00, 0x62, 0x00, 0x1a, 0x00,
+0xdc, 0xff, 0x9c, 0xff, 0x60, 0xff, 0x2e, 0xff, 0x12, 0xff, 0x18, 0xff, 0x3e, 0xff, 0x74, 0xff,
+0xbc, 0xff, 0xfc, 0xff, 0x34, 0x00, 0x76, 0x00, 0xa6, 0x00, 0xc4, 0x00, 0xc4, 0x00, 0x94, 0x00,
+0x60, 0x00, 0x14, 0x00, 0xdc, 0xff, 0x96, 0xff, 0x52, 0xff, 0x2c, 0xff, 0x16, 0xff, 0x24, 0xff,
+0x4e, 0xff, 0x8c, 0xff, 0xce, 0xff, 0x08, 0x00, 0x4a, 0x00, 0x8e, 0x00, 0xb8, 0x00, 0xcc, 0x00,
+0xbc, 0x00, 0x8a, 0x00, 0x4a, 0x00, 0x08, 0x00, 0xce, 0xff, 0x88, 0xff, 0x52, 0xff, 0x2a, 0xff,
+0x18, 0xff, 0x38, 0xff, 0x5e, 0xff, 0x8e, 0xff, 0xda, 0xff, 0x16, 0x00, 0x54, 0x00, 0x84, 0x00,
+0xaa, 0x00, 0xb2, 0x00, 0xa4, 0x00, 0x74, 0x00, 0x38, 0x00, 0x02, 0x00, 0xc0, 0xff, 0x86, 0xff,
+0x56, 0xff, 0x40, 0xff, 0x3e, 0xff, 0x50, 0xff, 0x82, 0xff, 0xaa, 0xff, 0xf4, 0xff, 0x2e, 0x00,
+0x5a, 0x00, 0x90, 0x00, 0xa0, 0x00, 0xa8, 0x00, 0x94, 0x00, 0x66, 0x00, 0x32, 0x00, 0xf6, 0xff,
+0xc2, 0xff, 0x90, 0xff, 0x74, 0xff, 0x56, 0xff, 0x5c, 0xff, 0x72, 0xff, 0x90, 0xff, 0xc6, 0xff,
+0xfc, 0xff, 0x32, 0x00, 0x50, 0x00, 0x76, 0x00, 0x86, 0x00, 0x82, 0x00, 0x6e, 0x00, 0x40, 0x00,
+0x14, 0x00, 0xe6, 0xff, 0xbc, 0xff, 0x96, 0xff, 0x86, 0xff, 0x7a, 0xff, 0x74, 0xff, 0x88, 0xff,
+0xaa, 0xff, 0xdc, 0xff, 0xfe, 0xff, 0x30, 0x00, 0x4c, 0x00, 0x4c, 0x00, 0x62, 0x00, 0x54, 0x00,
+0x44, 0x00, 0x2a, 0x00, 0x02, 0x00, 0xe6, 0xff, 0xc2, 0xff, 0xa2, 0xff, 0xa8, 0xff, 0xa6, 0xff,
+0xb2, 0xff, 0xb0, 0xff, 0xc0, 0xff, 0xe2, 0xff, 0x08, 0x00, 0x1a, 0x00, 0x2c, 0x00, 0x2c, 0x00,
+0x32, 0x00, 0x28, 0x00, 0x1a, 0x00, 0x0c, 0x00, 0xf6, 0xff, 0xe0, 0xff, 0xd4, 0xff, 0xc6, 0xff,
+0xc0, 0xff, 0xc2, 0xff, 0xc2, 0xff, 0xc4, 0xff, 0xd6, 0xff, 0xea, 0xff, 0xee, 0xff, 0x00, 0x00,
+0xfc, 0xff, 0xfc, 0xff, 0xfe, 0xff, 0xfa, 0xff, 0xfc, 0xff, 0xfa, 0xff, 0xf0, 0xff, 0xe6, 0xff,
+0xf0, 0xff, 0xee, 0xff, 0xe4, 0xff, 0xea, 0xff, 0xdc, 0xff, 0xd4, 0xff, 0xde, 0xff, 0xd8, 0xff,
+0xda, 0xff, 0xdc, 0xff, 0xd8, 0xff, 0xe0, 0xff, 0xd6, 0xff, 0xea, 0xff, 0xf0, 0xff, 0xf6, 0xff,
+0x08, 0x00, 0x08, 0x00, 0x16, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x0e, 0x00, 0xfe, 0xff, 0xec, 0xff,
+0xdc, 0xff, 0xc8, 0xff, 0xba, 0xff, 0xb6, 0xff, 0xb0, 0xff, 0xb4, 0xff, 0xbc, 0xff, 0xc8, 0xff,
+0xea, 0xff, 0xfc, 0xff, 0x1a, 0x00, 0x30, 0x00, 0x38, 0x00, 0x3a, 0x00, 0x2e, 0x00, 0x26, 0x00,
+0x10, 0x00, 0xf0, 0xff, 0xd6, 0xff, 0xc0, 0xff, 0x9a, 0xff, 0x8a, 0xff, 0x86, 0xff, 0x92, 0xff,
+0xa2, 0xff, 0xbe, 0xff, 0xec, 0xff, 0x0c, 0x00, 0x32, 0x00, 0x52, 0x00, 0x64, 0x00, 0x68, 0x00,
+0x58, 0x00, 0x4c, 0x00, 0x28, 0x00, 0xfc, 0xff, 0xd8, 0xff, 0xae, 0xff, 0x86, 0xff, 0x70, 0xff,
+0x6c, 0xff, 0x80, 0xff, 0x96, 0xff, 0xb6, 0xff, 0xf0, 0xff, 0x18, 0x00, 0x4c, 0x00, 0x72, 0x00,
+0x8c, 0x00, 0x84, 0x00, 0x74, 0x00, 0x5c, 0x00, 0x30, 0x00, 0x00, 0x00, 0xc6, 0xff, 0x90, 0xff,
+0x6a, 0xff, 0x56, 0xff, 0x46, 0xff, 0x60, 0xff, 0x8e, 0xff, 0xbc, 0xff, 0xfa, 0xff, 0x34, 0x00,
+0x60, 0x00, 0x96, 0x00, 0xa4, 0x00, 0x9c, 0x00, 0x90, 0x00, 0x54, 0x00, 0x22, 0x00, 0xf0, 0xff,
+0xaa, 0xff, 0x6c, 0xff, 0x44, 0xff, 0x34, 0xff, 0x3e, 0xff, 0x56, 0xff, 0x8c, 0xff, 0xd0, 0xff,
+0x04, 0x00, 0x46, 0x00, 0x80, 0x00, 0xa4, 0x00, 0xbc, 0x00, 0xae, 0x00, 0x88, 0x00, 0x52, 0x00,
+0x14, 0x00, 0xe2, 0xff, 0x96, 0xff, 0x5e, 0xff, 0x2e, 0xff, 0x18, 0xff, 0x32, 0xff, 0x58, 0xff,
+0x9c, 0xff, 0xd8, 0xff, 0x10, 0x00, 0x52, 0x00, 0x8c, 0x00, 0xa8, 0x00, 0xb4, 0x00, 0xa8, 0x00,
+0x80, 0x00, 0x3c, 0x00, 0xf8, 0xff, 0xc6, 0xff, 0x82, 0xff, 0x48, 0xff, 0x26, 0xff, 0x1c, 0xff,
+0x3e, 0xff, 0x5c, 0xff, 0xa2, 0xff, 0xe8, 0xff, 0x12, 0x00, 0x58, 0x00, 0x98, 0x00, 0xa2, 0x00,
+0xa2, 0x00, 0x9a, 0x00, 0x66, 0x00, 0x30, 0x00, 0xf0, 0xff, 0xba, 0xff, 0x7c, 0xff, 0x44, 0xff,
+0x30, 0xff, 0x38, 0xff, 0x4e, 0xff, 0x80, 0xff, 0xb8, 0xff, 0xfe, 0xff, 0x28, 0x00, 0x58, 0x00,
+0x8a, 0x00, 0x9a, 0x00, 0xa4, 0x00, 0x88, 0x00, 0x4e, 0x00, 0x14, 0x00, 0xe0, 0xff, 0xae, 0xff,
+0x7c, 0xff, 0x4a, 0xff, 0x4c, 0xff, 0x58, 0xff, 0x62, 0xff, 0x8e, 0xff, 0xd0, 0xff, 0x06, 0x00,
+0x36, 0x00, 0x5e, 0x00, 0x6e, 0x00, 0x86, 0x00, 0x84, 0x00, 0x68, 0x00, 0x3c, 0x00, 0x0e, 0x00,
+0xd4, 0xff, 0xa0, 0xff, 0x88, 0xff, 0x70, 0xff, 0x66, 0xff, 0x7a, 0xff, 0x92, 0xff, 0xb2, 0xff,
+0xec, 0xff, 0x0a, 0x00, 0x3e, 0x00, 0x58, 0x00, 0x6a, 0x00, 0x6e, 0x00, 0x60, 0x00, 0x50, 0x00,
+0x2e, 0x00, 0xfc, 0xff, 0xdc, 0xff, 0xba, 0xff, 0xa2, 0xff, 0x9c, 0xff, 0x94, 0xff, 0x9a, 0xff,
+0xb2, 0xff, 0xd2, 0xff, 0xf4, 0xff, 0x08, 0x00, 0x24, 0x00, 0x34, 0x00, 0x38, 0x00, 0x4a, 0x00,
+0x46, 0x00, 0x3a, 0x00, 0x10, 0x00, 0xfa, 0xff, 0xe4, 0xff, 0xc8, 0xff, 0xbc, 0xff, 0xba, 0xff,
+0xba, 0xff, 0xc2, 0xff, 0xc4, 0xff, 0xd4, 0xff, 0xf6, 0xff, 0x02, 0x00, 0x0e, 0x00, 0x18, 0x00,
+0x14, 0x00, 0x1e, 0x00, 0x1e, 0x00, 0x12, 0x00, 0x06, 0x00, 0x00, 0x00, 0xfe, 0xff, 0xe4, 0xff,
+0xda, 0xff, 0xe6, 0xff, 0xe2, 0xff, 0xe8, 0xff, 0xea, 0xff, 0xf0, 0xff, 0xf2, 0xff, 0xf0, 0xff,
+0xf8, 0xff, 0xf8, 0xff, 0xee, 0xff, 0xf8, 0xff, 0xf6, 0xff, 0xec, 0xff, 0xfe, 0xff, 0xf6, 0xff,
+0xfc, 0xff, 0x02, 0x00, 0xfc, 0xff, 0x04, 0x00, 0x02, 0x00, 0xf8, 0xff, 0xf6, 0xff, 0xee, 0xff,
+0xde, 0xff, 0xcc, 0xff, 0xc8, 0xff, 0xc8, 0xff, 0xca, 0xff, 0xd2, 0xff, 0xde, 0xff, 0xe8, 0xff,
+0xf2, 0xff, 0x08, 0x00, 0x1a, 0x00, 0x28, 0x00, 0x22, 0x00, 0x28, 0x00, 0x22, 0x00, 0x16, 0x00,
+0xfa, 0xff, 0xe2, 0xff, 0xc2, 0xff, 0xac, 0xff, 0xa6, 0xff, 0xa6, 0xff, 0xb4, 0xff, 0xb6, 0xff,
+0xd2, 0xff, 0xf2, 0xff, 0x10, 0x00, 0x32, 0x00, 0x4a, 0x00, 0x54, 0x00, 0x54, 0x00, 0x4c, 0x00,
+0x30, 0x00, 0x12, 0x00, 0xf0, 0xff, 0xc2, 0xff, 0x92, 0xff, 0x86, 0xff, 0x70, 0xff, 0x72, 0xff,
+0x8e, 0xff, 0x98, 0xff, 0xce, 0xff, 0x08, 0x00, 0x2a, 0x00, 0x54, 0x00, 0x70, 0x00, 0x7c, 0x00,
+0x7a, 0x00, 0x5e, 0x00, 0x3e, 0x00, 0x0a, 0x00, 0xdc, 0xff, 0xb2, 0xff, 0x7c, 0xff, 0x5e, 0xff,
+0x54, 0xff, 0x5c, 0xff, 0x82, 0xff, 0xa8, 0xff, 0xd8, 0xff, 0x18, 0x00, 0x46, 0x00, 0x6e, 0x00,
+0xa6, 0x00, 0x9a, 0x00, 0x98, 0x00, 0x78, 0x00, 0x38, 0x00, 0x12, 0x00, 0xd8, 0xff, 0xa0, 0xff,
+0x5e, 0xff, 0x42, 0xff, 0x40, 0xff, 0x40, 0xff, 0x6a, 0xff, 0xa2, 0xff, 0xdc, 0xff, 0x14, 0x00,
+0x52, 0x00, 0x8e, 0x00, 0xaa, 0x00, 0xaa, 0x00, 0x9c, 0x00, 0x74, 0x00, 0x36, 0x00, 0xfc, 0xff,
+0xc0, 0xff, 0x90, 0xff, 0x50, 0xff, 0x2e, 0xff, 0x30, 0xff, 0x3e, 0xff, 0x6a, 0xff, 0xb2, 0xff,
+0xec, 0xff, 0x1c, 0x00, 0x6a, 0x00, 0x9a, 0x00, 0xb0, 0x00, 0xae, 0x00, 0x94, 0x00, 0x6a, 0x00,
+0x2a, 0x00, 0xfe, 0xff, 0xb0, 0xff, 0x7a, 0xff, 0x48, 0xff, 0x2c, 0xff, 0x2e, 0xff, 0x56, 0xff,
+0x88, 0xff, 0xc4, 0xff, 0x00, 0x00, 0x32, 0x00, 0x6a, 0x00, 0x92, 0x00, 0xb2, 0x00, 0xaa, 0x00,
+0x8a, 0x00, 0x5a, 0x00, 0x10, 0x00, 0xdc, 0xff, 0xa4, 0xff, 0x64, 0xff, 0x46, 0xff, 0x2e, 0xff,
+0x38, 0xff, 0x60, 0xff, 0x8c, 0xff, 0xc4, 0xff, 0x06, 0x00, 0x36, 0x00, 0x6a, 0x00, 0x8c, 0x00,
+0x9c, 0x00, 0x96, 0x00, 0x72, 0x00, 0x40, 0x00, 0x0e, 0x00, 0xca, 0xff, 0x9e, 0xff, 0x78, 0xff,
+0x42, 0xff, 0x40, 0xff, 0x4e, 0xff, 0x70, 0xff, 0xa8, 0xff, 0xda, 0xff, 0x12, 0x00, 0x38, 0x00,
+0x6e, 0x00, 0x8c, 0x00, 0x8e, 0x00, 0x7c, 0x00, 0x5e, 0x00, 0x38, 0x00, 0xfe, 0xff, 0xc6, 0xff,
+0x9c, 0xff, 0x72, 0xff, 0x58, 0xff, 0x58, 0xff, 0x66, 0xff, 0x86, 0xff, 0xb8, 0xff, 0xe0, 0xff,
+0x12, 0x00, 0x42, 0x00, 0x50, 0x00, 0x64, 0x00, 0x66, 0x00, 0x64, 0x00, 0x4a, 0x00, 0x14, 0x00,
+0xf4, 0xff, 0xc2, 0xff, 0x98, 0xff, 0x8e, 0xff, 0x7c, 0xff, 0x82, 0xff, 0x82, 0xff, 0x9a, 0xff,
+0xc2, 0xff, 0xee, 0xff, 0x16, 0x00, 0x30, 0x00, 0x42, 0x00, 0x4a, 0x00, 0x46, 0x00, 0x46, 0x00,
+0x42, 0x00, 0x0a, 0x00, 0xf6, 0xff, 0xe6, 0xff, 0xc0, 0xff, 0xbc, 0xff, 0xaa, 0xff, 0xa4, 0xff,
+0xa8, 0xff, 0xbe, 0xff, 0xe2, 0xff, 0xf6, 0xff, 0x08, 0x00, 0x1a, 0x00, 0x12, 0x00, 0x1c, 0x00,
+0x2e, 0x00, 0x24, 0x00, 0x14, 0x00, 0x08, 0x00, 0x00, 0x00, 0xee, 0xff, 0xd2, 0xff, 0xd0, 0xff,
+0xd4, 0xff, 0xc2, 0xff, 0xd4, 0xff, 0xdc, 0xff, 0xde, 0xff, 0xe8, 0xff, 0xee, 0xff, 0xee, 0xff,
+0xf2, 0xff, 0xfa, 0xff, 0x04, 0x00, 0x0c, 0x00, 0x0e, 0x00, 0x04, 0x00, 0x06, 0x00, 0x04, 0x00,
+0xf6, 0xff, 0xfa, 0xff, 0xf4, 0xff, 0xec, 0xff, 0xec, 0xff, 0xe4, 0xff, 0xdc, 0xff, 0xdc, 0xff,
+0xde, 0xff, 0xd6, 0xff, 0xe2, 0xff, 0xea, 0xff, 0xee, 0xff, 0x00, 0x00, 0x00, 0x00, 0x0e, 0x00,
+0x14, 0x00, 0x14, 0x00, 0x1e, 0x00, 0x14, 0x00, 0x0e, 0x00, 0x02, 0x00, 0xfc, 0xff, 0xf0, 0xff,
+0xd2, 0xff, 0xc2, 0xff, 0xb4, 0xff, 0xae, 0xff, 0xb8, 0xff, 0xbc, 0xff, 0xc4, 0xff, 0xe0, 0xff,
+0xf6, 0xff, 0x14, 0x00, 0x28, 0x00, 0x34, 0x00, 0x3e, 0x00, 0x34, 0x00, 0x36, 0x00, 0x22, 0x00,
+0xfe, 0xff, 0xe6, 0xff, 0xbe, 0xff, 0x98, 0xff, 0x84, 0xff, 0x7e, 0xff, 0x92, 0xff, 0xa2, 0xff,
+0xb8, 0xff, 0xe0, 0xff, 0x00, 0x00, 0x2a, 0x00, 0x54, 0x00, 0x62, 0x00, 0x70, 0x00, 0x68, 0x00,
+0x4c, 0x00, 0x2e, 0x00, 0x08, 0x00, 0xd6, 0xff, 0x9a, 0xff, 0x74, 0xff, 0x5e, 0xff, 0x5a, 0xff,
+0x6e, 0xff, 0x84, 0xff, 0xa6, 0xff, 0xdc, 0xff, 0x12, 0x00, 0x4c, 0x00, 0x72, 0x00, 0x90, 0x00,
+0x8e, 0x00, 0x74, 0x00, 0x5a, 0x00, 0x32, 0x00, 0xfe, 0xff, 0xc4, 0xff, 0x84, 0xff, 0x54, 0xff,
+0x42, 0xff, 0x32, 0xff, 0x4e, 0xff, 0x74, 0xff, 0xac, 0xff, 0xe6, 0xff, 0x26, 0x00, 0x5a, 0x00,
+0x82, 0x00, 0xac, 0x00, 0x9c, 0x00, 0x92, 0x00, 0x66, 0x00, 0x30, 0x00, 0xfa, 0xff, 0xae, 0xff,
+0x78, 0xff, 0x48, 0xff, 0x2e, 0xff, 0x32, 0xff, 0x54, 0xff, 0x8e, 0xff, 0xce, 0xff, 0xfe, 0xff,
+0x32, 0x00, 0x6a, 0x00, 0x94, 0x00, 0xb2, 0x00, 0xa6, 0x00, 0x8e, 0x00, 0x56, 0x00, 0x10, 0x00,
+0xdc, 0xff, 0x9c, 0xff, 0x5e, 0xff, 0x3e, 0xff, 0x26, 0xff, 0x38, 0xff, 0x64, 0xff, 0x98, 0xff,
+0xd8, 0xff, 0x0c, 0x00, 0x42, 0x00, 0x78, 0x00, 0x92, 0x00, 0xb0, 0x00, 0x9c, 0x00, 0x70, 0x00,
+0x34, 0x00, 0xf2, 0xff, 0xc8, 0xff, 0x84, 0xff, 0x52, 0xff, 0x36, 0xff, 0x2c, 0xff, 0x42, 0xff,
+0x7a, 0xff, 0xb2, 0xff, 0xf4, 0xff, 0x20, 0x00, 0x50, 0x00, 0x82, 0x00, 0xaa, 0x00, 0xaa, 0x00,
+0x8c, 0x00, 0x6c, 0x00, 0x22, 0x00, 0xe0, 0xff, 0xbe, 0xff, 0x84, 0xff, 0x4c, 0xff, 0x3e, 0xff,
+0x42, 0xff, 0x5c, 0xff, 0x92, 0xff, 0xc8, 0xff, 0xf6, 0xff, 0x28, 0x00, 0x5a, 0x00, 0x7e, 0x00,
+0x9e, 0x00, 0x9e, 0x00, 0x7e, 0x00, 0x50, 0x00, 0x12, 0x00, 0xde, 0xff, 0xa4, 0xff, 0x80, 0xff,
+0x5c, 0xff, 0x46, 0xff, 0x4e, 0xff, 0x6a, 0xff, 0x98, 0xff, 0xc2, 0xff, 0xfa, 0xff, 0x24, 0x00,
+0x4e, 0x00, 0x66, 0x00, 0x7a, 0x00, 0x78, 0x00, 0x5c, 0x00, 0x44, 0x00, 0x00, 0x00, 0xde, 0xff,
+0xae, 0xff, 0x92, 0xff, 0x80, 0xff, 0x6c, 0xff, 0x70, 0xff, 0x84, 0xff, 0xac, 0xff, 0xd6, 0xff,
+0xf2, 0xff, 0x20, 0x00, 0x40, 0x00, 0x44, 0x00, 0x5e, 0x00, 0x5a, 0x00, 0x4a, 0x00, 0x22, 0x00,
+0x00, 0x00, 0xf0, 0xff, 0xba, 0xff, 0xa6, 0xff, 0x9e, 0xff, 0x94, 0xff, 0x98, 0xff, 0xa4, 0xff,
+0xc6, 0xff, 0xe4, 0xff, 0xf8, 0xff, 0x0e, 0x00, 0x18, 0x00, 0x2c, 0x00, 0x34, 0x00, 0x26, 0x00,
+0x1c, 0x00, 0x06, 0x00, 0xf2, 0xff, 0xde, 0xff, 0xc6, 0xff, 0xba, 0xff, 0xc8, 0xff, 0xc2, 0xff,
+0xc6, 0xff, 0xc8, 0xff, 0xda, 0xff, 0xf0, 0xff, 0xf8, 0xff, 0x0a, 0x00, 0x08, 0x00, 0x04, 0x00,
+0x1a, 0x00, 0x14, 0x00, 0x08, 0x00, 0xfc, 0xff, 0xf2, 0xff, 0xf4, 0xff, 0xf4, 0xff, 0xf0, 0xff,
+0xf4, 0xff, 0xe8, 0xff, 0xee, 0xff, 0xec, 0xff, 0xe8, 0xff, 0xea, 0xff, 0xe4, 0xff, 0xee, 0xff,
+0xe8, 0xff, 0xf0, 0xff, 0xf6, 0xff, 0xf4, 0xff, 0xf8, 0xff, 0x02, 0x00, 0x08, 0x00, 0x0e, 0x00,
+0x06, 0x00, 0x0c, 0x00, 0x04, 0x00, 0x0c, 0x00, 0xfa, 0xff, 0xf0, 0xff, 0xe2, 0xff, 0xca, 0xff,
+0xca, 0xff, 0xc8, 0xff, 0xd0, 0xff, 0xd6, 0xff, 0xd2, 0xff, 0xd6, 0xff, 0xf4, 0xff, 0x08, 0x00,
+0x12, 0x00, 0x26, 0x00, 0x2c, 0x00, 0x34, 0x00, 0x26, 0x00, 0x22, 0x00, 0x0c, 0x00, 0xfc, 0xff,
+0xe4, 0xff, 0xbc, 0xff, 0xa8, 0xff, 0xae, 0xff, 0xa6, 0xff, 0xb0, 0xff, 0xc0, 0xff, 0xd0, 0xff,
+0xf2, 0xff, 0x08, 0x00, 0x34, 0x00, 0x52, 0x00, 0x50, 0x00, 0x46, 0x00, 0x3a, 0x00, 0x36, 0x00,
+0x0e, 0x00, 0xe6, 0xff, 0xca, 0xff, 0x94, 0xff, 0x76, 0xff, 0x72, 0xff, 0x6c, 0xff, 0x8c, 0xff,
+0x92, 0xff, 0xc2, 0xff, 0xf4, 0xff, 0x22, 0x00, 0x58, 0x00, 0x64, 0x00, 0x7c, 0x00, 0x76, 0x00,
+0x54, 0x00, 0x44, 0x00, 0x10, 0x00, 0xe4, 0xff, 0xa8, 0xff, 0x74, 0xff, 0x64, 0xff, 0x4c, 0xff,
+0x54, 0xff, 0x6e, 0xff, 0x8e, 0xff, 0xc6, 0xff, 0x00, 0x00, 0x3e, 0x00, 0x6e, 0x00, 0x86, 0x00,
+0xa8, 0x00, 0x94, 0x00, 0x76, 0x00, 0x4a, 0x00, 0x16, 0x00, 0xd2, 0xff, 0xa2, 0xff, 0x6a, 0xff,
+0x40, 0xff, 0x36, 0xff, 0x3c, 0xff, 0x64, 0xff, 0x98, 0xff, 0xd8, 0xff, 0x0a, 0x00, 0x44, 0x00,
+0x86, 0x00, 0xa4, 0x00, 0xac, 0x00, 0xa2, 0x00, 0x76, 0x00, 0x3e, 0x00, 0x0c, 0x00, 0xd4, 0xff,
+0x92, 0xff, 0x5c, 0xff, 0x30, 0xff, 0x20, 0xff, 0x3e, 0xff, 0x68, 0xff, 0xa2, 0xff, 0xe0, 0xff,
+0x14, 0x00, 0x64, 0x00, 0x94, 0x00, 0xb8, 0x00, 0xc2, 0x00, 0xb0, 0x00, 0x8a, 0x00, 0x3c, 0x00,
+0x08, 0x00, 0xda, 0xff, 0x86, 0xff, 0x58, 0xff, 0x2e, 0xff, 0x22, 0xff, 0x3e, 0xff, 0x66, 0xff,
+0xb2, 0xff, 0xee, 0xff, 0x1e, 0x00, 0x6c, 0x00, 0x9c, 0x00, 0xba, 0x00, 0xba, 0x00, 0x9e, 0x00,
+0x72, 0x00, 0x2c, 0x00, 0xf8, 0xff, 0xb8, 0xff, 0x7a, 0xff, 0x48, 0xff, 0x28, 0xff, 0x26, 0xff,
+0x4c, 0xff, 0x80, 0xff, 0xba, 0xff, 0xfe, 0xff, 0x30, 0x00, 0x70, 0x00, 0xa2, 0x00, 0xa8, 0x00,
+0xa4, 0x00, 0x86, 0x00, 0x58, 0x00, 0x1a, 0x00, 0xdc, 0xff, 0xa8, 0xff, 0x6e, 0xff, 0x4c, 0xff,
+0x3c, 0xff, 0x48, 0xff, 0x74, 0xff, 0xa2, 0xff, 0xdc, 0xff, 0x1a, 0x00, 0x40, 0x00, 0x76, 0x00,
+0x8e, 0x00, 0x96, 0x00, 0x88, 0x00, 0x62, 0x00, 0x3a, 0x00, 0xf8, 0xff, 0xd0, 0xff, 0x9c, 0xff,
+0x70, 0xff, 0x54, 0xff, 0x52, 0xff, 0x58, 0xff, 0x80, 0xff, 0xac, 0xff, 0xe2, 0xff, 0x0e, 0x00,
+0x32, 0x00, 0x4e, 0x00, 0x62, 0x00, 0x6e, 0x00, 0x60, 0x00, 0x42, 0x00, 0x14, 0x00, 0xf4, 0xff,
+0xc6, 0xff, 0xa2, 0xff, 0x8e, 0xff, 0x74, 0xff, 0x78, 0xff, 0x84, 0xff, 0x96, 0xff, 0xc6, 0xff,
+0xec, 0xff, 0x0c, 0x00, 0x2a, 0x00, 0x36, 0x00, 0x46, 0x00, 0x4a, 0x00, 0x42, 0x00, 0x30, 0x00,
+0x06, 0x00, 0xee, 0xff, 0xd6, 0xff, 0xb4, 0xff, 0xae, 0xff, 0x9e, 0xff, 0xa0, 0xff, 0xb6, 0xff,
+0xc2, 0xff, 0xd0, 0xff, 0xee, 0xff, 0xfc, 0xff, 0x18, 0x00, 0x16, 0x00, 0x14, 0x00, 0x24, 0x00,
+0x14, 0x00, 0x14, 0x00, 0xf6, 0xff, 0xe8, 0xff, 0xe4, 0xff, 0xce, 0xff, 0xcc, 0xff, 0xc6, 0xff,
+0xc2, 0xff, 0xd2, 0xff, 0xd6, 0xff, 0xe6, 0xff, 0xf0, 0xff, 0xea, 0xff, 0xf6, 0xff, 0xfc, 0xff,
+0x02, 0x00, 0x06, 0x00, 0x04, 0x00, 0x06, 0x00, 0x04, 0x00, 0xfc, 0xff, 0xf8, 0xff, 0xf8, 0xff,
+0xfc, 0xff, 0xfe, 0xff, 0xf4, 0xff, 0xfa, 0xff, 0xf4, 0xff, 0xf0, 0xff, 0xe6, 0xff, 0xe2, 0xff,
+0xe0, 0xff, 0xec, 0xff, 0xe8, 0xff, 0xe8, 0xff, 0xfe, 0xff, 0xfe, 0xff, 0xfe, 0xff, 0x0e, 0x00,
+0x12, 0x00, 0x16, 0x00, 0x12, 0x00, 0x1c, 0x00, 0x16, 0x00, 0xf8, 0xff, 0xf0, 0xff, 0xd6, 0xff,
+0xd4, 0xff, 0xbc, 0xff, 0xac, 0xff, 0xc2, 0xff, 0xc6, 0xff, 0xc6, 0xff, 0xe2, 0xff, 0x04, 0x00,
+0x0a, 0x00, 0x2c, 0x00, 0x48, 0x00, 0x44, 0x00, 0x3e, 0x00, 0x3e, 0x00, 0x2c, 0x00, 0xfc, 0xff,
+0xea, 0xff, 0xc8, 0xff, 0x9a, 0xff, 0x90, 0xff, 0x92, 0xff, 0x92, 0xff, 0xa6, 0xff, 0xbe, 0xff,
+0xe2, 0xff, 0x0a, 0x00, 0x2c, 0x00, 0x58, 0x00, 0x68, 0x00, 0x76, 0x00, 0x60, 0x00, 0x46, 0x00,
+0x2c, 0x00, 0xfe, 0xff, 0xce, 0xff, 0x9c, 0xff, 0x7a, 0xff, 0x60, 0xff, 0x5e, 0xff, 0x6c, 0xff,
+0x86, 0xff, 0xa8, 0xff, 0xe2, 0xff, 0x10, 0x00, 0x3c, 0x00, 0x6c, 0x00, 0x80, 0x00, 0x8a, 0x00,
+0x74, 0x00, 0x54, 0x00, 0x22, 0x00, 0xec, 0xff, 0xb8, 0xff, 0x84, 0xff, 0x5e, 0xff, 0x46, 0xff,
+0x46, 0xff, 0x58, 0xff, 0x82, 0xff, 0xb0, 0xff, 0xee, 0xff, 0x22, 0x00, 0x5a, 0x00, 0x80, 0x00,
+0x9c, 0x00, 0xa0, 0x00, 0x8e, 0x00, 0x52, 0x00, 0x1a, 0x00, 0xe6, 0xff, 0xaa, 0xff, 0x7c, 0xff,
+0x52, 0xff, 0x38, 0xff, 0x3a, 0xff, 0x58, 0xff, 0x82, 0xff, 0xc2, 0xff, 0xfa, 0xff, 0x2e, 0x00,
+0x64, 0x00, 0x98, 0x00, 0xb2, 0x00, 0xa2, 0x00, 0x80, 0x00, 0x52, 0x00, 0x0e, 0x00, 0xda, 0xff,
+0xa4, 0xff, 0x6a, 0xff, 0x46, 0xff, 0x30, 0xff, 0x36, 0xff, 0x56, 0xff, 0x88, 0xff, 0xd6, 0xff,
+0x06, 0x00, 0x34, 0x00, 0x7c, 0x00, 0x9c, 0x00, 0xb8, 0x00, 0xaa, 0x00, 0x7c, 0x00, 0x42, 0x00,
+0x00, 0x00, 0xe0, 0xff, 0x9e, 0xff, 0x6a, 0xff, 0x42, 0xff, 0x2a, 0xff, 0x40, 0xff, 0x60, 0xff,
+0xa6, 0xff, 0xe6, 0xff, 0x1a, 0x00, 0x56, 0x00, 0x88, 0x00, 0xaa, 0x00, 0xba, 0x00, 0x9e, 0x00,
+0x7c, 0x00, 0x3c, 0x00, 0x06, 0x00, 0xca, 0xff, 0x8c, 0xff, 0x64, 0xff, 0x38, 0xff, 0x38, 0xff,
+0x54, 0xff, 0x78, 0xff, 0xb4, 0xff, 0xf0, 0xff, 0x20, 0x00, 0x56, 0x00, 0x8a, 0x00, 0xa0, 0x00,
+0xa6, 0x00, 0x8a, 0x00, 0x66, 0x00, 0x2e, 0x00, 0xf2, 0xff, 0xbc, 0xff, 0x92, 0xff, 0x6c, 0xff,
+0x4c, 0xff, 0x4a, 0xff, 0x64, 0xff, 0x88, 0xff, 0xbe, 0xff, 0xf8, 0xff, 0x26, 0x00, 0x56, 0x00,
+0x76, 0x00, 0x84, 0x00, 0x8a, 0x00, 0x72, 0x00, 0x54, 0x00, 0x24, 0x00, 0xf6, 0xff, 0xba, 0xff,
+0x90, 0xff, 0x88, 0xff, 0x68, 0xff, 0x6c, 0xff, 0x78, 0xff, 0x98, 0xff, 0xcc, 0xff, 0xec, 0xff,
+0x1a, 0x00, 0x40, 0x00, 0x54, 0x00, 0x62, 0x00, 0x54, 0x00, 0x52, 0x00, 0x36, 0x00, 0x04, 0x00,
+0xf0, 0xff, 0xca, 0xff, 0xa6, 0xff, 0x94, 0xff, 0x8c, 0xff, 0x90, 0xff, 0x8c, 0xff, 0xae, 0xff,
+0xd6, 0xff, 0xe8, 0xff, 0x0a, 0x00, 0x24, 0x00, 0x20, 0x00, 0x26, 0x00, 0x28, 0x00, 0x22, 0x00,
+0x06, 0x00, 0xfa, 0xff, 0xe6, 0xff, 0xd0, 0xff, 0xc2, 0xff, 0xba, 0xff, 0xb6, 0xff, 0xba, 0xff,
+0xc8, 0xff, 0xd6, 0xff, 0xf2, 0xff, 0xf4, 0xff, 0xfc, 0xff, 0x0c, 0x00, 0xf8, 0xff, 0x06, 0x00,
+0x06, 0x00, 0x04, 0x00, 0x06, 0x00, 0xf2, 0xff, 0xe8, 0xff, 0xd2, 0xff, 0xdc, 0xff, 0xec, 0xff,
+0xde, 0xff, 0xea, 0xff, 0xe0, 0xff, 0xe6, 0xff, 0xde, 0xff, 0xe2, 0xff, 0xe8, 0xff, 0xea, 0xff,
+0xf4, 0xff, 0xf2, 0xff, 0xec, 0xff, 0xe4, 0xff, 0xf6, 0xff, 0x06, 0x00, 0x02, 0x00, 0x04, 0x00,
+0x04, 0x00, 0x00, 0x00, 0x02, 0x00, 0xf2, 0xff, 0xf6, 0xff, 0xe4, 0xff, 0xde, 0xff, 0xda, 0xff,
+0xc8, 0xff, 0xc8, 0xff, 0xc6, 0xff, 0xd8, 0xff, 0xe6, 0xff, 0xf8, 0xff, 0x0a, 0x00, 0x18, 0x00,
+0x28, 0x00, 0x30, 0x00, 0x34, 0x00, 0x26, 0x00, 0x28, 0x00, 0x16, 0x00, 0xfa, 0xff, 0xdc, 0xff,
+0xd2, 0xff, 0xb4, 0xff, 0xac, 0xff, 0xae, 0xff, 0xba, 0xff, 0xbe, 0xff, 0xd2, 0xff, 0xfc, 0xff,
+0x14, 0x00, 0x3c, 0x00, 0x50, 0x00, 0x5e, 0x00, 0x5c, 0x00, 0x48, 0x00, 0x36, 0x00, 0x10, 0x00,
+0xf6, 0xff, 0xcc, 0xff, 0xa0, 0xff, 0x88, 0xff, 0x70, 0xff, 0x76, 0xff, 0x8a, 0xff, 0xaa, 0xff,
+0xcc, 0xff, 0xfc, 0xff, 0x24, 0x00, 0x5e, 0x00, 0x6c, 0x00, 0x78, 0x00, 0x7e, 0x00, 0x68, 0x00,
+0x4e, 0x00, 0x16, 0x00, 0xe8, 0xff, 0xae, 0xff, 0x86, 0xff, 0x64, 0xff, 0x48, 0xff, 0x54, 0xff,
+0x72, 0xff, 0x9c, 0xff, 0xce, 0xff, 0x00, 0x00, 0x32, 0x00, 0x6e, 0x00, 0x92, 0x00, 0x9e, 0x00,
+0x9e, 0x00, 0x82, 0x00, 0x44, 0x00, 0x06, 0x00, 0xdc, 0xff, 0x9c, 0xff, 0x64, 0xff, 0x3e, 0xff,
+0x26, 0xff, 0x34, 0xff, 0x4c, 0xff, 0x90, 0xff, 0xd2, 0xff, 0x02, 0x00, 0x46, 0x00, 0x7a, 0x00,
+0x9c, 0x00, 0xa8, 0x00, 0xa4, 0x00, 0x80, 0x00, 0x44, 0x00, 0xf8, 0xff, 0xc8, 0xff, 0x96, 0xff,
+0x58, 0xff, 0x32, 0xff, 0x14, 0xff, 0x3a, 0xff, 0x54, 0xff, 0x98, 0xff, 0xe6, 0xff, 0x02, 0x00,
+0x54, 0x00, 0x8c, 0x00, 0xa8, 0x00, 0xb8, 0x00, 0x9c, 0x00, 0x7a, 0x00, 0x32, 0x00, 0x02, 0x00,
+0xcc, 0xff, 0x7a, 0xff, 0x56, 0xff, 0x28, 0xff, 0x22, 0xff, 0x3a, 0xff, 0x6a, 0xff, 0xb6, 0xff,
+0xf4, 0xff, 0x12, 0x00, 0x5c, 0x00, 0x88, 0x00, 0xa6, 0x00, 0xb4, 0x00, 0x90, 0x00, 0x64, 0x00,
+0x12, 0x00, 0xea, 0xff, 0xb2, 0xff, 0x70, 0xff, 0x52, 0xff, 0x26, 0xff, 0x38, 0xff, 0x52, 0xff,
+0x7c, 0xff, 0xc8, 0xff, 0x04, 0x00, 0x30, 0x00, 0x6c, 0x00, 0x96, 0x00, 0x9e, 0x00, 0x9c, 0x00,
+0x84, 0x00, 0x58, 0x00, 0x1e, 0x00, 0xe2, 0xff, 0xa8, 0xff, 0x68, 0xff, 0x56, 0xff, 0x42, 0xff,
+0x4e, 0xff, 0x7c, 0xff, 0x9c, 0xff, 0xd0, 0xff, 0x08, 0x00, 0x3a, 0x00, 0x68, 0x00, 0x94, 0x00,
+0x98, 0x00, 0x8c, 0x00, 0x68, 0x00, 0x42, 0x00, 0x08, 0x00, 0xd0, 0xff, 0xa6, 0xff, 0x7e, 0xff,
+0x6e, 0xff, 0x52, 0xff, 0x66, 0xff, 0x80, 0xff, 0xa4, 0xff, 0xda, 0xff, 0x02, 0x00, 0x38, 0x00,
+0x4c, 0x00, 0x64, 0x00, 0x78, 0x00, 0x60, 0x00, 0x52, 0x00, 0x32, 0x00, 0x08, 0x00, 0xd6, 0xff,
+0xa4, 0xff, 0x9c, 0xff, 0x8a, 0xff, 0x8a, 0xff, 0x8a, 0xff, 0x98, 0xff, 0xc2, 0xff, 0xe2, 0xff,
+0xfe, 0xff, 0x28, 0x00, 0x48, 0x00, 0x4e, 0x00, 0x4e, 0x00, 0x4a, 0x00, 0x38, 0x00, 0x1e, 0x00,
+0x00, 0x00, 0xe0, 0xff, 0xc4, 0xff, 0xb0, 0xff, 0xa8, 0xff, 0xa8, 0xff, 0xb2, 0xff, 0xbc, 0xff,
+0xd4, 0xff, 0xe8, 0xff, 0xfc, 0xff, 0x14, 0x00, 0x10, 0x00, 0x1c, 0x00, 0x2a, 0x00, 0x24, 0x00,
+0x12, 0x00, 0x04, 0x00, 0xee, 0xff, 0xec, 0xff, 0xd4, 0xff, 0xda, 0xff, 0xdc, 0xff, 0xcc, 0xff,
+0xd2, 0xff, 0xce, 0xff, 0xda, 0xff, 0xd8, 0xff, 0xea, 0xff, 0xf0, 0xff, 0xfc, 0xff, 0xf8, 0xff,
+0x00, 0x00, 0xfa, 0xff, 0xfe, 0xff, 0x04, 0x00, 0xfa, 0xff, 0x08, 0x00, 0xfe, 0xff, 0x02, 0x00,
+0x02, 0x00, 0xf8, 0xff, 0xf4, 0xff, 0xea, 0xff, 0xdc, 0xff, 0xd4, 0xff, 0xd8, 0xff, 0xd6, 0xff,
+0xd4, 0xff, 0xd6, 0xff, 0xd6, 0xff, 0xf2, 0xff, 0xf8, 0xff, 0xf0, 0xff, 0x10, 0x00, 0x16, 0x00,
+0x28, 0x00, 0x1e, 0x00, 0x12, 0x00, 0x0e, 0x00, 0xf2, 0xff, 0xe8, 0xff, 0xce, 0xff, 0xca, 0xff,
+0xba, 0xff, 0xa6, 0xff, 0xb0, 0xff, 0xb6, 0xff, 0xc4, 0xff, 0xdc, 0xff, 0xec, 0xff, 0x06, 0x00,
+0x28, 0x00, 0x42, 0x00, 0x46, 0x00, 0x3c, 0x00, 0x3a, 0x00, 0x26, 0x00, 0x0a, 0x00, 0xee, 0xff,
+0xd0, 0xff, 0xb0, 0xff, 0xa0, 0xff, 0x94, 0xff, 0x90, 0xff, 0x9c, 0xff, 0xb2, 0xff, 0xe0, 0xff,
+0xfe, 0xff, 0x16, 0x00, 0x4e, 0x00, 0x5e, 0x00, 0x6c, 0x00, 0x66, 0x00, 0x46, 0x00, 0x38, 0x00,
+0x02, 0x00, 0xea, 0xff, 0xb4, 0xff, 0x88, 0xff, 0x7a, 0xff, 0x6e, 0xff, 0x6a, 0xff, 0x80, 0xff,
+0xa2, 0xff, 0xd6, 0xff, 0x06, 0x00, 0x32, 0x00, 0x60, 0x00, 0x80, 0x00, 0x88, 0x00, 0x78, 0x00,
+0x68, 0x00, 0x3a, 0x00, 0x0a, 0x00, 0xd2, 0xff, 0xa0, 0xff, 0x78, 0xff, 0x56, 0xff, 0x4e, 0xff,
+0x52, 0xff, 0x74, 0xff, 0xa8, 0xff, 0xe4, 0xff, 0x24, 0x00, 0x52, 0x00, 0x7c, 0x00, 0x9e, 0x00,
+0xa8, 0x00, 0x98, 0x00, 0x6e, 0x00, 0x2e, 0x00, 0xfe, 0xff, 0xc6, 0xff, 0x94, 0xff, 0x5a, 0xff,
+0x34, 0xff, 0x34, 0xff, 0x46, 0xff, 0x6c, 0xff, 0xaa, 0xff, 0xe8, 0xff, 0x22, 0x00, 0x62, 0x00,
+0x92, 0x00, 0xae, 0x00, 0xac, 0x00, 0x98, 0x00, 0x60, 0x00, 0x1e, 0x00, 0xee, 0xff, 0xb8, 0xff,
+0x6e, 0xff, 0x42, 0xff, 0x28, 0xff, 0x28, 0xff, 0x40, 0xff, 0x70, 0xff, 0xc0, 0xff, 0xf8, 0xff,
+0x28, 0x00, 0x6c, 0x00, 0x9a, 0x00, 0xae, 0x00, 0xae, 0x00, 0x88, 0x00, 0x5a, 0x00, 0x10, 0x00,
+0xdc, 0xff, 0xac, 0xff, 0x76, 0xff, 0x46, 0xff, 0x2e, 0xff, 0x40, 0xff, 0x5a, 0xff, 0x92, 0xff,
+0xe2, 0xff, 0x0c, 0x00, 0x42, 0x00, 0x80, 0x00, 0x9e, 0x00, 0xa8, 0x00, 0x98, 0x00, 0x7c, 0x00,
+0x3c, 0x00, 0x04, 0x00, 0xcc, 0xff, 0x98, 0xff, 0x60, 0xff, 0x44, 0xff, 0x38, 0xff, 0x48, 0xff,
+0x70, 0xff, 0xa4, 0xff, 0xe6, 0xff, 0x1e, 0x00, 0x44, 0x00, 0x74, 0x00, 0x98, 0x00, 0x9e, 0x00,
+0x88, 0x00, 0x66, 0x00, 0x2a, 0x00, 0xfc, 0xff, 0xc2, 0xff, 0x8e, 0xff, 0x64, 0xff, 0x4e, 0xff,
+0x4c, 0xff, 0x5a, 0xff, 0x86, 0xff, 0xc4, 0xff, 0xfc, 0xff, 0x30, 0x00, 0x5c, 0x00, 0x6c, 0x00,
+0x8e, 0x00, 0x8e, 0x00, 0x74, 0x00, 0x4e, 0x00, 0x22, 0x00, 0xea, 0xff, 0xb4, 0xff, 0x8c, 0xff,
+0x7a, 0xff, 0x68, 0xff, 0x68, 0xff, 0x86, 0xff, 0xa2, 0xff, 0xd2, 0xff, 0xfc, 0xff, 0x26, 0x00,
+0x4a, 0x00, 0x52, 0x00, 0x56, 0x00, 0x52, 0x00, 0x52, 0x00, 0x34, 0x00, 0x06, 0x00, 0xe8, 0xff,
+0xbc, 0xff, 0xa4, 0xff, 0xa0, 0xff, 0x94, 0xff, 0xa0, 0xff, 0x98, 0xff, 0xbc, 0xff, 0xf6, 0xff,
+0x02, 0x00, 0x10, 0x00, 0x24, 0x00, 0x36, 0x00, 0x38, 0x00, 0x34, 0x00, 0x36, 0x00, 0x16, 0x00,
+0x00, 0x00, 0xf2, 0xff, 0xd6, 0xff, 0xc4, 0xff, 0xc2, 0xff, 0xc4, 0xff, 0xc6, 0xff, 0xca, 0xff,
+0xd8, 0xff, 0xea, 0xff, 0x02, 0x00, 0x02, 0x00, 0x12, 0x00, 0x0e, 0x00, 0x0e, 0x00, 0x14, 0x00,
+0x10, 0x00, 0x04, 0x00, 0xf8, 0xff, 0xf2, 0xff, 0xec, 0xff, 0xe4, 0xff, 0xe2, 0xff, 0xe0, 0xff,
+0xe2, 0xff, 0xe8, 0xff, 0xe8, 0xff, 0xe4, 0xff, 0xda, 0xff, 0xe6, 0xff, 0xde, 0xff, 0xe4, 0xff,
+0xea, 0xff, 0xee, 0xff, 0xf0, 0xff, 0xfa, 0xff, 0x00, 0x00, 0x02, 0x00, 0x08, 0x00, 0x0e, 0x00,
+0x06, 0x00, 0x00, 0x00, 0xfe, 0xff, 0xf6, 0xff, 0xea, 0xff, 0xd4, 0xff, 0xcc, 0xff, 0xbc, 0xff,
+0xbe, 0xff, 0xc6, 0xff, 0xc2, 0xff, 0xda, 0xff, 0xf2, 0xff, 0x00, 0x00, 0x0c, 0x00, 0x22, 0x00,
+0x2a, 0x00, 0x32, 0x00, 0x26, 0x00, 0x22, 0x00, 0x12, 0x00, 0xfa, 0xff, 0xe4, 0xff, 0xc6, 0xff,
+0xac, 0xff, 0x8e, 0xff, 0x94, 0xff, 0xa6, 0xff, 0xb4, 0xff, 0xbe, 0xff, 0xe2, 0xff, 0xfe, 0xff,
+0x1e, 0x00, 0x4c, 0x00, 0x52, 0x00, 0x5a, 0x00, 0x46, 0x00, 0x3e, 0x00, 0x2a, 0x00, 0xf6, 0xff,
+0xd8, 0xff, 0xaa, 0xff, 0x7e, 0xff, 0x70, 0xff, 0x6c, 0xff, 0x7a, 0xff, 0x9a, 0xff, 0xbc, 0xff,
+0xea, 0xff, 0x16, 0x00, 0x40, 0x00, 0x6a, 0x00, 0x82, 0x00, 0x8e, 0x00, 0x76, 0x00, 0x54, 0x00,
+0x32, 0x00, 0xfe, 0xff, 0xcc, 0xff, 0x92, 0xff, 0x70, 0xff, 0x5c, 0xff, 0x56, 0xff, 0x6c, 0xff,
+0x8c, 0xff, 0xc0, 0xff, 0xf4, 0xff, 0x24, 0x00, 0x60, 0x00, 0x82, 0x00, 0x94, 0x00, 0xa2, 0x00,
+0x92, 0x00, 0x5a, 0x00, 0x26, 0x00, 0xf4, 0xff, 0xae, 0xff, 0x86, 0xff, 0x52, 0xff, 0x3c, 0xff,
+0x40, 0xff, 0x52, 0xff, 0x88, 0xff, 0xc6, 0xff, 0xfe, 0xff, 0x28, 0x00, 0x70, 0x00, 0x98, 0x00,
+0xb0, 0x00, 0xac, 0x00, 0x8e, 0x00, 0x5c, 0x00, 0x24, 0x00, 0xee, 0xff, 0xae, 0xff, 0x74, 0xff,
+0x48, 0xff, 0x34, 0xff, 0x38, 0xff, 0x5a, 0xff, 0x8e, 0xff, 0xd2, 0xff, 0x0a, 0x00, 0x3e, 0x00,
+0x7a, 0x00, 0xa6, 0x00, 0xb8, 0x00, 0xb0, 0x00, 0x86, 0x00, 0x4a, 0x00, 0x0c, 0x00, 0xda, 0xff,
+0xa0, 0xff, 0x58, 0xff, 0x38, 0xff, 0x28, 0xff, 0x3a, 0xff, 0x58, 0xff, 0x98, 0xff, 0xe4, 0xff,
+0x10, 0x00, 0x50, 0x00, 0x84, 0x00, 0xaa, 0x00, 0xa6, 0x00, 0x9a, 0x00, 0x72, 0x00, 0x36, 0x00,
+0xf6, 0xff, 0xba, 0xff, 0x88, 0xff, 0x4c, 0xff, 0x32, 0xff, 0x30, 0xff, 0x4a, 0xff, 0x72, 0xff,
+0xa8, 0xff, 0xf4, 0xff, 0x22, 0x00, 0x5e, 0x00, 0x92, 0x00, 0xa8, 0x00, 0x9e, 0x00, 0x84, 0x00,
+0x5c, 0x00, 0x1a, 0x00, 0xf4, 0xff, 0xb0, 0xff, 0x7e, 0xff, 0x56, 0xff, 0x3c, 0xff, 0x40, 0xff,
+0x5a, 0xff, 0x90, 0xff, 0xc6, 0xff, 0x02, 0x00, 0x28, 0x00, 0x66, 0x00, 0x80, 0x00, 0x90, 0x00,
+0x92, 0x00, 0x62, 0x00, 0x46, 0x00, 0x10, 0x00, 0xe2, 0xff, 0xb4, 0xff, 0x82, 0xff, 0x68, 0xff,
+0x60, 0xff, 0x62, 0xff, 0x7e, 0xff, 0x96, 0xff, 0xc8, 0xff, 0x08, 0x00, 0x2e, 0x00, 0x54, 0x00,
+0x66, 0x00, 0x68, 0x00, 0x70, 0x00, 0x60, 0x00, 0x3c, 0x00, 0x14, 0x00, 0xee, 0xff, 0xbe, 0xff,
+0xae, 0xff, 0xa2, 0xff, 0x8a, 0xff, 0x8a, 0xff, 0xa2, 0xff, 0xc2, 0xff, 0xe8, 0xff, 0x08, 0x00,
+0x20, 0x00, 0x3e, 0x00, 0x46, 0x00, 0x4a, 0x00, 0x4c, 0x00, 0x3a, 0x00, 0x1a, 0x00, 0x02, 0x00,
+0xfe, 0xff, 0xda, 0xff, 0xc2, 0xff, 0xbe, 0xff, 0xb2, 0xff, 0xba, 0xff, 0xc2, 0xff, 0xdc, 0xff,
+0xf2, 0xff, 0x00, 0x00, 0x0a, 0x00, 0x24, 0x00, 0x0e, 0x00, 0x1a, 0x00, 0x1a, 0x00, 0x0c, 0x00,
+0x06, 0x00, 0xf4, 0xff, 0xf4, 0xff, 0xec, 0xff, 0xe8, 0xff, 0xe0, 0xff, 0xe6, 0xff, 0xe4, 0xff,
+0xf0, 0xff, 0xfa, 0xff, 0x00, 0x00, 0x06, 0x00, 0xfe, 0xff, 0xf8, 0xff, 0xf6, 0xff, 0xf4, 0xff,
+0xee, 0xff, 0xf6, 0xff, 0xf6, 0xff, 0xfc, 0xff, 0x02, 0x00, 0xfe, 0xff, 0x04, 0x00, 0xfc, 0xff,
+0xfa, 0xff, 0xfc, 0xff, 0xfa, 0xff, 0xea, 0xff, 0xe0, 0xff, 0xd0, 0xff, 0xca, 0xff, 0xc8, 0xff,
+0xba, 0xff, 0xbc, 0xff, 0xca, 0xff, 0xda, 0xff, 0xee, 0xff, 0x0a, 0x00, 0x1a, 0x00, 0x2a, 0x00,
+0x1c, 0x00, 0x20, 0x00, 0x20, 0x00, 0x06, 0x00, 0xf2, 0xff, 0xe2, 0xff, 0xc4, 0xff, 0xa2, 0xff,
+0x98, 0xff, 0x9a, 0xff, 0x9e, 0xff, 0xa6, 0xff, 0xce, 0xff, 0xe8, 0xff, 0x08, 0x00, 0x32, 0x00,
+0x48, 0x00, 0x56, 0x00, 0x56, 0x00, 0x40, 0x00, 0x30, 0x00, 0x14, 0x00, 0xe8, 0xff, 0xc6, 0xff,
+0xa2, 0xff, 0x82, 0xff, 0x7a, 0xff, 0x74, 0xff, 0x8c, 0xff, 0xa2, 0xff, 0xd4, 0xff, 0x04, 0x00,
+0x2a, 0x00, 0x4c, 0x00, 0x62, 0x00, 0x6e, 0x00, 0x62, 0x00, 0x4c, 0x00, 0x2a, 0x00, 0x02, 0x00,
+0xd2, 0xff, 0xa8, 0xff, 0x80, 0xff, 0x64, 0xff, 0x60, 0xff, 0x62, 0xff, 0x7c, 0xff, 0xa6, 0xff,
+0xda, 0xff, 0x0e, 0x00, 0x46, 0x00, 0x74, 0x00, 0x84, 0x00, 0x92, 0x00, 0x82, 0x00, 0x6e, 0x00,
+0x40, 0x00, 0x08, 0x00, 0xd8, 0xff, 0x9e, 0xff, 0x7a, 0xff, 0x56, 0xff, 0x4a, 0xff, 0x50, 0xff,
+0x78, 0xff, 0xae, 0xff, 0xea, 0xff, 0x1c, 0x00, 0x5a, 0x00, 0x8a, 0x00, 0xa0, 0x00, 0xba, 0x00,
+0xa6, 0x00, 0x7e, 0x00, 0x42, 0x00, 0x02, 0x00, 0xd2, 0xff, 0x96, 0xff, 0x62, 0xff, 0x48, 0xff,
+0x2c, 0xff, 0x40, 0xff, 0x70, 0xff, 0xae, 0xff, 0xea, 0xff, 0x28, 0x00, 0x58, 0x00, 0x8c, 0x00,
+0xaa, 0x00, 0xb6, 0x00, 0xae, 0x00, 0x72, 0x00, 0x38, 0x00, 0xfc, 0xff, 0xc8, 0xff, 0x88, 0xff,
+0x5c, 0xff, 0x38, 0xff, 0x3a, 0xff, 0x50, 0xff, 0x7c, 0xff, 0xc6, 0xff, 0xfa, 0xff, 0x34, 0x00,
+0x74, 0x00, 0x98, 0x00, 0xb8, 0x00, 0xb2, 0x00, 0x94, 0x00, 0x66, 0x00, 0x26, 0x00, 0xea, 0xff,
+0xb4, 0xff, 0x78, 0xff, 0x48, 0xff, 0x30, 0xff, 0x3e, 0xff, 0x5c, 0xff, 0x90, 0xff, 0xc8, 0xff,
+0x00, 0x00, 0x36, 0x00, 0x6c, 0x00, 0x8e, 0x00, 0xa4, 0x00, 0x9e, 0x00, 0x78, 0x00, 0x40, 0x00,
+0xfe, 0xff, 0xce, 0xff, 0x9c, 0xff, 0x6c, 0xff, 0x40, 0xff, 0x2a, 0xff, 0x42, 0xff, 0x6a, 0xff,
+0x96, 0xff, 0xd2, 0xff, 0x02, 0x00, 0x34, 0x00, 0x58, 0x00, 0x84, 0x00, 0x94, 0x00, 0x80, 0x00,
+0x60, 0x00, 0x2a, 0x00, 0x00, 0x00, 0xc8, 0xff, 0xa0, 0xff, 0x72, 0xff, 0x5e, 0xff, 0x54, 0xff,
+0x66, 0xff, 0x8c, 0xff, 0xa6, 0xff, 0xe6, 0xff, 0x0a, 0x00, 0x42, 0x00, 0x62, 0x00, 0x78, 0x00,
+0x76, 0x00, 0x62, 0x00, 0x56, 0x00, 0x20, 0x00, 0xfc, 0xff, 0xc2, 0xff, 0xa0, 0xff, 0x7e, 0xff,
+0x72, 0xff, 0x74, 0xff, 0x7a, 0xff, 0x98, 0xff, 0xba, 0xff, 0xea, 0xff, 0x0c, 0x00, 0x3a, 0x00,
+0x46, 0x00, 0x5c, 0x00, 0x60, 0x00, 0x4e, 0x00, 0x32, 0x00, 0x04, 0x00, 0xf6, 0xff, 0xdc, 0xff,
+0xae, 0xff, 0xa4, 0xff, 0xa6, 0xff, 0x9e, 0xff, 0xa8, 0xff, 0xc6, 0xff, 0xe6, 0xff, 0x00, 0x00,
+0x0a, 0x00, 0x2e, 0x00, 0x38, 0x00, 0x3c, 0x00, 0x42, 0x00, 0x36, 0x00, 0x26, 0x00, 0x06, 0x00,
+0xf8, 0xff, 0xec, 0xff, 0xd8, 0xff, 0xd4, 0xff, 0xd4, 0xff, 0xca, 0xff, 0xca, 0xff, 0xd8, 0xff,
+0xee, 0xff, 0xfc, 0xff, 0xfc, 0xff, 0x0a, 0x00, 0x10, 0x00, 0x10, 0x00, 0x16, 0x00, 0x0c, 0x00,
+0x06, 0x00, 0x04, 0x00, 0xfa, 0xff, 0xf8, 0xff, 0xec, 0xff, 0xf0, 0xff, 0xec, 0xff, 0xe6, 0xff,
+0xe4, 0xff, 0xda, 0xff, 0xe2, 0xff, 0xe0, 0xff, 0xe8, 0xff, 0xe8, 0xff, 0xf6, 0xff, 0xf2, 0xff,
+0xfc, 0xff, 0xfc, 0xff, 0x0c, 0x00, 0x10, 0x00, 0x14, 0x00, 0x18, 0x00, 0x18, 0x00, 0x0a, 0x00,
+0x12, 0x00, 0x04, 0x00, 0xec, 0xff, 0xec, 0xff, 0xd0, 0xff, 0xca, 0xff, 0xbe, 0xff, 0xc6, 0xff,
+0xce, 0xff, 0xce, 0xff, 0xd0, 0xff, 0xec, 0xff, 0xfe, 0xff, 0x0e, 0x00, 0x1e, 0x00, 0x2e, 0x00,
+0x38, 0x00, 0x30, 0x00, 0x1a, 0x00, 0x0c, 0x00, 0xf4, 0xff, 0xd8, 0xff, 0xc2, 0xff, 0xa2, 0xff,
+0x88, 0xff, 0x90, 0xff, 0x9e, 0xff, 0xa6, 0xff, 0xb6, 0xff, 0xd6, 0xff, 0x00, 0x00, 0x12, 0x00,
+0x38, 0x00, 0x58, 0x00, 0x62, 0x00, 0x4e, 0x00, 0x2e, 0x00, 0x24, 0x00, 0x04, 0x00, 0xe0, 0xff,
+0xac, 0xff, 0x8e, 0xff, 0x7e, 0xff, 0x78, 0xff, 0x86, 0xff, 0x9c, 0xff, 0xb6, 0xff, 0xe0, 0xff,
+0x0e, 0x00, 0x3a, 0x00, 0x62, 0x00, 0x7c, 0x00, 0x7c, 0x00, 0x6e, 0x00, 0x4e, 0x00, 0x28, 0x00,
+0x00, 0x00, 0xcc, 0xff, 0x98, 0xff, 0x74, 0xff, 0x5c, 0xff, 0x5c, 0xff, 0x66, 0xff, 0x84, 0xff,
+0xb4, 0xff, 0xe4, 0xff, 0x20, 0x00, 0x4a, 0x00, 0x7a, 0x00, 0x8c, 0x00, 0x94, 0x00, 0x80, 0x00,
+0x56, 0x00, 0x20, 0x00, 0xee, 0xff, 0xc0, 0xff, 0x88, 0xff, 0x58, 0xff, 0x46, 0xff, 0x46, 0xff,
+0x5c, 0xff, 0x88, 0xff, 0xc0, 0xff, 0xfe, 0xff, 0x30, 0x00, 0x68, 0x00, 0x92, 0x00, 0xac, 0x00,
+0xaa, 0x00, 0x92, 0x00, 0x5e, 0x00, 0x1e, 0x00, 0xea, 0xff, 0xb6, 0xff, 0x7a, 0xff, 0x4e, 0xff,
+0x3a, 0xff, 0x3a, 0xff, 0x52, 0xff, 0x8c, 0xff, 0xd6, 0xff, 0x06, 0x00, 0x3c, 0x00, 0x72, 0x00,
+0xa8, 0x00, 0xb2, 0x00, 0xaa, 0x00, 0x8a, 0x00, 0x52, 0x00, 0x08, 0x00, 0xe2, 0xff, 0xa0, 0xff,
+0x6a, 0xff, 0x44, 0xff, 0x34, 0xff, 0x44, 0xff, 0x5e, 0xff, 0x9a, 0xff, 0xe6, 0xff, 0x18, 0x00,
+0x48, 0x00, 0x82, 0x00, 0xa2, 0x00, 0xb8, 0x00, 0xa4, 0x00, 0x82, 0x00, 0x3a, 0x00, 0x0e, 0x00,
+0xdc, 0xff, 0x9e, 0xff, 0x64, 0xff, 0x48, 0xff, 0x40, 0xff, 0x46, 0xff, 0x74, 0xff, 0xb0, 0xff,
+0xec, 0xff, 0x1a, 0x00, 0x54, 0x00, 0x8a, 0x00, 0xa4, 0x00, 0xa4, 0x00, 0x90, 0x00, 0x74, 0x00,
+0x3c, 0x00, 0xfc, 0xff, 0xc0, 0xff, 0x8a, 0xff, 0x6a, 0xff, 0x4e, 0xff, 0x44, 0xff, 0x56, 0xff,
+0x84, 0xff, 0xb8, 0xff, 0xf4, 0xff, 0x20, 0x00, 0x54, 0x00, 0x78, 0x00, 0x82, 0x00, 0x86, 0x00,
+0x6c, 0x00, 0x50, 0x00, 0x1a, 0x00, 0xea, 0xff, 0xc0, 0xff, 0x8c, 0xff, 0x70, 0xff, 0x68, 0xff,
+0x70, 0xff, 0x88, 0xff, 0x9c, 0xff, 0xd0, 0xff, 0x02, 0x00, 0x28, 0x00, 0x4c, 0x00, 0x5a, 0x00,
+0x6c, 0x00, 0x58, 0x00, 0x48, 0x00, 0x30, 0x00, 0xfe, 0xff, 0xe2, 0xff, 0xb0, 0xff, 0x96, 0xff,
+0x92, 0xff, 0x80, 0xff, 0x8e, 0xff, 0x9e, 0xff, 0xc0, 0xff, 0xe6, 0xff, 0x02, 0x00, 0x12, 0x00,
+0x2e, 0x00, 0x38, 0x00, 0x2e, 0x00, 0x36, 0x00, 0x1c, 0x00, 0x0a, 0x00, 0xee, 0xff, 0xce, 0xff,
+0xc2, 0xff, 0xaa, 0xff, 0xae, 0xff, 0xb0, 0xff, 0xa4, 0xff, 0xc4, 0xff, 0xd4, 0xff, 0xec, 0xff,
+0x06, 0x00, 0x0c, 0x00, 0x1c, 0x00, 0x14, 0x00, 0x1a, 0x00, 0x1e, 0x00, 0x12, 0x00, 0xfe, 0xff,
+0xec, 0xff, 0xf2, 0xff, 0xdc, 0xff, 0xcc, 0xff, 0xd6, 0xff, 0xd6, 0xff, 0xe0, 0xff, 0xdc, 0xff,
+0xe6, 0xff, 0xf2, 0xff, 0xfa, 0xff, 0x0a, 0x00, 0x04, 0x00, 0xfc, 0xff, 0x04, 0x00, 0x04, 0x00,
+0x00, 0x00, 0xfe, 0xff, 0xfa, 0xff, 0xf0, 0xff, 0xf4, 0xff, 0xe8, 0xff, 0xea, 0xff, 0xf4, 0xff,
+0xee, 0xff, 0xf8, 0xff, 0xea, 0xff, 0xe2, 0xff, 0xe4, 0xff, 0xd8, 0xff, 0xe4, 0xff, 0xe0, 0xff,
+0xd8, 0xff, 0xea, 0xff, 0xf6, 0xff, 0x02, 0x00, 0x0c, 0x00, 0x14, 0x00, 0x26, 0x00, 0x28, 0x00,
+0x22, 0x00, 0x1c, 0x00, 0x0a, 0x00, 0x02, 0x00, 0xee, 0xff, 0xd6, 0xff, 0xb6, 0xff, 0xac, 0xff,
+0xac, 0xff, 0xbc, 0xff, 0xc8, 0xff, 0xdc, 0xff, 0xfe, 0xff, 0x10, 0x00, 0x28, 0x00, 0x4e, 0x00,
+0x5a, 0x00, 0x52, 0x00, 0x4c, 0x00, 0x42, 0x00, 0x1a, 0x00, 0xfa, 0xff, 0xd4, 0xff, 0xa6, 0xff,
+0x88, 0xff, 0x6c, 0xff, 0x7e, 0xff, 0x8c, 0xff, 0x94, 0xff, 0xce, 0xff, 0xee, 0xff, 0x1e, 0x00,
+0x46, 0x00, 0x5e, 0x00, 0x7a, 0x00, 0x72, 0x00, 0x5c, 0x00, 0x46, 0x00, 0x1a, 0x00, 0xee, 0xff,
+0xba, 0xff, 0x74, 0xff, 0x66, 0xff, 0x5e, 0xff, 0x60, 0xff, 0x82, 0xff, 0x94, 0xff, 0xc2, 0xff,
+0x06, 0x00, 0x34, 0x00, 0x62, 0x00, 0x7c, 0x00, 0x98, 0x00, 0x8e, 0x00, 0x74, 0x00, 0x46, 0x00,
+0x10, 0x00, 0xd8, 0xff, 0xa2, 0xff, 0x70, 0xff, 0x4a, 0xff, 0x40, 0xff, 0x4e, 0xff, 0x78, 0xff,
+0x9c, 0xff, 0xce, 0xff, 0x14, 0x00, 0x42, 0x00, 0x74, 0x00, 0xa0, 0x00, 0xa6, 0x00, 0x98, 0x00,
+0x76, 0x00, 0x3e, 0x00, 0xfe, 0xff, 0xc6, 0xff, 0x8c, 0xff, 0x5e, 0xff, 0x34, 0xff, 0x2c, 0xff,
+0x38, 0xff, 0x62, 0xff, 0x9e, 0xff, 0xe6, 0xff, 0x14, 0x00, 0x40, 0x00, 0x88, 0x00, 0xaa, 0x00,
+0xb8, 0x00, 0xa4, 0x00, 0x76, 0x00, 0x36, 0x00, 0xfc, 0xff, 0xd2, 0xff, 0x90, 0xff, 0x62, 0xff,
+0x3e, 0xff, 0x2a, 0xff, 0x46, 0xff, 0x6a, 0xff, 0xb8, 0xff, 0xf6, 0xff, 0x16, 0x00, 0x58, 0x00,
+0x92, 0x00, 0xba, 0x00, 0xb4, 0x00, 0x92, 0x00, 0x74, 0x00, 0x2e, 0x00, 0xec, 0xff, 0xc4, 0xff,
+0x84, 0xff, 0x4e, 0xff, 0x3c, 0xff, 0x32, 0xff, 0x4c, 0xff, 0x80, 0xff, 0xba, 0xff, 0xfa, 0xff,
+0x28, 0x00, 0x66, 0x00, 0x90, 0x00, 0xa8, 0x00, 0xa8, 0x00, 0x98, 0x00, 0x5c, 0x00, 0x18, 0x00,
+0xe4, 0xff, 0xb2, 0xff, 0x80, 0xff, 0x4c, 0xff, 0x3e, 0xff, 0x44, 0xff, 0x5e, 0xff, 0x96, 0xff,
+0xc4, 0xff, 0x0a, 0x00, 0x30, 0x00, 0x60, 0x00, 0x88, 0x00, 0x90, 0x00, 0xa0, 0x00, 0x84, 0x00,
+0x3e, 0x00, 0x08, 0x00, 0xe6, 0xff, 0xb4, 0xff, 0x88, 0xff, 0x68, 0xff, 0x58, 0xff, 0x6a, 0xff,
+0x80, 0xff, 0xa2, 0xff, 0xdc, 0xff, 0x02, 0x00, 0x36, 0x00, 0x56, 0x00, 0x6e, 0x00, 0x6c, 0x00,
+0x62, 0x00, 0x4a, 0x00, 0x22, 0x00, 0xf0, 0xff, 0xca, 0xff, 0x9e, 0xff, 0x8a, 0xff, 0x82, 0xff,
+0x76, 0xff, 0x8e, 0xff, 0x98, 0xff, 0xbe, 0xff, 0xf6, 0xff, 0x12, 0x00, 0x38, 0x00, 0x4c, 0x00,
+0x56, 0x00, 0x4a, 0x00, 0x3c, 0x00, 0x30, 0x00, 0x04, 0x00, 0xe2, 0xff, 0xc0, 0xff, 0xae, 0xff,
+0x98, 0xff, 0x9a, 0xff, 0xa0, 0xff, 0x9e, 0xff, 0xb4, 0xff, 0xd8, 0xff, 0xfe, 0xff, 0x0c, 0x00,
+0x28, 0x00, 0x36, 0x00, 0x2e, 0x00, 0x34, 0x00, 0x26, 0x00, 0x18, 0x00, 0x02, 0x00, 0xf2, 0xff,
+0xe8, 0xff, 0xce, 0xff, 0xbe, 0xff, 0xc6, 0xff, 0xc4, 0xff, 0xc2, 0xff, 0xca, 0xff, 0xd6, 0xff,
+0xf2, 0xff, 0xf4, 0xff, 0x02, 0x00, 0x06, 0x00, 0xf6, 0xff, 0x04, 0x00, 0x04, 0x00, 0xfc, 0xff,
+0x02, 0x00, 0xfa, 0xff, 0xfa, 0xff, 0xec, 0xff, 0xf2, 0xff, 0xf0, 0xff, 0xf0, 0xff, 0xec, 0xff,
+0xe8, 0xff, 0xe4, 0xff, 0xe8, 0xff, 0xea, 0xff, 0xde, 0xff, 0xe6, 0xff, 0xe4, 0xff, 0xe6, 0xff,
+0xf8, 0xff, 0xf4, 0xff, 0x04, 0x00, 0x10, 0x00, 0x10, 0x00, 0x20, 0x00, 0x0e, 0x00, 0x10, 0x00,
+0x1c, 0x00, 0x04, 0x00, 0xf8, 0xff, 0xe8, 0xff, 0xd6, 0xff, 0xce, 0xff, 0xb8, 0xff, 0xc6, 0xff,
+0xc2, 0xff, 0xc6, 0xff, 0xe0, 0xff, 0xec, 0xff, 0x06, 0x00, 0x14, 0x00, 0x32, 0x00, 0x40, 0x00,
+0x2e, 0x00, 0x38, 0x00, 0x2e, 0x00, 0x12, 0x00, 0xfe, 0xff, 0xe2, 0xff, 0xae, 0xff, 0x98, 0xff,
+0x94, 0xff, 0x86, 0xff, 0xa2, 0xff, 0xa0, 0xff, 0xc6, 0xff, 0xf0, 0xff, 0x0a, 0x00, 0x44, 0x00,
+0x56, 0x00, 0x6c, 0x00, 0x6a, 0x00, 0x58, 0x00, 0x50, 0x00, 0x1e, 0x00, 0xf8, 0xff, 0xca, 0xff,
+0xa0, 0xff, 0x7e, 0xff, 0x6a, 0xff, 0x72, 0xff, 0x80, 0xff, 0x9a, 0xff, 0xc4, 0xff, 0xfe, 0xff,
+0x26, 0x00, 0x50, 0x00, 0x78, 0x00, 0x86, 0x00, 0x74, 0x00, 0x64, 0x00, 0x3a, 0x00, 0x0c, 0x00,
+0xd8, 0xff, 0xaa, 0xff, 0x7e, 0xff, 0x4e, 0xff, 0x48, 0xff, 0x5a, 0xff, 0x72, 0xff, 0xaa, 0xff,
+0xe0, 0xff, 0x0a, 0x00, 0x46, 0x00, 0x78, 0x00, 0x98, 0x00, 0x9e, 0x00, 0x86, 0x00, 0x56, 0x00,
+0x24, 0x00, 0xfe, 0xff, 0xc0, 0xff, 0x7a, 0xff, 0x52, 0xff, 0x32, 0xff, 0x2a, 0xff, 0x4a, 0xff,
+0x7a, 0xff, 0xb2, 0xff, 0xf8, 0xff, 0x30, 0x00, 0x70, 0x00, 0x98, 0x00, 0xb4, 0x00, 0xbe, 0x00,
+0x98, 0x00, 0x66, 0x00, 0x28, 0x00, 0xea, 0xff, 0xb8, 0xff, 0x66, 0xff, 0x3a, 0xff, 0x20, 0xff,
+0x1c, 0xff, 0x4e, 0xff, 0x78, 0xff, 0xc6, 0xff, 0x08, 0x00, 0x34, 0x00, 0x7c, 0x00, 0xa4, 0x00,
+0xc0, 0x00, 0xba, 0x00, 0x94, 0x00, 0x5c, 0x00, 0x10, 0x00, 0xe6, 0xff, 0x9e, 0xff, 0x58, 0xff,
+0x30, 0xff, 0x20, 0xff, 0x30, 0xff, 0x50, 0xff, 0x9e, 0xff, 0xe4, 0xff, 0x16, 0x00, 0x50, 0x00,
+0x86, 0x00, 0xc2, 0x00, 0xc2, 0x00, 0xb0, 0x00, 0x8a, 0x00, 0x4c, 0x00, 0x12, 0x00, 0xc6, 0xff,
+0x8a, 0xff, 0x52, 0xff, 0x36, 0xff, 0x2e, 0xff, 0x3a, 0xff, 0x64, 0xff, 0xa6, 0xff, 0xec, 0xff,
+0x22, 0x00, 0x58, 0x00, 0x96, 0x00, 0xb2, 0x00, 0xbc, 0x00, 0xa8, 0x00, 0x7e, 0x00, 0x4a, 0x00,
+0xfc, 0xff, 0xc2, 0xff, 0x82, 0xff, 0x58, 0xff, 0x3a, 0xff, 0x36, 0xff, 0x50, 0xff, 0x70, 0xff,
+0xae, 0xff, 0xe6, 0xff, 0x20, 0x00, 0x5c, 0x00, 0x7e, 0x00, 0x8e, 0x00, 0x94, 0x00, 0x84, 0x00,
+0x5c, 0x00, 0x28, 0x00, 0xf6, 0xff, 0xb4, 0xff, 0x8a, 0xff, 0x7e, 0xff, 0x60, 0xff, 0x60, 0xff,
+0x7a, 0xff, 0x9a, 0xff, 0xc4, 0xff, 0xfa, 0xff, 0x26, 0x00, 0x48, 0x00, 0x5a, 0x00, 0x6e, 0x00,
+0x64, 0x00, 0x58, 0x00, 0x3e, 0x00, 0x0e, 0x00, 0xea, 0xff, 0xba, 0xff, 0xa0, 0xff, 0x9a, 0xff,
+0x90, 0xff, 0x8a, 0xff, 0x90, 0xff, 0xb2, 0xff, 0xda, 0xff, 0xf6, 0xff, 0x12, 0x00, 0x2c, 0x00,
+0x40, 0x00, 0x3c, 0x00, 0x40, 0x00, 0x34, 0x00, 0x1e, 0x00, 0x0a, 0x00, 0xe8, 0xff, 0xcc, 0xff,
+0xb0, 0xff, 0xb8, 0xff, 0xb6, 0xff, 0xa8, 0xff, 0xba, 0xff, 0xca, 0xff, 0xda, 0xff, 0xf8, 0xff,
+0x04, 0x00, 0x10, 0x00, 0x0c, 0x00, 0x12, 0x00, 0x20, 0x00, 0x12, 0x00, 0x0c, 0x00, 0xf6, 0xff,
+0xf2, 0xff, 0xf0, 0xff, 0xe6, 0xff, 0xd8, 0xff, 0xe2, 0xff, 0xe6, 0xff, 0xd6, 0xff, 0xea, 0xff,
+0xec, 0xff, 0xee, 0xff, 0xee, 0xff, 0xf6, 0xff, 0xec, 0xff, 0xf2, 0xff, 0xfe, 0xff, 0xfa, 0xff,
+0xf6, 0xff, 0xf6, 0xff, 0xfa, 0xff, 0x04, 0x00, 0x06, 0x00, 0xfe, 0xff, 0x0a, 0x00, 0xfc, 0xff,
+0xf8, 0xff, 0xf0, 0xff, 0xe4, 0xff, 0xd6, 0xff, 0xca, 0xff, 0xc8, 0xff, 0xcc, 0xff, 0xc8, 0xff,
+0xd6, 0xff, 0xe6, 0xff, 0xfa, 0xff, 0x0e, 0x00, 0x18, 0x00, 0x2e, 0x00, 0x34, 0x00, 0x2a, 0x00,
+0x2e, 0x00, 0x10, 0x00, 0x02, 0x00, 0xe8, 0xff, 0xd2, 0xff, 0xc2, 0xff, 0x9e, 0xff, 0xa6, 0xff,
+0xb2, 0xff, 0xb8, 0xff, 0xce, 0xff, 0xea, 0xff, 0xfe, 0xff, 0x22, 0x00, 0x52, 0x00, 0x5e, 0x00,
+0x58, 0x00, 0x52, 0x00, 0x46, 0x00, 0x2c, 0x00, 0x08, 0x00, 0xea, 0xff, 0xc0, 0xff, 0x92, 0xff,
+0x88, 0xff, 0x7e, 0xff, 0x84, 0xff, 0x92, 0xff, 0xb4, 0xff, 0xe2, 0xff, 0x04, 0x00, 0x3a, 0x00,
+0x5c, 0x00, 0x72, 0x00, 0x7e, 0x00, 0x6c, 0x00, 0x4a, 0x00, 0x30, 0x00, 0xfe, 0xff, 0xce, 0xff,
+0x9c, 0xff, 0x7e, 0xff, 0x62, 0xff, 0x62, 0xff, 0x70, 0xff, 0x82, 0xff, 0xac, 0xff, 0xe4, 0xff,
+0x24, 0x00, 0x50, 0x00, 0x7a, 0x00, 0x8e, 0x00, 0x90, 0x00, 0x80, 0x00, 0x54, 0x00, 0x20, 0x00,
+0xec, 0xff, 0xba, 0xff, 0x86, 0xff, 0x58, 0xff, 0x38, 0xff, 0x42, 0xff, 0x52, 0xff, 0x88, 0xff,
+0xbe, 0xff, 0xf2, 0xff, 0x2e, 0x00, 0x66, 0x00, 0x98, 0x00, 0xa6, 0x00, 0xa0, 0x00, 0x82, 0x00,
+0x50, 0x00, 0x0e, 0x00, 0xda, 0xff, 0x9a, 0xff, 0x62, 0xff, 0x40, 0xff, 0x24, 0xff, 0x28, 0xff,
+0x4a, 0xff, 0x84, 0xff, 0xcc, 0xff, 0x02, 0x00, 0x40, 0x00, 0x82, 0x00, 0xac, 0x00, 0xb4, 0x00,
+0xaa, 0x00, 0x84, 0x00, 0x4e, 0x00, 0xfe, 0xff, 0xd2, 0xff, 0x8c, 0xff, 0x5a, 0xff, 0x3c, 0xff,
+0x20, 0xff, 0x38, 0xff, 0x62, 0xff, 0xa0, 0xff, 0xe0, 0xff, 0x1c, 0x00, 0x5e, 0x00, 0x96, 0x00,
+0xb2, 0x00, 0xc2, 0x00, 0x9e, 0x00, 0x7a, 0x00, 0x32, 0x00, 0xf0, 0xff, 0xc6, 0xff, 0x7c, 0xff,
+0x4a, 0xff, 0x34, 0xff, 0x2c, 0xff, 0x3a, 0xff, 0x6e, 0xff, 0xb4, 0xff, 0xf6, 0xff, 0x24, 0x00,
+0x66, 0x00, 0x8e, 0x00, 0xa4, 0x00, 0xa6, 0x00, 0x8a, 0x00, 0x58, 0x00, 0x1e, 0x00, 0xe2, 0xff,
+0xa8, 0xff, 0x7c, 0xff, 0x58, 0xff, 0x42, 0xff, 0x40, 0xff, 0x66, 0xff, 0x90, 0xff, 0xc8, 0xff,
+0x08, 0x00, 0x40, 0x00, 0x68, 0x00, 0x8c, 0x00, 0x9a, 0x00, 0x94, 0x00, 0x78, 0x00, 0x4c, 0x00,
+0x10, 0x00, 0xde, 0xff, 0xae, 0xff, 0x88, 0xff, 0x6a, 0xff, 0x54, 0xff, 0x62, 0xff, 0x78, 0xff,
+0xa8, 0xff, 0xe0, 0xff, 0x08, 0x00, 0x32, 0x00, 0x58, 0x00, 0x6e, 0x00, 0x82, 0x00, 0x72, 0x00,
+0x50, 0x00, 0x32, 0x00, 0xf8, 0xff, 0xe0, 0xff, 0xaa, 0xff, 0x90, 0xff, 0x7c, 0xff, 0x74, 0xff,
+0x80, 0xff, 0x92, 0xff, 0xba, 0xff, 0xe0, 0xff, 0x06, 0x00, 0x32, 0x00, 0x48, 0x00, 0x46, 0x00,
+0x60, 0x00, 0x58, 0x00, 0x44, 0x00, 0x24, 0x00, 0x02, 0x00, 0xdc, 0xff, 0xc6, 0xff, 0xb4, 0xff,
+0xa6, 0xff, 0x9a, 0xff, 0x9a, 0xff, 0xb4, 0xff, 0xce, 0xff, 0xdc, 0xff, 0xfa, 0xff, 0x14, 0x00,
+0x26, 0x00, 0x2c, 0x00, 0x34, 0x00, 0x2c, 0x00, 0x1e, 0x00, 0x12, 0x00, 0xf6, 0xff, 0xe6, 0xff,
+0xcc, 0xff, 0xc2, 0xff, 0xbe, 0xff, 0xb8, 0xff, 0xc2, 0xff, 0xc4, 0xff, 0xd2, 0xff, 0xda, 0xff,
+0xe4, 0xff, 0xf0, 0xff, 0xf6, 0xff, 0xfa, 0xff, 0xfe, 0xff, 0xfe, 0xff, 0xfa, 0xff, 0xf2, 0xff,
+0xf0, 0xff, 0xf4, 0xff, 0xec, 0xff, 0xee, 0xff, 0xe2, 0xff, 0xe6, 0xff, 0xe4, 0xff, 0xe2, 0xff,
+0xe4, 0xff, 0xe0, 0xff, 0xd6, 0xff, 0xce, 0xff, 0xde, 0xff, 0xe0, 0xff, 0xdc, 0xff, 0xf4, 0xff,
+0xf6, 0xff, 0xfc, 0xff, 0x0e, 0x00, 0x0e, 0x00, 0x18, 0x00, 0x0c, 0x00, 0x14, 0x00, 0x14, 0x00,
+0xfc, 0xff, 0xf8, 0xff, 0xe0, 0xff, 0xc4, 0xff, 0xb4, 0xff, 0xb2, 0xff, 0xc0, 0xff, 0xb8, 0xff,
+0xba, 0xff, 0xda, 0xff, 0xe8, 0xff, 0x06, 0x00, 0x22, 0x00, 0x34, 0x00, 0x38, 0x00, 0x32, 0x00,
+0x36, 0x00, 0x38, 0x00, 0x18, 0x00, 0xf8, 0xff, 0xdc, 0xff, 0xb2, 0xff, 0x9e, 0xff, 0x92, 0xff,
+0x98, 0xff, 0x9e, 0xff, 0xb0, 0xff, 0xd4, 0xff, 0xf6, 0xff, 0x1c, 0x00, 0x3e, 0x00, 0x58, 0x00,
+0x64, 0x00, 0x6e, 0x00, 0x5c, 0x00, 0x56, 0x00, 0x24, 0x00, 0xfe, 0xff, 0xcc, 0xff, 0x98, 0xff,
+0x84, 0xff, 0x6c, 0xff, 0x76, 0xff, 0x82, 0xff, 0xa2, 0xff, 0xc8, 0xff, 0xf2, 0xff, 0x26, 0x00,
+0x58, 0x00, 0x7c, 0x00, 0x86, 0x00, 0x84, 0x00, 0x78, 0x00, 0x44, 0x00, 0x20, 0x00, 0xf0, 0xff,
+0xac, 0xff, 0x76, 0xff, 0x44, 0xff, 0x3c, 0xff, 0x4c, 0xff, 0x68, 0xff, 0x94, 0xff, 0xc8, 0xff,
+0xf8, 0xff, 0x38, 0x00, 0x70, 0x00, 0x94, 0x00, 0xae, 0x00, 0xa2, 0x00, 0x88, 0x00, 0x46, 0x00,
+0x10, 0x00, 0xe2, 0xff, 0x9a, 0xff, 0x5c, 0xff, 0x36, 0xff, 0x30, 0xff, 0x3c, 0xff, 0x60, 0xff,
+0xa0, 0xff, 0xe0, 0xff, 0x12, 0x00, 0x52, 0x00, 0x8c, 0x00, 0xae, 0x00, 0xb8, 0x00, 0xae, 0x00,
+0x7e, 0x00, 0x32, 0x00, 0x00, 0x00, 0xb6, 0xff, 0x74, 0xff, 0x48, 0xff, 0x24, 0xff, 0x16, 0xff,
+0x30, 0xff, 0x60, 0xff, 0xaa, 0xff, 0xea, 0xff, 0x1a, 0x00, 0x5c, 0x00, 0x90, 0x00, 0xac, 0x00,
+0xb0, 0x00, 0xa0, 0x00, 0x64, 0x00, 0x1e, 0x00, 0xe2, 0xff, 0xa8, 0xff, 0x68, 0xff, 0x36, 0xff,
+0x1c, 0xff, 0x22, 0xff, 0x46, 0xff, 0x72, 0xff, 0xb8, 0xff, 0xf8, 0xff, 0x32, 0x00, 0x70, 0x00,
+0x9a, 0x00, 0xae, 0x00, 0xa6, 0x00, 0x8a, 0x00, 0x4c, 0x00, 0x06, 0x00, 0xe0, 0xff, 0xa6, 0xff,
+0x6e, 0xff, 0x46, 0xff, 0x30, 0xff, 0x48, 0xff, 0x64, 0xff, 0xa0, 0xff, 0xd4, 0xff, 0x0e, 0x00,
+0x40, 0x00, 0x6a, 0x00, 0x8e, 0x00, 0x9c, 0x00, 0x8a, 0x00, 0x6a, 0x00, 0x38, 0x00, 0xf8, 0xff,
+0xce, 0xff, 0x8e, 0xff, 0x76, 0xff, 0x58, 0xff, 0x4e, 0xff, 0x64, 0xff, 0x7e, 0xff, 0xac, 0xff,
+0xe4, 0xff, 0x18, 0x00, 0x40, 0x00, 0x6a, 0x00, 0x80, 0x00, 0x7e, 0x00, 0x72, 0x00, 0x54, 0x00,
+0x20, 0x00, 0xfe, 0xff, 0xd0, 0xff, 0xa2, 0xff, 0x94, 0xff, 0x80, 0xff, 0x7a, 0xff, 0x84, 0xff,
+0x9a, 0xff, 0xca, 0xff, 0xf0, 0xff, 0x1c, 0x00, 0x3c, 0x00, 0x54, 0x00, 0x62, 0x00, 0x6a, 0x00,
+0x64, 0x00, 0x46, 0x00, 0x10, 0x00, 0xfc, 0xff, 0xe0, 0xff, 0xa8, 0xff, 0xa4, 0xff, 0x94, 0xff,
+0x90, 0xff, 0x92, 0xff, 0xa4, 0xff, 0xc6, 0xff, 0xf4, 0xff, 0x10, 0x00, 0x24, 0x00, 0x30, 0x00,
+0x40, 0x00, 0x36, 0x00, 0x32, 0x00, 0x20, 0x00, 0x04, 0x00, 0xf4, 0xff, 0xdc, 0xff, 0xc6, 0xff,
+0xbc, 0xff, 0xc0, 0xff, 0xc0, 0xff, 0xc0, 0xff, 0xce, 0xff, 0xe8, 0xff, 0xf4, 0xff, 0xfc, 0xff,
+0x0a, 0x00, 0x0e, 0x00, 0x10, 0x00, 0x12, 0x00, 0x0c, 0x00, 0xfe, 0xff, 0xfa, 0xff, 0xf6, 0xff,
+0xe8, 0xff, 0xe8, 0xff, 0xee, 0xff, 0xe8, 0xff, 0xde, 0xff, 0xdc, 0xff, 0xe4, 0xff, 0xe4, 0xff,
+0xe6, 0xff, 0xec, 0xff, 0xe6, 0xff, 0xea, 0xff, 0xdc, 0xff, 0xe6, 0xff, 0xec, 0xff, 0xe8, 0xff,
+0x00, 0x00, 0x08, 0x00, 0x06, 0x00, 0x16, 0x00, 0x06, 0x00, 0x04, 0x00, 0xf6, 0xff, 0xf6, 0xff,
+0xec, 0xff, 0xda, 0xff, 0xce, 0xff, 0xba, 0xff, 0xba, 0xff, 0xc2, 0xff, 0xc0, 0xff, 0xc0, 0xff,
+0xe4, 0xff, 0xf0, 0xff, 0x04, 0x00, 0x18, 0x00, 0x2e, 0x00, 0x30, 0x00, 0x2a, 0x00, 0x2a, 0x00,
+0x1e, 0x00, 0x12, 0x00, 0xf4, 0xff, 0xdc, 0xff, 0xb6, 0xff, 0xa4, 0xff, 0xa6, 0xff, 0xa8, 0xff,
+0xaa, 0xff, 0xb2, 0xff, 0xce, 0xff, 0xf0, 0xff, 0x0e, 0x00, 0x36, 0x00, 0x46, 0x00, 0x4c, 0x00,
+0x4a, 0x00, 0x42, 0x00, 0x28, 0x00, 0x06, 0x00, 0xf0, 0xff, 0xbc, 0xff, 0x96, 0xff, 0x82, 0xff,
+0x7e, 0xff, 0x78, 0xff, 0x94, 0xff, 0xa4, 0xff, 0xd8, 0xff, 0x02, 0x00, 0x36, 0x00, 0x56, 0x00,
+0x72, 0x00, 0x7c, 0x00, 0x70, 0x00, 0x52, 0x00, 0x30, 0x00, 0x0a, 0x00, 0xdc, 0xff, 0xa2, 0xff,
+0x78, 0xff, 0x68, 0xff, 0x52, 0xff, 0x60, 0xff, 0x80, 0xff, 0xb8, 0xff, 0xee, 0xff, 0x1e, 0x00,
+0x54, 0x00, 0x7c, 0x00, 0x9e, 0x00, 0x94, 0x00, 0x8a, 0x00, 0x60, 0x00, 0x38, 0x00, 0x00, 0x00,
+0xc4, 0xff, 0x8a, 0xff, 0x52, 0xff, 0x3a, 0xff, 0x32, 0xff, 0x4c, 0xff, 0x7e, 0xff, 0xb6, 0xff,
+0xee, 0xff, 0x16, 0x00, 0x5e, 0x00, 0x96, 0x00, 0xa4, 0x00, 0xac, 0x00, 0x94, 0x00, 0x6c, 0x00,
+0x22, 0x00, 0xf4, 0xff, 0xbe, 0xff, 0x76, 0xff, 0x4a, 0xff, 0x36, 0xff, 0x2a, 0xff, 0x4a, 0xff,
+0x82, 0xff, 0xbe, 0xff, 0xf4, 0xff, 0x2c, 0x00, 0x7a, 0x00, 0xaa, 0x00, 0xb6, 0x00, 0xb2, 0x00,
+0x9e, 0x00, 0x60, 0x00, 0x1e, 0x00, 0xee, 0xff, 0xb0, 0xff, 0x72, 0xff, 0x40, 0xff, 0x22, 0xff,
+0x30, 0xff, 0x56, 0xff, 0x86, 0xff, 0xd8, 0xff, 0x0c, 0x00, 0x48, 0x00, 0x80, 0x00, 0xa2, 0x00,
+0xba, 0x00, 0xb8, 0x00, 0x82, 0x00, 0x40, 0x00, 0x04, 0x00, 0xc4, 0xff, 0x8c, 0xff, 0x4e, 0xff,
+0x2e, 0xff, 0x1e, 0xff, 0x32, 0xff, 0x5e, 0xff, 0x98, 0xff, 0xe2, 0xff, 0x18, 0x00, 0x4e, 0x00,
+0x78, 0x00, 0x9c, 0x00, 0xa8, 0x00, 0x9c, 0x00, 0x70, 0x00, 0x2a, 0x00, 0xf4, 0xff, 0xb4, 0xff,
+0x80, 0xff, 0x5c, 0xff, 0x3e, 0xff, 0x2c, 0xff, 0x5a, 0xff, 0x84, 0xff, 0xb0, 0xff, 0xee, 0xff,
+0x2a, 0x00, 0x5e, 0x00, 0x78, 0x00, 0x92, 0x00, 0x8e, 0x00, 0x82, 0x00, 0x48, 0x00, 0x14, 0x00,
+0xe0, 0xff, 0xb0, 0xff, 0x86, 0xff, 0x5a, 0xff, 0x4c, 0xff, 0x4e, 0xff, 0x6e, 0xff, 0x86, 0xff,
+0xca, 0xff, 0xfc, 0xff, 0x1e, 0x00, 0x52, 0x00, 0x66, 0x00, 0x76, 0x00, 0x62, 0x00, 0x56, 0x00,
+0x38, 0x00, 0x06, 0x00, 0xe2, 0xff, 0xbc, 0xff, 0x98, 0xff, 0x82, 0xff, 0x6e, 0xff, 0x7c, 0xff,
+0x90, 0xff, 0xb4, 0xff, 0xea, 0xff, 0x00, 0x00, 0x20, 0x00, 0x3a, 0x00, 0x4c, 0x00, 0x60, 0x00,
+0x52, 0x00, 0x4c, 0x00, 0x28, 0x00, 0xfe, 0xff, 0xee, 0xff, 0xce, 0xff, 0xbc, 0xff, 0xae, 0xff,
+0xae, 0xff, 0xaa, 0xff, 0xba, 0xff, 0xd0, 0xff, 0xee, 0xff, 0xfe, 0xff, 0x06, 0x00, 0x22, 0x00,
+0x1e, 0x00, 0x2a, 0x00, 0x22, 0x00, 0x1e, 0x00, 0x08, 0x00, 0xfe, 0xff, 0xf0, 0xff, 0xe0, 0xff,
+0xe2, 0xff, 0xdc, 0xff, 0xd8, 0xff, 0xcc, 0xff, 0xd6, 0xff, 0xe0, 0xff, 0xee, 0xff, 0xfa, 0xff,
+0xfa, 0xff, 0xfc, 0xff, 0xf8, 0xff, 0x06, 0x00, 0x04, 0x00, 0x00, 0x00, 0x02, 0x00, 0xfe, 0xff,
+0x0a, 0x00, 0x04, 0x00, 0xfc, 0xff, 0x0a, 0x00, 0xfe, 0xff, 0xfe, 0xff, 0xfe, 0xff, 0xee, 0xff,
+0xea, 0xff, 0xe8, 0xff, 0xe0, 0xff, 0xda, 0xff, 0xde, 0xff, 0xe0, 0xff, 0xde, 0xff, 0xee, 0xff,
+0xf6, 0xff, 0xf4, 0xff, 0x0c, 0x00, 0x1a, 0x00, 0x1a, 0x00, 0x1a, 0x00, 0x20, 0x00, 0x14, 0x00,
+0x02, 0x00, 0xde, 0xff, 0xc4, 0xff, 0xb6, 0xff, 0xaa, 0xff, 0xa4, 0xff, 0xa8, 0xff, 0xb6, 0xff,
+0xbc, 0xff, 0xdc, 0xff, 0xf0, 0xff, 0x0a, 0x00, 0x2c, 0x00, 0x3e, 0x00, 0x4c, 0x00, 0x44, 0x00,
+0x3c, 0x00, 0x1e, 0x00, 0xf6, 0xff, 0xdc, 0xff, 0xb6, 0xff, 0x94, 0xff, 0x8c, 0xff, 0x82, 0xff,
+0x8c, 0xff, 0x96, 0xff, 0xb6, 0xff, 0xea, 0xff, 0x06, 0x00, 0x34, 0x00, 0x52, 0x00, 0x68, 0x00,
+0x76, 0x00, 0x5a, 0x00, 0x52, 0x00, 0x26, 0x00, 0xf8, 0xff, 0xce, 0xff, 0x98, 0xff, 0x80, 0xff,
+0x62, 0xff, 0x5a, 0xff, 0x66, 0xff, 0x8e, 0xff, 0xba, 0xff, 0xe6, 0xff, 0x10, 0x00, 0x52, 0x00,
+0x70, 0x00, 0x8c, 0x00, 0x96, 0x00, 0x70, 0x00, 0x54, 0x00, 0x28, 0x00, 0xf0, 0xff, 0xb6, 0xff,
+0x86, 0xff, 0x64, 0xff, 0x48, 0xff, 0x4c, 0xff, 0x62, 0xff, 0x92, 0xff, 0xbc, 0xff, 0xfc, 0xff,
+0x3e, 0x00, 0x74, 0x00, 0x9c, 0x00, 0xb0, 0x00, 0xac, 0x00, 0x8c, 0x00, 0x50, 0x00, 0x1c, 0x00,
+0xec, 0xff, 0xb2, 0xff, 0x82, 0xff, 0x46, 0xff, 0x34, 0xff, 0x4c, 0xff, 0x5e, 0xff, 0xa2, 0xff,
+0xd2, 0xff, 0x12, 0x00, 0x52, 0x00, 0x88, 0x00, 0xb0, 0x00, 0xb6, 0x00, 0xac, 0x00, 0x78, 0x00,
+0x48, 0x00, 0x06, 0x00, 0xdc, 0xff, 0x9a, 0xff, 0x56, 0xff, 0x2c, 0xff, 0x26, 0xff, 0x48, 0xff,
+0x5e, 0xff, 0xae, 0xff, 0xee, 0xff, 0x16, 0x00, 0x5e, 0x00, 0x94, 0x00, 0xb8, 0x00, 0xb0, 0x00,
+0xa4, 0x00, 0x78, 0x00, 0x38, 0x00, 0x04, 0x00, 0xc0, 0xff, 0x86, 0xff, 0x54, 0xff, 0x32, 0xff,
+0x2a, 0xff, 0x4c, 0xff, 0x7c, 0xff, 0xba, 0xff, 0xfe, 0xff, 0x2a, 0x00, 0x6c, 0x00, 0x96, 0x00,
+0xb0, 0x00, 0xac, 0x00, 0x98, 0x00, 0x68, 0x00, 0x1e, 0x00, 0xe6, 0xff, 0xba, 0xff, 0x76, 0xff,
+0x44, 0xff, 0x2a, 0xff, 0x24, 0xff, 0x4e, 0xff, 0x84, 0xff, 0xc8, 0xff, 0x02, 0x00, 0x32, 0x00,
+0x62, 0x00, 0x8c, 0x00, 0x96, 0x00, 0x96, 0x00, 0x7a, 0x00, 0x44, 0x00, 0x12, 0x00, 0xde, 0xff,
+0xa2, 0xff, 0x70, 0xff, 0x4e, 0xff, 0x42, 0xff, 0x42, 0xff, 0x70, 0xff, 0xa4, 0xff, 0xe0, 0xff,
+0x16, 0x00, 0x3a, 0x00, 0x64, 0x00, 0x74, 0x00, 0x8e, 0x00, 0x7e, 0x00, 0x5c, 0x00, 0x32, 0x00,
+0x02, 0x00, 0xe2, 0xff, 0xa4, 0xff, 0x84, 0xff, 0x70, 0xff, 0x62, 0xff, 0x78, 0xff, 0x8a, 0xff,
+0xae, 0xff, 0xe4, 0xff, 0x10, 0x00, 0x34, 0x00, 0x4a, 0x00, 0x58, 0x00, 0x60, 0x00, 0x4e, 0x00,
+0x40, 0x00, 0x1a, 0x00, 0xf6, 0xff, 0xde, 0xff, 0xa8, 0xff, 0x9c, 0xff, 0x9a, 0xff, 0x8e, 0xff,
+0x9a, 0xff, 0xa4, 0xff, 0xc8, 0xff, 0xec, 0xff, 0x08, 0x00, 0x28, 0x00, 0x2e, 0x00, 0x34, 0x00,
+0x34, 0x00, 0x3c, 0x00, 0x30, 0x00, 0x14, 0x00, 0x00, 0x00, 0xf0, 0xff, 0xd2, 0xff, 0xd4, 0xff,
+0xd0, 0xff, 0xc2, 0xff, 0xcc, 0xff, 0xcc, 0xff, 0xdc, 0xff, 0xee, 0xff, 0xfc, 0xff, 0x04, 0x00,
+0x0c, 0x00, 0x12, 0x00, 0x16, 0x00, 0x1a, 0x00, 0x16, 0x00, 0x0a, 0x00, 0xfc, 0xff, 0xfa, 0xff,
+0xf0, 0xff, 0xe8, 0xff, 0xee, 0xff, 0xe6, 0xff, 0xe0, 0xff, 0xd2, 0xff, 0xda, 0xff, 0xe2, 0xff,
+0xdc, 0xff, 0xde, 0xff, 0xe4, 0xff, 0xee, 0xff, 0xf8, 0xff, 0xfe, 0xff, 0x02, 0x00, 0x06, 0x00,
+0x0e, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x08, 0x00, 0x04, 0x00, 0xfe, 0xff, 0xf8, 0xff, 0xf0, 0xff,
+0xe2, 0xff, 0xd2, 0xff, 0xc2, 0xff, 0xbe, 0xff, 0xcc, 0xff, 0xd2, 0xff, 0xde, 0xff, 0xf0, 0xff,
+0xfc, 0xff, 0x10, 0x00, 0x16, 0x00, 0x2a, 0x00, 0x32, 0x00, 0x1a, 0x00, 0x1c, 0x00, 0x16, 0x00,
+0x00, 0x00, 0xf0, 0xff, 0xd0, 0xff, 0xb0, 0xff, 0x98, 0xff, 0x9a, 0xff, 0x9e, 0xff, 0xa0, 0xff,
+0xb8, 0xff, 0xd4, 0xff, 0xee, 0xff, 0x0e, 0x00, 0x2c, 0x00, 0x42, 0x00, 0x4a, 0x00, 0x48, 0x00,
+0x3a, 0x00, 0x28, 0x00, 0x08, 0x00, 0xe0, 0xff, 0xc6, 0xff, 0x92, 0xff, 0x78, 0xff, 0x6e, 0xff,
+0x76, 0xff, 0x88, 0xff, 0xa0, 0xff, 0xd6, 0xff, 0xfe, 0xff, 0x2e, 0x00, 0x54, 0x00, 0x64, 0x00,
+0x7c, 0x00, 0x78, 0x00, 0x5c, 0x00, 0x3e, 0x00, 0x10, 0x00, 0xde, 0xff, 0xaa, 0xff, 0x7e, 0xff,
+0x56, 0xff, 0x44, 0xff, 0x5e, 0xff, 0x82, 0xff, 0xa2, 0xff, 0xd6, 0xff, 0x06, 0x00, 0x42, 0x00,
+0x6e, 0x00, 0x90, 0x00, 0x9c, 0x00, 0x86, 0x00, 0x6a, 0x00, 0x36, 0x00, 0x02, 0x00, 0xcc, 0xff,
+0x8c, 0xff, 0x5a, 0xff, 0x40, 0xff, 0x40, 0xff, 0x50, 0xff, 0x78, 0xff, 0xb0, 0xff, 0xee, 0xff,
+0x24, 0x00, 0x56, 0x00, 0x84, 0x00, 0x9e, 0x00, 0xb2, 0x00, 0x96, 0x00, 0x72, 0x00, 0x2e, 0x00,
+0xfa, 0xff, 0xc4, 0xff, 0x80, 0xff, 0x5a, 0xff, 0x38, 0xff, 0x40, 0xff, 0x58, 0xff, 0x7e, 0xff,
+0xce, 0xff, 0xf0, 0xff, 0x26, 0x00, 0x6a, 0x00, 0x92, 0x00, 0xb2, 0x00, 0xaa, 0x00, 0x9a, 0x00,
+0x62, 0x00, 0x20, 0x00, 0xf8, 0xff, 0xb6, 0xff, 0x76, 0xff, 0x4a, 0xff, 0x2a, 0xff, 0x3a, 0xff,
+0x5c, 0xff, 0x8c, 0xff, 0xcc, 0xff, 0xfa, 0xff, 0x32, 0x00, 0x6e, 0x00, 0x96, 0x00, 0xba, 0x00,
+0x9c, 0x00, 0x86, 0x00, 0x5a, 0x00, 0x10, 0x00, 0xe0, 0xff, 0x98, 0xff, 0x60, 0xff, 0x44, 0xff,
+0x2c, 0xff, 0x3e, 0xff, 0x5c, 0xff, 0x96, 0xff, 0xda, 0xff, 0x10, 0x00, 0x4a, 0x00, 0x7e, 0x00,
+0xae, 0x00, 0xb8, 0x00, 0xaa, 0x00, 0x76, 0x00, 0x44, 0x00, 0xfc, 0xff, 0xc2, 0xff, 0x96, 0xff,
+0x56, 0xff, 0x44, 0xff, 0x34, 0xff, 0x50, 0xff, 0x72, 0xff, 0xa8, 0xff, 0xe4, 0xff, 0x1a, 0x00,
+0x56, 0x00, 0x88, 0x00, 0x9a, 0x00, 0x94, 0x00, 0x80, 0x00, 0x48, 0x00, 0x1c, 0x00, 0xf0, 0xff,
+0xac, 0xff, 0x82, 0xff, 0x68, 0xff, 0x50, 0xff, 0x58, 0xff, 0x6c, 0xff, 0x90, 0xff, 0xba, 0xff,
+0xf4, 0xff, 0x22, 0x00, 0x46, 0x00, 0x62, 0x00, 0x72, 0x00, 0x6c, 0x00, 0x50, 0x00, 0x40, 0x00,
+0x02, 0x00, 0xe8, 0xff, 0xc4, 0xff, 0x96, 0xff, 0x90, 0xff, 0x8e, 0xff, 0x86, 0xff, 0x92, 0xff,
+0xb6, 0xff, 0xdc, 0xff, 0x04, 0x00, 0x20, 0x00, 0x3e, 0x00, 0x42, 0x00, 0x42, 0x00, 0x42, 0x00,
+0x36, 0x00, 0x16, 0x00, 0xf8, 0xff, 0xdc, 0xff, 0xcc, 0xff, 0xba, 0xff, 0xae, 0xff, 0xa6, 0xff,
+0xa2, 0xff, 0xb6, 0xff, 0xd2, 0xff, 0xea, 0xff, 0xfc, 0xff, 0x00, 0x00, 0x16, 0x00, 0x0e, 0x00,
+0x1a, 0x00, 0x20, 0x00, 0x06, 0x00, 0x0a, 0x00, 0xf2, 0xff, 0xe4, 0xff, 0xe4, 0xff, 0xcc, 0xff,
+0xd6, 0xff, 0xe0, 0xff, 0xd0, 0xff, 0xde, 0xff, 0xec, 0xff, 0xf4, 0xff, 0xfa, 0xff, 0x00, 0x00,
+0x04, 0x00, 0xfc, 0xff, 0xfe, 0xff, 0x02, 0x00, 0x00, 0x00, 0xfc, 0xff, 0xfc, 0xff, 0x04, 0x00,
+0x00, 0x00, 0xf8, 0xff, 0x00, 0x00, 0x04, 0x00, 0xfc, 0xff, 0xfe, 0xff, 0xf6, 0xff, 0xe4, 0xff,
+0xe4, 0xff, 0xd0, 0xff, 0xd6, 0xff, 0xe0, 0xff, 0xc6, 0xff, 0xe8, 0xff, 0xe8, 0xff, 0xec, 0xff,
+0x00, 0x00, 0x0a, 0x00, 0x22, 0x00, 0x1e, 0x00, 0x1c, 0x00, 0x18, 0x00, 0x0c, 0x00, 0xfe, 0xff,
+0xec, 0xff, 0xd4, 0xff, 0xb8, 0xff, 0xac, 0xff, 0xaa, 0xff, 0xb4, 0xff, 0xb6, 0xff, 0xc6, 0xff,
+0xe0, 0xff, 0xf8, 0xff, 0x0e, 0x00, 0x2e, 0x00, 0x4e, 0x00, 0x4e, 0x00, 0x40, 0x00, 0x3e, 0x00,
+0x16, 0x00, 0xfe, 0xff, 0xe8, 0xff, 0xbe, 0xff, 0xa2, 0xff, 0x8c, 0xff, 0x86, 0xff, 0x8a, 0xff,
+0xa4, 0xff, 0xc0, 0xff, 0xe6, 0xff, 0x0c, 0x00, 0x34, 0x00, 0x5c, 0x00, 0x6a, 0x00, 0x72, 0x00,
+0x62, 0x00, 0x48, 0x00, 0x20, 0x00, 0xea, 0xff, 0xc4, 0xff, 0x90, 0xff, 0x68, 0xff, 0x56, 0xff,
+0x5c, 0xff, 0x62, 0xff, 0x80, 0xff, 0xae, 0xff, 0xec, 0xff, 0x1a, 0x00, 0x52, 0x00, 0x7c, 0x00,
+0x8c, 0x00, 0x96, 0x00, 0x74, 0x00, 0x56, 0x00, 0x26, 0x00, 0xf0, 0xff, 0xba, 0xff, 0x82, 0xff,
+0x54, 0xff, 0x42, 0xff, 0x3a, 0xff, 0x58, 0xff, 0x8c, 0xff, 0xc0, 0xff, 0xfe, 0xff, 0x30, 0x00,
+0x70, 0x00, 0x96, 0x00, 0xae, 0x00, 0xae, 0x00, 0x94, 0x00, 0x60, 0x00, 0x26, 0x00, 0xe2, 0xff,
+0xa8, 0xff, 0x70, 0xff, 0x44, 0xff, 0x30, 0xff, 0x30, 0xff, 0x4a, 0xff, 0x80, 0xff, 0xc2, 0xff,
+0xfc, 0xff, 0x3e, 0x00, 0x76, 0x00, 0x9a, 0x00, 0xb6, 0x00, 0xac, 0x00, 0x8e, 0x00, 0x4e, 0x00,
+0x0c, 0x00, 0xda, 0xff, 0x9c, 0xff, 0x5c, 0xff, 0x3a, 0xff, 0x20, 0xff, 0x32, 0xff, 0x5e, 0xff,
+0x94, 0xff, 0xe4, 0xff, 0x00, 0x00, 0x52, 0x00, 0x90, 0x00, 0xbe, 0x00, 0xc8, 0x00, 0xb0, 0x00,
+0x84, 0x00, 0x4c, 0x00, 0x0a, 0x00, 0xd4, 0xff, 0x9c, 0xff, 0x58, 0xff, 0x36, 0xff, 0x26, 0xff,
+0x42, 0xff, 0x68, 0xff, 0xb4, 0xff, 0xe8, 0xff, 0x22, 0x00, 0x6a, 0x00, 0x96, 0x00, 0xbc, 0x00,
+0xb2, 0x00, 0x96, 0x00, 0x6c, 0x00, 0x30, 0x00, 0xf0, 0xff, 0xb8, 0xff, 0x88, 0xff, 0x50, 0xff,
+0x34, 0xff, 0x36, 0xff, 0x4c, 0xff, 0x82, 0xff, 0xc4, 0xff, 0x00, 0x00, 0x2c, 0x00, 0x66, 0x00,
+0x8c, 0x00, 0xa4, 0x00, 0x98, 0x00, 0x74, 0x00, 0x5a, 0x00, 0x1a, 0x00, 0xec, 0xff, 0xb8, 0xff,
+0x82, 0xff, 0x64, 0xff, 0x4e, 0xff, 0x5a, 0xff, 0x7c, 0xff, 0x98, 0xff, 0xd4, 0xff, 0x08, 0x00,
+0x38, 0x00, 0x68, 0x00, 0x7a, 0x00, 0x84, 0x00, 0x76, 0x00, 0x64, 0x00, 0x36, 0x00, 0x18, 0x00,
+0xe6, 0xff, 0xb2, 0xff, 0x92, 0xff, 0x6a, 0xff, 0x66, 0xff, 0x6c, 0xff, 0x82, 0xff, 0xb8, 0xff,
+0xe8, 0xff, 0xfc, 0xff, 0x26, 0x00, 0x40, 0x00, 0x4e, 0x00, 0x5a, 0x00, 0x60, 0x00, 0x44, 0x00,
+0x1c, 0x00, 0xfa, 0xff, 0xde, 0xff, 0xaa, 0xff, 0x94, 0xff, 0x94, 0xff, 0x84, 0xff, 0x92, 0xff,
+0x9e, 0xff, 0xd4, 0xff, 0xe8, 0xff, 0xf8, 0xff, 0x14, 0x00, 0x2c, 0x00, 0x38, 0x00, 0x36, 0x00,
+0x3c, 0x00, 0x30, 0x00, 0x1a, 0x00, 0xf8, 0xff, 0xea, 0xff, 0xc4, 0xff, 0xb8, 0xff, 0xc2, 0xff,
+0xae, 0xff, 0xb8, 0xff, 0xbe, 0xff, 0xd6, 0xff, 0xea, 0xff, 0xf6, 0xff, 0x00, 0x00, 0x08, 0x00,
+0x12, 0x00, 0x18, 0x00, 0x1e, 0x00, 0x14, 0x00, 0xfe, 0xff, 0xf6, 0xff, 0xf2, 0xff, 0xda, 0xff,
+0xe2, 0xff, 0xde, 0xff, 0xd4, 0xff, 0xe0, 0xff, 0xda, 0xff, 0xdc, 0xff, 0xdc, 0xff, 0xe4, 0xff,
+0xea, 0xff, 0xfa, 0xff, 0xfe, 0xff, 0xf8, 0xff, 0xf8, 0xff, 0xfc, 0xff, 0x06, 0x00, 0x08, 0x00,
+0x14, 0x00, 0x14, 0x00, 0x0a, 0x00, 0x04, 0x00, 0x08, 0x00, 0xfc, 0xff, 0xee, 0xff, 0xe4, 0xff,
+0xde, 0xff, 0xce, 0xff, 0xc6, 0xff, 0xd2, 0xff, 0xd6, 0xff, 0xdc, 0xff, 0xf0, 0xff, 0xfa, 0xff,
+0x0e, 0x00, 0x1c, 0x00, 0x2a, 0x00, 0x36, 0x00, 0x24, 0x00, 0x28, 0x00, 0x22, 0x00, 0xfc, 0xff,
+0xf0, 0xff, 0xda, 0xff, 0xc0, 0xff, 0xaa, 0xff, 0x98, 0xff, 0xa4, 0xff, 0xb0, 0xff, 0xb8, 0xff,
+0xd4, 0xff, 0xf2, 0xff, 0x06, 0x00, 0x36, 0x00, 0x52, 0x00, 0x4e, 0x00, 0x54, 0x00, 0x4c, 0x00,
+0x3a, 0x00, 0x12, 0x00, 0xf0, 0xff, 0xc4, 0xff, 0xa0, 0xff, 0x90, 0xff, 0x80, 0xff, 0x7a, 0xff,
+0x8a, 0xff, 0xa6, 0xff, 0xd4, 0xff, 0xf6, 0xff, 0x1e, 0x00, 0x52, 0x00, 0x62, 0x00, 0x76, 0x00,
+0x7a, 0x00, 0x5e, 0x00, 0x3e, 0x00, 0x08, 0x00, 0xe4, 0xff, 0xb4, 0xff, 0x86, 0xff, 0x64, 0xff,
+0x56, 0xff, 0x54, 0xff, 0x74, 0xff, 0xa0, 0xff, 0xc8, 0xff, 0x02, 0x00, 0x2a, 0x00, 0x62, 0x00,
+0x7e, 0x00, 0x88, 0x00, 0x82, 0x00, 0x64, 0x00, 0x32, 0x00, 0x00, 0x00, 0xce, 0xff, 0x94, 0xff,
+0x5e, 0xff, 0x4a, 0xff, 0x3c, 0xff, 0x4c, 0xff, 0x70, 0xff, 0xaa, 0xff, 0xda, 0xff, 0x0a, 0x00,
+0x48, 0x00, 0x84, 0x00, 0x98, 0x00, 0xa8, 0x00, 0xa0, 0x00, 0x68, 0x00, 0x2e, 0x00, 0xf0, 0xff,
+0xb8, 0xff, 0x7e, 0xff, 0x4e, 0xff, 0x34, 0xff, 0x28, 0xff, 0x3e, 0xff, 0x6e, 0xff, 0xa0, 0xff,
+0xea, 0xff, 0x1e, 0x00, 0x66, 0x00, 0x9e, 0x00, 0xae, 0x00, 0xb4, 0x00, 0x96, 0x00, 0x6a, 0x00,
+0x1e, 0x00, 0xe6, 0xff, 0xb4, 0xff, 0x78, 0xff, 0x40, 0xff, 0x16, 0xff, 0x20, 0xff, 0x42, 0xff,
+0x7c, 0xff, 0xc2, 0xff, 0xfe, 0xff, 0x2a, 0x00, 0x78, 0x00, 0xa4, 0x00, 0xba, 0x00, 0xb8, 0x00,
+0x92, 0x00, 0x66, 0x00, 0x10, 0x00, 0xdc, 0xff, 0xa4, 0xff, 0x64, 0xff, 0x4c, 0xff, 0x30, 0xff,
+0x3a, 0xff, 0x62, 0xff, 0x90, 0xff, 0xe0, 0xff, 0x14, 0x00, 0x46, 0x00, 0x84, 0x00, 0xa4, 0x00,
+0xba, 0x00, 0xac, 0x00, 0x7c, 0x00, 0x48, 0x00, 0x06, 0x00, 0xc8, 0xff, 0xa4, 0xff, 0x66, 0xff,
+0x56, 0xff, 0x44, 0xff, 0x48, 0xff, 0x72, 0xff, 0xaa, 0xff, 0xe8, 0xff, 0x22, 0x00, 0x46, 0x00,
+0x78, 0x00, 0x90, 0x00, 0x92, 0x00, 0x8a, 0x00, 0x60, 0x00, 0x32, 0x00, 0xf8, 0xff, 0xce, 0xff,
+0x9a, 0xff, 0x78, 0xff, 0x62, 0xff, 0x5e, 0xff, 0x72, 0xff, 0x88, 0xff, 0xc0, 0xff, 0xf2, 0xff,
+0x16, 0x00, 0x56, 0x00, 0x5e, 0x00, 0x70, 0x00, 0x76, 0x00, 0x5e, 0x00, 0x4e, 0x00, 0x1a, 0x00,
+0xf4, 0xff, 0xce, 0xff, 0x98, 0xff, 0x94, 0xff, 0x86, 0xff, 0x88, 0xff, 0x8c, 0xff, 0xa6, 0xff,
+0xcc, 0xff, 0xec, 0xff, 0x12, 0x00, 0x2e, 0x00, 0x38, 0x00, 0x44, 0x00, 0x3e, 0x00, 0x32, 0x00,
+0x22, 0x00, 0x04, 0x00, 0xe8, 0xff, 0xcc, 0xff, 0xb6, 0xff, 0xa6, 0xff, 0xaa, 0xff, 0xa6, 0xff,
+0xa8, 0xff, 0xbe, 0xff, 0xd6, 0xff, 0xf6, 0xff, 0x02, 0x00, 0x10, 0x00, 0x14, 0x00, 0x12, 0x00,
+0x14, 0x00, 0x12, 0x00, 0x00, 0x00, 0xf8, 0xff, 0xec, 0xff, 0xec, 0xff, 0xd4, 0xff, 0xc8, 0xff,
+0xd4, 0xff, 0xcc, 0xff, 0xcc, 0xff, 0xd8, 0xff, 0xea, 0xff, 0xf0, 0xff, 0xea, 0xff, 0xee, 0xff,
+0xf6, 0xff, 0xf6, 0xff, 0x00, 0x00, 0xfa, 0xff, 0xfa, 0xff, 0xfa, 0xff, 0xfe, 0xff, 0x00, 0x00,
+0xf4, 0xff, 0xf8, 0xff, 0xf6, 0xff, 0xf8, 0xff, 0xea, 0xff, 0xe4, 0xff, 0xe6, 0xff, 0xd2, 0xff,
+0xd8, 0xff, 0xca, 0xff, 0xda, 0xff, 0xda, 0xff, 0xea, 0xff, 0xf2, 0xff, 0xee, 0xff, 0x08, 0x00,
+0x0a, 0x00, 0x2a, 0x00, 0x20, 0x00, 0x14, 0x00, 0x12, 0x00, 0x06, 0x00, 0x06, 0x00, 0xf6, 0xff,
+0xe2, 0xff, 0xca, 0xff, 0xba, 0xff, 0xb4, 0xff, 0xb8, 0xff, 0xc0, 0xff, 0xc6, 0xff, 0xe6, 0xff,
+0x00, 0x00, 0x12, 0x00, 0x2c, 0x00, 0x42, 0x00, 0x4a, 0x00, 0x46, 0x00, 0x46, 0x00, 0x30, 0x00,
+0x14, 0x00, 0xfa, 0xff, 0xd0, 0xff, 0x9e, 0xff, 0x9c, 0xff, 0x92, 0xff, 0x96, 0xff, 0xa6, 0xff,
+0xb4, 0xff, 0xda, 0xff, 0xfc, 0xff, 0x34, 0x00, 0x54, 0x00, 0x64, 0x00, 0x64, 0x00, 0x64, 0x00,
+0x5a, 0x00, 0x34, 0x00, 0x08, 0x00, 0xe2, 0xff, 0xac, 0xff, 0x82, 0xff, 0x78, 0xff, 0x5c, 0xff,
+0x74, 0xff, 0x8c, 0xff, 0xaa, 0xff, 0xea, 0xff, 0x16, 0x00, 0x4c, 0x00, 0x6a, 0x00, 0x80, 0x00,
+0x8e, 0x00, 0x8a, 0x00, 0x66, 0x00, 0x30, 0x00, 0x02, 0x00, 0xce, 0xff, 0x92, 0xff, 0x68, 0xff,
+0x40, 0xff, 0x42, 0xff, 0x54, 0xff, 0x7e, 0xff, 0xb2, 0xff, 0xee, 0xff, 0x2a, 0x00, 0x5c, 0x00,
+0x8a, 0x00, 0xa2, 0x00, 0xa6, 0x00, 0x8c, 0x00, 0x6c, 0x00, 0x24, 0x00, 0xea, 0xff, 0xb6, 0xff,
+0x70, 0xff, 0x4a, 0xff, 0x28, 0xff, 0x1a, 0xff, 0x4a, 0xff, 0x76, 0xff, 0xbe, 0xff, 0x00, 0x00,
+0x20, 0x00, 0x60, 0x00, 0x8c, 0x00, 0xa6, 0x00, 0xb0, 0x00, 0x8a, 0x00, 0x4c, 0x00, 0x08, 0x00,
+0xd8, 0xff, 0x9a, 0xff, 0x58, 0xff, 0x3c, 0xff, 0x1e, 0xff, 0x26, 0xff, 0x5e, 0xff, 0x8c, 0xff,
+0xd6, 0xff, 0x04, 0x00, 0x34, 0x00, 0x7c, 0x00, 0xa4, 0x00, 0xac, 0x00, 0xa8, 0x00, 0x78, 0x00,
+0x38, 0x00, 0x04, 0x00, 0xca, 0xff, 0x92, 0xff, 0x4e, 0xff, 0x2c, 0xff, 0x2e, 0xff, 0x48, 0xff,
+0x6a, 0xff, 0xa0, 0xff, 0xe2, 0xff, 0x18, 0x00, 0x44, 0x00, 0x7c, 0x00, 0x9a, 0x00, 0xa0, 0x00,
+0x9c, 0x00, 0x5e, 0x00, 0x20, 0x00, 0xf4, 0xff, 0xaa, 0xff, 0x88, 0xff, 0x60, 0xff, 0x3e, 0xff,
+0x44, 0xff, 0x50, 0xff, 0x7c, 0xff, 0xba, 0xff, 0xf8, 0xff, 0x2a, 0x00, 0x56, 0x00, 0x80, 0x00,
+0x9a, 0x00, 0x8e, 0x00, 0x7e, 0x00, 0x5c, 0x00, 0x2a, 0x00, 0xf6, 0xff, 0xba, 0xff, 0x86, 0xff,
+0x68, 0xff, 0x5e, 0xff, 0x68, 0xff, 0x86, 0xff, 0xa2, 0xff, 0xda, 0xff, 0x02, 0x00, 0x36, 0x00,
+0x66, 0x00, 0x72, 0x00, 0x8c, 0x00, 0x82, 0x00, 0x62, 0x00, 0x46, 0x00, 0x0c, 0x00, 0xe4, 0xff,
+0xae, 0xff, 0x8e, 0xff, 0x80, 0xff, 0x7a, 0xff, 0x84, 0xff, 0x94, 0xff, 0xb0, 0xff, 0xe0, 0xff,
+0x0c, 0x00, 0x2e, 0x00, 0x4c, 0x00, 0x56, 0x00, 0x66, 0x00, 0x5a, 0x00, 0x4e, 0x00, 0x28, 0x00,
+0xf6, 0xff, 0xe6, 0xff, 0xb0, 0xff, 0xa0, 0xff, 0xa2, 0xff, 0x92, 0xff, 0x9c, 0xff, 0xb6, 0xff,
+0xca, 0xff, 0xee, 0xff, 0x06, 0x00, 0x20, 0x00, 0x36, 0x00, 0x3a, 0x00, 0x4e, 0x00, 0x40, 0x00,
+0x24, 0x00, 0x08, 0x00, 0xf4, 0xff, 0xd8, 0xff, 0xca, 0xff, 0xba, 0xff, 0xc0, 0xff, 0xb4, 0xff,
+0xbe, 0xff, 0xca, 0xff, 0xcc, 0xff, 0xea, 0xff, 0xf6, 0xff, 0x00, 0x00, 0x14, 0x00, 0x0e, 0x00,
+0xfc, 0xff, 0xfe, 0xff, 0xfa, 0xff, 0xee, 0xff, 0xe8, 0xff, 0xec, 0xff, 0xd4, 0xff, 0xe4, 0xff,
+0xdc, 0xff, 0xda, 0xff, 0xe8, 0xff, 0xe0, 0xff, 0xe2, 0xff, 0xda, 0xff, 0xd8, 0xff, 0xe6, 0xff,
+0xe4, 0xff, 0xda, 0xff, 0xe4, 0xff, 0xde, 0xff, 0xdc, 0xff, 0xea, 0xff, 0x02, 0x00, 0x0e, 0x00,
+0x14, 0x00, 0x18, 0x00, 0x14, 0x00, 0x10, 0x00, 0x00, 0x00, 0xf6, 0xff, 0xe8, 0xff, 0xde, 0xff,
+0xbc, 0xff, 0xaa, 0xff, 0xae, 0xff, 0xae, 0xff, 0xb4, 0xff, 0xce, 0xff, 0xdc, 0xff, 0xee, 0xff,
+0x10, 0x00, 0x22, 0x00, 0x38, 0x00, 0x3a, 0x00, 0x30, 0x00, 0x2c, 0x00, 0x1a, 0x00, 0xf4, 0xff,
+0xdc, 0xff, 0xbe, 0xff, 0xa4, 0xff, 0x98, 0xff, 0x8c, 0xff, 0x98, 0xff, 0xa6, 0xff, 0xba, 0xff,
+0xe6, 0xff, 0xfe, 0xff, 0x20, 0x00, 0x4a, 0x00, 0x62, 0x00, 0x6a, 0x00, 0x4e, 0x00, 0x44, 0x00,
+0x2a, 0x00, 0x00, 0x00, 0xde, 0xff, 0xaa, 0xff, 0x84, 0xff, 0x84, 0xff, 0x7a, 0xff, 0x7c, 0xff,
+0x9e, 0xff, 0xc4, 0xff, 0xe4, 0xff, 0x14, 0x00, 0x48, 0x00, 0x6e, 0x00, 0x8a, 0x00, 0x7c, 0x00,
+0x64, 0x00, 0x50, 0x00, 0x24, 0x00, 0xf6, 0xff, 0xb2, 0xff, 0x8a, 0xff, 0x6e, 0xff, 0x56, 0xff,
+0x58, 0xff, 0x68, 0xff, 0x92, 0xff, 0xb6, 0xff, 0xfe, 0xff, 0x2e, 0x00, 0x5a, 0x00, 0x86, 0x00,
+0x98, 0x00, 0x90, 0x00, 0x6e, 0x00, 0x40, 0x00, 0x10, 0x00, 0xe8, 0xff, 0xb0, 0xff, 0x78, 0xff,
+0x5a, 0xff, 0x48, 0xff, 0x42, 0xff, 0x5c, 0xff, 0xac, 0xff, 0xe4, 0xff, 0x0e, 0x00, 0x4a, 0x00,
+0x78, 0x00, 0xa2, 0x00, 0xac, 0x00, 0xa0, 0x00, 0x7a, 0x00, 0x30, 0x00, 0x02, 0x00, 0xdc, 0xff,
+0x8e, 0xff, 0x58, 0xff, 0x40, 0xff, 0x26, 0xff, 0x4a, 0xff, 0x72, 0xff, 0xa8, 0xff, 0xee, 0xff,
+0x1c, 0x00, 0x58, 0x00, 0x8e, 0x00, 0xae, 0x00, 0xa4, 0x00, 0x8c, 0x00, 0x5e, 0x00, 0x2c, 0x00,
+0xee, 0xff, 0xba, 0xff, 0x6e, 0xff, 0x40, 0xff, 0x2c, 0xff, 0x28, 0xff, 0x4c, 0xff, 0x76, 0xff,
+0xc4, 0xff, 0xf6, 0xff, 0x26, 0x00, 0x68, 0x00, 0x96, 0x00, 0xb4, 0x00, 0xa8, 0x00, 0x8a, 0x00,
+0x56, 0x00, 0x1a, 0x00, 0xe4, 0xff, 0xae, 0xff, 0x74, 0xff, 0x44, 0xff, 0x36, 0xff, 0x3e, 0xff,
+0x5c, 0xff, 0x84, 0xff, 0xc6, 0xff, 0x06, 0x00, 0x32, 0x00, 0x6a, 0x00, 0x88, 0x00, 0xa4, 0x00,
+0x96, 0x00, 0x6c, 0x00, 0x44, 0x00, 0x10, 0x00, 0xd2, 0xff, 0x9e, 0xff, 0x70, 0xff, 0x4e, 0xff,
+0x46, 0xff, 0x48, 0xff, 0x66, 0xff, 0x98, 0xff, 0xd4, 0xff, 0x0a, 0x00, 0x48, 0x00, 0x64, 0x00,
+0x7c, 0x00, 0x8a, 0x00, 0x74, 0x00, 0x5e, 0x00, 0x2a, 0x00, 0xfa, 0xff, 0xd0, 0xff, 0xa2, 0xff,
+0x82, 0xff, 0x68, 0xff, 0x5e, 0xff, 0x72, 0xff, 0x8e, 0xff, 0xb4, 0xff, 0xf0, 0xff, 0x12, 0x00,
+0x3a, 0x00, 0x52, 0x00, 0x62, 0x00, 0x66, 0x00, 0x52, 0x00, 0x3c, 0x00, 0x1c, 0x00, 0xfa, 0xff,
+0xd6, 0xff, 0xac, 0xff, 0x92, 0xff, 0x7e, 0xff, 0x84, 0xff, 0x8c, 0xff, 0xa2, 0xff, 0xc8, 0xff,
+0xee, 0xff, 0x10, 0x00, 0x24, 0x00, 0x2e, 0x00, 0x38, 0x00, 0x3c, 0x00, 0x3e, 0x00, 0x2e, 0x00,
+0x12, 0x00, 0xf6, 0xff, 0xce, 0xff, 0xb8, 0xff, 0xb6, 0xff, 0xae, 0xff, 0xa4, 0xff, 0xb0, 0xff,
+0xc2, 0xff, 0xe2, 0xff, 0x00, 0x00, 0x04, 0x00, 0x1c, 0x00, 0x1c, 0x00, 0x1a, 0x00, 0x2e, 0x00,
+0x24, 0x00, 0x1e, 0x00, 0x04, 0x00, 0xea, 0xff, 0xe4, 0xff, 0xd0, 0xff, 0xca, 0xff, 0xd8, 0xff,
+0xce, 0xff, 0xce, 0xff, 0xe0, 0xff, 0xe6, 0xff, 0xf4, 0xff, 0xf2, 0xff, 0xf4, 0xff, 0xf8, 0xff,
+0xfc, 0xff, 0xfe, 0xff, 0x04, 0x00, 0xfa, 0xff, 0xec, 0xff, 0xf4, 0xff, 0xf4, 0xff, 0xea, 0xff,
+0xe2, 0xff, 0xea, 0xff, 0xe8, 0xff, 0xec, 0xff, 0xee, 0xff, 0xe0, 0xff, 0xd8, 0xff, 0xd8, 0xff,
+0xd6, 0xff, 0xd6, 0xff, 0xda, 0xff, 0xdc, 0xff, 0xee, 0xff, 0xf6, 0xff, 0xf8, 0xff, 0x0a, 0x00,
+0x12, 0x00, 0x18, 0x00, 0x16, 0x00, 0x14, 0x00, 0x14, 0x00, 0x04, 0x00, 0xfc, 0xff, 0xde, 0xff,
+0xc4, 0xff, 0xba, 0xff, 0xb2, 0xff, 0xbc, 0xff, 0xb4, 0xff, 0xbe, 0xff, 0xde, 0xff, 0xf6, 0xff,
+0x0a, 0x00, 0x20, 0x00, 0x30, 0x00, 0x40, 0x00, 0x40, 0x00, 0x40, 0x00, 0x30, 0x00, 0x08, 0x00,
+0xf2, 0xff, 0xc2, 0xff, 0xaa, 0xff, 0x98, 0xff, 0x7c, 0xff, 0x90, 0xff, 0x9e, 0xff, 0xa4, 0xff,
+0xd4, 0xff, 0xf0, 0xff, 0x10, 0x00, 0x44, 0x00, 0x58, 0x00, 0x68, 0x00, 0x62, 0x00, 0x52, 0x00,
+0x3e, 0x00, 0x0a, 0x00, 0xea, 0xff, 0xb6, 0xff, 0x80, 0xff, 0x78, 0xff, 0x6e, 0xff, 0x72, 0xff,
+0x90, 0xff, 0xac, 0xff, 0xde, 0xff, 0x10, 0x00, 0x36, 0x00, 0x6e, 0x00, 0x8c, 0x00, 0x96, 0x00,
+0x84, 0x00, 0x6e, 0x00, 0x4a, 0x00, 0x06, 0x00, 0xdc, 0xff, 0xac, 0xff, 0x70, 0xff, 0x58, 0xff,
+0x4e, 0xff, 0x60, 0xff, 0x82, 0xff, 0xae, 0xff, 0xe2, 0xff, 0x1c, 0x00, 0x52, 0x00, 0x82, 0x00,
+0x98, 0x00, 0xa4, 0x00, 0x9e, 0x00, 0x6c, 0x00, 0x28, 0x00, 0xf6, 0xff, 0xb6, 0xff, 0x80, 0xff,
+0x54, 0xff, 0x30, 0xff, 0x30, 0xff, 0x4c, 0xff, 0x78, 0xff, 0xc0, 0xff, 0xf2, 0xff, 0x1c, 0x00,
+0x64, 0x00, 0x94, 0x00, 0xac, 0x00, 0xb2, 0x00, 0x90, 0x00, 0x5e, 0x00, 0x16, 0x00, 0xdc, 0xff,
+0xac, 0xff, 0x5e, 0xff, 0x44, 0xff, 0x2c, 0xff, 0x2c, 0xff, 0x5c, 0xff, 0x86, 0xff, 0xcc, 0xff,
+0x08, 0x00, 0x38, 0x00, 0x7e, 0x00, 0xa2, 0x00, 0xc0, 0x00, 0xba, 0x00, 0x90, 0x00, 0x48, 0x00,
+0x04, 0x00, 0xda, 0xff, 0x9c, 0xff, 0x5a, 0xff, 0x3e, 0xff, 0x28, 0xff, 0x36, 0xff, 0x5e, 0xff,
+0x9c, 0xff, 0xd0, 0xff, 0x06, 0x00, 0x48, 0x00, 0x80, 0x00, 0xae, 0x00, 0xb2, 0x00, 0x98, 0x00,
+0x74, 0x00, 0x34, 0x00, 0xee, 0xff, 0xb0, 0xff, 0x7e, 0xff, 0x58, 0xff, 0x38, 0xff, 0x30, 0xff,
+0x3a, 0xff, 0x76, 0xff, 0xa6, 0xff, 0xdc, 0xff, 0x20, 0x00, 0x58, 0x00, 0x8e, 0x00, 0xa2, 0x00,
+0x9e, 0x00, 0x86, 0x00, 0x4e, 0x00, 0x1a, 0x00, 0xec, 0xff, 0xb6, 0xff, 0x8a, 0xff, 0x66, 0xff,
+0x54, 0xff, 0x5c, 0xff, 0x76, 0xff, 0x90, 0xff, 0xc2, 0xff, 0xf8, 0xff, 0x26, 0x00, 0x60, 0x00,
+0x76, 0x00, 0x7e, 0x00, 0x7c, 0x00, 0x66, 0x00, 0x3e, 0x00, 0x0e, 0x00, 0xd8, 0xff, 0x98, 0xff,
+0x72, 0xff, 0x70, 0xff, 0x86, 0xff, 0xaa, 0xff, 0xde, 0xff, 0x0a, 0x00, 0x2e, 0x00, 0x44, 0x00,
+0x58, 0x00, 0x60, 0x00, 0x52, 0x00, 0x42, 0x00, 0x20, 0x00, 0x08, 0x00, 0xe4, 0xff, 0xc6, 0xff,
+0xb0, 0xff, 0xa8, 0xff, 0xb0, 0xff, 0xa2, 0xff, 0xac, 0xff, 0xd0, 0xff, 0xee, 0xff, 0x0e, 0x00,
+0x1c, 0x00, 0x28, 0x00, 0x2c, 0x00, 0x36, 0x00, 0x30, 0x00, 0x22, 0x00, 0x10, 0x00, 0xfc, 0xff,
+0xf6, 0xff, 0xde, 0xff, 0xca, 0xff, 0xd0, 0xff, 0xbe, 0xff, 0xc4, 0xff, 0xca, 0xff, 0xd6, 0xff,
+0xfa, 0xff, 0xf4, 0xff, 0xf6, 0xff, 0x08, 0x00, 0x08, 0x00, 0x12, 0x00, 0x0c, 0x00, 0x04, 0x00,
+0x0a, 0x00, 0x02, 0x00, 0xfa, 0xff, 0xf4, 0xff, 0xf2, 0xff, 0xec, 0xff, 0xe6, 0xff, 0xe4, 0xff,
+0xe6, 0xff, 0xe2, 0xff, 0xde, 0xff, 0xec, 0xff, 0xe2, 0xff, 0xe2, 0xff, 0xea, 0xff, 0xe0, 0xff,
+0xf4, 0xff, 0xf8, 0xff, 0xf6, 0xff, 0x06, 0x00, 0x10, 0x00, 0x12, 0x00, 0x0e, 0x00, 0x08, 0x00,
+0x08, 0x00, 0xf4, 0xff, 0xee, 0xff, 0xe6, 0xff, 0xc8, 0xff, 0xc2, 0xff, 0xb2, 0xff, 0xac, 0xff,
+0xb8, 0xff, 0xbc, 0xff, 0xcc, 0xff, 0xe0, 0xff, 0xf4, 0xff, 0x10, 0x00, 0x22, 0x00, 0x28, 0x00,
+0x26, 0x00, 0x1c, 0x00, 0x18, 0x00, 0x0a, 0x00, 0xf8, 0xff, 0xd8, 0xff, 0xb4, 0xff, 0x98, 0xff,
+0x8a, 0xff, 0x82, 0xff, 0x98, 0xff, 0xaa, 0xff, 0xc0, 0xff, 0xf0, 0xff, 0x14, 0x00, 0x32, 0x00,
+0x56, 0x00, 0x5c, 0x00, 0x5c, 0x00, 0x4c, 0x00, 0x34, 0x00, 0x1e, 0x00, 0xfa, 0xff, 0xd2, 0xff,
+0x9e, 0xff, 0x84, 0xff, 0x6e, 0xff, 0x66, 0xff, 0x7c, 0xff, 0x92, 0xff, 0xca, 0xff, 0x08, 0x00,
+0x26, 0x00, 0x58, 0x00, 0x6c, 0x00, 0x7c, 0x00, 0x82, 0x00, 0x62, 0x00, 0x4e, 0x00, 0x20, 0x00,
+0xec, 0xff, 0xb2, 0xff, 0x76, 0xff, 0x60, 0xff, 0x46, 0xff, 0x3c, 0xff, 0x5c, 0xff, 0x8e, 0xff,
+0xd0, 0xff, 0x02, 0x00, 0x3e, 0x00, 0x60, 0x00, 0x8a, 0x00, 0xa6, 0x00, 0x9c, 0x00, 0x88, 0x00,
+0x56, 0x00, 0x20, 0x00, 0xec, 0xff, 0xa6, 0xff, 0x74, 0xff, 0x48, 0xff, 0x3c, 0xff, 0x3c, 0xff,
+0x52, 0xff, 0xa2, 0xff, 0xd8, 0xff, 0x10, 0x00, 0x4c, 0x00, 0x82, 0x00, 0xac, 0x00, 0xbc, 0x00,
+0xa4, 0x00, 0x8a, 0x00, 0x4c, 0x00, 0x0c, 0x00, 0xdc, 0xff, 0x90, 0xff, 0x52, 0xff, 0x3e, 0xff,
+0x20, 0xff, 0x3c, 0xff, 0x68, 0xff, 0xa0, 0xff, 0xe6, 0xff, 0x06, 0x00, 0x4e, 0x00, 0x8a, 0x00,
+0xa2, 0x00, 0xc2, 0x00, 0xae, 0x00, 0x7e, 0x00, 0x3a, 0x00, 0xee, 0xff, 0xc8, 0xff, 0x76, 0xff,
+0x50, 0xff, 0x3a, 0xff, 0x2a, 0xff, 0x48, 0xff, 0x68, 0xff, 0xb0, 0xff, 0xf6, 0xff, 0x18, 0x00,
+0x5e, 0x00, 0x92, 0x00, 0xaa, 0x00, 0xb2, 0x00, 0xa2, 0x00, 0x6c, 0x00, 0x24, 0x00, 0xe6, 0xff,
+0xac, 0xff, 0x78, 0xff, 0x48, 0xff, 0x2a, 0xff, 0x36, 0xff, 0x52, 0xff, 0x8a, 0xff, 0xbc, 0xff,
+0xf6, 0xff, 0x2a, 0x00, 0x5c, 0x00, 0x90, 0x00, 0x9c, 0x00, 0x9a, 0x00, 0x78, 0x00, 0x4a, 0x00,
+0x1c, 0x00, 0xce, 0xff, 0xa0, 0xff, 0x6e, 0xff, 0x4a, 0xff, 0x46, 0xff, 0x48, 0xff, 0x78, 0xff,
+0x9c, 0xff, 0xd0, 0xff, 0x08, 0x00, 0x38, 0x00, 0x58, 0x00, 0x7e, 0x00, 0x96, 0x00, 0x84, 0x00,
+0x60, 0x00, 0x2c, 0x00, 0xf0, 0xff, 0xcc, 0xff, 0x9e, 0xff, 0x7c, 0xff, 0x6e, 0xff, 0x58, 0xff,
+0x72, 0xff, 0x90, 0xff, 0xb8, 0xff, 0xec, 0xff, 0x16, 0x00, 0x40, 0x00, 0x5e, 0x00, 0x6a, 0x00,
+0x6c, 0x00, 0x5a, 0x00, 0x42, 0x00, 0x10, 0x00, 0xee, 0xff, 0xce, 0xff, 0x98, 0xff, 0x90, 0xff,
+0x84, 0xff, 0x7a, 0xff, 0x94, 0xff, 0xac, 0xff, 0xce, 0xff, 0xf2, 0xff, 0x0a, 0x00, 0x2c, 0x00,
+0x3c, 0x00, 0x50, 0x00, 0x4e, 0x00, 0x40, 0x00, 0x1c, 0x00, 0xfc, 0xff, 0xe2, 0xff, 0xce, 0xff,
+0xbe, 0xff, 0xb2, 0xff, 0xb2, 0xff, 0xb0, 0xff, 0xb2, 0xff, 0xca, 0xff, 0xe2, 0xff, 0xfe, 0xff,
+0x0a, 0x00, 0x1e, 0x00, 0x24, 0x00, 0x2a, 0x00, 0x32, 0x00, 0x22, 0x00, 0x22, 0x00, 0xfa, 0xff,
+0xde, 0xff, 0xde, 0xff, 0xd6, 0xff, 0xe0, 0xff, 0xea, 0xff, 0xe0, 0xff, 0xe0, 0xff, 0xd8, 0xff,
+0xe6, 0xff, 0xea, 0xff, 0xfc, 0xff, 0x00, 0x00, 0xfe, 0xff, 0x02, 0x00, 0xf8, 0xff, 0xfc, 0xff,
+0x00, 0x00, 0xf4, 0xff, 0xf6, 0xff, 0x06, 0x00, 0xfe, 0xff, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00,
+0x00, 0x00, 0xf8, 0xff, 0xec, 0xff, 0xe2, 0xff, 0xca, 0xff, 0xc8, 0xff, 0xce, 0xff, 0xd4, 0xff,
+0xd2, 0xff, 0xe0, 0xff, 0xf4, 0xff, 0xfc, 0xff, 0x1a, 0x00, 0x2a, 0x00, 0x2c, 0x00, 0x2c, 0x00,
+0x30, 0x00, 0x28, 0x00, 0x0e, 0x00, 0x04, 0x00, 0xe0, 0xff, 0xc2, 0xff, 0xac, 0xff, 0xa6, 0xff,
+0xa8, 0xff, 0xaa, 0xff, 0xc0, 0xff, 0xd6, 0xff, 0xec, 0xff, 0x08, 0x00, 0x22, 0x00, 0x44, 0x00,
+0x48, 0x00, 0x40, 0x00, 0x40, 0x00, 0x1c, 0x00, 0x02, 0x00, 0xf2, 0xff, 0xca, 0xff, 0xa6, 0xff,
+0x9c, 0xff, 0x7e, 0xff, 0x84, 0xff, 0x98, 0xff, 0xa2, 0xff, 0xd2, 0xff, 0xfa, 0xff, 0x1a, 0x00,
+0x4c, 0x00, 0x5c, 0x00, 0x5c, 0x00, 0x4c, 0x00, 0x4a, 0x00, 0x30, 0x00, 0x0c, 0x00, 0xf8, 0xff,
+0xba, 0xff, 0x92, 0xff, 0x7a, 0xff, 0x6a, 0xff, 0x74, 0xff, 0x8c, 0xff, 0xa8, 0xff, 0xd0, 0xff,
+0x00, 0x00, 0x30, 0x00, 0x56, 0x00, 0x72, 0x00, 0x7c, 0x00, 0x76, 0x00, 0x5a, 0x00, 0x32, 0x00,
+0xfe, 0xff, 0xd4, 0xff, 0xa0, 0xff, 0x7a, 0xff, 0x6a, 0xff, 0x48, 0xff, 0x50, 0xff, 0x78, 0xff,
+0xa6, 0xff, 0xd4, 0xff, 0x0c, 0x00, 0x54, 0x00, 0x76, 0x00, 0x96, 0x00, 0xa0, 0x00, 0x80, 0x00,
+0x60, 0x00, 0x20, 0x00, 0xfa, 0xff, 0xd0, 0xff, 0x8c, 0xff, 0x5e, 0xff, 0x3e, 0xff, 0x2e, 0xff,
+0x4c, 0xff, 0x7a, 0xff, 0xb8, 0xff, 0xfa, 0xff, 0x30, 0x00, 0x74, 0x00, 0x9e, 0x00, 0xba, 0x00,
+0xbc, 0x00, 0xa0, 0x00, 0x6a, 0x00, 0x22, 0x00, 0xea, 0xff, 0xc0, 0xff, 0x66, 0xff, 0x46, 0xff,
+0x28, 0xff, 0x1a, 0xff, 0x4c, 0xff, 0x84, 0xff, 0xd0, 0xff, 0x0a, 0x00, 0x44, 0x00, 0x8c, 0x00,
+0xb0, 0x00, 0xcc, 0x00, 0xc0, 0x00, 0x90, 0x00, 0x62, 0x00, 0x10, 0x00, 0xd8, 0xff, 0x9c, 0xff,
+0x5a, 0xff, 0x2a, 0xff, 0x1e, 0xff, 0x20, 0xff, 0x48, 0xff, 0x90, 0xff, 0xdc, 0xff, 0x20, 0x00,
+0x5c, 0x00, 0x90, 0x00, 0xb4, 0x00, 0xc4, 0x00, 0xb6, 0x00, 0x82, 0x00, 0x48, 0x00, 0x10, 0x00,
+0xc4, 0xff, 0x94, 0xff, 0x56, 0xff, 0x28, 0xff, 0x26, 0xff, 0x40, 0xff, 0x6e, 0xff, 0xaa, 0xff,
+0xf8, 0xff, 0x2e, 0x00, 0x60, 0x00, 0x9a, 0x00, 0xb4, 0x00, 0xac, 0x00, 0x90, 0x00, 0x64, 0x00,
+0x28, 0x00, 0xf8, 0xff, 0xc0, 0xff, 0x82, 0xff, 0x6c, 0xff, 0x46, 0xff, 0x48, 0xff, 0x64, 0xff,
+0x80, 0xff, 0xba, 0xff, 0xf4, 0xff, 0x2a, 0x00, 0x52, 0x00, 0x6c, 0x00, 0x7a, 0x00, 0x7a, 0x00,
+0x5a, 0x00, 0x3e, 0x00, 0x0e, 0x00, 0xea, 0xff, 0xc2, 0xff, 0x90, 0xff, 0x82, 0xff, 0x76, 0xff,
+0x72, 0xff, 0x86, 0xff, 0xa2, 0xff, 0xd4, 0xff, 0xf4, 0xff, 0x14, 0x00, 0x3e, 0x00, 0x4a, 0x00,
+0x52, 0x00, 0x50, 0x00, 0x3c, 0x00, 0x22, 0x00, 0x04, 0x00, 0xea, 0xff, 0xd4, 0xff, 0xba, 0xff,
+0xaa, 0xff, 0xa2, 0xff, 0x9c, 0xff, 0xa8, 0xff, 0xc6, 0xff, 0xe2, 0xff, 0xf4, 0xff, 0x06, 0x00,
+0x1c, 0x00, 0x16, 0x00, 0x18, 0x00, 0x1e, 0x00, 0x1e, 0x00, 0x0c, 0x00, 0xfa, 0xff, 0xee, 0xff,
+0xda, 0xff, 0xca, 0xff, 0xd4, 0xff, 0xcc, 0xff, 0xd4, 0xff, 0xd6, 0xff, 0xd0, 0xff, 0xe6, 0xff,
+0xf8, 0xff, 0xf2, 0xff, 0xf6, 0xff, 0xf4, 0xff, 0xee, 0xff, 0x00, 0x00, 0xfe, 0xff, 0x06, 0x00,
+0xfc, 0xff, 0xf6, 0xff, 0xf8, 0xff, 0xf6, 0xff, 0x02, 0x00, 0xf8, 0xff, 0xfa, 0xff, 0xf0, 0xff,
+0xe8, 0xff, 0xec, 0xff, 0xe4, 0xff, 0xda, 0xff, 0xd8, 0xff, 0xe6, 0xff, 0xdc, 0xff, 0xe8, 0xff,
+0xf6, 0xff, 0xf6, 0xff, 0x00, 0x00, 0x04, 0x00, 0x14, 0x00, 0x1a, 0x00, 0x0e, 0x00, 0x22, 0x00,
+0x10, 0x00, 0x00, 0x00, 0xf4, 0xff, 0xdc, 0xff, 0xcc, 0xff, 0xb8, 0xff, 0xb4, 0xff, 0xba, 0xff,
+0xbc, 0xff, 0xc8, 0xff, 0xe4, 0xff, 0xfc, 0xff, 0x12, 0x00, 0x28, 0x00, 0x34, 0x00, 0x3a, 0x00,
+0x36, 0x00, 0x2a, 0x00, 0x20, 0x00, 0x06, 0x00, 0xe8, 0xff, 0xce, 0xff, 0xa4, 0xff, 0xa2, 0xff,
+0x9a, 0xff, 0xa2, 0xff, 0xb0, 0xff, 0xc6, 0xff, 0xf6, 0xff, 0x08, 0x00, 0x30, 0x00, 0x50, 0x00,
+0x5a, 0x00, 0x5c, 0x00, 0x52, 0x00, 0x44, 0x00, 0x20, 0x00, 0xfa, 0xff, 0xd6, 0xff, 0xa0, 0xff,
+0x86, 0xff, 0x78, 0xff, 0x6a, 0xff, 0x7e, 0xff, 0x92, 0xff, 0xc0, 0xff, 0xf0, 0xff, 0x12, 0x00,
+0x3c, 0x00, 0x62, 0x00, 0x72, 0x00, 0x74, 0x00, 0x6a, 0x00, 0x4e, 0x00, 0x1c, 0x00, 0xe8, 0xff,
+0xb6, 0xff, 0x7c, 0xff, 0x5e, 0xff, 0x52, 0xff, 0x4c, 0xff, 0x68, 0xff, 0x86, 0xff, 0xb6, 0xff,
+0xf2, 0xff, 0x24, 0x00, 0x58, 0x00, 0x82, 0x00, 0x9c, 0x00, 0x96, 0x00, 0x88, 0x00, 0x54, 0x00,
+0x1c, 0x00, 0xe4, 0xff, 0xae, 0xff, 0x76, 0xff, 0x42, 0xff, 0x38, 0xff, 0x40, 0xff, 0x4e, 0xff,
+0x94, 0xff, 0xc8, 0xff, 0xfc, 0xff, 0x2a, 0x00, 0x68, 0x00, 0x8e, 0x00, 0xa8, 0x00, 0xa6, 0x00,
+0x7c, 0x00, 0x4c, 0x00, 0xfe, 0xff, 0xcc, 0xff, 0x8c, 0xff, 0x54, 0xff, 0x38, 0xff, 0x2a, 0xff,
+0x34, 0xff, 0x56, 0xff, 0x90, 0xff, 0xd6, 0xff, 0x08, 0x00, 0x4c, 0x00, 0x88, 0x00, 0xa2, 0x00,
+0xb8, 0x00, 0xa4, 0x00, 0x78, 0x00, 0x3a, 0x00, 0xfc, 0xff, 0xd4, 0xff, 0x86, 0xff, 0x5e, 0xff,
+0x36, 0xff, 0x2a, 0xff, 0x52, 0xff, 0x70, 0xff, 0xb0, 0xff, 0xf8, 0xff, 0x1c, 0x00, 0x5e, 0x00,
+0x98, 0x00, 0xb4, 0x00, 0xb0, 0x00, 0xa0, 0x00, 0x6e, 0x00, 0x22, 0x00, 0x00, 0x00, 0xbe, 0xff,
+0x80, 0xff, 0x5a, 0xff, 0x36, 0xff, 0x36, 0xff, 0x52, 0xff, 0x84, 0xff, 0xb8, 0xff, 0xfe, 0xff,
+0x28, 0x00, 0x58, 0x00, 0x96, 0x00, 0xa6, 0x00, 0xa2, 0x00, 0x86, 0x00, 0x56, 0x00, 0x26, 0x00,
+0xe8, 0xff, 0xb4, 0xff, 0x86, 0xff, 0x60, 0xff, 0x46, 0xff, 0x48, 0xff, 0x7a, 0xff, 0x9c, 0xff,
+0xd0, 0xff, 0x00, 0x00, 0x3e, 0x00, 0x60, 0x00, 0x80, 0x00, 0xa0, 0x00, 0x90, 0x00, 0x72, 0x00,
+0x58, 0x00, 0x14, 0x00, 0xdc, 0xff, 0xbc, 0xff, 0x90, 0xff, 0x78, 0xff, 0x6c, 0xff, 0x70, 0xff,
+0x86, 0xff, 0xa0, 0xff, 0xd2, 0xff, 0x00, 0x00, 0x2e, 0x00, 0x4c, 0x00, 0x60, 0x00, 0x68, 0x00,
+0x5c, 0x00, 0x4a, 0x00, 0x24, 0x00, 0x02, 0x00, 0xd8, 0xff, 0xb2, 0xff, 0x9e, 0xff, 0x8c, 0xff,
+0x86, 0xff, 0x90, 0xff, 0x9a, 0xff, 0xba, 0xff, 0xdc, 0xff, 0xfa, 0xff, 0x1c, 0x00, 0x32, 0x00,
+0x3e, 0x00, 0x3a, 0x00, 0x3a, 0x00, 0x30, 0x00, 0x0a, 0x00, 0xfe, 0xff, 0xe8, 0xff, 0xd0, 0xff,
+0xce, 0xff, 0xbc, 0xff, 0xba, 0xff, 0xb2, 0xff, 0xc6, 0xff, 0xd8, 0xff, 0xf0, 0xff, 0x02, 0x00,
+0x08, 0x00, 0x1c, 0x00, 0x10, 0x00, 0x0e, 0x00, 0x12, 0x00, 0x12, 0x00, 0x04, 0x00, 0xf4, 0xff,
+0xf4, 0xff, 0xe6, 0xff, 0xd6, 0xff, 0xdc, 0xff, 0xd6, 0xff, 0xd0, 0xff, 0xd6, 0xff, 0xe2, 0xff,
+0xda, 0xff, 0xe0, 0xff, 0xec, 0xff, 0xea, 0xff, 0xf4, 0xff, 0xee, 0xff, 0xf0, 0xff, 0x00, 0x00,
+0xf6, 0xff, 0xfe, 0xff, 0xfa, 0xff, 0x00, 0x00, 0xfa, 0xff, 0xfc, 0xff, 0xfe, 0xff, 0xf6, 0xff,
+0xf2, 0xff, 0xec, 0xff, 0xe4, 0xff, 0xd2, 0xff, 0xd6, 0xff, 0xdc, 0xff, 0xe0, 0xff, 0xdc, 0xff,
+0xe2, 0xff, 0xf6, 0xff, 0x02, 0x00, 0x0e, 0x00, 0x22, 0x00, 0x2c, 0x00, 0x20, 0x00, 0x26, 0x00,
+0x2a, 0x00, 0x10, 0x00, 0xfe, 0xff, 0xee, 0xff, 0xd2, 0xff, 0xbe, 0xff, 0xb0, 0xff, 0xb4, 0xff,
+0xae, 0xff, 0xb0, 0xff, 0xc2, 0xff, 0xde, 0xff, 0xfc, 0xff, 0x1e, 0x00, 0x42, 0x00, 0x40, 0x00,
+0x50, 0x00, 0x4a, 0x00, 0x3e, 0x00, 0x24, 0x00, 0x02, 0x00, 0xe0, 0xff, 0xb8, 0xff, 0x94, 0xff,
+0x88, 0xff, 0x80, 0xff, 0x88, 0xff, 0x92, 0xff, 0xbc, 0xff, 0xee, 0xff, 0x12, 0x00, 0x48, 0x00,
+0x6a, 0x00, 0x76, 0x00, 0x88, 0x00, 0x7a, 0x00, 0x5a, 0x00, 0x30, 0x00, 0xfc, 0xff, 0xc6, 0xff,
+0x9c, 0xff, 0x7c, 0xff, 0x5c, 0xff, 0x60, 0xff, 0x64, 0xff, 0x86, 0xff, 0xb8, 0xff, 0xf6, 0xff,
+0x30, 0x00, 0x6a, 0x00, 0x84, 0x00, 0x96, 0x00, 0x96, 0x00, 0x76, 0x00, 0x46, 0x00, 0x1a, 0x00,
+0xe2, 0xff, 0xa6, 0xff, 0x6a, 0xff, 0x3c, 0xff, 0x26, 0xff, 0x30, 0xff, 0x5a, 0xff, 0x8e, 0xff,
+0xca, 0xff, 0x0e, 0x00, 0x50, 0x00, 0x84, 0x00, 0xa8, 0x00, 0xae, 0x00, 0xa4, 0x00, 0x80, 0x00,
+0x40, 0x00, 0x0c, 0x00, 0xcc, 0xff, 0x86, 0xff, 0x58, 0xff, 0x2a, 0xff, 0x22, 0xff, 0x42, 0xff,
+0x6a, 0xff, 0xb4, 0xff, 0xee, 0xff, 0x24, 0x00, 0x64, 0x00, 0x92, 0x00, 0xb0, 0x00, 0xb4, 0x00,
+0xa4, 0x00, 0x76, 0x00, 0x30, 0x00, 0xf2, 0xff, 0xb8, 0xff, 0x70, 0xff, 0x44, 0xff, 0x2e, 0xff,
+0x26, 0xff, 0x46, 0xff, 0x72, 0xff, 0xb2, 0xff, 0xf0, 0xff, 0x22, 0x00, 0x68, 0x00, 0x94, 0x00,
+0xa8, 0x00, 0xa6, 0x00, 0x90, 0x00, 0x54, 0x00, 0x12, 0x00, 0xe4, 0xff, 0xaa, 0xff, 0x6e, 0xff,
+0x42, 0xff, 0x2c, 0xff, 0x34, 0xff, 0x58, 0xff, 0x86, 0xff, 0xca, 0xff, 0x0a, 0x00, 0x3a, 0x00,
+0x72, 0x00, 0x9e, 0x00, 0xae, 0x00, 0xa6, 0x00, 0x8a, 0x00, 0x54, 0x00, 0x16, 0x00, 0xda, 0xff,
+0xa8, 0xff, 0x6e, 0xff, 0x40, 0xff, 0x40, 0xff, 0x4e, 0xff, 0x6c, 0xff, 0x9e, 0xff, 0xdc, 0xff,
+0x14, 0x00, 0x3e, 0x00, 0x70, 0x00, 0x8e, 0x00, 0x98, 0x00, 0x8c, 0x00, 0x66, 0x00, 0x3e, 0x00,
+0x00, 0x00, 0xcc, 0xff, 0x98, 0xff, 0x78, 0xff, 0x5e, 0xff, 0x52, 0xff, 0x64, 0xff, 0x7e, 0xff,
+0xae, 0xff, 0xe6, 0xff, 0x0e, 0x00, 0x46, 0x00, 0x5c, 0x00, 0x72, 0x00, 0x80, 0x00, 0x6c, 0x00,
+0x54, 0x00, 0x26, 0x00, 0x00, 0x00, 0xc6, 0xff, 0xa8, 0xff, 0x98, 0xff, 0x7c, 0xff, 0x84, 0xff,
+0x8a, 0xff, 0xaa, 0xff, 0xd0, 0xff, 0xf6, 0xff, 0x20, 0x00, 0x32, 0x00, 0x4c, 0x00, 0x5a, 0x00,
+0x52, 0x00, 0x4e, 0x00, 0x2e, 0x00, 0x10, 0x00, 0xf8, 0xff, 0xd2, 0xff, 0xb4, 0xff, 0xa4, 0xff,
+0x9a, 0xff, 0x96, 0xff, 0xa0, 0xff, 0xb2, 0xff, 0xca, 0xff, 0xea, 0xff, 0x00, 0x00, 0x1c, 0x00,
+0x26, 0x00, 0x26, 0x00, 0x2e, 0x00, 0x2a, 0x00, 0x1c, 0x00, 0x00, 0x00, 0xfa, 0xff, 0xdc, 0xff,
+0xc2, 0xff, 0xc6, 0xff, 0xc0, 0xff, 0xba, 0xff, 0xc6, 0xff, 0xce, 0xff, 0xda, 0xff, 0xe8, 0xff,
+0xf6, 0xff, 0x02, 0x00, 0x00, 0x00, 0x0e, 0x00, 0x18, 0x00, 0x18, 0x00, 0x14, 0x00, 0x06, 0x00,
+0xfe, 0xff, 0xfa, 0xff, 0xec, 0xff, 0xea, 0xff, 0xea, 0xff, 0xe4, 0xff, 0xde, 0xff, 0xd8, 0xff,
+0xce, 0xff, 0xd0, 0xff, 0xce, 0xff, 0xd2, 0xff, 0xde, 0xff, 0xe6, 0xff, 0xf2, 0xff, 0xfa, 0xff,
+0xfc, 0xff, 0xfc, 0xff, 0x12, 0x00, 0x16, 0x00, 0x18, 0x00, 0x16, 0x00, 0x14, 0x00, 0x00, 0x00,
+0xea, 0xff, 0xdc, 0xff, 0xc4, 0xff, 0xc0, 0xff, 0xa8, 0xff, 0xa8, 0xff, 0xbc, 0xff, 0xc0, 0xff,
+0xc8, 0xff, 0xe4, 0xff, 0xf2, 0xff, 0x12, 0x00, 0x32, 0x00, 0x3c, 0x00, 0x4a, 0x00, 0x40, 0x00,
+0x36, 0x00, 0x24, 0x00, 0x06, 0x00, 0xf0, 0xff, 0xc8, 0xff, 0xac, 0xff, 0x9e, 0xff, 0x92, 0xff,
+0x98, 0xff, 0xa2, 0xff, 0xb6, 0xff, 0xe0, 0xff, 0xf4, 0xff, 0x16, 0x00, 0x42, 0x00, 0x58, 0x00,
+0x66, 0x00, 0x50, 0x00, 0x4e, 0x00, 0x34, 0x00, 0x08, 0x00, 0xe4, 0xff, 0xb2, 0xff, 0x94, 0xff,
+0x78, 0xff, 0x66, 0xff, 0x6e, 0xff, 0x94, 0xff, 0xa6, 0xff, 0xd6, 0xff, 0x04, 0x00, 0x30, 0x00,
+0x6c, 0x00, 0x86, 0x00, 0x8a, 0x00, 0x7e, 0x00, 0x5c, 0x00, 0x3c, 0x00, 0x08, 0x00, 0xd6, 0xff,
+0xa0, 0xff, 0x74, 0xff, 0x5c, 0xff, 0x50, 0xff, 0x5c, 0xff, 0x86, 0xff, 0xac, 0xff, 0xec, 0xff,
+0x28, 0x00, 0x56, 0x00, 0x8c, 0x00, 0x9c, 0x00, 0xa2, 0x00, 0x8a, 0x00, 0x5e, 0x00, 0x2a, 0x00,
+0xf4, 0xff, 0xb2, 0xff, 0x7e, 0xff, 0x50, 0xff, 0x2e, 0xff, 0x3a, 0xff, 0x4a, 0xff, 0x80, 0xff,
+0xbe, 0xff, 0xf8, 0xff, 0x2e, 0x00, 0x68, 0x00, 0x98, 0x00, 0xae, 0x00, 0xa6, 0x00, 0x88, 0x00,
+0x54, 0x00, 0x10, 0x00, 0xda, 0xff, 0x94, 0xff, 0x62, 0xff, 0x3e, 0xff, 0x22, 0xff, 0x36, 0xff,
+0x54, 0xff, 0x8e, 0xff, 0xde, 0xff, 0x12, 0x00, 0x48, 0x00, 0x82, 0x00, 0xae, 0x00, 0xb6, 0x00,
+0xaa, 0x00, 0x80, 0x00, 0x4e, 0x00, 0x02, 0x00, 0xce, 0xff, 0x90, 0xff, 0x52, 0xff, 0x3c, 0xff,
+0x20, 0xff, 0x38, 0xff, 0x60, 0xff, 0x96, 0xff, 0xe0, 0xff, 0x16, 0x00, 0x4c, 0x00, 0x8a, 0x00,
+0xac, 0x00, 0xb2, 0x00, 0x9a, 0x00, 0x72, 0x00, 0x32, 0x00, 0xf4, 0xff, 0xc0, 0xff, 0x7e, 0xff,
+0x4e, 0xff, 0x36, 0xff, 0x34, 0xff, 0x3c, 0xff, 0x6a, 0xff, 0xac, 0xff, 0xe2, 0xff, 0x2a, 0x00,
+0x5c, 0x00, 0x8e, 0x00, 0xac, 0x00, 0xa4, 0x00, 0x8a, 0x00, 0x60, 0x00, 0x2c, 0x00, 0xea, 0xff,
+0xb6, 0xff, 0x90, 0xff, 0x60, 0xff, 0x4a, 0xff, 0x44, 0xff, 0x68, 0xff, 0x92, 0xff, 0xcc, 0xff,
+0x06, 0x00, 0x3c, 0x00, 0x66, 0x00, 0x82, 0x00, 0x8a, 0x00, 0x8c, 0x00, 0x6c, 0x00, 0x46, 0x00,
+0x16, 0x00, 0xdc, 0xff, 0xba, 0xff, 0x8c, 0xff, 0x6a, 0xff, 0x60, 0xff, 0x70, 0xff, 0x88, 0xff,
+0xa2, 0xff, 0xde, 0xff, 0x04, 0x00, 0x30, 0x00, 0x4e, 0x00, 0x54, 0x00, 0x60, 0x00, 0x5c, 0x00,
+0x4a, 0x00, 0x28, 0x00, 0x02, 0x00, 0xe4, 0xff, 0xc0, 0xff, 0x9c, 0xff, 0xa0, 0xff, 0x96, 0xff,
+0x9c, 0xff, 0xa8, 0xff, 0xc0, 0xff, 0xe8, 0xff, 0x08, 0x00, 0x22, 0x00, 0x32, 0x00, 0x3a, 0x00,
+0x36, 0x00, 0x36, 0x00, 0x28, 0x00, 0x12, 0x00, 0x00, 0x00, 0xea, 0xff, 0xd8, 0xff, 0xba, 0xff,
+0xc4, 0xff, 0xc2, 0xff, 0xba, 0xff, 0xc2, 0xff, 0xd8, 0xff, 0xf6, 0xff, 0x00, 0x00, 0x00, 0x00,
+0x0a, 0x00, 0x06, 0x00, 0x0a, 0x00, 0x08, 0x00, 0x06, 0x00, 0xfe, 0xff, 0xee, 0xff, 0xf2, 0xff,
+0xea, 0xff, 0xd4, 0xff, 0xe2, 0xff, 0xda, 0xff, 0xda, 0xff, 0xe2, 0xff, 0xe4, 0xff, 0xf0, 0xff,
+0xd6, 0xff, 0xde, 0xff, 0xe4, 0xff, 0xe8, 0xff, 0xec, 0xff, 0xf4, 0xff, 0xf2, 0xff, 0xf6, 0xff,
+0x00, 0x00, 0x00, 0x00, 0x0a, 0x00, 0x02, 0x00, 0x00, 0x00, 0x04, 0x00, 0xf2, 0xff, 0xf2, 0xff,
+0xf0, 0xff, 0xd6, 0xff, 0xd0, 0xff, 0xc4, 0xff, 0xca, 0xff, 0xd6, 0xff, 0xca, 0xff, 0xda, 0xff,
+0xea, 0xff, 0xf8, 0xff, 0x00, 0x00, 0x16, 0x00, 0x24, 0x00, 0x24, 0x00, 0x26, 0x00, 0x10, 0x00,
+0x0c, 0x00, 0x00, 0x00, 0xe6, 0xff, 0xd2, 0xff, 0xa2, 0xff, 0xa8, 0xff, 0xa2, 0xff, 0xa2, 0xff,
+0xb0, 0xff, 0xc4, 0xff, 0xf4, 0xff, 0xf8, 0xff, 0x26, 0x00, 0x44, 0x00, 0x44, 0x00, 0x50, 0x00,
+0x3a, 0x00, 0x3e, 0x00, 0x20, 0x00, 0xfa, 0xff, 0xdc, 0xff, 0xb0, 0xff, 0x98, 0xff, 0x8a, 0xff,
+0x86, 0xff, 0x98, 0xff, 0xa2, 0xff, 0xd4, 0xff, 0xfa, 0xff, 0x1a, 0x00, 0x4c, 0x00, 0x60, 0x00,
+0x70, 0x00, 0x70, 0x00, 0x60, 0x00, 0x4e, 0x00, 0x24, 0x00, 0xec, 0xff, 0xbc, 0xff, 0x92, 0xff,
+0x78, 0xff, 0x64, 0xff, 0x64, 0xff, 0x7c, 0xff, 0xa0, 0xff, 0xd2, 0xff, 0x06, 0x00, 0x34, 0x00,
+0x5e, 0x00, 0x7c, 0x00, 0x94, 0x00, 0x8e, 0x00, 0x76, 0x00, 0x4e, 0x00, 0x10, 0x00, 0xd6, 0xff,
+0xa2, 0xff, 0x6c, 0xff, 0x4a, 0xff, 0x3c, 0xff, 0x46, 0xff, 0x66, 0xff, 0x9c, 0xff, 0xd4, 0xff,
+0x12, 0x00, 0x48, 0x00, 0x80, 0x00, 0x9c, 0x00, 0xb2, 0x00, 0xae, 0x00, 0x86, 0x00, 0x4c, 0x00,
+0x00, 0x00, 0xc8, 0xff, 0x88, 0xff, 0x46, 0xff, 0x2a, 0xff, 0x20, 0xff, 0x2e, 0xff, 0x5a, 0xff,
+0xa0, 0xff, 0xe2, 0xff, 0x1a, 0x00, 0x5c, 0x00, 0x96, 0x00, 0xb6, 0x00, 0xc4, 0x00, 0xa8, 0x00,
+0x84, 0x00, 0x36, 0x00, 0xe8, 0xff, 0xb2, 0xff, 0x68, 0xff, 0x2e, 0xff, 0x18, 0xff, 0x0c, 0xff,
+0x2e, 0xff, 0x5a, 0xff, 0xa8, 0xff, 0xf4, 0xff, 0x1e, 0x00, 0x68, 0x00, 0x98, 0x00, 0xba, 0x00,
+0xba, 0x00, 0xa0, 0x00, 0x66, 0x00, 0x16, 0x00, 0xd6, 0xff, 0xa2, 0xff, 0x58, 0xff, 0x2e, 0xff,
+0x12, 0xff, 0x1e, 0xff, 0x48, 0xff, 0x7a, 0xff, 0xc8, 0xff, 0x08, 0x00, 0x36, 0x00, 0x78, 0x00,
+0xaa, 0x00, 0xc4, 0x00, 0xba, 0x00, 0x98, 0x00, 0x54, 0x00, 0x0e, 0x00, 0xd4, 0xff, 0x9c, 0xff,
+0x68, 0xff, 0x3c, 0xff, 0x2a, 0xff, 0x36, 0xff, 0x5c, 0xff, 0x92, 0xff, 0xd2, 0xff, 0x10, 0x00,
+0x48, 0x00, 0x72, 0x00, 0x9a, 0x00, 0xac, 0x00, 0x9a, 0x00, 0x76, 0x00, 0x40, 0x00, 0x04, 0x00,
+0xca, 0xff, 0x8c, 0xff, 0x70, 0xff, 0x54, 0xff, 0x4c, 0xff, 0x60, 0xff, 0x78, 0xff, 0xa4, 0xff,
+0xe2, 0xff, 0x18, 0x00, 0x40, 0x00, 0x64, 0x00, 0x7e, 0x00, 0x84, 0x00, 0x68, 0x00, 0x58, 0x00,
+0x2c, 0x00, 0xfa, 0xff, 0xcc, 0xff, 0xa2, 0xff, 0x94, 0xff, 0x7c, 0xff, 0x80, 0xff, 0x90, 0xff,
+0xa2, 0xff, 0xd0, 0xff, 0xf4, 0xff, 0x10, 0x00, 0x3e, 0x00, 0x4c, 0x00, 0x56, 0x00, 0x4a, 0x00,
+0x48, 0x00, 0x32, 0x00, 0x0a, 0x00, 0xf0, 0xff, 0xda, 0xff, 0xb8, 0xff, 0xb0, 0xff, 0xa8, 0xff,
+0xaa, 0xff, 0xb2, 0xff, 0xc4, 0xff, 0xe2, 0xff, 0xe2, 0xff, 0x00, 0x00, 0x1e, 0x00, 0x18, 0x00,
+0x22, 0x00, 0x26, 0x00, 0x14, 0x00, 0x0a, 0x00, 0xfc, 0xff, 0xf6, 0xff, 0xea, 0xff, 0xde, 0xff,
+0xde, 0xff, 0xda, 0xff, 0xd4, 0xff, 0xda, 0xff, 0xe0, 0xff, 0xe6, 0xff, 0xf0, 0xff, 0xf8, 0xff,
+0xf2, 0xff, 0xf6, 0xff, 0xf4, 0xff, 0x00, 0x00, 0xfa, 0xff, 0xfc, 0xff, 0xfc, 0xff, 0xfc, 0xff,
+0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0xf4, 0xff, 0xf0, 0xff, 0xe4, 0xff, 0xe0, 0xff,
+0xe2, 0xff, 0xcc, 0xff, 0xcc, 0xff, 0xce, 0xff, 0xc6, 0xff, 0xd4, 0xff, 0xe0, 0xff, 0xe4, 0xff,
+0xfc, 0xff, 0xfe, 0xff, 0x14, 0x00, 0x1e, 0x00, 0x1a, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00,
+0xf2, 0xff, 0xd6, 0xff, 0xc6, 0xff, 0xae, 0xff, 0xaa, 0xff, 0xac, 0xff, 0xaa, 0xff, 0xc0, 0xff,
+0xd6, 0xff, 0xf0, 0xff, 0x02, 0x00, 0x28, 0x00, 0x36, 0x00, 0x40, 0x00, 0x3e, 0x00, 0x32, 0x00,
+0x28, 0x00, 0x04, 0x00, 0xf8, 0xff, 0xd2, 0xff, 0xb2, 0xff, 0xa0, 0xff, 0x88, 0xff, 0x8c, 0xff,
+0x96, 0xff, 0xa4, 0xff, 0xcc, 0xff, 0xf2, 0xff, 0x14, 0x00, 0x30, 0x00, 0x54, 0x00, 0x60, 0x00,
+0x52, 0x00, 0x44, 0x00, 0x34, 0x00, 0x0e, 0x00, 0xe4, 0xff, 0xbc, 0xff, 0x9a, 0xff, 0x7a, 0xff,
+0x68, 0xff, 0x66, 0xff, 0x8c, 0xff, 0xa0, 0xff, 0xc6, 0xff, 0xfe, 0xff, 0x2e, 0x00, 0x5c, 0x00,
+0x76, 0x00, 0x88, 0x00, 0x7a, 0x00, 0x6e, 0x00, 0x42, 0x00, 0x10, 0x00, 0xe0, 0xff, 0xae, 0xff,
+0x7c, 0xff, 0x5e, 0xff, 0x54, 0xff, 0x58, 0xff, 0x7c, 0xff, 0xa8, 0xff, 0xda, 0xff, 0x20, 0x00,
+0x54, 0x00, 0x82, 0x00, 0x96, 0x00, 0x9e, 0x00, 0x94, 0x00, 0x64, 0x00, 0x36, 0x00, 0x04, 0x00,
+0xca, 0xff, 0x8c, 0xff, 0x58, 0xff, 0x3a, 0xff, 0x3e, 0xff, 0x4c, 0xff, 0x70, 0xff, 0xb4, 0xff,
+0xf0, 0xff, 0x28, 0x00, 0x66, 0x00, 0x90, 0x00, 0xaa, 0x00, 0xb0, 0x00, 0x8e, 0x00, 0x6c, 0x00,
+0x24, 0x00, 0xe6, 0xff, 0xb8, 0xff, 0x76, 0xff, 0x4e, 0xff, 0x30, 0xff, 0x2e, 0xff, 0x56, 0xff,
+0x8c, 0xff, 0xd8, 0xff, 0x02, 0x00, 0x3c, 0x00, 0x7a, 0x00, 0xa2, 0x00, 0xbc, 0x00, 0xa8, 0x00,
+0x88, 0x00, 0x58, 0x00, 0x04, 0x00, 0xd2, 0xff, 0xa8, 0xff, 0x68, 0xff, 0x3a, 0xff, 0x26, 0xff,
+0x3c, 0xff, 0x5c, 0xff, 0x96, 0xff, 0xe4, 0xff, 0x12, 0x00, 0x46, 0x00, 0x74, 0x00, 0x8e, 0x00,
+0xa4, 0x00, 0x94, 0x00, 0x6a, 0x00, 0x34, 0x00, 0xf0, 0xff, 0xb8, 0xff, 0x8c, 0xff, 0x4e, 0xff,
+0x3c, 0xff, 0x30, 0xff, 0x44, 0xff, 0x72, 0xff, 0x9c, 0xff, 0xe4, 0xff, 0x20, 0x00, 0x56, 0x00,
+0x7a, 0x00, 0x92, 0x00, 0x98, 0x00, 0x80, 0x00, 0x5e, 0x00, 0x2e, 0x00, 0xf4, 0xff, 0xb8, 0xff,
+0x82, 0xff, 0x5c, 0xff, 0x48, 0xff, 0x4e, 0xff, 0x6a, 0xff, 0x8e, 0xff, 0xc2, 0xff, 0xf6, 0xff,
+0x28, 0x00, 0x4c, 0x00, 0x6e, 0x00, 0x8c, 0x00, 0x82, 0x00, 0x68, 0x00, 0x42, 0x00, 0x02, 0x00,
+0xde, 0xff, 0xae, 0xff, 0x88, 0xff, 0x6c, 0xff, 0x5a, 0xff, 0x6a, 0xff, 0x86, 0xff, 0xa8, 0xff,
+0xd6, 0xff, 0x04, 0x00, 0x2a, 0x00, 0x52, 0x00, 0x5e, 0x00, 0x60, 0x00, 0x5c, 0x00, 0x4c, 0x00,
+0x1c, 0x00, 0xfc, 0xff, 0xe8, 0xff, 0xb0, 0xff, 0x9c, 0xff, 0x92, 0xff, 0x90, 0xff, 0xa4, 0xff,
+0xae, 0xff, 0xd6, 0xff, 0xf2, 0xff, 0x10, 0x00, 0x24, 0x00, 0x3a, 0x00, 0x48, 0x00, 0x44, 0x00,
+0x44, 0x00, 0x36, 0x00, 0x18, 0x00, 0xfe, 0xff, 0xea, 0xff, 0xcc, 0xff, 0xb4, 0xff, 0xbc, 0xff,
+0xc4, 0xff, 0xca, 0xff, 0xd0, 0xff, 0xd4, 0xff, 0xee, 0xff, 0x04, 0x00, 0x0a, 0x00, 0x1c, 0x00,
+0x1a, 0x00, 0x0e, 0x00, 0x18, 0x00, 0x14, 0x00, 0x0c, 0x00, 0xf8, 0xff, 0xee, 0xff, 0xec, 0xff,
+0xe8, 0xff, 0xe6, 0xff, 0xee, 0xff, 0xec, 0xff, 0xe4, 0xff, 0xe6, 0xff, 0xec, 0xff, 0xea, 0xff,
+0xe4, 0xff, 0xee, 0xff, 0xf0, 0xff, 0xf0, 0xff, 0xf0, 0xff, 0xf4, 0xff, 0xfe, 0xff, 0x04, 0x00,
+0x08, 0x00, 0x08, 0x00, 0x0c, 0x00, 0x0e, 0x00, 0x0a, 0x00, 0x04, 0x00, 0xf2, 0xff, 0xe8, 0xff,
+0xd8, 0xff, 0xc6, 0xff, 0xb6, 0xff, 0xb8, 0xff, 0xc4, 0xff, 0xc4, 0xff, 0xd0, 0xff, 0xe0, 0xff,
+0xf0, 0xff, 0x02, 0x00, 0x1a, 0x00, 0x2a, 0x00, 0x2c, 0x00, 0x2a, 0x00, 0x1a, 0x00, 0x14, 0x00,
+0x06, 0x00, 0xe8, 0xff, 0xca, 0xff, 0xb0, 0xff, 0x9e, 0xff, 0x9a, 0xff, 0xa2, 0xff, 0xaa, 0xff,
+0xbe, 0xff, 0xd4, 0xff, 0xea, 0xff, 0x0a, 0x00, 0x28, 0x00, 0x3a, 0x00, 0x4e, 0x00, 0x4a, 0x00,
+0x3c, 0x00, 0x22, 0x00, 0x02, 0x00, 0xe4, 0xff, 0xb6, 0xff, 0x9e, 0xff, 0x8e, 0xff, 0x7c, 0xff,
+0x7c, 0xff, 0x92, 0xff, 0xaa, 0xff, 0xce, 0xff, 0xfa, 0xff, 0x2c, 0x00, 0x5a, 0x00, 0x64, 0x00,
+0x6a, 0x00, 0x62, 0x00, 0x4c, 0x00, 0x2a, 0x00, 0xf8, 0xff, 0xd2, 0xff, 0x94, 0xff, 0x6e, 0xff,
+0x56, 0xff, 0x50, 0xff, 0x66, 0xff, 0x84, 0xff, 0xa6, 0xff, 0xdc, 0xff, 0x10, 0x00, 0x4a, 0x00,
+0x78, 0x00, 0x92, 0x00, 0x9a, 0x00, 0x84, 0x00, 0x50, 0x00, 0x22, 0x00, 0xf4, 0xff, 0xb8, 0xff,
+0x7a, 0xff, 0x4e, 0xff, 0x44, 0xff, 0x3e, 0xff, 0x5a, 0xff, 0x88, 0xff, 0xc4, 0xff, 0xfc, 0xff,
+0x3a, 0x00, 0x78, 0x00, 0xa6, 0x00, 0xb8, 0x00, 0xb4, 0x00, 0x92, 0x00, 0x56, 0x00, 0x18, 0x00,
+0xe0, 0xff, 0x98, 0xff, 0x62, 0xff, 0x44, 0xff, 0x2c, 0xff, 0x3e, 0xff, 0x64, 0xff, 0x9a, 0xff,
+0xe0, 0xff, 0x16, 0x00, 0x5c, 0x00, 0x92, 0x00, 0xc0, 0x00, 0xc8, 0x00, 0xa8, 0x00, 0x88, 0x00,
+0x3a, 0x00, 0xf6, 0xff, 0xc6, 0xff, 0x82, 0xff, 0x50, 0xff, 0x2e, 0xff, 0x20, 0xff, 0x46, 0xff,
+0x68, 0xff, 0xaa, 0xff, 0xf4, 0xff, 0x22, 0x00, 0x6a, 0x00, 0x98, 0x00, 0xae, 0x00, 0xbe, 0x00,
+0x96, 0x00, 0x6c, 0x00, 0x2e, 0x00, 0xf0, 0xff, 0xc0, 0xff, 0x76, 0xff, 0x52, 0xff, 0x3c, 0xff,
+0x38, 0xff, 0x54, 0xff, 0x82, 0xff, 0xb2, 0xff, 0xfc, 0xff, 0x2e, 0x00, 0x60, 0x00, 0x90, 0x00,
+0xa4, 0x00, 0xa2, 0x00, 0x8a, 0x00, 0x50, 0x00, 0x24, 0x00, 0xe4, 0xff, 0xae, 0xff, 0x86, 0xff,
+0x50, 0xff, 0x44, 0xff, 0x4e, 0xff, 0x5e, 0xff, 0x84, 0xff, 0xbc, 0xff, 0xfa, 0xff, 0x2e, 0x00,
+0x5a, 0x00, 0x88, 0x00, 0x86, 0x00, 0x7e, 0x00, 0x6a, 0x00, 0x38, 0x00, 0x0a, 0x00, 0xe4, 0xff,
+0xaa, 0xff, 0x7e, 0xff, 0x58, 0xff, 0x5a, 0xff, 0x60, 0xff, 0x72, 0xff, 0xa2, 0xff, 0xd6, 0xff,
+0x02, 0x00, 0x34, 0x00, 0x5a, 0x00, 0x68, 0x00, 0x70, 0x00, 0x68, 0x00, 0x50, 0x00, 0x32, 0x00,
+0x00, 0x00, 0xda, 0xff, 0xb0, 0xff, 0x90, 0xff, 0x84, 0xff, 0x80, 0xff, 0x92, 0xff, 0x92, 0xff,
+0xb8, 0xff, 0xe8, 0xff, 0x04, 0x00, 0x28, 0x00, 0x40, 0x00, 0x44, 0x00, 0x46, 0x00, 0x3a, 0x00,
+0x30, 0x00, 0x12, 0x00, 0xf0, 0xff, 0xde, 0xff, 0xc0, 0xff, 0xa2, 0xff, 0xa6, 0xff, 0xaa, 0xff,
+0xa4, 0xff, 0xb8, 0xff, 0xce, 0xff, 0xec, 0xff, 0xfa, 0xff, 0x10, 0x00, 0x24, 0x00, 0x16, 0x00,
+0x20, 0x00, 0x28, 0x00, 0x0a, 0x00, 0x02, 0x00, 0xfa, 0xff, 0xee, 0xff, 0xda, 0xff, 0xd4, 0xff,
+0xda, 0xff, 0xd2, 0xff, 0xd0, 0xff, 0xda, 0xff, 0xf0, 0xff, 0xf4, 0xff, 0xfa, 0xff, 0xfa, 0xff,
+0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0xfe, 0xff, 0x02, 0x00, 0x06, 0x00, 0xfe, 0xff, 0xfe, 0xff,
+0xfc, 0xff, 0xf8, 0xff, 0xfc, 0xff, 0xfc, 0xff, 0xf4, 0xff, 0xee, 0xff, 0xf4, 0xff, 0xe2, 0xff,
+0xd8, 0xff, 0xd4, 0xff, 0xd8, 0xff, 0xd6, 0xff, 0xd8, 0xff, 0xe6, 0xff, 0xf0, 0xff, 0xfc, 0xff,
+0x02, 0x00, 0x14, 0x00, 0x1e, 0x00, 0x14, 0x00, 0x1a, 0x00, 0x18, 0x00, 0x08, 0x00, 0xfc, 0xff,
+0xea, 0xff, 0xdc, 0xff, 0xc8, 0xff, 0xb6, 0xff, 0xb4, 0xff, 0xba, 0xff, 0xc6, 0xff, 0xe0, 0xff,
+0xf0, 0xff, 0x06, 0x00, 0x1a, 0x00, 0x44, 0x00, 0x52, 0x00, 0x3e, 0x00, 0x3c, 0x00, 0x30, 0x00,
+0x1a, 0x00, 0x00, 0x00, 0xec, 0xff, 0xb8, 0xff, 0x98, 0xff, 0x8c, 0xff, 0x88, 0xff, 0x98, 0xff,
+0xa0, 0xff, 0xca, 0xff, 0xf2, 0xff, 0x08, 0x00, 0x38, 0x00, 0x5e, 0x00, 0x62, 0x00, 0x68, 0x00,
+0x5c, 0x00, 0x40, 0x00, 0x16, 0x00, 0xf0, 0xff, 0xc0, 0xff, 0x90, 0xff, 0x6a, 0xff, 0x5a, 0xff,
+0x64, 0xff, 0x7a, 0xff, 0x92, 0xff, 0xce, 0xff, 0x00, 0x00, 0x26, 0x00, 0x5c, 0x00, 0x80, 0x00,
+0x94, 0x00, 0x88, 0x00, 0x72, 0x00, 0x4c, 0x00, 0x1c, 0x00, 0xe6, 0xff, 0xa8, 0xff, 0x80, 0xff,
+0x58, 0xff, 0x44, 0xff, 0x56, 0xff, 0x6e, 0xff, 0x9a, 0xff, 0xd4, 0xff, 0x08, 0x00, 0x40, 0x00,
+0x74, 0x00, 0x96, 0x00, 0xa2, 0x00, 0x9a, 0x00, 0x78, 0x00, 0x3a, 0x00, 0x04, 0x00, 0xcc, 0xff,
+0x90, 0xff, 0x58, 0xff, 0x38, 0xff, 0x28, 0xff, 0x3a, 0xff, 0x64, 0xff, 0xa0, 0xff, 0xde, 0xff,
+0x12, 0x00, 0x4e, 0x00, 0x88, 0x00, 0xb2, 0x00, 0xb6, 0x00, 0xa0, 0x00, 0x76, 0x00, 0x36, 0x00,
+0x00, 0x00, 0xce, 0xff, 0x80, 0xff, 0x4a, 0xff, 0x38, 0xff, 0x34, 0xff, 0x52, 0xff, 0x78, 0xff,
+0xb4, 0xff, 0xfa, 0xff, 0x24, 0x00, 0x6a, 0x00, 0x98, 0x00, 0xb4, 0x00, 0xbc, 0x00, 0x98, 0x00,
+0x70, 0x00, 0x2a, 0x00, 0xf6, 0xff, 0xb4, 0xff, 0x78, 0xff, 0x4a, 0xff, 0x2e, 0xff, 0x32, 0xff,
+0x48, 0xff, 0x82, 0xff, 0xc2, 0xff, 0xf6, 0xff, 0x2c, 0x00, 0x6a, 0x00, 0x90, 0x00, 0xb2, 0x00,
+0xa8, 0x00, 0x84, 0x00, 0x56, 0x00, 0x12, 0x00, 0xe4, 0xff, 0xac, 0xff, 0x74, 0xff, 0x4c, 0xff,
+0x3a, 0xff, 0x4c, 0xff, 0x68, 0xff, 0x94, 0xff, 0xce, 0xff, 0x00, 0x00, 0x38, 0x00, 0x70, 0x00,
+0x8e, 0x00, 0x9c, 0x00, 0xa0, 0x00, 0x72, 0x00, 0x4c, 0x00, 0x18, 0x00, 0xd8, 0xff, 0xac, 0xff,
+0x7c, 0xff, 0x60, 0xff, 0x50, 0xff, 0x68, 0xff, 0x7c, 0xff, 0xa0, 0xff, 0xde, 0xff, 0x0c, 0x00,
+0x38, 0x00, 0x60, 0x00, 0x70, 0x00, 0x7c, 0x00, 0x78, 0x00, 0x4a, 0x00, 0x22, 0x00, 0x00, 0x00,
+0xd2, 0xff, 0xa0, 0xff, 0x8e, 0xff, 0x78, 0xff, 0x6a, 0xff, 0x86, 0xff, 0x94, 0xff, 0xb6, 0xff,
+0xe4, 0xff, 0x0e, 0x00, 0x38, 0x00, 0x4a, 0x00, 0x52, 0x00, 0x54, 0x00, 0x52, 0x00, 0x36, 0x00,
+0x0e, 0x00, 0xf2, 0xff, 0xcc, 0xff, 0xb0, 0xff, 0xa8, 0xff, 0xa6, 0xff, 0x98, 0xff, 0x9e, 0xff,
+0xbc, 0xff, 0xd8, 0xff, 0xf4, 0xff, 0x10, 0x00, 0x1c, 0x00, 0x26, 0x00, 0x3a, 0x00, 0x30, 0x00,
+0x2e, 0x00, 0x14, 0x00, 0x00, 0x00, 0xf2, 0xff, 0xda, 0xff, 0xca, 0xff, 0xbc, 0xff, 0xc0, 0xff,
+0xb4, 0xff, 0xb6, 0xff, 0xc0, 0xff, 0xdc, 0xff, 0xe6, 0xff, 0xfa, 0xff, 0x12, 0x00, 0x0c, 0x00,
+0x16, 0x00, 0x1c, 0x00, 0x14, 0x00, 0x10, 0x00, 0xfe, 0xff, 0xf6, 0xff, 0xec, 0xff, 0xe2, 0xff,
+0xd8, 0xff, 0xd6, 0xff, 0xd4, 0xff, 0xce, 0xff, 0xd8, 0xff, 0xea, 0xff, 0xec, 0xff, 0xee, 0xff,
+0x02, 0x00, 0xf8, 0xff, 0x00, 0x00, 0x04, 0x00, 0x0a, 0x00, 0x02, 0x00, 0x00, 0x00, 0x0e, 0x00,
+0x0c, 0x00, 0x12, 0x00, 0x00, 0x00, 0x02, 0x00, 0xf8, 0xff, 0xec, 0xff, 0xe8, 0xff, 0xdc, 0xff,
+0xce, 0xff, 0xc4, 0xff, 0xc8, 0xff, 0xd0, 0xff, 0xcc, 0xff, 0xda, 0xff, 0xf6, 0xff, 0xf6, 0xff,
+0x06, 0x00, 0x22, 0x00, 0x30, 0x00, 0x34, 0x00, 0x26, 0x00, 0x20, 0x00, 0x0a, 0x00, 0xfc, 0xff,
+0xec, 0xff, 0xd0, 0xff, 0xb4, 0xff, 0xa2, 0xff, 0x9c, 0xff, 0xa4, 0xff, 0xb4, 0xff, 0xc2, 0xff,
+0xe6, 0xff, 0xfe, 0xff, 0x1e, 0x00, 0x40, 0x00, 0x54, 0x00, 0x56, 0x00, 0x50, 0x00, 0x3c, 0x00,
+0x28, 0x00, 0x02, 0x00, 0xee, 0xff, 0xbc, 0xff, 0x96, 0xff, 0x92, 0xff, 0x76, 0xff, 0x7c, 0xff,
+0xa0, 0xff, 0xaa, 0xff, 0xdc, 0xff, 0x06, 0x00, 0x34, 0x00, 0x5c, 0x00, 0x6e, 0x00, 0x7c, 0x00,
+0x62, 0x00, 0x50, 0x00, 0x2a, 0x00, 0xfc, 0xff, 0xce, 0xff, 0xa6, 0xff, 0x7a, 0xff, 0x58, 0xff,
+0x52, 0xff, 0x60, 0xff, 0x82, 0xff, 0xac, 0xff, 0xe0, 0xff, 0x1a, 0x00, 0x54, 0x00, 0x74, 0x00,
+0x8c, 0x00, 0x98, 0x00, 0x7a, 0x00, 0x58, 0x00, 0x22, 0x00, 0xf2, 0xff, 0xc2, 0xff, 0x82, 0xff,
+0x5e, 0xff, 0x40, 0xff, 0x48, 0xff, 0x5e, 0xff, 0x84, 0xff, 0xc8, 0xff, 0xfa, 0xff, 0x32, 0x00,
+0x78, 0x00, 0x9c, 0x00, 0xb0, 0x00, 0xb4, 0x00, 0x88, 0x00, 0x52, 0x00, 0x10, 0x00, 0xe0, 0xff,
+0xaa, 0xff, 0x58, 0xff, 0x3e, 0xff, 0x28, 0xff, 0x20, 0xff, 0x44, 0xff, 0x88, 0xff, 0xcc, 0xff,
+0x00, 0x00, 0x44, 0x00, 0x86, 0x00, 0xa8, 0x00, 0xb0, 0x00, 0xb4, 0x00, 0x7e, 0x00, 0x52, 0x00,
+0x08, 0x00, 0xd6, 0xff, 0x9a, 0xff, 0x52, 0xff, 0x34, 0xff, 0x20, 0xff, 0x32, 0xff, 0x5e, 0xff,
+0xa2, 0xff, 0xec, 0xff, 0x16, 0x00, 0x5c, 0x00, 0x9a, 0x00, 0xb4, 0x00, 0xca, 0x00, 0xaa, 0x00,
+0x86, 0x00, 0x40, 0x00, 0x00, 0x00, 0xcc, 0xff, 0x8e, 0xff, 0x56, 0xff, 0x34, 0xff, 0x2a, 0xff,
+0x3e, 0xff, 0x6a, 0xff, 0xac, 0xff, 0xf6, 0xff, 0x32, 0x00, 0x6a, 0x00, 0x92, 0x00, 0xae, 0x00,
+0xb0, 0x00, 0x9e, 0x00, 0x72, 0x00, 0x30, 0x00, 0x04, 0x00, 0xbe, 0xff, 0x86, 0xff, 0x58, 0xff,
+0x3c, 0xff, 0x3c, 0xff, 0x58, 0xff, 0x8a, 0xff, 0xbe, 0xff, 0x00, 0x00, 0x2a, 0x00, 0x58, 0x00,
+0x84, 0x00, 0x90, 0x00, 0x8c, 0x00, 0x86, 0x00, 0x5a, 0x00, 0x22, 0x00, 0xec, 0xff, 0xb6, 0xff,
+0x96, 0xff, 0x70, 0xff, 0x64, 0xff, 0x66, 0xff, 0x7c, 0xff, 0xa0, 0xff, 0xd6, 0xff, 0x06, 0x00,
+0x30, 0x00, 0x4e, 0x00, 0x66, 0x00, 0x7a, 0x00, 0x66, 0x00, 0x5a, 0x00, 0x3e, 0x00, 0x0c, 0x00,
+0xec, 0xff, 0xb2, 0xff, 0x94, 0xff, 0x80, 0xff, 0x78, 0xff, 0x84, 0xff, 0x8c, 0xff, 0xb8, 0xff,
+0xdc, 0xff, 0xf0, 0xff, 0x0c, 0x00, 0x2c, 0x00, 0x36, 0x00, 0x40, 0x00, 0x40, 0x00, 0x2c, 0x00,
+0x1c, 0x00, 0xf2, 0xff, 0xd6, 0xff, 0xbc, 0xff, 0x9e, 0xff, 0xa0, 0xff, 0x9a, 0xff, 0xaa, 0xff,
+0xba, 0xff, 0xc8, 0xff, 0xe2, 0xff, 0xf4, 0xff, 0x12, 0x00, 0x1a, 0x00, 0x1c, 0x00, 0x28, 0x00,
+0x1c, 0x00, 0x10, 0x00, 0x00, 0x00, 0xf6, 0xff, 0xe8, 0xff, 0xda, 0xff, 0xce, 0xff, 0xd0, 0xff,
+0xca, 0xff, 0xd2, 0xff, 0xe0, 0xff, 0xe8, 0xff, 0xe4, 0xff, 0xec, 0xff, 0xf8, 0xff, 0xfc, 0xff,
+0x02, 0x00, 0x00, 0x00, 0x02, 0x00, 0xfc, 0xff, 0xf8, 0xff, 0xf2, 0xff, 0xe8, 0xff, 0xea, 0xff,
+0xea, 0xff, 0xec, 0xff, 0xea, 0xff, 0xee, 0xff, 0xea, 0xff, 0xe2, 0xff, 0xe0, 0xff, 0xda, 0xff,
+0xd2, 0xff, 0xe4, 0xff, 0xe4, 0xff, 0xe0, 0xff, 0xf0, 0xff, 0xf6, 0xff, 0x00, 0x00, 0x10, 0x00,
+0x2a, 0x00, 0x2a, 0x00, 0x2a, 0x00, 0x1c, 0x00, 0x12, 0x00, 0x0c, 0x00, 0xf6, 0xff, 0xe6, 0xff,
+0xca, 0xff, 0xc0, 0xff, 0xb6, 0xff, 0xb4, 0xff, 0xc4, 0xff, 0xc8, 0xff, 0xd2, 0xff, 0xec, 0xff,
+0x08, 0x00, 0x18, 0x00, 0x36, 0x00, 0x52, 0x00, 0x56, 0x00, 0x46, 0x00, 0x40, 0x00, 0x1e, 0x00,
+0xf6, 0xff, 0xd8, 0xff, 0xae, 0xff, 0x86, 0xff, 0x78, 0xff, 0x76, 0xff, 0x92, 0xff, 0x9c, 0xff,
+0xbe, 0xff, 0xf0, 0xff, 0x1c, 0x00, 0x44, 0x00, 0x66, 0x00, 0x72, 0x00, 0x70, 0x00, 0x66, 0x00,
+0x4a, 0x00, 0x28, 0x00, 0xf6, 0xff, 0xc6, 0xff, 0x8c, 0xff, 0x74, 0xff, 0x54, 0xff, 0x56, 0xff,
+0x70, 0xff, 0x8c, 0xff, 0xba, 0xff, 0xee, 0xff, 0x1a, 0x00, 0x58, 0x00, 0x90, 0x00, 0xa8, 0x00,
+0xa2, 0x00, 0x8a, 0x00, 0x5c, 0x00, 0x28, 0x00, 0xea, 0xff, 0xa6, 0xff, 0x6a, 0xff, 0x3e, 0xff,
+0x28, 0xff, 0x2e, 0xff, 0x48, 0xff, 0x7e, 0xff, 0xc8, 0xff, 0x08, 0x00, 0x3c, 0x00, 0x7c, 0x00,
+0x96, 0x00, 0xa6, 0x00, 0xa4, 0x00, 0x80, 0x00, 0x48, 0x00, 0x06, 0x00, 0xc6, 0xff, 0x7e, 0xff,
+0x4e, 0xff, 0x22, 0xff, 0x14, 0xff, 0x1e, 0xff, 0x4a, 0xff, 0x76, 0xff, 0xb8, 0xff, 0x02, 0x00,
+0x50, 0x00, 0xa4, 0x00, 0xce, 0x00, 0xdc, 0x00, 0xba, 0x00, 0x7e, 0x00, 0x46, 0x00, 0x06, 0x00,
+0xbc, 0xff, 0x88, 0xff, 0x42, 0xff, 0x36, 0xff, 0x22, 0xff, 0x1c, 0xff, 0x4e, 0xff, 0x94, 0xff,
+0xe4, 0xff, 0x20, 0x00, 0x68, 0x00, 0xa2, 0x00, 0xde, 0x00, 0xc6, 0x00, 0x92, 0x00, 0x88, 0x00,
+0x82, 0x00, 0x44, 0x00, 0x98, 0xff, 0x04, 0xfe, 0x84, 0xfb, 0xc0, 0xf8, 0x44, 0xf6, 0x10, 0xf5,
+0xac, 0xf5, 0xf6, 0xf8, 0x4a, 0xff, 0xea, 0x07, 0x04, 0x12, 0xca, 0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0xba, 0xee, 0xaa, 0xe6,
+0xe5, 0xe2, 0x04, 0xe4, 0x2e, 0xe9, 0xfa, 0xf0, 0x86, 0xf9, 0xfe, 0x00, 0x66, 0x06, 0x74, 0x09,
+0x60, 0x0a, 0xde, 0x09, 0x8e, 0x08, 0xe6, 0x06, 0x16, 0x05, 0x4c, 0x03, 0x76, 0x01, 0xb2, 0xff,
+0x20, 0xfe, 0x12, 0xfd, 0xa6, 0xfc, 0xd8, 0xfc, 0x8e, 0xfd, 0x9e, 0xfe, 0xc2, 0xff, 0xbe, 0x00,
+0x82, 0x01, 0xf6, 0x01, 0x38, 0x02, 0x26, 0x02, 0xbe, 0x01, 0x2c, 0x01, 0xdc, 0x00, 0x9a, 0x00,
+0x6c, 0x00, 0x26, 0x00, 0xfe, 0xff, 0xe0, 0xff, 0xe8, 0xff, 0xfa, 0xff, 0x1c, 0x00, 0x48, 0x00,
+0x80, 0x00, 0xb0, 0x00, 0xd2, 0x00, 0x04, 0x01, 0x1a, 0x01, 0x08, 0x01, 0xae, 0x00, 0x38, 0x00,
+0xc4, 0xff, 0x8e, 0xff, 0x6e, 0xff, 0x6c, 0xff, 0x82, 0xff, 0xb4, 0xff, 0xec, 0xff, 0x14, 0x00,
+0x20, 0x00, 0x2c, 0x00, 0x28, 0x00, 0x26, 0x00, 0x38, 0x00, 0x56, 0x00, 0x9a, 0x00, 0xb6, 0x00,
+0xa8, 0x00, 0x74, 0x00, 0x3a, 0x00, 0xf2, 0xff, 0xa4, 0xff, 0x34, 0xff, 0xce, 0xfe, 0x94, 0xfe,
+0x9a, 0xfe, 0xc8, 0xfe, 0x10, 0xff, 0x7a, 0xff, 0xcc, 0xff, 0xf6, 0xff, 0x1a, 0x00, 0x46, 0x00,
+0x6a, 0x00, 0x74, 0x00, 0x54, 0x00, 0x20, 0x00, 0xf2, 0xff, 0xc2, 0xff, 0x8a, 0xff, 0x46, 0xff,
+0x0c, 0xff, 0xe8, 0xfe, 0xea, 0xfe, 0x10, 0xff, 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, 0x40, 0xff, 0x6a, 0xff, 0x9e, 0xff, 0xbc, 0xff, 0xb6, 0xff, 0xa2, 0xff, 0x70, 0xff,
+0x56, 0xff, 0x4c, 0xff, 0x5a, 0xff, 0x4e, 0xff, 0x3c, 0xff, 0x26, 0xff, 0x32, 0xff, 0x46, 0xff,
+0x68, 0xff, 0x82, 0xff, 0x8c, 0xff, 0x8a, 0xff, 0x74, 0xff, 0x64, 0xff, 0x70, 0xff, 0x8a, 0xff,
+0xa6, 0xff, 0xae, 0xff, 0xa8, 0xff, 0x96, 0xff, 0x72, 0xff, 0x4c, 0xff, 0x22, 0xff, 0x1e, 0xff,
+0x36, 0xff, 0x58, 0xff, 0x78, 0xff, 0x80, 0xff, 0x8c, 0xff, 0x86, 0xff, 0x6a, 0xff, 0x4c, 0xff,
+0x4c, 0xff, 0x62, 0xff, 0x70, 0xff, 0x90, 0xff, 0x9c, 0xff, 0xa8, 0xff, 0x98, 0xff, 0x8a, 0xff,
+0x78, 0xff, 0x88, 0xff, 0x92, 0xff, 0x8a, 0xff, 0x66, 0xff, 0x3c, 0xff, 0x34, 0xff, 0x40, 0xff,
+0x62, 0xff, 0x5e, 0xff, 0x5c, 0xff, 0x4c, 0xff, 0x48, 0xff, 0x56, 0xff, 0x86, 0xff, 0xb2, 0xff,
+0xc8, 0xff, 0xbc, 0xff, 0xae, 0xff, 0x9c, 0xff, 0x9e, 0xff, 0x90, 0xff, 0x6e, 0xff, 0x4c, 0xff,
+0x34, 0xff, 0x28, 0xff, 0x22, 0xff, 0x30, 0xff, 0x3e, 0xff, 0x56, 0xff, 0x6c, 0xff, 0x94, 0xff,
+0xae, 0xff, 0xc6, 0xff, 0xd0, 0xff, 0xcc, 0xff, 0xb6, 0xff, 0xc0, 0xff, 0xae, 0xff, 0xae, 0xff,
+0x92, 0xff, 0x6e, 0xff, 0x5c, 0xff, 0x34, 0xff, 0x22, 0xff, 0x20, 0xff, 0x28, 0xff, 0x48, 0xff,
+0x88, 0xff, 0xde, 0xff, 0x20, 0x00, 0x5a, 0x00, 0x60, 0x00, 0x4a, 0x00, 0x20, 0x00, 0xea, 0xff,
+0xac, 0xff, 0x64, 0xff, 0x2a, 0xff, 0x04, 0xff, 0xea, 0xfe, 0xee, 0xfe, 0x22, 0xff, 0x3c, 0xff,
+0x72, 0xff, 0x96, 0xff, 0xc8, 0xff, 0xf2, 0xff, 0x16, 0x00, 0x22, 0x00, 0x32, 0x00, 0x38, 0x00,
+0x1a, 0x00, 0xec, 0xff, 0xa8, 0xff, 0x5e, 0xff, 0x28, 0xff, 0x0c, 0xff, 0x02, 0xff, 0x12, 0xff,
+0x18, 0xff, 0x38, 0xff, 0x58, 0xff, 0x92, 0xff, 0xca, 0xff, 0x14, 0x00, 0x46, 0x00, 0x5c, 0x00,
+0x40, 0x00, 0x2e, 0x00, 0x0c, 0x00, 0xd0, 0xff, 0xae, 0xff, 0x6a, 0xff, 0x28, 0xff, 0xdc, 0xfe,
+0xb4, 0xfe, 0xb8, 0xfe, 0xf6, 0xfe, 0x26, 0xff, 0x80, 0xff, 0xb6, 0xff, 0x04, 0x00, 0x50, 0x00,
+0x7c, 0x00, 0x9e, 0x00, 0x92, 0x00, 0x68, 0x00, 0x1e, 0x00, 0xdc, 0xff, 0x9e, 0xff, 0x68, 0xff,
+0x14, 0xff, 0xdc, 0xfe, 0xba, 0xfe, 0xcc, 0xfe, 0xf6, 0xfe, 0x34, 0xff, 0x82, 0xff, 0xc4, 0xff,
+0x0e, 0x00, 0x4c, 0x00, 0x6e, 0x00, 0x7a, 0x00, 0x60, 0x00, 0x32, 0x00, 0xf2, 0xff, 0xb6, 0xff,
+0x78, 0xff, 0x50, 0xff, 0x20, 0xff, 0x00, 0xff, 0xf4, 0xfe, 0x04, 0xff, 0x2c, 0xff, 0x60, 0xff,
+0xa4, 0xff, 0xd8, 0xff, 0x0e, 0x00, 0x42, 0x00, 0x6c, 0x00, 0x7c, 0x00, 0x66, 0x00, 0x42, 0x00,
+0x08, 0x00, 0xbe, 0xff, 0x86, 0xff, 0x50, 0xff, 0x24, 0xff, 0xfc, 0xfe, 0x08, 0xff, 0x20, 0xff,
+0x4c, 0xff, 0x78, 0xff, 0xac, 0xff, 0xf0, 0xff, 0x14, 0x00, 0x32, 0x00, 0x4e, 0x00, 0x50, 0x00,
+0x34, 0x00, 0x20, 0x00, 0xf4, 0xff, 0xb4, 0xff, 0x86, 0xff, 0x54, 0xff, 0x3e, 0xff, 0x2c, 0xff,
+0x24, 0xff, 0x3c, 0xff, 0x56, 0xff, 0x8a, 0xff, 0xb6, 0xff, 0xe4, 0xff, 0x10, 0x00, 0x1a, 0x00,
+0x32, 0x00, 0x2c, 0x00, 0x1c, 0x00, 0x04, 0x00, 0xde, 0xff, 0xc0, 0xff, 0xa0, 0xff, 0x7e, 0xff,
+0x74, 0xff, 0x76, 0xff, 0x76, 0xff, 0x8a, 0xff, 0x96, 0xff, 0xb2, 0xff, 0xe2, 0xff, 0xee, 0xff,
+0x02, 0x00, 0x04, 0x00, 0x06, 0x00, 0x12, 0x00, 0x00, 0x00, 0xea, 0xff, 0xda, 0xff, 0xc2, 0xff,
+0xb8, 0xff, 0xa2, 0xff, 0xa8, 0xff, 0xa2, 0xff, 0x96, 0xff, 0xaa, 0xff, 0xa8, 0xff, 0xc0, 0xff,
+0xcc, 0xff, 0xd6, 0xff, 0xea, 0xff, 0xea, 0xff, 0xf2, 0xff, 0x00, 0x00, 0xf0, 0xff, 0xf8, 0xff,
+0xec, 0xff, 0xe6, 0xff, 0xf2, 0xff, 0xea, 0xff, 0xe0, 0xff, 0xd6, 0xff, 0xd6, 0xff, 0xd8, 0xff,
+0xce, 0xff, 0xd2, 0xff, 0xd0, 0xff, 0xd0, 0xff, 0xd4, 0xff, 0xdc, 0xff, 0xe8, 0xff, 0xea, 0xff,
+0xf8, 0xff, 0xfc, 0xff, 0x0c, 0x00, 0x12, 0x00, 0x1c, 0x00, 0x1a, 0x00, 0x0a, 0x00, 0x0e, 0x00,
+0xfc, 0xff, 0xec, 0xff, 0xd4, 0xff, 0xc6, 0xff, 0xb6, 0xff, 0xac, 0xff, 0xa8, 0xff, 0xba, 0xff,
+0xbe, 0xff, 0xd0, 0xff, 0xe0, 0xff, 0xf8, 0xff, 0x14, 0x00, 0x18, 0x00, 0x38, 0x00, 0x36, 0x00,
+0x2c, 0x00, 0x1c, 0x00, 0x08, 0x00, 0xfc, 0xff, 0xde, 0xff, 0xca, 0xff, 0xa2, 0xff, 0x9c, 0xff,
+0xa2, 0xff, 0xac, 0xff, 0xbe, 0xff, 0xca, 0xff, 0xe6, 0xff, 0x08, 0x00, 0x2c, 0x00, 0x4c, 0x00,
+0x54, 0x00, 0x58, 0x00, 0x50, 0x00, 0x46, 0x00, 0x22, 0x00, 0xfa, 0xff, 0xda, 0xff, 0xb8, 0xff,
+0x9e, 0xff, 0x80, 0xff, 0x7a, 0xff, 0x86, 0xff, 0x9a, 0xff, 0xae, 0xff, 0xe6, 0xff, 0x08, 0x00,
+0x32, 0x00, 0x4e, 0x00, 0x66, 0x00, 0x6a, 0x00, 0x62, 0x00, 0x42, 0x00, 0x28, 0x00, 0xf4, 0xff,
+0xce, 0xff, 0x9a, 0xff, 0x6c, 0xff, 0x5e, 0xff, 0x54, 0xff, 0x66, 0xff, 0x88, 0xff, 0xb0, 0xff,
+0xda, 0xff, 0x14, 0x00, 0x4e, 0x00, 0x64, 0x00, 0x92, 0x00, 0x9c, 0x00, 0x82, 0x00, 0x60, 0x00,
+0x2a, 0x00, 0x02, 0x00, 0xc6, 0xff, 0x90, 0xff, 0x66, 0xff, 0x50, 0xff, 0x4e, 0xff, 0x64, 0xff,
+0x8a, 0xff, 0xb4, 0xff, 0xf4, 0xff, 0x2e, 0x00, 0x6c, 0x00, 0x9e, 0x00, 0xae, 0x00, 0xa8, 0x00,
+0x8c, 0x00, 0x56, 0x00, 0x22, 0x00, 0xe8, 0xff, 0xa8, 0xff, 0x72, 0xff, 0x48, 0xff, 0x3a, 0xff,
+0x38, 0xff, 0x5a, 0xff, 0x88, 0xff, 0xd0, 0xff, 0x0e, 0x00, 0x42, 0x00, 0x88, 0x00, 0xac, 0x00,
+0xb8, 0x00, 0xae, 0x00, 0x8a, 0x00, 0x4c, 0x00, 0x16, 0x00, 0xea, 0xff, 0xa0, 0xff, 0x70, 0xff,
+0x44, 0xff, 0x40, 0xff, 0x54, 0xff, 0x84, 0xff, 0xb8, 0xff, 0xfe, 0xff, 0x30, 0x00, 0x6c, 0x00,
+0xa2, 0x00, 0xc0, 0x00, 0xc8, 0x00, 0xb8, 0x00, 0x8e, 0x00, 0x48, 0x00, 0x10, 0x00, 0xda, 0xff,
+0xa4, 0xff, 0x74, 0xff, 0x5e, 0xff, 0x52, 0xff, 0x64, 0xff, 0x8e, 0xff, 0xca, 0xff, 0x06, 0x00,
+0x36, 0x00, 0x7a, 0x00, 0xa0, 0x00, 0xb8, 0x00, 0xbe, 0x00, 0x9c, 0x00, 0x6c, 0x00, 0x3a, 0x00,
+0x00, 0x00, 0xcc, 0xff, 0xaa, 0xff, 0x76, 0xff, 0x6c, 0xff, 0x6a, 0xff, 0x72, 0xff, 0xa2, 0xff,
+0xd4, 0xff, 0x0e, 0x00, 0x42, 0x00, 0x7a, 0x00, 0x9c, 0x00, 0xae, 0x00, 0xa6, 0x00, 0x88, 0x00,
+0x6c, 0x00, 0x36, 0x00, 0x06, 0x00, 0xde, 0xff, 0xa6, 0xff, 0x96, 0xff, 0x86, 0xff, 0x7c, 0xff,
+0x98, 0xff, 0xba, 0xff, 0xf2, 0xff, 0x18, 0x00, 0x44, 0x00, 0x64, 0x00, 0x80, 0x00, 0x8a, 0x00,
+0x84, 0x00, 0x72, 0x00, 0x58, 0x00, 0x20, 0x00, 0xfc, 0xff, 0xd2, 0xff, 0xb6, 0xff, 0xa0, 0xff,
+0x9c, 0xff, 0x9e, 0xff, 0xa0, 0xff, 0xc2, 0xff, 0xe6, 0xff, 0x0e, 0x00, 0x2a, 0x00, 0x46, 0x00,
+0x5a, 0x00, 0x5c, 0x00, 0x50, 0x00, 0x48, 0x00, 0x36, 0x00, 0x12, 0x00, 0x02, 0x00, 0xea, 0xff,
+0xd0, 0xff, 0xce, 0xff, 0xc2, 0xff, 0xbc, 0xff, 0xca, 0xff, 0xd8, 0xff, 0x00, 0x00, 0x0e, 0x00,
+0x1c, 0x00, 0x36, 0x00, 0x30, 0x00, 0x36, 0x00, 0x3c, 0x00, 0x38, 0x00, 0x28, 0x00, 0x10, 0x00,
+0x16, 0x00, 0x06, 0x00, 0xfc, 0xff, 0xf6, 0xff, 0xe6, 0xff, 0xd8, 0xff, 0xdc, 0xff, 0xea, 0xff,
+0xf4, 0xff, 0x04, 0x00, 0x00, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x1c, 0x00, 0x1e, 0x00, 0x26, 0x00,
+0x16, 0x00, 0x1a, 0x00, 0x20, 0x00, 0x10, 0x00, 0x16, 0x00, 0x16, 0x00, 0x0c, 0x00, 0x04, 0x00,
+0xfc, 0xff, 0xf8, 0xff, 0xf0, 0xff, 0xde, 0xff, 0xea, 0xff, 0xee, 0xff, 0xf4, 0xff, 0xfe, 0xff,
+0x00, 0x00, 0x0e, 0x00, 0x20, 0x00, 0x30, 0x00, 0x46, 0x00, 0x50, 0x00, 0x48, 0x00, 0x40, 0x00,
+0x38, 0x00, 0x22, 0x00, 0x1c, 0x00, 0x04, 0x00, 0xee, 0xff, 0xda, 0xff, 0xd6, 0xff, 0xd4, 0xff,
+0xd8, 0xff, 0xd6, 0xff, 0xee, 0xff, 0x18, 0x00, 0x2c, 0x00, 0x58, 0x00, 0x6c, 0x00, 0x70, 0x00,
+0x6e, 0x00, 0x5e, 0x00, 0x4e, 0x00, 0x3a, 0x00, 0x14, 0x00, 0xf6, 0xff, 0xcc, 0xff, 0xb4, 0xff,
+0xa8, 0xff, 0xa0, 0xff, 0xb2, 0xff, 0xb4, 0xff, 0xe4, 0xff, 0x08, 0x00, 0x32, 0x00, 0x62, 0x00,
+0x80, 0x00, 0x8e, 0x00, 0x90, 0x00, 0x7c, 0x00, 0x64, 0x00, 0x40, 0x00, 0x12, 0x00, 0xde, 0xff,
+0xac, 0xff, 0x9a, 0xff, 0x8c, 0xff, 0x8e, 0xff, 0xb0, 0xff, 0xca, 0xff, 0xf8, 0xff, 0x26, 0x00,
+0x4a, 0x00, 0x84, 0x00, 0x9e, 0x00, 0xb2, 0x00, 0xaa, 0x00, 0x8a, 0x00, 0x6a, 0x00, 0x3a, 0x00,
+0xfe, 0xff, 0xd6, 0xff, 0x9a, 0xff, 0x7c, 0xff, 0x64, 0xff, 0x66, 0xff, 0x7a, 0xff, 0xb2, 0xff,
+0xec, 0xff, 0x18, 0x00, 0x5a, 0x00, 0x84, 0x00, 0xae, 0x00, 0xbc, 0x00, 0xa6, 0x00, 0x90, 0x00,
+0x64, 0x00, 0x1e, 0x00, 0xee, 0xff, 0xb0, 0xff, 0x80, 0xff, 0x56, 0xff, 0x40, 0xff, 0x54, 0xff,
+0x74, 0xff, 0xb0, 0xff, 0xf2, 0xff, 0x2e, 0x00, 0x6e, 0x00, 0x9c, 0x00, 0xc2, 0x00, 0xd8, 0x00,
+0xc0, 0x00, 0x9c, 0x00, 0x64, 0x00, 0x1e, 0x00, 0xe4, 0xff, 0xa4, 0xff, 0x70, 0xff, 0x4c, 0xff,
+0x44, 0xff, 0x62, 0xff, 0x86, 0xff, 0xc2, 0xff, 0x0c, 0x00, 0x40, 0x00, 0x88, 0x00, 0xbc, 0x00,
+0xda, 0x00, 0xb8, 0x00, 0x4a, 0x00, 0x08, 0x00, 0xc0, 0xff, 0x80, 0xff, 0x5a, 0xff, 0x3a, 0xff,
+0x4c, 0xff, 0x64, 0xff, 0x98, 0xff, 0xe4, 0xff, 0x16, 0x00, 0x56, 0x00, 0x92, 0x00, 0xb8, 0x00,
+0xce, 0x00, 0xba, 0x00, 0xa8, 0x00, 0x7c, 0x00, 0x34, 0x00, 0x06, 0x00, 0xc4, 0xff, 0x86, 0xff,
+0x62, 0xff, 0x50, 0xff, 0x58, 0xff, 0x90, 0xff, 0xba, 0xff, 0xfa, 0xff, 0x40, 0x00, 0x62, 0x00,
+0xa4, 0x00, 0xc6, 0x00, 0xc2, 0x00, 0xb8, 0x00, 0x96, 0x00, 0x5e, 0x00, 0x22, 0x00, 0xe6, 0xff,
+0xb8, 0xff, 0x86, 0xff, 0x6a, 0xff, 0x70, 0xff, 0x80, 0xff, 0xa0, 0xff, 0xd4, 0xff, 0x08, 0x00,
+0x42, 0x00, 0x72, 0x00, 0x8e, 0x00, 0xa6, 0x00, 0x9e, 0x00, 0x80, 0x00, 0x70, 0x00, 0x34, 0x00,
+0x02, 0x00, 0xd6, 0xff, 0xa2, 0xff, 0x9c, 0xff, 0x88, 0xff, 0x8e, 0xff, 0xac, 0xff, 0xb8, 0xff,
+0xe4, 0xff, 0x16, 0x00, 0x3c, 0x00, 0x68, 0x00, 0x76, 0x00, 0x7c, 0x00, 0x78, 0x00, 0x6c, 0x00,
+0x56, 0x00, 0x2e, 0x00, 0x0e, 0x00, 0xe2, 0xff, 0xc0, 0xff, 0xbc, 0xff, 0xb8, 0xff, 0xc0, 0xff,
+0xc6, 0xff, 0xd8, 0xff, 0x04, 0x00, 0x26, 0x00, 0x34, 0x00, 0x4c, 0x00, 0x5a, 0x00, 0x50, 0x00,
+0x50, 0x00, 0x58, 0x00, 0x30, 0x00, 0x18, 0x00, 0x02, 0x00, 0xea, 0xff, 0xde, 0xff, 0xd2, 0xff,
+0xd6, 0xff, 0xd8, 0xff, 0xdc, 0xff, 0xe0, 0xff, 0xfe, 0xff, 0x14, 0x00, 0x14, 0x00, 0x28, 0x00,
+0x28, 0x00, 0x2c, 0x00, 0x26, 0x00, 0x24, 0x00, 0x1e, 0x00, 0x12, 0x00, 0x00, 0x00, 0x06, 0x00,
+0x0a, 0x00, 0xfa, 0xff, 0xf6, 0xff, 0xf6, 0xff, 0xf4, 0xff, 0x04, 0x00, 0xfa, 0xff, 0xf0, 0xff,
+0xfe, 0xff, 0xf8, 0xff, 0x08, 0x00, 0x06, 0x00, 0x0e, 0x00, 0x0c, 0x00, 0x10, 0x00, 0x1c, 0x00,
+0x2c, 0x00, 0x34, 0x00, 0x2e, 0x00, 0x20, 0x00, 0x24, 0x00, 0x0e, 0x00, 0x02, 0x00, 0xfa, 0xff,
+0xee, 0xff, 0xe6, 0xff, 0xd4, 0xff, 0xd2, 0xff, 0xda, 0xff, 0xe2, 0xff, 0xec, 0xff, 0x04, 0x00,
+0x0c, 0x00, 0x22, 0x00, 0x3c, 0x00, 0x4a, 0x00, 0x4c, 0x00, 0x38, 0x00, 0x3a, 0x00, 0x2c, 0x00,
+0x10, 0x00, 0xf8, 0xff, 0xdc, 0xff, 0xc6, 0xff, 0xb6, 0xff, 0xb6, 0xff, 0xb2, 0xff, 0xc0, 0xff,
+0xd8, 0xff, 0xf6, 0xff, 0x16, 0x00, 0x42, 0x00, 0x5e, 0x00, 0x70, 0x00, 0x7a, 0x00, 0x76, 0x00,
+0x5e, 0x00, 0x48, 0x00, 0x22, 0x00, 0xfa, 0xff, 0xd8, 0xff, 0xb0, 0xff, 0x9e, 0xff, 0x94, 0xff,
+0x94, 0xff, 0xac, 0xff, 0xbe, 0xff, 0xf2, 0xff, 0x22, 0x00, 0x54, 0x00, 0x7c, 0x00, 0x92, 0x00,
+0x9c, 0x00, 0x8a, 0x00, 0x72, 0x00, 0x4a, 0x00, 0x16, 0x00, 0xe2, 0xff, 0xb2, 0xff, 0x92, 0xff,
+0x70, 0xff, 0x6a, 0xff, 0x76, 0xff, 0xa4, 0xff, 0xca, 0xff, 0xf6, 0xff, 0x34, 0x00, 0x6e, 0x00,
+0x94, 0x00, 0xb2, 0x00, 0xb4, 0x00, 0x9e, 0x00, 0x6e, 0x00, 0x46, 0x00, 0x1a, 0x00, 0xe2, 0xff,
+0xa8, 0xff, 0x70, 0xff, 0x62, 0xff, 0x58, 0xff, 0x70, 0xff, 0xa2, 0xff, 0xdc, 0xff, 0x08, 0x00,
+0x48, 0x00, 0x82, 0x00, 0xb0, 0x00, 0xc6, 0x00, 0xbc, 0x00, 0xa2, 0x00, 0x6e, 0x00, 0x34, 0x00,
+0x02, 0x00, 0xb8, 0xff, 0x82, 0xff, 0x54, 0xff, 0x4c, 0xff, 0x3c, 0xff, 0x64, 0xff, 0x9c, 0xff,
+0xd6, 0xff, 0x16, 0x00, 0x4c, 0x00, 0x94, 0x00, 0xae, 0x00, 0xc6, 0x00, 0xac, 0x00, 0x90, 0x00,
+0x58, 0x00, 0x16, 0x00, 0xd8, 0xff, 0xa2, 0xff, 0x6e, 0xff, 0x46, 0xff, 0x3e, 0xff, 0x4a, 0xff,
+0x6c, 0xff, 0xac, 0xff, 0xf6, 0xff, 0x24, 0x00, 0x64, 0x00, 0x9a, 0x00, 0xbc, 0x00, 0xc4, 0x00,
+0xa2, 0x00, 0x7e, 0x00, 0x40, 0x00, 0x08, 0x00, 0xca, 0xff, 0x8a, 0xff, 0x5a, 0xff, 0x3c, 0xff,
+0x36, 0xff, 0x3c, 0xff, 0x78, 0xff, 0xc6, 0xff, 0xfe, 0xff, 0x30, 0x00, 0x5e, 0x00, 0x90, 0x00,
+0xae, 0x00, 0xac, 0x00, 0x90, 0x00, 0x60, 0x00, 0x34, 0x00, 0xe6, 0xff, 0xaa, 0xff, 0x84, 0xff,
+0x52, 0xff, 0x3e, 0xff, 0x3c, 0xff, 0x5a, 0xff, 0x8a, 0xff, 0xc0, 0xff, 0x08, 0x00, 0x38, 0x00,
+0x6c, 0x00, 0x88, 0x00, 0x9e, 0x00, 0x9e, 0x00, 0x78, 0x00, 0x68, 0x00, 0x26, 0x00, 0xea, 0xff,
+0xb2, 0xff, 0x92, 0xff, 0x74, 0xff, 0x66, 0xff, 0x66, 0xff, 0x7a, 0xff, 0xa6, 0xff, 0xda, 0xff,
+0x14, 0x00, 0x3c, 0x00, 0x60, 0x00, 0x74, 0x00, 0x8c, 0x00, 0x78, 0x00, 0x68, 0x00, 0x3a, 0x00,
+0x14, 0x00, 0xec, 0xff, 0xb0, 0xff, 0x9c, 0xff, 0x8a, 0xff, 0x7c, 0xff, 0x82, 0xff, 0x9e, 0xff,
+0xc2, 0xff, 0xf6, 0xff, 0x12, 0x00, 0x26, 0x00, 0x48, 0x00, 0x50, 0x00, 0x50, 0x00, 0x4e, 0x00,
+0x40, 0x00, 0x18, 0x00, 0x00, 0x00, 0xe8, 0xff, 0xc8, 0xff, 0xba, 0xff, 0xb8, 0xff, 0xb6, 0xff,
+0xbe, 0xff, 0xe2, 0xff, 0xec, 0xff, 0x06, 0x00, 0x12, 0x00, 0x22, 0x00, 0x30, 0x00, 0x2c, 0x00,
+0x2a, 0x00, 0x20, 0x00, 0x14, 0x00, 0x0c, 0x00, 0x04, 0x00, 0xf4, 0xff, 0xe6, 0xff, 0xe0, 0xff,
+0xec, 0xff, 0xee, 0xff, 0xe8, 0xff, 0xe6, 0xff, 0xf0, 0xff, 0xf4, 0xff, 0xf0, 0xff, 0xf8, 0xff,
+0xf4, 0xff, 0xfa, 0xff, 0xfc, 0xff, 0xf4, 0xff, 0x04, 0x00, 0xfa, 0xff, 0xfa, 0xff, 0x0e, 0x00,
+0x04, 0x00, 0xf8, 0xff, 0x06, 0x00, 0x0a, 0x00, 0xf2, 0xff, 0xf8, 0xff, 0xf2, 0xff, 0xe4, 0xff,
+0xda, 0xff, 0xce, 0xff, 0xd6, 0xff, 0xd6, 0xff, 0xd8, 0xff, 0xe6, 0xff, 0xf6, 0xff, 0x00, 0x00,
+0x10, 0x00, 0x26, 0x00, 0x3a, 0x00, 0x34, 0x00, 0x2a, 0x00, 0x32, 0x00, 0x20, 0x00, 0x0c, 0x00,
+0xfe, 0xff, 0xdc, 0xff, 0xb4, 0xff, 0xb0, 0xff, 0xaa, 0xff, 0xb8, 0xff, 0xb6, 0xff, 0xc4, 0xff,
+0xf0, 0xff, 0xfa, 0xff, 0x20, 0x00, 0x34, 0x00, 0x4e, 0x00, 0x4e, 0x00, 0x4e, 0x00, 0x44, 0x00,
+0x2c, 0x00, 0x02, 0x00, 0xe0, 0xff, 0xbc, 0xff, 0x96, 0xff, 0x8a, 0xff, 0x8a, 0xff, 0x94, 0xff,
+0xa0, 0xff, 0xc6, 0xff, 0xec, 0xff, 0x0e, 0x00, 0x3c, 0x00, 0x62, 0x00, 0x78, 0x00, 0x72, 0x00,
+0x68, 0x00, 0x56, 0x00, 0x2a, 0x00, 0x04, 0x00, 0xd4, 0xff, 0xa8, 0xff, 0x8e, 0xff, 0x76, 0xff,
+0x76, 0xff, 0x8a, 0xff, 0xa4, 0xff, 0xd2, 0xff, 0xfa, 0xff, 0x24, 0x00, 0x5e, 0x00, 0x7e, 0x00,
+0x92, 0x00, 0x88, 0x00, 0x70, 0x00, 0x50, 0x00, 0x22, 0x00, 0xf2, 0xff, 0xb6, 0xff, 0x84, 0xff,
+0x64, 0xff, 0x50, 0xff, 0x4a, 0xff, 0x6e, 0xff, 0xa0, 0xff, 0xcc, 0xff, 0x02, 0x00, 0x3a, 0x00,
+0x66, 0x00, 0x92, 0x00, 0xa4, 0x00, 0x9e, 0x00, 0x84, 0x00, 0x48, 0x00, 0x08, 0x00, 0xd8, 0xff,
+0x9e, 0xff, 0x68, 0xff, 0x4a, 0xff, 0x36, 0xff, 0x42, 0xff, 0x72, 0xff, 0xa6, 0xff, 0xea, 0xff,
+0x12, 0x00, 0x5a, 0x00, 0x8c, 0x00, 0xac, 0x00, 0xc2, 0x00, 0xae, 0x00, 0x7a, 0x00, 0x36, 0x00,
+0xfa, 0xff, 0xc2, 0xff, 0x82, 0xff, 0x54, 0xff, 0x3c, 0xff, 0x2a, 0xff, 0x42, 0xff, 0x70, 0xff,
+0xb4, 0xff, 0xfa, 0xff, 0x22, 0x00, 0x62, 0x00, 0x98, 0x00, 0xb0, 0x00, 0xac, 0x00, 0x8e, 0x00,
+0x5e, 0x00, 0x20, 0x00, 0xe4, 0xff, 0xa8, 0xff, 0x64, 0xff, 0x38, 0xff, 0x32, 0xff, 0x2c, 0xff,
+0x52, 0xff, 0x7e, 0xff, 0xc8, 0xff, 0x04, 0x00, 0x30, 0x00, 0x76, 0x00, 0x9c, 0x00, 0xb0, 0x00,
+0xac, 0x00, 0x88, 0x00, 0x4e, 0x00, 0x16, 0x00, 0xdc, 0xff, 0xae, 0xff, 0x70, 0xff, 0x4a, 0xff,
+0x44, 0xff, 0x4e, 0xff, 0x6e, 0xff, 0x9e, 0xff, 0xda, 0xff, 0x14, 0x00, 0x44, 0x00, 0x7a, 0x00,
+0x9c, 0x00, 0x9e, 0x00, 0x90, 0x00, 0x6a, 0x00, 0x46, 0x00, 0x0a, 0x00, 0xce, 0xff, 0x98, 0xff,
+0x70, 0xff, 0x5e, 0xff, 0x5c, 0xff, 0x60, 0xff, 0x7c, 0xff, 0xa6, 0xff, 0xdc, 0xff, 0x14, 0x00,
+0x44, 0x00, 0x6a, 0x00, 0x78, 0x00, 0x7a, 0x00, 0x62, 0x00, 0x56, 0x00, 0x28, 0x00, 0xf8, 0xff,
+0xda, 0xff, 0x9a, 0xff, 0x90, 0xff, 0x80, 0xff, 0x80, 0xff, 0x88, 0xff, 0x9a, 0xff, 0xc6, 0xff,
+0xee, 0xff, 0x1a, 0x00, 0x3a, 0x00, 0x54, 0x00, 0x64, 0x00, 0x5a, 0x00, 0x54, 0x00, 0x3a, 0x00,
+0x1c, 0x00, 0x00, 0x00, 0xda, 0xff, 0xbc, 0xff, 0xaa, 0xff, 0xa4, 0xff, 0x9e, 0xff, 0xa2, 0xff,
+0xb8, 0xff, 0xda, 0xff, 0xf6, 0xff, 0x0a, 0x00, 0x20, 0x00, 0x30, 0x00, 0x2e, 0x00, 0x2c, 0x00,
+0x32, 0x00, 0x12, 0x00, 0x02, 0x00, 0xf0, 0xff, 0xe2, 0xff, 0xd0, 0xff, 0xbe, 0xff, 0xc4, 0xff,
+0xc6, 0xff, 0xc8, 0xff, 0xca, 0xff, 0xe8, 0xff, 0xf6, 0xff, 0xf8, 0xff, 0x14, 0x00, 0x14, 0x00,
+0x0c, 0x00, 0x0e, 0x00, 0x08, 0x00, 0x06, 0x00, 0xfc, 0xff, 0xf8, 0xff, 0xf2, 0xff, 0xee, 0xff,
+0xec, 0xff, 0xf0, 0xff, 0xe6, 0xff, 0xe6, 0xff, 0xec, 0xff, 0xea, 0xff, 0xf2, 0xff, 0xf0, 0xff,
+0xf0, 0xff, 0xee, 0xff, 0xe2, 0xff, 0xe4, 0xff, 0xf0, 0xff, 0xee, 0xff, 0xfa, 0xff, 0x04, 0x00,
+0x02, 0x00, 0x0e, 0x00, 0x04, 0x00, 0x12, 0x00, 0x0a, 0x00, 0xf6, 0xff, 0xf8, 0xff, 0xe2, 0xff,
+0xd4, 0xff, 0xc4, 0xff, 0xb4, 0xff, 0xae, 0xff, 0xbc, 0xff, 0xc2, 0xff, 0xce, 0xff, 0xea, 0xff,
+0xf6, 0xff, 0x12, 0x00, 0x28, 0x00, 0x3c, 0x00, 0x36, 0x00, 0x2e, 0x00, 0x2e, 0x00, 0x0e, 0x00,
+0xfa, 0xff, 0xe8, 0xff, 0xbc, 0xff, 0xa6, 0xff, 0x9e, 0xff, 0x9a, 0xff, 0xa6, 0xff, 0xa2, 0xff,
+0xcc, 0xff, 0xea, 0xff, 0x10, 0x00, 0x3a, 0x00, 0x4c, 0x00, 0x5a, 0x00, 0x54, 0x00, 0x4e, 0x00,
+0x3c, 0x00, 0x20, 0x00, 0xf8, 0xff, 0xc8, 0xff, 0xa2, 0xff, 0x84, 0xff, 0x6e, 0xff, 0x76, 0xff,
+0x8a, 0xff, 0x9a, 0xff, 0xcc, 0xff, 0xf8, 0xff, 0x26, 0x00, 0x4c, 0x00, 0x60, 0x00, 0x78, 0x00,
+0x6c, 0x00, 0x58, 0x00, 0x3a, 0x00, 0x08, 0x00, 0xdc, 0xff, 0xac, 0xff, 0x7a, 0xff, 0x62, 0xff,
+0x5a, 0xff, 0x62, 0xff, 0x88, 0xff, 0xac, 0xff, 0xe0, 0xff, 0x18, 0x00, 0x4c, 0x00, 0x7c, 0x00,
+0x94, 0x00, 0x9e, 0x00, 0x8a, 0x00, 0x64, 0x00, 0x2c, 0x00, 0x08, 0x00, 0xd2, 0xff, 0x8e, 0xff,
+0x60, 0xff, 0x3a, 0xff, 0x3a, 0xff, 0x52, 0xff, 0x7e, 0xff, 0xb8, 0xff, 0xf2, 0xff, 0x28, 0x00,
+0x5e, 0x00, 0x90, 0x00, 0xac, 0x00, 0xb0, 0x00, 0x94, 0x00, 0x6a, 0x00, 0x24, 0x00, 0xee, 0xff,
+0xb6, 0xff, 0x70, 0xff, 0x44, 0xff, 0x28, 0xff, 0x28, 0xff, 0x56, 0xff, 0x78, 0xff, 0xc4, 0xff,
+0x06, 0x00, 0x32, 0x00, 0x78, 0x00, 0xa6, 0x00, 0xc0, 0x00, 0xb0, 0x00, 0x94, 0x00, 0x62, 0x00,
+0x18, 0x00, 0xee, 0xff, 0xa2, 0xff, 0x5e, 0xff, 0x36, 0xff, 0x22, 0xff, 0x3e, 0xff, 0x5a, 0xff,
+0x92, 0xff, 0xd6, 0xff, 0x02, 0x00, 0x44, 0x00, 0x80, 0x00, 0xa6, 0x00, 0xb4, 0x00, 0xa2, 0x00,
+0x80, 0x00, 0x48, 0x00, 0x02, 0x00, 0xca, 0xff, 0x94, 0xff, 0x58, 0xff, 0x36, 0xff, 0x30, 0xff,
+0x34, 0xff, 0x5a, 0xff, 0x98, 0xff, 0xd0, 0xff, 0x14, 0x00, 0x42, 0x00, 0x70, 0x00, 0x92, 0x00,
+0x94, 0x00, 0x92, 0x00, 0x72, 0x00, 0x38, 0x00, 0xfa, 0xff, 0xba, 0xff, 0x82, 0xff, 0x56, 0xff,
+0x40, 0xff, 0x40, 0xff, 0x4e, 0xff, 0x7a, 0xff, 0xb2, 0xff, 0xe2, 0xff, 0x28, 0x00, 0x54, 0x00,
+0x76, 0x00, 0x96, 0x00, 0x96, 0x00, 0x7c, 0x00, 0x54, 0x00, 0x1e, 0x00, 0xe8, 0xff, 0xb8, 0xff,
+0x8e, 0xff, 0x6a, 0xff, 0x54, 0xff, 0x52, 0xff, 0x68, 0xff, 0x94, 0xff, 0xbe, 0xff, 0xee, 0xff,
+0x26, 0x00, 0x46, 0x00, 0x56, 0x00, 0x70, 0x00, 0x66, 0x00, 0x60, 0x00, 0x3a, 0x00, 0x0a, 0x00,
+0xe8, 0xff, 0xaa, 0xff, 0x94, 0xff, 0x86, 0xff, 0x82, 0xff, 0x7c, 0xff, 0x88, 0xff, 0xa6, 0xff,
+0xd0, 0xff, 0xf8, 0xff, 0x14, 0x00, 0x30, 0x00, 0x3e, 0x00, 0x42, 0x00, 0x42, 0x00, 0x48, 0x00,
+0x2a, 0x00, 0x00, 0x00, 0xf0, 0xff, 0xde, 0xff, 0xc0, 0xff, 0xc0, 0xff, 0xc0, 0xff, 0xae, 0xff,
+0xca, 0xff, 0xd0, 0xff, 0xda, 0xff, 0xfe, 0xff, 0x08, 0x00, 0x16, 0x00, 0x1e, 0x00, 0x20, 0x00,
+0x20, 0x00, 0x1e, 0x00, 0x10, 0x00, 0x02, 0x00, 0xfc, 0xff, 0xea, 0xff, 0xde, 0xff, 0xe0, 0xff,
+0xde, 0xff, 0xdc, 0xff, 0xd8, 0xff, 0xda, 0xff, 0xde, 0xff, 0xe4, 0xff, 0xee, 0xff, 0xf0, 0xff,
+0xf4, 0xff, 0xf8, 0xff, 0xfc, 0xff, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00,
+0x04, 0x00, 0x00, 0x00, 0x04, 0x00, 0xf8, 0xff, 0xec, 0xff, 0xe4, 0xff, 0xd8, 0xff, 0xd4, 0xff,
+0xcc, 0xff, 0xd0, 0xff, 0xd8, 0xff, 0xda, 0xff, 0xe8, 0xff, 0xf8, 0xff, 0xfe, 0xff, 0x0a, 0x00,
+0x22, 0x00, 0x2a, 0x00, 0x2a, 0x00, 0x12, 0x00, 0x22, 0x00, 0x08, 0x00, 0xea, 0xff, 0xd8, 0xff,
+0xc0, 0xff, 0xae, 0xff, 0x92, 0xff, 0xa2, 0xff, 0xa4, 0xff, 0xa6, 0xff, 0xbe, 0xff, 0xe2, 0xff,
+0xf8, 0xff, 0x14, 0x00, 0x38, 0x00, 0x38, 0x00, 0x4c, 0x00, 0x3a, 0x00, 0x26, 0x00, 0x16, 0x00,
+0xe4, 0xff, 0xc0, 0xff, 0xa2, 0xff, 0x8a, 0xff, 0x72, 0xff, 0x70, 0xff, 0x7e, 0xff, 0x9e, 0xff,
+0xb8, 0xff, 0xe8, 0xff, 0x0a, 0x00, 0x38, 0x00, 0x64, 0x00, 0x6e, 0x00, 0x7e, 0x00, 0x60, 0x00,
+0x44, 0x00, 0x18, 0x00, 0xee, 0xff, 0xbe, 0xff, 0x8a, 0xff, 0x6e, 0xff, 0x54, 0xff, 0x58, 0xff,
+0x6e, 0xff, 0x8e, 0xff, 0xb4, 0xff, 0xea, 0xff, 0x28, 0x00, 0x58, 0x00, 0x7c, 0x00, 0x90, 0x00,
+0x8a, 0x00, 0x6e, 0x00, 0x42, 0x00, 0x14, 0x00, 0xd8, 0xff, 0xa0, 0xff, 0x6a, 0xff, 0x48, 0xff,
+0x40, 0xff, 0x42, 0xff, 0x5a, 0xff, 0x8c, 0xff, 0xc8, 0xff, 0x0c, 0x00, 0x46, 0x00, 0x80, 0x00,
+0xa4, 0x00, 0xb2, 0x00, 0xaa, 0x00, 0x88, 0x00, 0x50, 0x00, 0x1c, 0x00, 0xd0, 0xff, 0x9a, 0xff,
+0x66, 0xff, 0x42, 0xff, 0x2e, 0xff, 0x38, 0xff, 0x70, 0xff, 0x9c, 0xff, 0xea, 0xff, 0x1c, 0x00,
+0x5c, 0x00, 0x9e, 0x00, 0xba, 0x00, 0xce, 0x00, 0xb8, 0x00, 0x86, 0x00, 0x44, 0x00, 0x00, 0x00,
+0xd2, 0xff, 0x8e, 0xff, 0x50, 0xff, 0x2c, 0xff, 0x14, 0xff, 0x2c, 0xff, 0x62, 0xff, 0xaa, 0xff,
+0xf4, 0xff, 0x24, 0x00, 0x66, 0x00, 0x96, 0x00, 0xb8, 0x00, 0xc2, 0x00, 0xa4, 0x00, 0x6c, 0x00,
+0x2c, 0x00, 0xe6, 0xff, 0xba, 0xff, 0x7a, 0xff, 0x4e, 0xff, 0x2e, 0xff, 0x28, 0xff, 0x42, 0xff,
+0x7a, 0xff, 0xc6, 0xff, 0x02, 0x00, 0x38, 0x00, 0x7c, 0x00, 0xaa, 0x00, 0xba, 0x00, 0xb6, 0x00,
+0x98, 0x00, 0x62, 0x00, 0x20, 0x00, 0xdc, 0xff, 0xa2, 0xff, 0x78, 0xff, 0x3e, 0xff, 0x34, 0xff,
+0x3a, 0xff, 0x4e, 0xff, 0x88, 0xff, 0xcc, 0xff, 0x0e, 0x00, 0x3a, 0x00, 0x70, 0x00, 0x8e, 0x00,
+0xa0, 0x00, 0x98, 0x00, 0x76, 0x00, 0x46, 0x00, 0x02, 0x00, 0xc2, 0xff, 0x88, 0xff, 0x6c, 0xff,
+0x46, 0xff, 0x38, 0xff, 0x4a, 0xff, 0x64, 0xff, 0x96, 0xff, 0xce, 0xff, 0x00, 0x00, 0x3a, 0x00,
+0x5a, 0x00, 0x72, 0x00, 0x72, 0x00, 0x72, 0x00, 0x5c, 0x00, 0x3a, 0x00, 0x04, 0x00, 0xd2, 0xff,
+0x96, 0xff, 0x80, 0xff, 0x6e, 0xff, 0x66, 0xff, 0x78, 0xff, 0x84, 0xff, 0xb8, 0xff, 0xe4, 0xff,
+0x0a, 0x00, 0x38, 0x00, 0x44, 0x00, 0x4c, 0x00, 0x54, 0x00, 0x4e, 0x00, 0x3a, 0x00, 0x04, 0x00,
+0xf2, 0xff, 0xce, 0xff, 0xb2, 0xff, 0x9e, 0xff, 0x8e, 0xff, 0x8c, 0xff, 0x8e, 0xff, 0xb0, 0xff,
+0xd0, 0xff, 0xfa, 0xff, 0x00, 0x00, 0x12, 0x00, 0x26, 0x00, 0x26, 0x00, 0x22, 0x00, 0x1e, 0x00,
+0x12, 0x00, 0xfc, 0xff, 0xec, 0xff, 0xdc, 0xff, 0xce, 0xff, 0xc8, 0xff, 0xd0, 0xff, 0xc0, 0xff,
+0xcc, 0xff, 0xda, 0xff, 0xd6, 0xff, 0xf0, 0xff, 0xfc, 0xff, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00,
+0x02, 0x00, 0x04, 0x00, 0x08, 0x00, 0xfe, 0xff, 0xf8, 0xff, 0xfc, 0xff, 0xf4, 0xff, 0xfa, 0xff,
+0xfc, 0xff, 0xf4, 0xff, 0xf2, 0xff, 0xee, 0xff, 0xde, 0xff, 0xd2, 0xff, 0xd6, 0xff, 0xce, 0xff,
+0xd2, 0xff, 0xda, 0xff, 0xd6, 0xff, 0xe4, 0xff, 0xee, 0xff, 0xfa, 0xff, 0x04, 0x00, 0x06, 0x00,
+0x1a, 0x00, 0x14, 0x00, 0x16, 0x00, 0x12, 0x00, 0x06, 0x00, 0xf6, 0xff, 0xe4, 0xff, 0xc4, 0xff,
+0xba, 0xff, 0xa6, 0xff, 0xb2, 0xff, 0xb6, 0xff, 0xbc, 0xff, 0xe0, 0xff, 0xf4, 0xff, 0x0c, 0x00,
+0x12, 0x00, 0x38, 0x00, 0x3c, 0x00, 0x40, 0x00, 0x34, 0x00, 0x36, 0x00, 0x1e, 0x00, 0x00, 0x00,
+0xdc, 0xff, 0xb8, 0xff, 0xa4, 0xff, 0x90, 0xff, 0x92, 0xff, 0x98, 0xff, 0x9c, 0xff, 0xc2, 0xff,
+0xf0, 0xff, 0x10, 0x00, 0x34, 0x00, 0x54, 0x00, 0x58, 0x00, 0x5a, 0x00, 0x4e, 0x00, 0x36, 0x00,
+0x16, 0x00, 0xf2, 0xff, 0xc8, 0xff, 0x96, 0xff, 0x7a, 0xff, 0x68, 0xff, 0x60, 0xff, 0x7c, 0xff,
+0x92, 0xff, 0xc0, 0xff, 0xee, 0xff, 0x18, 0x00, 0x4a, 0x00, 0x70, 0x00, 0x8c, 0x00, 0x86, 0x00,
+0x6a, 0x00, 0x3e, 0x00, 0x14, 0x00, 0xe6, 0xff, 0xac, 0xff, 0x80, 0xff, 0x54, 0xff, 0x48, 0xff,
+0x4c, 0xff, 0x66, 0xff, 0xa0, 0xff, 0xc6, 0xff, 0x08, 0x00, 0x38, 0x00, 0x68, 0x00, 0x8a, 0x00,
+0xa0, 0x00, 0x9e, 0x00, 0x7a, 0x00, 0x42, 0x00, 0xfe, 0xff, 0xc4, 0xff, 0x8a, 0xff, 0x56, 0xff,
+0x3c, 0xff, 0x2e, 0xff, 0x38, 0xff, 0x64, 0xff, 0x9c, 0xff, 0xdc, 0xff, 0x0e, 0x00, 0x48, 0x00,
+0x7c, 0x00, 0xa8, 0x00, 0xae, 0x00, 0x90, 0x00, 0x6c, 0x00, 0x28, 0x00, 0xfc, 0xff, 0xbe, 0xff,
+0x76, 0xff, 0x40, 0xff, 0x22, 0xff, 0x1a, 0xff, 0x4c, 0xff, 0x74, 0xff, 0xb8, 0xff, 0xf4, 0xff,
+0x22, 0x00, 0x6e, 0x00, 0xa2, 0x00, 0xc0, 0x00, 0xb6, 0x00, 0x94, 0x00, 0x66, 0x00, 0x18, 0x00,
+0xe2, 0xff, 0xa8, 0xff, 0x6a, 0xff, 0x40, 0xff, 0x22, 0xff, 0x30, 0xff, 0x4e, 0xff, 0x82, 0xff,
+0xc6, 0xff, 0x08, 0x00, 0x3a, 0x00, 0x86, 0x00, 0xaa, 0x00, 0xba, 0x00, 0xb8, 0x00, 0x7c, 0x00,
+0x4c, 0x00, 0x06, 0x00, 0xd0, 0xff, 0x98, 0xff, 0x60, 0xff, 0x44, 0xff, 0x30, 0xff, 0x44, 0xff,
+0x60, 0xff, 0x9a, 0xff, 0xdc, 0xff, 0x12, 0x00, 0x50, 0x00, 0x7e, 0x00, 0xa4, 0x00, 0xb2, 0x00,
+0x9e, 0x00, 0x7c, 0x00, 0x40, 0x00, 0x06, 0x00, 0xc4, 0xff, 0x96, 0xff, 0x68, 0xff, 0x56, 0xff,
+0x4e, 0xff, 0x62, 0xff, 0x7e, 0xff, 0xae, 0xff, 0xe8, 0xff, 0x1c, 0x00, 0x50, 0x00, 0x6a, 0x00,
+0x8a, 0x00, 0x86, 0x00, 0x78, 0x00, 0x5a, 0x00, 0x24, 0x00, 0xf2, 0xff, 0xbc, 0xff, 0x90, 0xff,
+0x7a, 0xff, 0x68, 0xff, 0x66, 0xff, 0x7a, 0xff, 0x96, 0xff, 0xca, 0xff, 0xfa, 0xff, 0x10, 0x00,
+0x3e, 0x00, 0x4c, 0x00, 0x54, 0x00, 0x5e, 0x00, 0x50, 0x00, 0x3a, 0x00, 0x0a, 0x00, 0xf0, 0xff,
+0xc8, 0xff, 0xa4, 0xff, 0x90, 0xff, 0x88, 0xff, 0x8c, 0xff, 0x90, 0xff, 0xaa, 0xff, 0xd0, 0xff,
+0xee, 0xff, 0x02, 0x00, 0x24, 0x00, 0x32, 0x00, 0x34, 0x00, 0x3e, 0x00, 0x32, 0x00, 0x1a, 0x00,
+0x0a, 0x00, 0xf0, 0xff, 0xdc, 0xff, 0xbe, 0xff, 0xb8, 0xff, 0xb0, 0xff, 0xa4, 0xff, 0xac, 0xff,
+0xbc, 0xff, 0xd0, 0xff, 0xe2, 0xff, 0xf8, 0xff, 0x0e, 0x00, 0x08, 0x00, 0x0e, 0x00, 0x14, 0x00,
+0x08, 0x00, 0x06, 0x00, 0xfa, 0xff, 0xf0, 0xff, 0xf2, 0xff, 0xde, 0xff, 0xde, 0xff, 0xea, 0xff,
+0xcc, 0xff, 0xcc, 0xff, 0xd2, 0xff, 0xc8, 0xff, 0xde, 0xff, 0xe6, 0xff, 0xe8, 0xff, 0xec, 0xff,
+0xf2, 0xff, 0xf0, 0xff, 0xee, 0xff, 0xfc, 0xff, 0xf8, 0xff, 0x06, 0x00, 0x0a, 0x00, 0x08, 0x00,
+0x08, 0x00, 0x06, 0x00, 0x04, 0x00, 0x00, 0x00, 0xe2, 0xff, 0xd6, 0xff, 0xd8, 0xff, 0xcc, 0xff,
+0xc4, 0xff, 0xca, 0xff, 0xc0, 0xff, 0xc4, 0xff, 0xdc, 0xff, 0xf8, 0xff, 0x0c, 0x00, 0x1c, 0x00,
+0x2c, 0x00, 0x34, 0x00, 0x2e, 0x00, 0x2c, 0x00, 0x1a, 0x00, 0x02, 0x00, 0xf6, 0xff, 0xd4, 0xff,
+0xb8, 0xff, 0xa2, 0xff, 0xa0, 0xff, 0x9e, 0xff, 0xa6, 0xff, 0xbc, 0xff, 0xe2, 0xff, 0x00, 0x00,
+0x18, 0x00, 0x42, 0x00, 0x46, 0x00, 0x4e, 0x00, 0x50, 0x00, 0x36, 0x00, 0x32, 0x00, 0x04, 0x00,
+0xe0, 0xff, 0xc0, 0xff, 0x9a, 0xff, 0x88, 0xff, 0x7c, 0xff, 0x80, 0xff, 0x8e, 0xff, 0xb0, 0xff,
+0xe0, 0xff, 0x0e, 0x00, 0x3e, 0x00, 0x52, 0x00, 0x6c, 0x00, 0x70, 0x00, 0x56, 0x00, 0x50, 0x00,
+0x38, 0x00, 0xfa, 0xff, 0xce, 0xff, 0xa4, 0xff, 0x76, 0xff, 0x5a, 0xff, 0x4a, 0xff, 0x64, 0xff,
+0x86, 0xff, 0xb8, 0xff, 0xe6, 0xff, 0x1e, 0x00, 0x4a, 0x00, 0x6a, 0x00, 0x80, 0x00, 0x88, 0x00,
+0x82, 0x00, 0x54, 0x00, 0x1e, 0x00, 0xea, 0xff, 0xbc, 0xff, 0x80, 0xff, 0x50, 0xff, 0x44, 0xff,
+0x3c, 0xff, 0x4c, 0xff, 0x7c, 0xff, 0xbc, 0xff, 0xf0, 0xff, 0x1e, 0x00, 0x64, 0x00, 0x8e, 0x00,
+0xa4, 0x00, 0x96, 0x00, 0x84, 0x00, 0x56, 0x00, 0x14, 0x00, 0xde, 0xff, 0xa6, 0xff, 0x6a, 0xff,
+0x44, 0xff, 0x2c, 0xff, 0x2a, 0xff, 0x54, 0xff, 0x84, 0xff, 0xd0, 0xff, 0x00, 0x00, 0x2c, 0x00,
+0x70, 0x00, 0xa0, 0x00, 0xb2, 0x00, 0xa0, 0x00, 0x86, 0x00, 0x3e, 0x00, 0xf8, 0xff, 0xc8, 0xff,
+0x8e, 0xff, 0x56, 0xff, 0x2a, 0xff, 0x1e, 0xff, 0x3c, 0xff, 0x60, 0xff, 0x94, 0xff, 0xe4, 0xff,
+0x10, 0x00, 0x46, 0x00, 0x8e, 0x00, 0xb2, 0x00, 0xb2, 0x00, 0x9c, 0x00, 0x6c, 0x00, 0x36, 0x00,
+0xe8, 0xff, 0xc8, 0xff, 0x8a, 0xff, 0x4c, 0xff, 0x28, 0xff, 0x32, 0xff, 0x4c, 0xff, 0x74, 0xff,
+0xbe, 0xff, 0xf8, 0xff, 0x26, 0x00, 0x60, 0x00, 0x8a, 0x00, 0xa8, 0x00, 0xa8, 0x00, 0x92, 0x00,
+0x64, 0x00, 0x26, 0x00, 0xea, 0xff, 0xb2, 0xff, 0x7e, 0xff, 0x46, 0xff, 0x40, 0xff, 0x44, 0xff,
+0x5a, 0xff, 0x96, 0xff, 0xca, 0xff, 0x02, 0x00, 0x32, 0x00, 0x5c, 0x00, 0x76, 0x00, 0x84, 0x00,
+0x84, 0x00, 0x6a, 0x00, 0x4c, 0x00, 0x0a, 0x00, 0xda, 0xff, 0xae, 0xff, 0x7c, 0xff, 0x64, 0xff,
+0x5c, 0xff, 0x68, 0xff, 0x82, 0xff, 0xaa, 0xff, 0xd0, 0xff, 0xfe, 0xff, 0x36, 0x00, 0x52, 0x00,
+0x66, 0x00, 0x62, 0x00, 0x5e, 0x00, 0x46, 0x00, 0x26, 0x00, 0x02, 0x00, 0xe4, 0xff, 0xa8, 0xff,
+0x90, 0xff, 0x88, 0xff, 0x80, 0xff, 0x92, 0xff, 0x9e, 0xff, 0xc4, 0xff, 0xee, 0xff, 0x02, 0x00,
+0x1e, 0x00, 0x34, 0x00, 0x4e, 0x00, 0x42, 0x00, 0x3c, 0x00, 0x3a, 0x00, 0x18, 0x00, 0xf6, 0xff,
+0xdc, 0xff, 0xb8, 0xff, 0xa2, 0xff, 0xa6, 0xff, 0xa8, 0xff, 0xa6, 0xff, 0xa4, 0xff, 0xc2, 0xff,
+0xe4, 0xff, 0xee, 0xff, 0x0e, 0x00, 0x20, 0x00, 0x2e, 0x00, 0x24, 0x00, 0x22, 0x00, 0x1c, 0x00,
+0xf6, 0xff, 0xf6, 0xff, 0xe2, 0xff, 0xc6, 0xff, 0xcc, 0xff, 0xc6, 0xff, 0xc6, 0xff, 0xbc, 0xff,
+0xc8, 0xff, 0xcc, 0xff, 0xe0, 0xff, 0xf2, 0xff, 0xf2, 0xff, 0xfe, 0xff, 0xfe, 0xff, 0x0e, 0x00,
+0x04, 0x00, 0x06, 0x00, 0x02, 0x00, 0x00, 0x00, 0xf2, 0xff, 0xe4, 0xff, 0xfa, 0xff, 0xf2, 0xff,
+0xf2, 0xff, 0xe6, 0xff, 0xda, 0xff, 0xda, 0xff, 0xd0, 0xff, 0xda, 0xff, 0xd4, 0xff, 0xd2, 0xff,
+0xe0, 0xff, 0xd4, 0xff, 0xe2, 0xff, 0xec, 0xff, 0xee, 0xff, 0x0a, 0x00, 0x0e, 0x00, 0x1a, 0x00,
+0x16, 0x00, 0x12, 0x00, 0x10, 0x00, 0x02, 0x00, 0xfc, 0xff, 0xe2, 0xff, 0xcc, 0xff, 0xac, 0xff,
+0xa8, 0xff, 0xb2, 0xff, 0xb4, 0xff, 0xbc, 0xff, 0xd4, 0xff, 0xea, 0xff, 0x02, 0x00, 0x1c, 0x00,
+0x24, 0x00, 0x48, 0x00, 0x40, 0x00, 0x34, 0x00, 0x36, 0x00, 0x18, 0x00, 0x04, 0x00, 0xda, 0xff,
+0xbc, 0xff, 0xa0, 0xff, 0x96, 0xff, 0x96, 0xff, 0xaa, 0xff, 0xa6, 0xff, 0xbe, 0xff, 0xee, 0xff,
+0x02, 0x00, 0x2e, 0x00, 0x50, 0x00, 0x60, 0x00, 0x5a, 0x00, 0x4c, 0x00, 0x42, 0x00, 0x14, 0x00,
+0xf0, 0xff, 0xcc, 0xff, 0x9c, 0xff, 0x7a, 0xff, 0x64, 0xff, 0x5e, 0xff, 0x6e, 0xff, 0x94, 0xff,
+0xba, 0xff, 0xe6, 0xff, 0x1c, 0x00, 0x4a, 0x00, 0x62, 0x00, 0x78, 0x00, 0x80, 0x00, 0x6c, 0x00,
+0x4c, 0x00, 0x18, 0x00, 0xee, 0xff, 0xb4, 0xff, 0x88, 0xff, 0x66, 0xff, 0x4e, 0xff, 0x56, 0xff,
+0x62, 0xff, 0x8a, 0xff, 0xbe, 0xff, 0xf4, 0xff, 0x28, 0x00, 0x60, 0x00, 0x8a, 0x00, 0xa6, 0x00,
+0xa2, 0x00, 0x78, 0x00, 0x48, 0x00, 0x0e, 0x00, 0xdc, 0xff, 0xa4, 0xff, 0x6a, 0xff, 0x42, 0xff,
+0x2c, 0xff, 0x34, 0xff, 0x54, 0xff, 0x88, 0xff, 0xca, 0xff, 0x02, 0x00, 0x3c, 0x00, 0x76, 0x00,
+0x8e, 0x00, 0xac, 0x00, 0x92, 0x00, 0x6c, 0x00, 0x30, 0x00, 0xf6, 0xff, 0xc4, 0xff, 0x86, 0xff,
+0x58, 0xff, 0x2e, 0xff, 0x1e, 0xff, 0x34, 0xff, 0x66, 0xff, 0xaa, 0xff, 0xea, 0xff, 0x16, 0x00,
+0x58, 0x00, 0x96, 0x00, 0xaa, 0x00, 0xb2, 0x00, 0x9e, 0x00, 0x64, 0x00, 0x20, 0x00, 0xec, 0xff,
+0xbc, 0xff, 0x72, 0xff, 0x46, 0xff, 0x26, 0xff, 0x24, 0xff, 0x4c, 0xff, 0x7c, 0xff, 0xc0, 0xff,
+0xfe, 0xff, 0x2a, 0x00, 0x78, 0x00, 0x9a, 0x00, 0xb0, 0x00, 0xac, 0x00, 0x82, 0x00, 0x4c, 0x00,
+0x1c, 0x00, 0xe2, 0xff, 0xa6, 0xff, 0x76, 0xff, 0x34, 0xff, 0x2e, 0xff, 0x38, 0xff, 0x56, 0xff,
+0x88, 0xff, 0xc4, 0xff, 0x06, 0x00, 0x40, 0x00, 0x7a, 0x00, 0x98, 0x00, 0xa6, 0x00, 0x94, 0x00,
+0x7c, 0x00, 0x52, 0x00, 0x12, 0x00, 0xe0, 0xff, 0xb0, 0xff, 0x74, 0xff, 0x56, 0xff, 0x50, 0xff,
+0x58, 0xff, 0x7a, 0xff, 0xa4, 0xff, 0xda, 0xff, 0x14, 0x00, 0x4a, 0x00, 0x60, 0x00, 0x84, 0x00,
+0x86, 0x00, 0x76, 0x00, 0x64, 0x00, 0x38, 0x00, 0x14, 0x00, 0xdc, 0xff, 0xac, 0xff, 0x8e, 0xff,
+0x76, 0xff, 0x5e, 0xff, 0x6c, 0xff, 0x88, 0xff, 0xa4, 0xff, 0xdc, 0xff, 0x04, 0x00, 0x28, 0x00,
+0x42, 0x00, 0x5a, 0x00, 0x5e, 0x00, 0x62, 0x00, 0x4c, 0x00, 0x26, 0x00, 0x08, 0x00, 0xda, 0xff,
+0xbe, 0xff, 0x9e, 0xff, 0x92, 0xff, 0x98, 0xff, 0x92, 0xff, 0xa8, 0xff, 0xc8, 0xff, 0xe4, 0xff,
+0xfc, 0xff, 0x22, 0x00, 0x30, 0x00, 0x32, 0x00, 0x3a, 0x00, 0x3a, 0x00, 0x2c, 0x00, 0x0e, 0x00,
+0xfc, 0xff, 0xec, 0xff, 0xd0, 0xff, 0xbe, 0xff, 0xba, 0xff, 0xac, 0xff, 0xa4, 0xff, 0xc0, 0xff,
+0xd2, 0xff, 0xea, 0xff, 0xfc, 0xff, 0x00, 0x00, 0x04, 0x00, 0x08, 0x00, 0x0e, 0x00, 0x0c, 0x00,
+0x0a, 0x00, 0xfc, 0xff, 0xe8, 0xff, 0xdc, 0xff, 0xd8, 0xff, 0xd2, 0xff, 0xd6, 0xff, 0xce, 0xff,
+0xd8, 0xff, 0xe2, 0xff, 0xd8, 0xff, 0xe6, 0xff, 0xda, 0xff, 0xda, 0xff, 0xea, 0xff, 0xf2, 0xff,
+0xf0, 0xff, 0x00, 0x00, 0xfc, 0xff, 0xf0, 0xff, 0x04, 0x00, 0x02, 0x00, 0x0a, 0x00, 0x08, 0x00,
+0x02, 0x00, 0xf8, 0xff, 0xee, 0xff, 0xea, 0xff, 0xda, 0xff, 0xd8, 0xff, 0xc4, 0xff, 0xc2, 0xff,
+0xc2, 0xff, 0xca, 0xff, 0xcc, 0xff, 0xe8, 0xff, 0xf6, 0xff, 0x00, 0x00, 0x16, 0x00, 0x22, 0x00,
+0x2a, 0x00, 0x20, 0x00, 0x22, 0x00, 0x14, 0x00, 0x06, 0x00, 0xe4, 0xff, 0xd4, 0xff, 0xae, 0xff,
+0x98, 0xff, 0x9a, 0xff, 0x9e, 0xff, 0xae, 0xff, 0xbe, 0xff, 0xe8, 0xff, 0xfc, 0xff, 0x14, 0x00,
+0x38, 0x00, 0x48, 0x00, 0x54, 0x00, 0x4c, 0x00, 0x3a, 0x00, 0x24, 0x00, 0x0a, 0x00, 0xee, 0xff,
+0xc0, 0xff, 0xa4, 0xff, 0x96, 0xff, 0x88, 0xff, 0x96, 0xff, 0x9e, 0xff, 0xba, 0xff, 0xee, 0xff,
+0x06, 0x00, 0x2c, 0x00, 0x58, 0x00, 0x66, 0x00, 0x72, 0x00, 0x6e, 0x00, 0x56, 0x00, 0x3c, 0x00,
+0x04, 0x00, 0xda, 0xff, 0xaa, 0xff, 0x78, 0xff, 0x6c, 0xff, 0x60, 0xff, 0x6a, 0xff, 0x7e, 0xff,
+0xac, 0xff, 0xec, 0xff, 0x0a, 0x00, 0x42, 0x00, 0x6a, 0x00, 0x78, 0x00, 0x90, 0x00, 0x7e, 0x00,
+0x58, 0x00, 0x2a, 0x00, 0xfc, 0xff, 0xc0, 0xff, 0x8e, 0xff, 0x6a, 0xff, 0x42, 0xff, 0x40, 0xff,
+0x54, 0xff, 0x80, 0xff, 0xb8, 0xff, 0xee, 0xff, 0x26, 0x00, 0x5e, 0x00, 0x88, 0x00, 0xa6, 0x00,
+0xae, 0x00, 0x98, 0x00, 0x68, 0x00, 0x2a, 0x00, 0xee, 0xff, 0xae, 0xff, 0x72, 0xff, 0x46, 0xff,
+0x2c, 0xff, 0x30, 0xff, 0x4c, 0xff, 0x7e, 0xff, 0xc2, 0xff, 0xf2, 0xff, 0x26, 0x00, 0x68, 0x00,
+0x8a, 0x00, 0xb0, 0x00, 0xa4, 0x00, 0x7c, 0x00, 0x4e, 0x00, 0x02, 0x00, 0xd2, 0xff, 0x94, 0xff,
+0x5a, 0xff, 0x30, 0xff, 0x20, 0xff, 0x24, 0xff, 0x4a, 0xff, 0x80, 0xff, 0xc0, 0xff, 0x00, 0x00,
+0x38, 0x00, 0x70, 0x00, 0x9a, 0x00, 0xae, 0x00, 0x9e, 0x00, 0x78, 0x00, 0x40, 0x00, 0x00, 0x00,
+0xd2, 0xff, 0x8a, 0xff, 0x54, 0xff, 0x3a, 0xff, 0x2a, 0xff, 0x3c, 0xff, 0x6c, 0xff, 0xa6, 0xff,
+0xe6, 0xff, 0x14, 0x00, 0x46, 0x00, 0x82, 0x00, 0xa4, 0x00, 0xa4, 0x00, 0x86, 0x00, 0x5e, 0x00,
+0x28, 0x00, 0xf0, 0xff, 0xba, 0xff, 0x88, 0xff, 0x52, 0xff, 0x40, 0xff, 0x44, 0xff, 0x56, 0xff,
+0x7c, 0xff, 0xaa, 0xff, 0xee, 0xff, 0x18, 0x00, 0x42, 0x00, 0x7e, 0x00, 0x90, 0x00, 0x8a, 0x00,
+0x76, 0x00, 0x46, 0x00, 0x1e, 0x00, 0xe4, 0xff, 0xb0, 0xff, 0x86, 0xff, 0x68, 0xff, 0x62, 0xff,
+0x5c, 0xff, 0x76, 0xff, 0x94, 0xff, 0xca, 0xff, 0x00, 0x00, 0x38, 0x00, 0x58, 0x00, 0x70, 0x00,
+0x7e, 0x00, 0x78, 0x00, 0x6a, 0x00, 0x44, 0x00, 0x18, 0x00, 0xf0, 0xff, 0xb8, 0xff, 0x9c, 0xff,
+0x94, 0xff, 0x7c, 0xff, 0x7a, 0xff, 0x90, 0xff, 0xb0, 0xff, 0xda, 0xff, 0xf0, 0xff, 0x1e, 0x00,
+0x40, 0x00, 0x48, 0x00, 0x52, 0x00, 0x52, 0x00, 0x48, 0x00, 0x24, 0x00, 0x02, 0x00, 0xea, 0xff,
+0xcc, 0xff, 0xb6, 0xff, 0xb4, 0xff, 0xa8, 0xff, 0xa2, 0xff, 0xae, 0xff, 0xc2, 0xff, 0xde, 0xff,
+0xf4, 0xff, 0x02, 0x00, 0x1c, 0x00, 0x1e, 0x00, 0x2e, 0x00, 0x2a, 0x00, 0x26, 0x00, 0x12, 0x00,
+0x02, 0x00, 0xf8, 0xff, 0xf6, 0xff, 0xda, 0xff, 0xde, 0xff, 0xd4, 0xff, 0xcc, 0xff, 0xd4, 0xff,
+0xd4, 0xff, 0xee, 0xff, 0xea, 0xff, 0xf6, 0xff, 0xfe, 0xff, 0xfc, 0xff, 0x00, 0x00, 0x04, 0x00,
+0xfe, 0xff, 0x00, 0x00, 0xfc, 0xff, 0xfc, 0xff, 0xf6, 0xff, 0xf4, 0xff, 0xf2, 0xff, 0xf2, 0xff,
+0xe8, 0xff, 0xd8, 0xff, 0xdc, 0xff, 0xde, 0xff, 0xd6, 0xff, 0xd2, 0xff, 0xd8, 0xff, 0xd4, 0xff,
+0xcc, 0xff, 0xd6, 0xff, 0xe8, 0xff, 0xee, 0xff, 0x02, 0x00, 0x0c, 0x00, 0x16, 0x00, 0x20, 0x00,
+0x0e, 0x00, 0x12, 0x00, 0x06, 0x00, 0xf8, 0xff, 0xe6, 0xff, 0xd2, 0xff, 0xc6, 0xff, 0xb0, 0xff,
+0xa8, 0xff, 0xb2, 0xff, 0xb2, 0xff, 0xbc, 0xff, 0xe4, 0xff, 0xf6, 0xff, 0x0e, 0x00, 0x32, 0x00,
+0x3c, 0x00, 0x44, 0x00, 0x3e, 0x00, 0x30, 0x00, 0x1e, 0x00, 0x08, 0x00, 0xe8, 0xff, 0xc2, 0xff,
+0x9e, 0xff, 0x8a, 0xff, 0x80, 0xff, 0x8a, 0xff, 0x9e, 0xff, 0xb0, 0xff, 0xe0, 0xff, 0xfc, 0xff,
+0x1e, 0x00, 0x46, 0x00, 0x5a, 0x00, 0x68, 0x00, 0x58, 0x00, 0x4e, 0x00, 0x26, 0x00, 0x00, 0x00,
+0xd0, 0xff, 0xa4, 0xff, 0x8e, 0xff, 0x6e, 0xff, 0x6c, 0xff, 0x7c, 0xff, 0x98, 0xff, 0xc4, 0xff,
+0xea, 0xff, 0x20, 0x00, 0x5c, 0x00, 0x6e, 0x00, 0x8e, 0x00, 0x8c, 0x00, 0x74, 0x00, 0x5a, 0x00,
+0x22, 0x00, 0xf0, 0xff, 0xc2, 0xff, 0x96, 0xff, 0x70, 0xff, 0x54, 0xff, 0x58, 0xff, 0x6a, 0xff,
+0x90, 0xff, 0xc2, 0xff, 0xf6, 0xff, 0x2c, 0x00, 0x72, 0x00, 0x8e, 0x00, 0x98, 0x00, 0x9e, 0x00,
+0x84, 0x00, 0x54, 0x00, 0x1e, 0x00, 0xea, 0xff, 0xb2, 0xff, 0x76, 0xff, 0x4e, 0xff, 0x3a, 0xff,
+0x34, 0xff, 0x5a, 0xff, 0x9a, 0xff, 0xd0, 0xff, 0x08, 0x00, 0x3e, 0x00, 0x76, 0x00, 0xa0, 0x00,
+0xaa, 0x00, 0xa6, 0x00, 0x8a, 0x00, 0x4c, 0x00, 0x12, 0x00, 0xda, 0xff, 0xa0, 0xff, 0x6a, 0xff,
+0x3e, 0xff, 0x28, 0xff, 0x3a, 0xff, 0x66, 0xff, 0x9e, 0xff, 0xe4, 0xff, 0x14, 0x00, 0x5a, 0x00,
+0x82, 0x00, 0xaa, 0x00, 0xb8, 0x00, 0xa2, 0x00, 0x74, 0x00, 0x32, 0x00, 0xfc, 0xff, 0xc6, 0xff,
+0x7a, 0xff, 0x4a, 0xff, 0x28, 0xff, 0x26, 0xff, 0x4c, 0xff, 0x5e, 0xff, 0xae, 0xff, 0xe8, 0xff,
+0x1c, 0x00, 0x54, 0x00, 0x88, 0x00, 0xa6, 0x00, 0xa0, 0x00, 0x86, 0x00, 0x5a, 0x00, 0x22, 0x00,
+0xea, 0xff, 0xb2, 0xff, 0x76, 0xff, 0x4c, 0xff, 0x32, 0xff, 0x3e, 0xff, 0x5a, 0xff, 0x86, 0xff,
+0xb8, 0xff, 0xf6, 0xff, 0x28, 0x00, 0x62, 0x00, 0x80, 0x00, 0x90, 0x00, 0x9e, 0x00, 0x78, 0x00,
+0x42, 0x00, 0x12, 0x00, 0xd4, 0xff, 0xa4, 0xff, 0x82, 0xff, 0x5c, 0xff, 0x52, 0xff, 0x4e, 0xff,
+0x70, 0xff, 0x94, 0xff, 0xce, 0xff, 0x08, 0x00, 0x30, 0x00, 0x58, 0x00, 0x74, 0x00, 0x78, 0x00,
+0x74, 0x00, 0x56, 0x00, 0x26, 0x00, 0xfe, 0xff, 0xd2, 0xff, 0xa0, 0xff, 0x86, 0xff, 0x6e, 0xff,
+0x62, 0xff, 0x7c, 0xff, 0x90, 0xff, 0xb8, 0xff, 0xe6, 0xff, 0x02, 0x00, 0x36, 0x00, 0x50, 0x00,
+0x56, 0x00, 0x64, 0x00, 0x58, 0x00, 0x48, 0x00, 0x1a, 0x00, 0xf4, 0xff, 0xe2, 0xff, 0xac, 0xff,
+0xa2, 0xff, 0x98, 0xff, 0x98, 0xff, 0xa6, 0xff, 0xb4, 0xff, 0xdc, 0xff, 0xf4, 0xff, 0x08, 0x00,
+0x1e, 0x00, 0x32, 0x00, 0x36, 0x00, 0x44, 0x00, 0x40, 0x00, 0x24, 0x00, 0x08, 0x00, 0xf0, 0xff,
+0xd6, 0xff, 0xc2, 0xff, 0xbc, 0xff, 0xbc, 0xff, 0xbe, 0xff, 0xbc, 0xff, 0xd8, 0xff, 0xd8, 0xff,
+0xec, 0xff, 0xf2, 0xff, 0x04, 0x00, 0x18, 0x00, 0x12, 0x00, 0x1c, 0x00, 0x14, 0x00, 0x0a, 0x00,
+0xfc, 0xff, 0xee, 0xff, 0xee, 0xff, 0xe6, 0xff, 0xe8, 0xff, 0xe6, 0xff, 0xdc, 0xff, 0xe2, 0xff,
+0xde, 0xff, 0xe2, 0xff, 0xe4, 0xff, 0xea, 0xff, 0xec, 0xff, 0xf0, 0xff, 0xf2, 0xff, 0xf8, 0xff,
+0xf0, 0xff, 0xfa, 0xff, 0xfe, 0xff, 0x04, 0x00, 0x02, 0x00, 0x08, 0x00, 0x06, 0x00, 0x00, 0x00,
+0xfe, 0xff, 0xee, 0xff, 0xf2, 0xff, 0xe8, 0xff, 0xd2, 0xff, 0xc8, 0xff, 0xb8, 0xff, 0xc8, 0xff,
+0xcc, 0xff, 0xc8, 0xff, 0xe4, 0xff, 0xee, 0xff, 0xfa, 0xff, 0x16, 0x00, 0x22, 0x00, 0x28, 0x00,
+0x2c, 0x00, 0x22, 0x00, 0x16, 0x00, 0x02, 0x00, 0xf2, 0xff, 0xda, 0xff, 0xbc, 0xff, 0xa2, 0xff,
+0x96, 0xff, 0xa2, 0xff, 0xa8, 0xff, 0xae, 0xff, 0xd4, 0xff, 0xf2, 0xff, 0x06, 0x00, 0x36, 0x00,
+0x4a, 0x00, 0x54, 0x00, 0x5a, 0x00, 0x46, 0x00, 0x36, 0x00, 0x0e, 0x00, 0xe6, 0xff, 0xce, 0xff,
+0xa2, 0xff, 0x8e, 0xff, 0x78, 0xff, 0x76, 0xff, 0x8e, 0xff, 0xa4, 0xff, 0xd6, 0xff, 0xf6, 0xff,
+0x18, 0x00, 0x48, 0x00, 0x66, 0x00, 0x70, 0x00, 0x76, 0x00, 0x66, 0x00, 0x3e, 0x00, 0x04, 0x00,
+0xe0, 0xff, 0xac, 0xff, 0x7e, 0xff, 0x68, 0xff, 0x5e, 0xff, 0x5c, 0xff, 0x78, 0xff, 0xa2, 0xff,
+0xc4, 0xff, 0xfa, 0xff, 0x38, 0x00, 0x6e, 0x00, 0x9a, 0x00, 0xa0, 0x00, 0x92, 0x00, 0x66, 0x00,
+0x30, 0x00, 0x0c, 0x00, 0xd4, 0xff, 0x98, 0xff, 0x66, 0xff, 0x4e, 0xff, 0x46, 0xff, 0x48, 0xff,
+0x6c, 0xff, 0xb0, 0xff, 0xe4, 0xff, 0x14, 0x00, 0x54, 0x00, 0x8a, 0x00, 0xa4, 0x00, 0xb2, 0x00,
+0x9c, 0x00, 0x70, 0x00, 0x32, 0x00, 0xfa, 0xff, 0xc2, 0xff, 0x7e, 0xff, 0x50, 0xff, 0x32, 0xff,
+0x30, 0xff, 0x44, 0xff, 0x76, 0xff, 0xb6, 0xff, 0xf0, 0xff, 0x1e, 0x00, 0x64, 0x00, 0x9c, 0x00,
+0xba, 0x00, 0xb2, 0x00, 0x96, 0x00, 0x6e, 0x00, 0x1c, 0x00, 0xf8, 0xff, 0xaa, 0xff, 0x68, 0xff,
+0x3e, 0xff, 0x30, 0xff, 0x36, 0xff, 0x56, 0xff, 0x84, 0xff, 0xc2, 0xff, 0x00, 0x00, 0x38, 0x00,
+0x7a, 0x00, 0xa6, 0x00, 0xc2, 0x00, 0xac, 0x00, 0x92, 0x00, 0x56, 0x00, 0x18, 0x00, 0xe8, 0xff,
+0xac, 0xff, 0x6e, 0xff, 0x3c, 0xff, 0x2c, 0xff, 0x34, 0xff, 0x5c, 0xff, 0x90, 0xff, 0xde, 0xff,
+0x10, 0x00, 0x3c, 0x00, 0x7a, 0x00, 0x9c, 0x00, 0xae, 0x00, 0xa8, 0x00, 0x74, 0x00, 0x3e, 0x00,
+0x04, 0x00, 0xca, 0xff, 0x96, 0xff, 0x62, 0xff, 0x44, 0xff, 0x3a, 0xff, 0x48, 0xff, 0x68, 0xff,
+0xa6, 0xff, 0xea, 0xff, 0x1e, 0x00, 0x44, 0x00, 0x74, 0x00, 0x90, 0x00, 0x92, 0x00, 0x80, 0x00,
+0x5a, 0x00, 0x28, 0x00, 0xf2, 0xff, 0xc4, 0xff, 0xa0, 0xff, 0x7a, 0xff, 0x58, 0xff, 0x5a, 0xff,
+0x64, 0xff, 0x8e, 0xff, 0xc4, 0xff, 0xea, 0xff, 0x24, 0x00, 0x44, 0x00, 0x5e, 0x00, 0x72, 0x00,
+0x6a, 0x00, 0x5e, 0x00, 0x44, 0x00, 0x16, 0x00, 0xe6, 0xff, 0xc6, 0xff, 0xa0, 0xff, 0x92, 0xff,
+0x7c, 0xff, 0x7a, 0xff, 0x7c, 0xff, 0x9e, 0xff, 0xc8, 0xff, 0xea, 0xff, 0x10, 0x00, 0x2a, 0x00,
+0x3c, 0x00, 0x42, 0x00, 0x4e, 0x00, 0x3e, 0x00, 0x26, 0x00, 0x02, 0x00, 0xea, 0xff, 0xd4, 0xff,
+0xb6, 0xff, 0xa8, 0xff, 0xa6, 0xff, 0xa4, 0xff, 0xb0, 0xff, 0xc8, 0xff, 0xe2, 0xff, 0xf6, 0xff,
+0x08, 0x00, 0x1e, 0x00, 0x26, 0x00, 0x28, 0x00, 0x1c, 0x00, 0x20, 0x00, 0x16, 0x00, 0xfe, 0xff,
+0xf2, 0xff, 0xe4, 0xff, 0xd4, 0xff, 0xe2, 0xff, 0xde, 0xff, 0xd0, 0xff, 0xd8, 0xff, 0xdc, 0xff,
+0xf6, 0xff, 0xf4, 0xff, 0xf4, 0xff, 0xf4, 0xff, 0xfc, 0xff, 0xf6, 0xff, 0xf8, 0xff, 0x04, 0x00,
+0x02, 0x00, 0xfa, 0xff, 0xf8, 0xff, 0xfe, 0xff, 0xf8, 0xff, 0xf6, 0xff, 0xf8, 0xff, 0xfe, 0xff,
+0xf6, 0xff, 0xf0, 0xff, 0xea, 0xff, 0xd6, 0xff, 0xd0, 0xff, 0xd4, 0xff, 0xd6, 0xff, 0xd8, 0xff,
+0xea, 0xff, 0xf2, 0xff, 0xfa, 0xff, 0x04, 0x00, 0x14, 0x00, 0x18, 0x00, 0x1e, 0x00, 0x16, 0x00,
+0x16, 0x00, 0x0c, 0x00, 0xfa, 0xff, 0xf6, 0xff, 0xe6, 0xff, 0xc2, 0xff, 0xb6, 0xff, 0xb0, 0xff,
+0xb0, 0xff, 0xc8, 0xff, 0xce, 0xff, 0xec, 0xff, 0xfc, 0xff, 0x0c, 0x00, 0x2e, 0x00, 0x3a, 0x00,
+0x3c, 0x00, 0x32, 0x00, 0x2c, 0x00, 0x14, 0x00, 0xfc, 0xff, 0xe4, 0xff, 0xc2, 0xff, 0xa2, 0xff,
+0x92, 0xff, 0x86, 0xff, 0x90, 0xff, 0xa4, 0xff, 0xba, 0xff, 0xea, 0xff, 0xfe, 0xff, 0x2e, 0x00,
+0x46, 0x00, 0x54, 0x00, 0x54, 0x00, 0x56, 0x00, 0x46, 0x00, 0x28, 0x00, 0x04, 0x00, 0xd8, 0xff,
+0xa4, 0xff, 0x88, 0xff, 0x7e, 0xff, 0x6c, 0xff, 0x7a, 0xff, 0x92, 0xff, 0xaa, 0xff, 0xe0, 0xff,
+0x0c, 0x00, 0x3c, 0x00, 0x64, 0x00, 0x7a, 0x00, 0x82, 0x00, 0x70, 0x00, 0x58, 0x00, 0x2e, 0x00,
+0xfe, 0xff, 0xca, 0xff, 0x9c, 0xff, 0x74, 0xff, 0x54, 0xff, 0x4c, 0xff, 0x5c, 0xff, 0x88, 0xff,
+0xba, 0xff, 0xee, 0xff, 0x1c, 0x00, 0x52, 0x00, 0x78, 0x00, 0x96, 0x00, 0x96, 0x00, 0x86, 0x00,
+0x5e, 0x00, 0x20, 0x00, 0xee, 0xff, 0xb0, 0xff, 0x78, 0xff, 0x58, 0xff, 0x3e, 0xff, 0x3e, 0xff,
+0x5e, 0xff, 0x86, 0xff, 0xca, 0xff, 0xfe, 0xff, 0x30, 0x00, 0x74, 0x00, 0x9c, 0x00, 0xac, 0x00,
+0xa6, 0x00, 0x88, 0x00, 0x56, 0x00, 0x0c, 0x00, 0xd4, 0xff, 0xa2, 0xff, 0x68, 0xff, 0x44, 0xff,
+0x2c, 0xff, 0x3a, 0xff, 0x60, 0xff, 0x9e, 0xff, 0xe2, 0xff, 0x12, 0x00, 0x4e, 0x00, 0x82, 0x00,
+0xa6, 0x00, 0xc4, 0x00, 0xaa, 0x00, 0x8c, 0x00, 0x3a, 0x00, 0xfc, 0xff, 0xd6, 0xff, 0x7a, 0xff,
+0x58, 0xff, 0x34, 0xff, 0x2a, 0xff, 0x48, 0xff, 0x6a, 0xff, 0xa6, 0xff, 0xe4, 0xff, 0x18, 0x00,
+0x50, 0x00, 0x92, 0x00, 0xb0, 0x00, 0xbc, 0x00, 0xaa, 0x00, 0x6e, 0x00, 0x2c, 0x00, 0xec, 0xff,
+0xbc, 0xff, 0x82, 0xff, 0x58, 0xff, 0x3e, 0xff, 0x30, 0xff, 0x58, 0xff, 0x7c, 0xff, 0xc2, 0xff,
+0xfe, 0xff, 0x2a, 0x00, 0x62, 0x00, 0x86, 0x00, 0x9a, 0x00, 0x9e, 0x00, 0x88, 0x00, 0x58, 0x00,
+0x1e, 0x00, 0xe6, 0xff, 0xb0, 0xff, 0x82, 0xff, 0x60, 0xff, 0x4a, 0xff, 0x52, 0xff, 0x68, 0xff,
+0x94, 0xff, 0xd6, 0xff, 0x00, 0x00, 0x2e, 0x00, 0x50, 0x00, 0x68, 0x00, 0x82, 0x00, 0x7a, 0x00,
+0x66, 0x00, 0x36, 0x00, 0x04, 0x00, 0xe2, 0xff, 0xa6, 0xff, 0x90, 0xff, 0x72, 0xff, 0x66, 0xff,
+0x70, 0xff, 0x82, 0xff, 0xa8, 0xff, 0xd2, 0xff, 0xfc, 0xff, 0x34, 0x00, 0x44, 0x00, 0x54, 0x00,
+0x6a, 0x00, 0x52, 0x00, 0x48, 0x00, 0x28, 0x00, 0xfa, 0xff, 0xea, 0xff, 0xc4, 0xff, 0xb0, 0xff,
+0xa0, 0xff, 0x92, 0xff, 0x96, 0xff, 0xa4, 0xff, 0xc4, 0xff, 0xe6, 0xff, 0xfe, 0xff, 0x1c, 0x00,
+0x34, 0x00, 0x38, 0x00, 0x32, 0x00, 0x34, 0x00, 0x26, 0x00, 0x0a, 0x00, 0xfc, 0xff, 0xe4, 0xff,
+0xce, 0xff, 0xbe, 0xff, 0xc2, 0xff, 0xbe, 0xff, 0xba, 0xff, 0xcc, 0xff, 0xd0, 0xff, 0xe8, 0xff,
+0xf8, 0xff, 0x06, 0x00, 0x18, 0x00, 0x16, 0x00, 0x1e, 0x00, 0x0e, 0x00, 0x16, 0x00, 0x0e, 0x00,
+0xf6, 0xff, 0xf8, 0xff, 0xf0, 0xff, 0xf4, 0xff, 0xee, 0xff, 0xe4, 0xff, 0xf2, 0xff, 0xdc, 0xff,
+0xda, 0xff, 0xe6, 0xff, 0xea, 0xff, 0xf8, 0xff, 0xf8, 0xff, 0xf4, 0xff, 0xfa, 0xff, 0x00, 0x00,
+0x00, 0x00, 0x0c, 0x00, 0x10, 0x00, 0x0c, 0x00, 0x18, 0x00, 0x0a, 0x00, 0x0c, 0x00, 0x06, 0x00,
+0xf0, 0xff, 0xf6, 0xff, 0xf2, 0xff, 0xde, 0xff, 0xd0, 0xff, 0xc0, 0xff, 0xbc, 0xff, 0xc6, 0xff,
+0xc8, 0xff, 0xd2, 0xff, 0xec, 0xff, 0xfa, 0xff, 0x12, 0x00, 0x2c, 0x00, 0x2e, 0x00, 0x2a, 0x00,
+0x26, 0x00, 0x28, 0x00, 0x0e, 0x00, 0xfc, 0xff, 0xf6, 0xff, 0xc8, 0xff, 0xaa, 0xff, 0xa6, 0xff,
+0x94, 0xff, 0xa4, 0xff, 0xa6, 0xff, 0xbe, 0xff, 0xec, 0xff, 0x02, 0x00, 0x2c, 0x00, 0x48, 0x00,
+0x50, 0x00, 0x5a, 0x00, 0x50, 0x00, 0x38, 0x00, 0x1a, 0x00, 0x02, 0x00, 0xcc, 0xff, 0x9e, 0xff,
+0x8c, 0xff, 0x72, 0xff, 0x6e, 0xff, 0x84, 0xff, 0x8e, 0xff, 0xb2, 0xff, 0xde, 0xff, 0x08, 0x00,
+0x3c, 0x00, 0x4e, 0x00, 0x6a, 0x00, 0x6e, 0x00, 0x4e, 0x00, 0x38, 0x00, 0x02, 0x00, 0xd8, 0xff,
+0xb2, 0xff, 0x88, 0xff, 0x66, 0xff, 0x4a, 0xff, 0x58, 0xff, 0x6e, 0xff, 0x96, 0xff, 0xc8, 0xff,
+0xfc, 0xff, 0x28, 0x00, 0x56, 0x00, 0x7c, 0x00, 0x8a, 0x00, 0x84, 0x00, 0x6c, 0x00, 0x38, 0x00,
+0x0a, 0x00, 0xd8, 0xff, 0xa0, 0xff, 0x76, 0xff, 0x46, 0xff, 0x3a, 0xff, 0x46, 0xff, 0x64, 0xff,
+0xb2, 0xff, 0xd8, 0xff, 0x0c, 0x00, 0x3e, 0x00, 0x70, 0x00, 0xa2, 0x00, 0xa4, 0x00, 0x8e, 0x00,
+0x6a, 0x00, 0x2e, 0x00, 0xf4, 0xff, 0xc8, 0xff, 0x8e, 0xff, 0x52, 0xff, 0x36, 0xff, 0x26, 0xff,
+0x3e, 0xff, 0x62, 0xff, 0xae, 0xff, 0xf4, 0xff, 0x1e, 0x00, 0x5c, 0x00, 0x94, 0x00, 0xb2, 0x00,
+0xaa, 0x00, 0x9a, 0x00, 0x74, 0x00, 0x28, 0x00, 0xf6, 0xff, 0xc6, 0xff, 0x8a, 0xff, 0x5c, 0xff,
+0x32, 0xff, 0x2e, 0xff, 0x4e, 0xff, 0x7e, 0xff, 0xc8, 0xff, 0x02, 0x00, 0x3a, 0x00, 0x78, 0x00,
+0xa2, 0x00, 0xc0, 0x00, 0xb4, 0x00, 0x9a, 0x00, 0x70, 0x00, 0x26, 0x00, 0xe6, 0xff, 0xbc, 0xff,
+0x7e, 0xff, 0x44, 0xff, 0x30, 0xff, 0x3a, 0xff, 0x5c, 0xff, 0x86, 0xff, 0xcc, 0xff, 0x0a, 0x00,
+0x2c, 0x00, 0x6c, 0x00, 0x96, 0x00, 0x9e, 0x00, 0xa0, 0x00, 0x80, 0x00, 0x4a, 0x00, 0x12, 0x00,
+0xd6, 0xff, 0x9e, 0xff, 0x72, 0xff, 0x4a, 0xff, 0x4a, 0xff, 0x5c, 0xff, 0x70, 0xff, 0xa4, 0xff,
+0xd8, 0xff, 0x0e, 0x00, 0x3a, 0x00, 0x64, 0x00, 0x86, 0x00, 0x8a, 0x00, 0x84, 0x00, 0x66, 0x00,
+0x38, 0x00, 0x02, 0x00, 0xce, 0xff, 0xa6, 0xff, 0x7e, 0xff, 0x66, 0xff, 0x62, 0xff, 0x6e, 0xff,
+0x84, 0xff, 0xb4, 0xff, 0xf0, 0xff, 0x0c, 0x00, 0x38, 0x00, 0x50, 0x00, 0x5e, 0x00, 0x6a, 0x00,
+0x5c, 0x00, 0x42, 0x00, 0x16, 0x00, 0xf0, 0xff, 0xc4, 0xff, 0x98, 0xff, 0x86, 0xff, 0x70, 0xff,
+0x70, 0xff, 0x86, 0xff, 0x9c, 0xff, 0xbc, 0xff, 0xde, 0xff, 0x02, 0x00, 0x2c, 0x00, 0x32, 0x00,
+0x3a, 0x00, 0x48, 0x00, 0x32, 0x00, 0x20, 0x00, 0x02, 0x00, 0xf0, 0xff, 0xd6, 0xff, 0xb0, 0xff,
+0xb0, 0xff, 0xa4, 0xff, 0xa0, 0xff, 0xaa, 0xff, 0xbe, 0xff, 0xdc, 0xff, 0xee, 0xff, 0xfc, 0xff,
+0x18, 0x00, 0x26, 0x00, 0x1a, 0x00, 0x28, 0x00, 0x20, 0x00, 0x0e, 0x00, 0xfe, 0xff, 0xec, 0xff,
+0xea, 0xff, 0xd0, 0xff, 0xd8, 0xff, 0xd4, 0xff, 0xc2, 0xff, 0xc4, 0xff, 0xcc, 0xff, 0xd8, 0xff,
+0xdc, 0xff, 0xee, 0xff, 0xf4, 0xff, 0xf6, 0xff, 0xf8, 0xff, 0x02, 0x00, 0x04, 0x00, 0x00, 0x00,
+0x06, 0x00, 0xfa, 0xff, 0xfa, 0xff, 0xfc, 0xff, 0xf2, 0xff, 0xf8, 0xff, 0xf2, 0xff, 0xf0, 0xff,
+0xe6, 0xff, 0xd6, 0xff, 0xda, 0xff, 0xda, 0xff, 0xd2, 0xff, 0xe2, 0xff, 0xe4, 0xff, 0xf0, 0xff,
+0x06, 0x00, 0x06, 0x00, 0x02, 0x00, 0x14, 0x00, 0x20, 0x00, 0x24, 0x00, 0x2a, 0x00, 0x2a, 0x00,
+0x16, 0x00, 0x04, 0x00, 0xf0, 0xff, 0xd8, 0xff, 0xc6, 0xff, 0xae, 0xff, 0xb4, 0xff, 0xbc, 0xff,
+0xba, 0xff, 0xc8, 0xff, 0xde, 0xff, 0xfa, 0xff, 0x16, 0x00, 0x30, 0x00, 0x40, 0x00, 0x4a, 0x00,
+0x42, 0x00, 0x36, 0x00, 0x2c, 0x00, 0x0a, 0x00, 0xe8, 0xff, 0xc0, 0xff, 0xa6, 0xff, 0x90, 0xff,
+0x86, 0xff, 0x98, 0xff, 0xa2, 0xff, 0xa8, 0xff, 0xd8, 0xff, 0xfe, 0xff, 0x24, 0x00, 0x54, 0x00,
+0x68, 0x00, 0x68, 0x00, 0x68, 0x00, 0x54, 0x00, 0x36, 0x00, 0x10, 0x00, 0xd6, 0xff, 0xb4, 0xff,
+0x88, 0xff, 0x68, 0xff, 0x68, 0xff, 0x6a, 0xff, 0x84, 0xff, 0xa4, 0xff, 0xdc, 0xff, 0x0c, 0x00,
+0x34, 0x00, 0x66, 0x00, 0x86, 0x00, 0x8c, 0x00, 0x7c, 0x00, 0x5e, 0x00, 0x28, 0x00, 0xfe, 0xff,
+0xc4, 0xff, 0x8c, 0xff, 0x54, 0xff, 0x38, 0xff, 0x3e, 0xff, 0x48, 0xff, 0x6a, 0xff, 0x9a, 0xff,
+0xd6, 0xff, 0x10, 0x00, 0x4c, 0x00, 0x82, 0x00, 0x9e, 0x00, 0xa0, 0x00, 0x82, 0x00, 0x5c, 0x00,
+0x1e, 0x00, 0xf0, 0xff, 0xb4, 0xff, 0x76, 0xff, 0x48, 0xff, 0x2e, 0xff, 0x30, 0xff, 0x46, 0xff,
+0x78, 0xff, 0xb8, 0xff, 0xf8, 0xff, 0x2c, 0x00, 0x66, 0x00, 0x9e, 0x00, 0xb8, 0x00, 0xb2, 0x00,
+0x90, 0x00, 0x5e, 0x00, 0x12, 0x00, 0xe6, 0xff, 0xa0, 0xff, 0x5e, 0xff, 0x3e, 0xff, 0x22, 0xff,
+0x26, 0xff, 0x48, 0xff, 0x80, 0xff, 0xce, 0xff, 0x02, 0x00, 0x38, 0x00, 0x7c, 0x00, 0xa8, 0x00,
+0xbc, 0x00, 0xa8, 0x00, 0x7e, 0x00, 0x3c, 0x00, 0x00, 0x00, 0xc8, 0xff, 0x8e, 0xff, 0x5a, 0xff,
+0x2a, 0xff, 0x22, 0xff, 0x42, 0xff, 0x6a, 0xff, 0x98, 0xff, 0xe2, 0xff, 0x22, 0x00, 0x54, 0x00,
+0x8e, 0x00, 0xb2, 0x00, 0xbc, 0x00, 0x9a, 0x00, 0x72, 0x00, 0x38, 0x00, 0x02, 0x00, 0xc0, 0xff,
+0x88, 0xff, 0x56, 0xff, 0x44, 0xff, 0x4a, 0xff, 0x52, 0xff, 0x80, 0xff, 0xbc, 0xff, 0xfc, 0xff,
+0x30, 0x00, 0x6c, 0x00, 0x98, 0x00, 0xa6, 0x00, 0xa2, 0x00, 0x82, 0x00, 0x60, 0x00, 0x2e, 0x00,
+0xf8, 0xff, 0xba, 0xff, 0x82, 0xff, 0x5a, 0xff, 0x4e, 0xff, 0x5a, 0xff, 0x66, 0xff, 0x90, 0xff,
+0xcc, 0xff, 0xf6, 0xff, 0x34, 0x00, 0x62, 0x00, 0x7a, 0x00, 0x84, 0x00, 0x84, 0x00, 0x70, 0x00,
+0x44, 0x00, 0x20, 0x00, 0xee, 0xff, 0xb6, 0xff, 0x96, 0xff, 0x80, 0xff, 0x70, 0xff, 0x7a, 0xff,
+0x86, 0xff, 0xa4, 0xff, 0xde, 0xff, 0x06, 0x00, 0x2c, 0x00, 0x48, 0x00, 0x50, 0x00, 0x56, 0x00,
+0x52, 0x00, 0x4a, 0x00, 0x32, 0x00, 0x04, 0x00, 0xe0, 0xff, 0xc4, 0xff, 0xa4, 0xff, 0x9c, 0xff,
+0x94, 0xff, 0x90, 0xff, 0x9e, 0xff, 0xbc, 0xff, 0xde, 0xff, 0x00, 0x00, 0x10, 0x00, 0x26, 0x00,
+0x26, 0x00, 0x26, 0x00, 0x22, 0x00, 0x18, 0x00, 0xfe, 0xff, 0xe8, 0xff, 0xe0, 0xff, 0xc2, 0xff,
+0xb6, 0xff, 0xbe, 0xff, 0xb2, 0xff, 0xb2, 0xff, 0xc4, 0xff, 0xc2, 0xff, 0xe2, 0xff, 0xf6, 0xff,
+0xec, 0xff, 0x08, 0x00, 0x00, 0x00, 0xfa, 0xff, 0xfe, 0xff, 0x02, 0x00, 0xfe, 0xff, 0xf4, 0xff,
+0xf2, 0xff, 0xec, 0xff, 0xe4, 0xff, 0xea, 0xff, 0xe6, 0xff, 0xdc, 0xff, 0xde, 0xff, 0xd8, 0xff,
+0xde, 0xff, 0xd2, 0xff, 0xd8, 0xff, 0xd6, 0xff, 0xd4, 0xff, 0xe4, 0xff, 0xec, 0xff, 0xea, 0xff,
+0xfa, 0xff, 0x02, 0x00, 0x0c, 0x00, 0x1a, 0x00, 0x0c, 0x00, 0x06, 0x00, 0xfc, 0xff, 0xfa, 0xff,
+0xf0, 0xff, 0xdc, 0xff, 0xd0, 0xff, 0xb8, 0xff, 0xa8, 0xff, 0xa8, 0xff, 0xc2, 0xff, 0xc6, 0xff,
+0xe0, 0xff, 0xf6, 0xff, 0x06, 0x00, 0x1e, 0x00, 0x34, 0x00, 0x4c, 0x00, 0x40, 0x00, 0x3a, 0x00,
+0x2e, 0x00, 0x1a, 0x00, 0x00, 0x00, 0xe2, 0xff, 0xca, 0xff, 0xa4, 0xff, 0x88, 0xff, 0x90, 0xff,
+0xa6, 0xff, 0xb6, 0xff, 0xca, 0xff, 0xf8, 0xff, 0x18, 0x00, 0x48, 0x00, 0x60, 0x00, 0x62, 0x00,
+0x6e, 0x00, 0x58, 0x00, 0x42, 0x00, 0x22, 0x00, 0xfa, 0xff, 0xd4, 0xff, 0xa2, 0xff, 0x78, 0xff,
+0x64, 0xff, 0x72, 0xff, 0x88, 0xff, 0xa0, 0xff, 0xca, 0xff, 0xf6, 0xff, 0x24, 0x00, 0x56, 0x00,
+0x72, 0x00, 0x84, 0x00, 0x80, 0x00, 0x6c, 0x00, 0x48, 0x00, 0x20, 0x00, 0xf0, 0xff, 0xc0, 0xff,
+0x92, 0xff, 0x72, 0xff, 0x5a, 0xff, 0x58, 0xff, 0x80, 0xff, 0x9a, 0xff, 0xd2, 0xff, 0x08, 0x00,
+0x36, 0x00, 0x68, 0x00, 0x88, 0x00, 0x94, 0x00, 0x94, 0x00, 0x7e, 0x00, 0x44, 0x00, 0x18, 0x00,
+0xe0, 0xff, 0xae, 0xff, 0x70, 0xff, 0x50, 0xff, 0x3a, 0xff, 0x4a, 0xff, 0x6e, 0xff, 0x90, 0xff,
+0xd2, 0xff, 0xfe, 0xff, 0x3e, 0x00, 0x6e, 0x00, 0x94, 0x00, 0xac, 0x00, 0x94, 0x00, 0x80, 0x00,
+0x3e, 0x00, 0xfc, 0xff, 0xd8, 0xff, 0x92, 0xff, 0x54, 0xff, 0x36, 0xff, 0x2e, 0xff, 0x44, 0xff,
+0x5c, 0xff, 0x9e, 0xff, 0xda, 0xff, 0x08, 0x00, 0x4c, 0x00, 0x86, 0x00, 0xaa, 0x00, 0xb4, 0x00,
+0xa4, 0x00, 0x7c, 0x00, 0x38, 0x00, 0xfc, 0xff, 0xce, 0xff, 0x7c, 0xff, 0x50, 0xff, 0x2a, 0xff,
+0x26, 0xff, 0x44, 0xff, 0x66, 0xff, 0xaa, 0xff, 0xee, 0xff, 0x16, 0x00, 0x52, 0x00, 0x8a, 0x00,
+0xb2, 0x00, 0xb2, 0x00, 0x96, 0x00, 0x64, 0x00, 0x1c, 0x00, 0xf0, 0xff, 0xbe, 0xff, 0x7c, 0xff,
+0x46, 0xff, 0x28, 0xff, 0x2c, 0xff, 0x4e, 0xff, 0x7c, 0xff, 0xc2, 0xff, 0xfc, 0xff, 0x24, 0x00,
+0x56, 0x00, 0x84, 0x00, 0xa4, 0x00, 0xa0, 0x00, 0x8e, 0x00, 0x56, 0x00, 0x1a, 0x00, 0xea, 0xff,
+0xb2, 0xff, 0x86, 0xff, 0x60, 0xff, 0x48, 0xff, 0x4c, 0xff, 0x6a, 0xff, 0x92, 0xff, 0xd0, 0xff,
+0x04, 0x00, 0x34, 0x00, 0x60, 0x00, 0x86, 0x00, 0x92, 0x00, 0x84, 0x00, 0x72, 0x00, 0x40, 0x00,
+0x14, 0x00, 0xe8, 0xff, 0xaa, 0xff, 0x8a, 0xff, 0x74, 0xff, 0x66, 0xff, 0x64, 0xff, 0x80, 0xff,
+0xa8, 0xff, 0xd6, 0xff, 0x08, 0x00, 0x38, 0x00, 0x4c, 0x00, 0x5a, 0x00, 0x6e, 0x00, 0x62, 0x00,
+0x4e, 0x00, 0x24, 0x00, 0x00, 0x00, 0xe0, 0xff, 0xac, 0xff, 0x9e, 0xff, 0x90, 0xff, 0x82, 0xff,
+0x90, 0xff, 0x9a, 0xff, 0xc2, 0xff, 0xe4, 0xff, 0x06, 0x00, 0x28, 0x00, 0x34, 0x00, 0x44, 0x00,
+0x50, 0x00, 0x4a, 0x00, 0x3c, 0x00, 0x18, 0x00, 0xfe, 0xff, 0xee, 0xff, 0xcc, 0xff, 0xc0, 0xff,
+0xb6, 0xff, 0xaa, 0xff, 0xa8, 0xff, 0xbc, 0xff, 0xd2, 0xff, 0xea, 0xff, 0xfa, 0xff, 0x0e, 0x00,
+0x20, 0x00, 0x22, 0x00, 0x24, 0x00, 0x26, 0x00, 0x1e, 0x00, 0x06, 0x00, 0x00, 0x00, 0xf4, 0xff,
+0xe0, 0xff, 0xda, 0xff, 0xd6, 0xff, 0xc2, 0xff, 0xcc, 0xff, 0xc6, 0xff, 0xd4, 0xff, 0xda, 0xff,
+0xe6, 0xff, 0xf0, 0xff, 0xf4, 0xff, 0xf0, 0xff, 0xf4, 0xff, 0x0a, 0x00, 0x04, 0x00, 0x02, 0x00,
+0x0c, 0x00, 0x06, 0x00, 0x02, 0x00, 0xfc, 0xff, 0xfa, 0xff, 0xf6, 0xff, 0xee, 0xff, 0xf0, 0xff,
+0xd4, 0xff, 0xd6, 0xff, 0xd4, 0xff, 0xc6, 0xff, 0xd8, 0xff, 0xd4, 0xff, 0xd6, 0xff, 0xe4, 0xff,
+0xf8, 0xff, 0x04, 0x00, 0x08, 0x00, 0x1a, 0x00, 0x22, 0x00, 0x1a, 0x00, 0x16, 0x00, 0x1c, 0x00,
+0x06, 0x00, 0xf4, 0xff, 0xe0, 0xff, 0xc4, 0xff, 0xb2, 0xff, 0xaa, 0xff, 0xb0, 0xff, 0xa6, 0xff,
+0xb2, 0xff, 0xce, 0xff, 0xe8, 0xff, 0xf8, 0xff, 0x1e, 0x00, 0x48, 0x00, 0x48, 0x00, 0x46, 0x00,
+0x38, 0x00, 0x30, 0x00, 0x10, 0x00, 0x04, 0x00, 0xde, 0xff, 0xac, 0xff, 0x94, 0xff, 0x86, 0xff,
+0x88, 0xff, 0x90, 0xff, 0xa8, 0xff, 0xc8, 0xff, 0xec, 0xff, 0x10, 0x00, 0x56, 0x00, 0x68, 0x00,
+0x6e, 0x00, 0x72, 0x00, 0x56, 0x00, 0x44, 0x00, 0x24, 0x00, 0xfc, 0xff, 0xc0, 0xff, 0x8e, 0xff,
+0x78, 0xff, 0x64, 0xff, 0x62, 0xff, 0x7e, 0xff, 0xa2, 0xff, 0xd2, 0xff, 0xfc, 0xff, 0x2c, 0x00,
+0x66, 0x00, 0x82, 0x00, 0x92, 0x00, 0x8c, 0x00, 0x6c, 0x00, 0x34, 0x00, 0x0e, 0x00, 0xe0, 0xff,
+0x92, 0xff, 0x76, 0xff, 0x48, 0xff, 0x40, 0xff, 0x46, 0xff, 0x68, 0xff, 0x9c, 0xff, 0xd2, 0xff,
+0x14, 0x00, 0x46, 0x00, 0x84, 0x00, 0xa2, 0x00, 0xac, 0x00, 0x96, 0x00, 0x76, 0x00, 0x32, 0x00,
+0xfe, 0xff, 0xc6, 0xff, 0x8c, 0xff, 0x5a, 0xff, 0x34, 0xff, 0x32, 0xff, 0x3a, 0xff, 0x66, 0xff,
+0xb2, 0xff, 0xec, 0xff, 0x26, 0x00, 0x6a, 0x00, 0xa2, 0x00, 0xb4, 0x00, 0xae, 0x00, 0x9a, 0x00,
+0x6e, 0x00, 0x20, 0x00, 0xee, 0xff, 0xb6, 0xff, 0x68, 0xff, 0x3e, 0xff, 0x20, 0xff, 0x20, 0xff,
+0x3a, 0xff, 0x6e, 0xff, 0xc0, 0xff, 0xfa, 0xff, 0x2a, 0x00, 0x70, 0x00, 0xa0, 0x00, 0xba, 0x00,
+0xa8, 0x00, 0x8c, 0x00, 0x50, 0x00, 0x0a, 0x00, 0xde, 0xff, 0x9c, 0xff, 0x62, 0xff, 0x34, 0xff,
+0x26, 0xff, 0x26, 0xff, 0x50, 0xff, 0x92, 0xff, 0xca, 0xff, 0x0e, 0x00, 0x42, 0x00, 0x7a, 0x00,
+0xa8, 0x00, 0xbe, 0x00, 0x9c, 0x00, 0x78, 0x00, 0x40, 0x00, 0x06, 0x00, 0xd2, 0xff, 0x9e, 0xff,
+0x64, 0xff, 0x3e, 0xff, 0x2e, 0xff, 0x40, 0xff, 0x6c, 0xff, 0x9e, 0xff, 0xe0, 0xff, 0x1c, 0x00,
+0x4c, 0x00, 0x78, 0x00, 0x92, 0x00, 0x92, 0x00, 0x82, 0x00, 0x58, 0x00, 0x2c, 0x00, 0xf8, 0xff,
+0xc2, 0xff, 0x92, 0xff, 0x68, 0xff, 0x44, 0xff, 0x42, 0xff, 0x5e, 0xff, 0x74, 0xff, 0xb4, 0xff,
+0xea, 0xff, 0x20, 0x00, 0x4e, 0x00, 0x62, 0x00, 0x80, 0x00, 0x7c, 0x00, 0x66, 0x00, 0x56, 0x00,
+0x22, 0x00, 0xfa, 0xff, 0xc6, 0xff, 0xa0, 0xff, 0x8a, 0xff, 0x74, 0xff, 0x72, 0xff, 0x82, 0xff,
+0x96, 0xff, 0xcc, 0xff, 0xfa, 0xff, 0x20, 0x00, 0x42, 0x00, 0x4c, 0x00, 0x5c, 0x00, 0x58, 0x00,
+0x58, 0x00, 0x38, 0x00, 0x10, 0x00, 0xe8, 0xff, 0xcc, 0xff, 0xb2, 0xff, 0xa0, 0xff, 0x8a, 0xff,
+0x90, 0xff, 0xa0, 0xff, 0xc0, 0xff, 0xe4, 0xff, 0xf2, 0xff, 0x0c, 0x00, 0x26, 0x00, 0x28, 0x00,
+0x2c, 0x00, 0x2c, 0x00, 0x26, 0x00, 0x18, 0x00, 0x04, 0x00, 0xea, 0xff, 0xdc, 0xff, 0xce, 0xff,
+0xbe, 0xff, 0xbe, 0xff, 0xc2, 0xff, 0xce, 0xff, 0xda, 0xff, 0xe6, 0xff, 0xfa, 0xff, 0xf8, 0xff,
+0x06, 0x00, 0x0a, 0x00, 0x10, 0x00, 0x12, 0x00, 0x10, 0x00, 0x0a, 0x00, 0x00, 0x00, 0xfa, 0xff,
+0xf6, 0xff, 0xf2, 0xff, 0xec, 0xff, 0xf2, 0xff, 0xea, 0xff, 0xe8, 0xff, 0xe0, 0xff, 0xde, 0xff,
+0xd8, 0xff, 0xda, 0xff, 0xd6, 0xff, 0xe8, 0xff, 0xdc, 0xff, 0xe2, 0xff, 0xf8, 0xff, 0x04, 0x00,
+0x12, 0x00, 0x0e, 0x00, 0x0c, 0x00, 0x16, 0x00, 0x16, 0x00, 0x08, 0x00, 0xfe, 0xff, 0xea, 0xff,
+0xde, 0xff, 0xbe, 0xff, 0xbc, 0xff, 0xb4, 0xff, 0xae, 0xff, 0xb6, 0xff, 0xb8, 0xff, 0xd8, 0xff,
+0xf4, 0xff, 0x12, 0x00, 0x1e, 0x00, 0x26, 0x00, 0x34, 0x00, 0x3a, 0x00, 0x3a, 0x00, 0x36, 0x00,
+0x1a, 0x00, 0xf6, 0xff, 0xd6, 0xff, 0xc2, 0xff, 0x9e, 0xff, 0x9c, 0xff, 0x90, 0xff, 0x98, 0xff,
+0xae, 0xff, 0xbe, 0xff, 0xe4, 0xff, 0xfa, 0xff, 0x2e, 0x00, 0x3c, 0x00, 0x56, 0x00, 0x60, 0x00,
+0x5a, 0x00, 0x50, 0x00, 0x28, 0x00, 0xf8, 0xff, 0xca, 0xff, 0xa8, 0xff, 0x8c, 0xff, 0x70, 0xff,
+0x6e, 0xff, 0x80, 0xff, 0x90, 0xff, 0xac, 0xff, 0xdc, 0xff, 0x0e, 0x00, 0x44, 0x00, 0x68, 0x00,
+0x8c, 0x00, 0x8c, 0x00, 0x76, 0x00, 0x62, 0x00, 0x34, 0x00, 0xf8, 0xff, 0xc8, 0xff, 0x94, 0xff,
+0x78, 0xff, 0x56, 0xff, 0x54, 0xff, 0x5e, 0xff, 0x88, 0xff, 0xba, 0xff, 0xe8, 0xff, 0x32, 0x00,
+0x5e, 0x00, 0x8c, 0x00, 0xb0, 0x00, 0xa2, 0x00, 0x90, 0x00, 0x5c, 0x00, 0x22, 0x00, 0xf2, 0xff,
+0xb6, 0xff, 0x78, 0xff, 0x4a, 0xff, 0x32, 0xff, 0x3e, 0xff, 0x56, 0xff, 0x88, 0xff, 0xd2, 0xff,
+0xf8, 0xff, 0x36, 0x00, 0x76, 0x00, 0xa6, 0x00, 0xc2, 0x00, 0xae, 0x00, 0x86, 0x00, 0x46, 0x00,
+0x12, 0x00, 0xd4, 0xff, 0x96, 0xff, 0x62, 0xff, 0x38, 0xff, 0x34, 0xff, 0x3e, 0xff, 0x5e, 0xff,
+0x9c, 0xff, 0xe0, 0xff, 0x0c, 0x00, 0x54, 0x00, 0x8e, 0x00, 0xb2, 0x00, 0xc6, 0x00, 0xa6, 0x00,
+0x7e, 0x00, 0x3a, 0x00, 0xfc, 0xff, 0xcc, 0xff, 0x80, 0xff, 0x5e, 0xff, 0x30, 0xff, 0x26, 0xff,
+0x40, 0xff, 0x66, 0xff, 0xa2, 0xff, 0xea, 0xff, 0x18, 0x00, 0x5c, 0x00, 0x96, 0x00, 0xa8, 0x00,
+0xb2, 0x00, 0x98, 0x00, 0x64, 0x00, 0x20, 0x00, 0xea, 0xff, 0xb2, 0xff, 0x82, 0xff, 0x4a, 0xff,
+0x2e, 0xff, 0x2e, 0xff, 0x46, 0xff, 0x72, 0xff, 0xa8, 0xff, 0xf0, 0xff, 0x28, 0x00, 0x58, 0x00,
+0x8a, 0x00, 0xa4, 0x00, 0xa2, 0x00, 0x88, 0x00, 0x5e, 0x00, 0x20, 0x00, 0xec, 0xff, 0xb0, 0xff,
+0x82, 0xff, 0x62, 0xff, 0x42, 0xff, 0x4e, 0xff, 0x5e, 0xff, 0x86, 0xff, 0xc2, 0xff, 0xfc, 0xff,
+0x32, 0x00, 0x62, 0x00, 0x88, 0x00, 0x90, 0x00, 0x84, 0x00, 0x6a, 0x00, 0x4c, 0x00, 0x0c, 0x00,
+0xe6, 0xff, 0xb4, 0xff, 0x80, 0xff, 0x72, 0xff, 0x62, 0xff, 0x68, 0xff, 0x7a, 0xff, 0x9c, 0xff,
+0xd4, 0xff, 0x0a, 0x00, 0x34, 0x00, 0x52, 0x00, 0x5a, 0x00, 0x5e, 0x00, 0x66, 0x00, 0x52, 0x00,
+0x30, 0x00, 0x04, 0x00, 0xe4, 0xff, 0xb8, 0xff, 0xa0, 0xff, 0x98, 0xff, 0x92, 0xff, 0x9e, 0xff,
+0xa2, 0xff, 0xc0, 0xff, 0xf0, 0xff, 0x0c, 0x00, 0x28, 0x00, 0x3a, 0x00, 0x3c, 0x00, 0x4a, 0x00,
+0x44, 0x00, 0x32, 0x00, 0x20, 0x00, 0xfe, 0xff, 0xea, 0xff, 0xd2, 0xff, 0xbe, 0xff, 0xce, 0xff,
+0xbc, 0xff, 0xb2, 0xff, 0xc8, 0xff, 0xda, 0xff, 0xee, 0xff, 0xfc, 0xff, 0x06, 0x00, 0x1c, 0x00,
+0x14, 0x00, 0x1c, 0x00, 0x22, 0x00, 0x12, 0x00, 0x0a, 0x00, 0xfc, 0xff, 0xf6, 0xff, 0xf4, 0xff,
+0xea, 0xff, 0xde, 0xff, 0xdc, 0xff, 0xde, 0xff, 0xd8, 0xff, 0xe2, 0xff, 0xe2, 0xff, 0xec, 0xff,
+0xf2, 0xff, 0xee, 0xff, 0xfa, 0xff, 0xfa, 0xff, 0xfe, 0xff, 0xfc, 0xff, 0x0c, 0x00, 0x0c, 0x00,
+0x08, 0x00, 0x08, 0x00, 0x02, 0x00, 0xfa, 0xff, 0xf0, 0xff, 0x02, 0x00, 0xec, 0xff, 0xda, 0xff,
+0xdc, 0xff, 0xd6, 0xff, 0xc0, 0xff, 0xca, 0xff, 0xd0, 0xff, 0xce, 0xff, 0xe8, 0xff, 0xf0, 0xff,
+0xfa, 0xff, 0x06, 0x00, 0x1a, 0x00, 0x1e, 0x00, 0x1c, 0x00, 0x12, 0x00, 0x0c, 0x00, 0x04, 0x00,
+0xf2, 0xff, 0xd2, 0xff, 0xba, 0xff, 0xaa, 0xff, 0x94, 0xff, 0xa0, 0xff, 0xb2, 0xff, 0xb2, 0xff,
+0xd0, 0xff, 0xf0, 0xff, 0x06, 0x00, 0x22, 0x00, 0x3c, 0x00, 0x48, 0x00, 0x3c, 0x00, 0x30, 0x00,
+0x28, 0x00, 0x10, 0x00, 0xe2, 0xff, 0xcc, 0xff, 0xaa, 0xff, 0x82, 0xff, 0x74, 0xff, 0x82, 0xff,
+0x98, 0xff, 0xa4, 0xff, 0xc8, 0xff, 0xf8, 0xff, 0x1e, 0x00, 0x42, 0x00, 0x68, 0x00, 0x74, 0x00,
+0x64, 0x00, 0x50, 0x00, 0x3a, 0x00, 0x18, 0x00, 0xe8, 0xff, 0xba, 0xff, 0x8e, 0xff, 0x6c, 0xff,
+0x56, 0xff, 0x5e, 0xff, 0x82, 0xff, 0xa2, 0xff, 0xc8, 0xff, 0x00, 0x00, 0x2e, 0x00, 0x60, 0x00,
+0x80, 0x00, 0x88, 0x00, 0x8c, 0x00, 0x70, 0x00, 0x40, 0x00, 0x18, 0x00, 0xec, 0xff, 0xb2, 0xff,
+0x7e, 0xff, 0x54, 0xff, 0x4c, 0xff, 0x56, 0xff, 0x76, 0xff, 0xaa, 0xff, 0xd8, 0xff, 0x12, 0x00,
+0x46, 0x00, 0x74, 0x00, 0x9a, 0x00, 0xa4, 0x00, 0x94, 0x00, 0x7c, 0x00, 0x44, 0x00, 0x0e, 0x00,
+0xea, 0xff, 0x9e, 0xff, 0x60, 0xff, 0x52, 0xff, 0x3c, 0xff, 0x4e, 0xff, 0x72, 0xff, 0xaa, 0xff,
+0xea, 0xff, 0x14, 0x00, 0x5a, 0x00, 0x88, 0x00, 0xb0, 0x00, 0xb6, 0x00, 0x9a, 0x00, 0x7a, 0x00,
+0x38, 0x00, 0x00, 0x00, 0xce, 0xff, 0x7e, 0xff, 0x52, 0xff, 0x40, 0xff, 0x2e, 0xff, 0x46, 0xff,
+0x78, 0xff, 0xb8, 0xff, 0xf8, 0xff, 0x24, 0x00, 0x6c, 0x00, 0x98, 0x00, 0xb6, 0x00, 0xb4, 0x00,
+0x90, 0x00, 0x70, 0x00, 0x28, 0x00, 0xf6, 0xff, 0xbe, 0xff, 0x70, 0xff, 0x40, 0xff, 0x36, 0xff,
+0x2c, 0xff, 0x4e, 0xff, 0x84, 0xff, 0xbe, 0xff, 0x02, 0x00, 0x2a, 0x00, 0x70, 0x00, 0xa6, 0x00,
+0xa8, 0x00, 0x9e, 0x00, 0x94, 0x00, 0x58, 0x00, 0x12, 0x00, 0xe0, 0xff, 0xa4, 0xff, 0x6c, 0xff,
+0x3e, 0xff, 0x2c, 0xff, 0x3c, 0xff, 0x68, 0xff, 0x92, 0xff, 0xc8, 0xff, 0x00, 0x00, 0x3c, 0x00,
+0x6c, 0x00, 0x8a, 0x00, 0x88, 0x00, 0x78, 0x00, 0x64, 0x00, 0x2c, 0x00, 0xfc, 0xff, 0xce, 0xff,
+0x92, 0xff, 0x64, 0xff, 0x58, 0xff, 0x4c, 0xff, 0x6c, 0xff, 0x84, 0xff, 0xa8, 0xff, 0xe8, 0xff,
+0x06, 0x00, 0x38, 0x00, 0x5c, 0x00, 0x68, 0x00, 0x66, 0x00, 0x5a, 0x00, 0x4a, 0x00, 0x1c, 0x00,
+0xf2, 0xff, 0xca, 0xff, 0x9e, 0xff, 0x88, 0xff, 0x80, 0xff, 0x7e, 0xff, 0x88, 0xff, 0xa2, 0xff,
+0xc6, 0xff, 0xf0, 0xff, 0x0a, 0x00, 0x26, 0x00, 0x38, 0x00, 0x38, 0x00, 0x3a, 0x00, 0x40, 0x00,
+0x30, 0x00, 0x04, 0x00, 0xee, 0xff, 0xcc, 0xff, 0xb4, 0xff, 0xaa, 0xff, 0xb0, 0xff, 0xa6, 0xff,
+0xac, 0xff, 0xb8, 0xff, 0xce, 0xff, 0xec, 0xff, 0xfa, 0xff, 0x1e, 0x00, 0x1e, 0x00, 0x22, 0x00,
+0x2e, 0x00, 0x26, 0x00, 0x14, 0x00, 0x02, 0x00, 0xfa, 0xff, 0xf6, 0xff, 0xe0, 0xff, 0xda, 0xff,
+0xda, 0xff, 0xc4, 0xff, 0xcc, 0xff, 0xd2, 0xff, 0xe6, 0xff, 0xec, 0xff, 0xfa, 0xff, 0x00, 0x00,
+0x04, 0x00, 0x0e, 0x00, 0x0e, 0x00, 0x14, 0x00, 0x12, 0x00, 0x0a, 0x00, 0x02, 0x00, 0x0a, 0x00,
+0x02, 0x00, 0xf6, 0xff, 0xf4, 0xff, 0xec, 0xff, 0xe0, 0xff, 0xde, 0xff, 0xdc, 0xff, 0xce, 0xff,
+0xda, 0xff, 0xde, 0xff, 0xe4, 0xff, 0xe2, 0xff, 0xea, 0xff, 0xfe, 0xff, 0x04, 0x00, 0x10, 0x00,
+0x1e, 0x00, 0x28, 0x00, 0x2a, 0x00, 0x1a, 0x00, 0x16, 0x00, 0x0a, 0x00, 0xf6, 0xff, 0xf4, 0xff,
+0xd8, 0xff, 0xc6, 0xff, 0xc0, 0xff, 0xb4, 0xff, 0xc4, 0xff, 0xbe, 0xff, 0xca, 0xff, 0xea, 0xff,
+0x02, 0x00, 0x12, 0x00, 0x28, 0x00, 0x42, 0x00, 0x40, 0x00, 0x3c, 0x00, 0x32, 0x00, 0x20, 0x00,
+0x04, 0x00, 0xee, 0xff, 0xc8, 0xff, 0xa0, 0xff, 0x94, 0xff, 0x84, 0xff, 0x8c, 0xff, 0x9a, 0xff,
+0xa4, 0xff, 0xcc, 0xff, 0xee, 0xff, 0x0a, 0x00, 0x36, 0x00, 0x50, 0x00, 0x5e, 0x00, 0x54, 0x00,
+0x40, 0x00, 0x28, 0x00, 0x02, 0x00, 0xde, 0xff, 0xa8, 0xff, 0x90, 0xff, 0x6a, 0xff, 0x60, 0xff,
+0x6a, 0xff, 0x84, 0xff, 0x9e, 0xff, 0xd6, 0xff, 0x00, 0x00, 0x2c, 0x00, 0x60, 0x00, 0x70, 0x00,
+0x82, 0x00, 0x74, 0x00, 0x58, 0x00, 0x34, 0x00, 0xfa, 0xff, 0xc6, 0xff, 0x90, 0xff, 0x6a, 0xff,
+0x52, 0xff, 0x48, 0xff, 0x54, 0xff, 0x84, 0xff, 0xac, 0xff, 0xda, 0xff, 0x14, 0x00, 0x4c, 0x00,
+0x7c, 0x00, 0x94, 0x00, 0x90, 0x00, 0x86, 0x00, 0x56, 0x00, 0x1e, 0x00, 0xf2, 0xff, 0xb2, 0xff,
+0x7e, 0xff, 0x46, 0xff, 0x34, 0xff, 0x40, 0xff, 0x54, 0xff, 0x84, 0xff, 0xc0, 0xff, 0xf2, 0xff,
+0x2a, 0x00, 0x66, 0x00, 0x9c, 0x00, 0xba, 0x00, 0xb6, 0x00, 0x92, 0x00, 0x68, 0x00, 0x1a, 0x00,
+0xea, 0xff, 0xb8, 0xff, 0x6c, 0xff, 0x4e, 0xff, 0x36, 0xff, 0x38, 0xff, 0x62, 0xff, 0x8e, 0xff,
+0xd8, 0xff, 0x0a, 0x00, 0x4a, 0x00, 0x92, 0x00, 0xb2, 0x00, 0xd2, 0x00, 0xb8, 0x00, 0x90, 0x00,
+0x58, 0x00, 0x12, 0x00, 0xec, 0xff, 0xa2, 0xff, 0x5c, 0xff, 0x34, 0xff, 0x26, 0xff, 0x2e, 0xff,
+0x60, 0xff, 0x9c, 0xff, 0xe0, 0xff, 0x0e, 0x00, 0x52, 0x00, 0x8e, 0x00, 0xac, 0x00, 0xc2, 0x00,
+0xaa, 0x00, 0x88, 0x00, 0x42, 0x00, 0x00, 0x00, 0xd0, 0xff, 0x8e, 0xff, 0x5c, 0xff, 0x3e, 0xff,
+0x34, 0xff, 0x4a, 0xff, 0x6c, 0xff, 0xb4, 0xff, 0xec, 0xff, 0x28, 0x00, 0x60, 0x00, 0x8a, 0x00,
+0xae, 0x00, 0xae, 0x00, 0x9a, 0x00, 0x66, 0x00, 0x30, 0x00, 0xfc, 0xff, 0xb8, 0xff, 0x9a, 0xff,
+0x6a, 0xff, 0x46, 0xff, 0x44, 0xff, 0x5e, 0xff, 0x8a, 0xff, 0xc2, 0xff, 0xfe, 0xff, 0x2a, 0x00,
+0x56, 0x00, 0x72, 0x00, 0x80, 0x00, 0x82, 0x00, 0x68, 0x00, 0x4a, 0x00, 0x12, 0x00, 0xe0, 0xff,
+0xa8, 0xff, 0x7e, 0xff, 0x68, 0xff, 0x5a, 0xff, 0x6a, 0xff, 0x7c, 0xff, 0x9e, 0xff, 0xce, 0xff,
+0xf0, 0xff, 0x1e, 0x00, 0x50, 0x00, 0x62, 0x00, 0x6a, 0x00, 0x56, 0x00, 0x48, 0x00, 0x28, 0x00,
+0x04, 0x00, 0xe4, 0xff, 0xb6, 0xff, 0x9e, 0xff, 0x8e, 0xff, 0x84, 0xff, 0x90, 0xff, 0xa2, 0xff,
+0xbe, 0xff, 0xe8, 0xff, 0x04, 0x00, 0x1c, 0x00, 0x3c, 0x00, 0x40, 0x00, 0x38, 0x00, 0x32, 0x00,
+0x32, 0x00, 0x18, 0x00, 0xf0, 0xff, 0xe0, 0xff, 0xc2, 0xff, 0xae, 0xff, 0xac, 0xff, 0xae, 0xff,
+0xb2, 0xff, 0xb6, 0xff, 0xc6, 0xff, 0xdc, 0xff, 0xf4, 0xff, 0x04, 0x00, 0x0e, 0x00, 0x10, 0x00,
+0x14, 0x00, 0x1c, 0x00, 0x08, 0x00, 0x04, 0x00, 0xf2, 0xff, 0xf0, 0xff, 0xe6, 0xff, 0xdc, 0xff,
+0xe0, 0xff, 0xd4, 0xff, 0xde, 0xff, 0xdc, 0xff, 0xe6, 0xff, 0xf0, 0xff, 0xec, 0xff, 0xf4, 0xff,
+0xf4, 0xff, 0x00, 0x00, 0xfe, 0xff, 0x00, 0x00, 0x04, 0x00, 0xfe, 0xff, 0x10, 0x00, 0x0c, 0x00,
+0x0a, 0x00, 0x14, 0x00, 0x06, 0x00, 0x00, 0x00, 0xfc, 0xff, 0xfa, 0xff, 0xf2, 0xff, 0xe0, 0xff,
+0xd6, 0xff, 0xce, 0xff, 0xc4, 0xff, 0xd0, 0xff, 0xce, 0xff, 0xdc, 0xff, 0xee, 0xff, 0xfc, 0xff,
+0x08, 0x00, 0x1e, 0x00, 0x2e, 0x00, 0x26, 0x00, 0x22, 0x00, 0x1e, 0x00, 0x0e, 0x00, 0xfe, 0xff,
+0xe6, 0xff, 0xd0, 0xff, 0xb4, 0xff, 0xa0, 0xff, 0xaa, 0xff, 0xa8, 0xff, 0xaa, 0xff, 0xda, 0xff,
+0xee, 0xff, 0x00, 0x00, 0x24, 0x00, 0x42, 0x00, 0x56, 0x00, 0x58, 0x00, 0x4e, 0x00, 0x40, 0x00,
+0x28, 0x00, 0x06, 0x00, 0xf0, 0xff, 0xc0, 0xff, 0x94, 0xff, 0x84, 0xff, 0x84, 0xff, 0x90, 0xff,
+0x9e, 0xff, 0xc4, 0xff, 0xf0, 0xff, 0x08, 0x00, 0x46, 0x00, 0x5a, 0x00, 0x64, 0x00, 0x70, 0x00,
+0x58, 0x00, 0x44, 0x00, 0x22, 0x00, 0xf4, 0xff, 0xc8, 0xff, 0x8c, 0xff, 0x6a, 0xff, 0x5a, 0xff,
+0x56, 0xff, 0x66, 0xff, 0x90, 0xff, 0xc8, 0xff, 0xe8, 0xff, 0x24, 0x00, 0x50, 0x00, 0x68, 0x00,
+0x80, 0x00, 0x80, 0x00, 0x72, 0x00, 0x42, 0x00, 0x1a, 0x00, 0xe4, 0xff, 0xae, 0xff, 0x80, 0xff,
+0x56, 0xff, 0x42, 0xff, 0x4c, 0xff, 0x62, 0xff, 0x96, 0xff, 0xce, 0xff, 0x04, 0x00, 0x38, 0x00,
+0x66, 0x00, 0x90, 0x00, 0x9c, 0x00, 0x94, 0x00, 0x80, 0x00, 0x3e, 0x00, 0x0e, 0x00, 0xce, 0xff,
+0x94, 0xff, 0x6c, 0xff, 0x3e, 0xff, 0x2e, 0xff, 0x3a, 0xff, 0x56, 0xff, 0x92, 0xff, 0xda, 0xff,
+0x10, 0x00, 0x3c, 0x00, 0x70, 0x00, 0x92, 0x00, 0xa6, 0x00, 0x8e, 0x00, 0x6c, 0x00, 0x34, 0x00,
+0xf6, 0xff, 0xca, 0xff, 0x8c, 0xff, 0x58, 0xff, 0x30, 0xff, 0x20, 0xff, 0x3a, 0xff, 0x74, 0xff,
+0xa8, 0xff, 0xec, 0xff, 0x1e, 0x00, 0x50, 0x00, 0x88, 0x00, 0xa4, 0x00, 0xb0, 0x00, 0xa8, 0x00,
+0x6a, 0x00, 0x32, 0x00, 0xfa, 0xff, 0xc4, 0xff, 0x86, 0xff, 0x58, 0xff, 0x3c, 0xff, 0x3a, 0xff,
+0x50, 0xff, 0x7a, 0xff, 0xb8, 0xff, 0xf4, 0xff, 0x30, 0x00, 0x60, 0x00, 0x94, 0x00, 0xa4, 0x00,
+0xa4, 0x00, 0x90, 0x00, 0x5e, 0x00, 0x24, 0x00, 0xf2, 0xff, 0xba, 0xff, 0x80, 0xff, 0x54, 0xff,
+0x34, 0xff, 0x3e, 0xff, 0x54, 0xff, 0x86, 0xff, 0xbc, 0xff, 0xfa, 0xff, 0x28, 0x00, 0x60, 0x00,
+0x8a, 0x00, 0x9a, 0x00, 0x98, 0x00, 0x72, 0x00, 0x54, 0x00, 0x1e, 0x00, 0xde, 0xff, 0xb0, 0xff,
+0x7c, 0xff, 0x6a, 0xff, 0x54, 0xff, 0x5c, 0xff, 0x7c, 0xff, 0x9c, 0xff, 0xda, 0xff, 0x04, 0x00,
+0x3e, 0x00, 0x5a, 0x00, 0x74, 0x00, 0x88, 0x00, 0x70, 0x00, 0x58, 0x00, 0x32, 0x00, 0x06, 0x00,
+0xde, 0xff, 0xb0, 0xff, 0x9a, 0xff, 0x8e, 0xff, 0x7e, 0xff, 0x80, 0xff, 0x92, 0xff, 0xb8, 0xff,
+0xdc, 0xff, 0xfe, 0xff, 0x26, 0x00, 0x2e, 0x00, 0x42, 0x00, 0x40, 0x00, 0x40, 0x00, 0x34, 0x00,
+0x0e, 0x00, 0xee, 0xff, 0xda, 0xff, 0xba, 0xff, 0xaa, 0xff, 0xa6, 0xff, 0xa0, 0xff, 0xa6, 0xff,
+0xba, 0xff, 0xce, 0xff, 0xee, 0xff, 0x04, 0x00, 0x16, 0x00, 0x22, 0x00, 0x26, 0x00, 0x26, 0x00,
+0x24, 0x00, 0x10, 0x00, 0xfa, 0xff, 0xf6, 0xff, 0xe2, 0xff, 0xe2, 0xff, 0xc8, 0xff, 0xd2, 0xff,
+0xd0, 0xff, 0xd2, 0xff, 0xe2, 0xff, 0xde, 0xff, 0xf8, 0xff, 0xf6, 0xff, 0xf8, 0xff, 0xfc, 0xff,
+0xf8, 0xff, 0x04, 0x00, 0xfe, 0xff, 0x00, 0x00, 0xf8, 0xff, 0xf0, 0xff, 0xf0, 0xff, 0xec, 0xff,
+0xf4, 0xff, 0xf6, 0xff, 0xf4, 0xff, 0xe4, 0xff, 0xe8, 0xff, 0xe4, 0xff, 0xdc, 0xff, 0xdc, 0xff,
+0xe4, 0xff, 0xde, 0xff, 0xde, 0xff, 0xde, 0xff, 0xe0, 0xff, 0xf8, 0xff, 0xfa, 0xff, 0x0c, 0x00,
+0x16, 0x00, 0x0e, 0x00, 0x18, 0x00, 0x0e, 0x00, 0x12, 0x00, 0x04, 0x00, 0x02, 0x00, 0xf2, 0xff,
+0xd4, 0xff, 0xc8, 0xff, 0xba, 0xff, 0xc6, 0xff, 0xc6, 0xff, 0xd8, 0xff, 0xe4, 0xff, 0xf0, 0xff,
+0x08, 0x00, 0x12, 0x00, 0x30, 0x00, 0x38, 0x00, 0x3c, 0x00, 0x3a, 0x00, 0x1a, 0x00, 0x10, 0x00,
+0xf8, 0xff, 0xd4, 0xff, 0xc2, 0xff, 0xa0, 0xff, 0x90, 0xff, 0xa0, 0xff, 0xa6, 0xff, 0xb4, 0xff,
+0xcc, 0xff, 0xf6, 0xff, 0x18, 0x00, 0x40, 0x00, 0x52, 0x00, 0x54, 0x00, 0x52, 0x00, 0x46, 0x00,
+0x3e, 0x00, 0x12, 0x00, 0xf4, 0xff, 0xc8, 0xff, 0x90, 0xff, 0x88, 0xff, 0x76, 0xff, 0x76, 0xff,
+0x9a, 0xff, 0xa2, 0xff, 0xd4, 0xff, 0xfe, 0xff, 0x28, 0x00, 0x52, 0x00, 0x6e, 0x00, 0x76, 0x00,
+0x7c, 0x00, 0x62, 0x00, 0x3c, 0x00, 0x10, 0x00, 0xdc, 0xff, 0xac, 0xff, 0x78, 0xff, 0x52, 0xff,
+0x44, 0xff, 0x56, 0xff, 0x74, 0xff, 0x9e, 0xff, 0xd6, 0xff, 0x06, 0x00, 0x3c, 0x00, 0x72, 0x00,
+0x86, 0x00, 0x9a, 0x00, 0x80, 0x00, 0x70, 0x00, 0x30, 0x00, 0xfc, 0xff, 0xcc, 0xff, 0x88, 0xff,
+0x56, 0xff, 0x34, 0xff, 0x2e, 0xff, 0x3a, 0xff, 0x7a, 0xff, 0xac, 0xff, 0xe4, 0xff, 0x1e, 0x00,
+0x5a, 0x00, 0x92, 0x00, 0xa2, 0x00, 0xac, 0x00, 0x90, 0x00, 0x60, 0x00, 0x2c, 0x00, 0xf0, 0xff,
+0xc2, 0xff, 0x7a, 0xff, 0x40, 0xff, 0x32, 0xff, 0x2c, 0xff, 0x4c, 0xff, 0x8a, 0xff, 0xca, 0xff,
+0xf8, 0xff, 0x2a, 0x00, 0x70, 0x00, 0x9a, 0x00, 0xb6, 0x00, 0xa6, 0x00, 0x8a, 0x00, 0x52, 0x00,
+0x08, 0x00, 0xde, 0xff, 0xaa, 0xff, 0x5c, 0xff, 0x42, 0xff, 0x28, 0xff, 0x3c, 0xff, 0x56, 0xff,
+0x8c, 0xff, 0xd8, 0xff, 0x06, 0x00, 0x3e, 0x00, 0x72, 0x00, 0x9e, 0x00, 0xac, 0x00, 0x96, 0x00,
+0x7a, 0x00, 0x40, 0x00, 0x00, 0x00, 0xd8, 0xff, 0x9c, 0xff, 0x66, 0xff, 0x3e, 0xff, 0x44, 0xff,
+0x5a, 0xff, 0x72, 0xff, 0xb2, 0xff, 0xea, 0xff, 0x1a, 0x00, 0x4a, 0x00, 0x7c, 0x00, 0x96, 0x00,
+0x9e, 0x00, 0x96, 0x00, 0x6a, 0x00, 0x32, 0x00, 0x00, 0x00, 0xca, 0xff, 0x9a, 0xff, 0x70, 0xff,
+0x54, 0xff, 0x56, 0xff, 0x62, 0xff, 0x88, 0xff, 0xbc, 0xff, 0xf0, 0xff, 0x1c, 0x00, 0x46, 0x00,
+0x64, 0x00, 0x80, 0x00, 0x88, 0x00, 0x72, 0x00, 0x4e, 0x00, 0x1c, 0x00, 0xea, 0xff, 0xb0, 0xff,
+0x96, 0xff, 0x80, 0xff, 0x6e, 0xff, 0x6e, 0xff, 0x82, 0xff, 0xa6, 0xff, 0xd0, 0xff, 0xf6, 0xff,
+0x26, 0x00, 0x4c, 0x00, 0x54, 0x00, 0x68, 0x00, 0x64, 0x00, 0x4e, 0x00, 0x30, 0x00, 0x08, 0x00,
+0xe4, 0xff, 0xb8, 0xff, 0xa0, 0xff, 0x92, 0xff, 0x86, 0xff, 0x8a, 0xff, 0xa2, 0xff, 0xc6, 0xff,
+0xe4, 0xff, 0xfe, 0xff, 0x16, 0x00, 0x36, 0x00, 0x3e, 0x00, 0x42, 0x00, 0x46, 0x00, 0x36, 0x00,
+0x14, 0x00, 0xf2, 0xff, 0xe0, 0xff, 0xca, 0xff, 0xb4, 0xff, 0xb2, 0xff, 0xb0, 0xff, 0xae, 0xff,
+0xbe, 0xff, 0xd2, 0xff, 0xda, 0xff, 0xfc, 0xff, 0xfe, 0xff, 0x10, 0x00, 0x0e, 0x00, 0x16, 0x00,
+0x20, 0x00, 0x14, 0x00, 0x0e, 0x00, 0xf4, 0xff, 0xf0, 0xff, 0xea, 0xff, 0xdc, 0xff, 0xda, 0xff,
+0xec, 0xff, 0xdc, 0xff, 0xd2, 0xff, 0xde, 0xff, 0xe8, 0xff, 0xe0, 0xff, 0xe8, 0xff, 0xf2, 0xff,
+0xea, 0xff, 0xee, 0xff, 0xf4, 0xff, 0xf2, 0xff, 0xfa, 0xff, 0x02, 0x00, 0x06, 0x00, 0x06, 0x00,
+0x10, 0x00, 0x00, 0x00, 0x06, 0x00, 0x06, 0x00, 0xf4, 0xff, 0xee, 0xff, 0xd4, 0xff, 0xcc, 0xff,
+0xb4, 0xff, 0xc4, 0xff, 0xc8, 0xff, 0xc6, 0xff, 0xd2, 0xff, 0xe8, 0xff, 0xf6, 0xff, 0x06, 0x00,
+0x18, 0x00, 0x26, 0x00, 0x30, 0x00, 0x26, 0x00, 0x1c, 0x00, 0x0c, 0x00, 0xf8, 0xff, 0xe2, 0xff,
+0xc8, 0xff, 0xa6, 0xff, 0xa6, 0xff, 0xa8, 0xff, 0xae, 0xff, 0xbc, 0xff, 0xca, 0xff, 0xea, 0xff,
+0x02, 0x00, 0x24, 0x00, 0x44, 0x00, 0x50, 0x00, 0x60, 0x00, 0x48, 0x00, 0x3a, 0x00, 0x26, 0x00,
+0x06, 0x00, 0xe2, 0xff, 0xb4, 0xff, 0x94, 0xff, 0x8c, 0xff, 0x8a, 0xff, 0x7e, 0xff, 0xa0, 0xff,
+0xbc, 0xff, 0xe8, 0xff, 0x08, 0x00, 0x40, 0x00, 0x6e, 0x00, 0x6e, 0x00, 0x7a, 0x00, 0x64, 0x00,
+0x48, 0x00, 0x30, 0x00, 0xfa, 0xff, 0xca, 0xff, 0x94, 0xff, 0x6e, 0xff, 0x64, 0xff, 0x5c, 0xff,
+0x74, 0xff, 0x8e, 0xff, 0xc2, 0xff, 0xf2, 0xff, 0x20, 0x00, 0x64, 0x00, 0x8a, 0x00, 0x9e, 0x00,
+0x9a, 0x00, 0x7e, 0x00, 0x50, 0x00, 0x1e, 0x00, 0xf6, 0xff, 0xac, 0xff, 0x72, 0xff, 0x5c, 0xff,
+0x44, 0xff, 0x42, 0xff, 0x60, 0xff, 0x92, 0xff, 0xd2, 0xff, 0x02, 0x00, 0x38, 0x00, 0x80, 0x00,
+0x9c, 0x00, 0xb6, 0x00, 0xa4, 0x00, 0x80, 0x00, 0x52, 0x00, 0x0a, 0x00, 0xd6, 0xff, 0xa0, 0xff,
+0x62, 0xff, 0x48, 0xff, 0x2c, 0xff, 0x34, 0xff, 0x5a, 0xff, 0x82, 0xff, 0xda, 0xff, 0x04, 0x00,
+0x3e, 0x00, 0x82, 0x00, 0x9a, 0x00, 0xb2, 0x00, 0xa0, 0x00, 0x74, 0x00, 0x42, 0x00, 0x10, 0x00,
+0xe0, 0xff, 0x92, 0xff, 0x62, 0xff, 0x40, 0xff, 0x30, 0xff, 0x38, 0xff, 0x5e, 0xff, 0xa2, 0xff,
+0xe0, 0xff, 0x0c, 0x00, 0x4a, 0x00, 0x82, 0x00, 0xaa, 0x00, 0xaa, 0x00, 0x98, 0x00, 0x7c, 0x00,
+0x32, 0x00, 0x02, 0x00, 0xd0, 0xff, 0x94, 0xff, 0x5a, 0xff, 0x3c, 0xff, 0x34, 0xff, 0x4c, 0xff,
+0x74, 0xff, 0xb0, 0xff, 0xf2, 0xff, 0x1e, 0x00, 0x5a, 0x00, 0x7e, 0x00, 0x9e, 0x00, 0x9c, 0x00,
+0x86, 0x00, 0x62, 0x00, 0x1c, 0x00, 0xec, 0xff, 0xb2, 0xff, 0x8a, 0xff, 0x58, 0xff, 0x44, 0xff,
+0x4c, 0xff, 0x56, 0xff, 0x90, 0xff, 0xca, 0xff, 0x02, 0x00, 0x34, 0x00, 0x60, 0x00, 0x84, 0x00,
+0x90, 0x00, 0x82, 0x00, 0x6e, 0x00, 0x4a, 0x00, 0x10, 0x00, 0xdc, 0xff, 0xba, 0xff, 0x8e, 0xff,
+0x6e, 0xff, 0x64, 0xff, 0x6c, 0xff, 0x8a, 0xff, 0xa8, 0xff, 0xe8, 0xff, 0x14, 0x00, 0x2c, 0x00,
+0x52, 0x00, 0x58, 0x00, 0x70, 0x00, 0x66, 0x00, 0x50, 0x00, 0x2c, 0x00, 0xfe, 0xff, 0xe6, 0xff,
+0xb0, 0xff, 0x9e, 0xff, 0x84, 0xff, 0x8c, 0xff, 0x8c, 0xff, 0xa2, 0xff, 0xc2, 0xff, 0xec, 0xff,
+0x0c, 0x00, 0x20, 0x00, 0x38, 0x00, 0x3a, 0x00, 0x42, 0x00, 0x44, 0x00, 0x32, 0x00, 0x1a, 0x00,
+0xf0, 0xff, 0xe6, 0xff, 0xce, 0xff, 0xb2, 0xff, 0xb2, 0xff, 0xac, 0xff, 0xb0, 0xff, 0xba, 0xff,
+0xd8, 0xff, 0xec, 0xff, 0x02, 0x00, 0x10, 0x00, 0x24, 0x00, 0x1a, 0x00, 0x1c, 0x00, 0x20, 0x00,
+0x16, 0x00, 0x08, 0x00, 0x02, 0x00, 0xf0, 0xff, 0xdc, 0xff, 0xd6, 0xff, 0xc8, 0xff, 0xd0, 0xff,
+0xd8, 0xff, 0xd8, 0xff, 0xe0, 0xff, 0xe2, 0xff, 0xec, 0xff, 0xfc, 0xff, 0xf2, 0xff, 0xfc, 0xff,
+0xfe, 0xff, 0xfc, 0xff, 0x08, 0x00, 0xfc, 0xff, 0x06, 0x00, 0x02, 0x00, 0xf0, 0xff, 0xf2, 0xff,
+0xec, 0xff, 0xea, 0xff, 0xe4, 0xff, 0xdc, 0xff, 0xdc, 0xff, 0xd6, 0xff, 0xd4, 0xff, 0xd0, 0xff,
+0xd2, 0xff, 0xe0, 0xff, 0xe8, 0xff, 0xee, 0xff, 0xf8, 0xff, 0x00, 0x00, 0x0a, 0x00, 0x0a, 0x00,
+0x1e, 0x00, 0x1c, 0x00, 0x10, 0x00, 0x0a, 0x00, 0xf4, 0xff, 0xf6, 0xff, 0xe4, 0xff, 0xd0, 0xff,
+0xbe, 0xff, 0xac, 0xff, 0xbc, 0xff, 0xca, 0xff, 0xca, 0xff, 0xde, 0xff, 0xf2, 0xff, 0x08, 0x00,
+0x1a, 0x00, 0x28, 0x00, 0x30, 0x00, 0x3a, 0x00, 0x2a, 0x00, 0x24, 0x00, 0x0a, 0x00, 0xf2, 0xff,
+0xe2, 0xff, 0xb2, 0xff, 0x9a, 0xff, 0x92, 0xff, 0x94, 0xff, 0xa4, 0xff, 0xb0, 0xff, 0xd4, 0xff,
+0xf4, 0xff, 0x10, 0x00, 0x36, 0x00, 0x4c, 0x00, 0x56, 0x00, 0x5c, 0x00, 0x50, 0x00, 0x3e, 0x00,
+0x1c, 0x00, 0xf2, 0xff, 0xc4, 0xff, 0xa2, 0xff, 0x8c, 0xff, 0x76, 0xff, 0x7a, 0xff, 0x8e, 0xff,
+0xa0, 0xff, 0xd0, 0xff, 0xfe, 0xff, 0x2a, 0x00, 0x58, 0x00, 0x6a, 0x00, 0x8c, 0x00, 0x7e, 0x00,
+0x70, 0x00, 0x52, 0x00, 0x18, 0x00, 0xf2, 0xff, 0xb2, 0xff, 0x7e, 0xff, 0x64, 0xff, 0x54, 0xff,
+0x54, 0xff, 0x70, 0xff, 0x92, 0xff, 0xc8, 0xff, 0x06, 0x00, 0x3e, 0x00, 0x72, 0x00, 0x8e, 0x00,
+0xa8, 0x00, 0xa0, 0x00, 0x7c, 0x00, 0x48, 0x00, 0x10, 0x00, 0xd6, 0xff, 0x96, 0xff, 0x5e, 0xff,
+0x42, 0xff, 0x34, 0xff, 0x3e, 0xff, 0x68, 0xff, 0xa6, 0xff, 0xdc, 0xff, 0x10, 0x00, 0x60, 0x00,
+0x90, 0x00, 0xa8, 0x00, 0xc4, 0x00, 0xa6, 0x00, 0x78, 0x00, 0x30, 0x00, 0xf2, 0xff, 0xc4, 0xff,
+0x78, 0xff, 0x44, 0xff, 0x24, 0xff, 0x28, 0xff, 0x48, 0xff, 0x70, 0xff, 0xba, 0xff, 0xf8, 0xff,
+0x1e, 0x00, 0x60, 0x00, 0x9c, 0x00, 0xb6, 0x00, 0xb8, 0x00, 0x9c, 0x00, 0x5e, 0x00, 0x1c, 0x00,
+0xe0, 0xff, 0xac, 0xff, 0x60, 0xff, 0x38, 0xff, 0x22, 0xff, 0x22, 0xff, 0x48, 0xff, 0x6e, 0xff,
+0xb6, 0xff, 0xf6, 0xff, 0x2e, 0x00, 0x70, 0x00, 0x9a, 0x00, 0xae, 0x00, 0xac, 0x00, 0x88, 0x00,
+0x58, 0x00, 0x1c, 0x00, 0xd8, 0xff, 0x9c, 0xff, 0x60, 0xff, 0x3e, 0xff, 0x2a, 0xff, 0x3a, 0xff,
+0x52, 0xff, 0x84, 0xff, 0xc4, 0xff, 0x0a, 0x00, 0x3a, 0x00, 0x74, 0x00, 0x9a, 0x00, 0xa6, 0x00,
+0xa4, 0x00, 0x76, 0x00, 0x48, 0x00, 0x0a, 0x00, 0xd0, 0xff, 0x8c, 0xff, 0x60, 0xff, 0x44, 0xff,
+0x34, 0xff, 0x4c, 0xff, 0x62, 0xff, 0x94, 0xff, 0xd8, 0xff, 0x0c, 0x00, 0x42, 0x00, 0x7c, 0x00,
+0x8c, 0x00, 0x94, 0x00, 0x82, 0x00, 0x5c, 0x00, 0x32, 0x00, 0xfa, 0xff, 0xc8, 0xff, 0x9a, 0xff,
+0x84, 0xff, 0x64, 0xff, 0x62, 0xff, 0x6a, 0xff, 0x8c, 0xff, 0xbe, 0xff, 0xec, 0xff, 0x12, 0x00,
+0x42, 0x00, 0x62, 0x00, 0x6c, 0x00, 0x72, 0x00, 0x70, 0x00, 0x4a, 0x00, 0x24, 0x00, 0xfa, 0xff,
+0xd8, 0xff, 0xba, 0xff, 0xae, 0xff, 0xa2, 0xff, 0x94, 0xff, 0xa4, 0xff, 0xb0, 0xff, 0xd6, 0xff,
+0xf2, 0xff, 0x0c, 0x00, 0x28, 0x00, 0x34, 0x00, 0x42, 0x00, 0x40, 0x00, 0x38, 0x00, 0x1e, 0x00,
+0x0e, 0x00, 0xee, 0xff, 0xe2, 0xff, 0xc6, 0xff, 0xc6, 0xff, 0xc4, 0xff, 0xb6, 0xff, 0xbc, 0xff,
+0xc4, 0xff, 0xf2, 0xff, 0xfa, 0xff, 0xf8, 0xff, 0x0c, 0x00, 0x04, 0x00, 0x10, 0x00, 0x1a, 0x00,
+0x16, 0x00, 0x08, 0x00, 0x04, 0x00, 0xfa, 0xff, 0xf0, 0xff, 0xec, 0xff, 0xe4, 0xff, 0xe8, 0xff,
+0xda, 0xff, 0xda, 0xff, 0xd6, 0xff, 0xe0, 0xff, 0xe0, 0xff, 0xde, 0xff, 0xe2, 0xff, 0xe8, 0xff,
+0xe2, 0xff, 0xf2, 0xff, 0xfa, 0xff, 0xf6, 0xff, 0x08, 0x00, 0x10, 0x00, 0x10, 0x00, 0x14, 0x00,
+0x06, 0x00, 0xfc, 0xff, 0xe8, 0xff, 0xdc, 0xff, 0xde, 0xff, 0xca, 0xff, 0xb8, 0xff, 0xae, 0xff,
+0xb4, 0xff, 0xba, 0xff, 0xba, 0xff, 0xc8, 0xff, 0xe0, 0xff, 0xfa, 0xff, 0x0a, 0x00, 0x1e, 0x00,
+0x30, 0x00, 0x30, 0x00, 0x24, 0x00, 0x28, 0x00, 0x0e, 0x00, 0xf0, 0xff, 0xe0, 0xff, 0xc0, 0xff,
+0xae, 0xff, 0x96, 0xff, 0x98, 0xff, 0xa2, 0xff, 0xa6, 0xff, 0xc2, 0xff, 0xe4, 0xff, 0x00, 0x00,
+0x1e, 0x00, 0x42, 0x00, 0x50, 0x00, 0x5e, 0x00, 0x3c, 0x00, 0x34, 0x00, 0x26, 0x00, 0xf6, 0xff,
+0xe4, 0xff, 0xae, 0xff, 0x8e, 0xff, 0x74, 0xff, 0x70, 0xff, 0x76, 0xff, 0x88, 0xff, 0xaa, 0xff,
+0xd2, 0xff, 0x04, 0x00, 0x34, 0x00, 0x62, 0x00, 0x72, 0x00, 0x70, 0x00, 0x6a, 0x00, 0x58, 0x00,
+0x38, 0x00, 0xfe, 0xff, 0xd2, 0xff, 0x9c, 0xff, 0x6a, 0xff, 0x5a, 0xff, 0x50, 0xff, 0x5c, 0xff,
+0x7c, 0xff, 0xb2, 0xff, 0xe0, 0xff, 0x1a, 0x00, 0x5e, 0x00, 0x8a, 0x00, 0xa2, 0x00, 0x9c, 0x00,
+0x90, 0x00, 0x6a, 0x00, 0x3e, 0x00, 0xfe, 0xff, 0xca, 0xff, 0x8e, 0xff, 0x5c, 0xff, 0x46, 0xff,
+0x3c, 0xff, 0x52, 0xff, 0x7e, 0xff, 0xba, 0xff, 0xfa, 0xff, 0x32, 0x00, 0x64, 0x00, 0x9e, 0x00,
+0xaa, 0x00, 0xac, 0x00, 0x8c, 0x00, 0x5a, 0x00, 0x1c, 0x00, 0xe6, 0xff, 0xb8, 0xff, 0x76, 0xff,
+0x48, 0xff, 0x22, 0xff, 0x38, 0xff, 0x58, 0xff, 0x8a, 0xff, 0xcc, 0xff, 0xfa, 0xff, 0x40, 0x00,
+0x7e, 0x00, 0x9e, 0x00, 0xae, 0x00, 0xa8, 0x00, 0x8c, 0x00, 0x52, 0x00, 0x0c, 0x00, 0xd8, 0xff,
+0xa6, 0xff, 0x6c, 0xff, 0x34, 0xff, 0x2a, 0xff, 0x3c, 0xff, 0x60, 0xff, 0x9a, 0xff, 0xe2, 0xff,
+0x0e, 0x00, 0x4c, 0x00, 0x80, 0x00, 0x9c, 0x00, 0xae, 0x00, 0xa2, 0x00, 0x82, 0x00, 0x42, 0x00,
+0x00, 0x00, 0xc0, 0xff, 0x92, 0xff, 0x5c, 0xff, 0x2c, 0xff, 0x2c, 0xff, 0x3e, 0xff, 0x62, 0xff,
+0xa2, 0xff, 0xe0, 0xff, 0x12, 0x00, 0x44, 0x00, 0x78, 0x00, 0x8c, 0x00, 0x96, 0x00, 0x82, 0x00,
+0x64, 0x00, 0x2e, 0x00, 0xea, 0xff, 0xae, 0xff, 0x7e, 0xff, 0x5a, 0xff, 0x38, 0xff, 0x3a, 0xff,
+0x56, 0xff, 0x7e, 0xff, 0xb6, 0xff, 0xf4, 0xff, 0x28, 0x00, 0x58, 0x00, 0x7c, 0x00, 0x86, 0x00,
+0x84, 0x00, 0x70, 0x00, 0x4a, 0x00, 0x14, 0x00, 0xee, 0xff, 0xae, 0xff, 0x7e, 0xff, 0x62, 0xff,
+0x56, 0xff, 0x5a, 0xff, 0x7e, 0xff, 0x9a, 0xff, 0xc6, 0xff, 0x00, 0x00, 0x2e, 0x00, 0x50, 0x00,
+0x5e, 0x00, 0x70, 0x00, 0x66, 0x00, 0x52, 0x00, 0x32, 0x00, 0x04, 0x00, 0xe2, 0xff, 0xaa, 0xff,
+0x8c, 0xff, 0x7e, 0xff, 0x76, 0xff, 0x80, 0xff, 0x90, 0xff, 0xb8, 0xff, 0xe2, 0xff, 0x00, 0x00,
+0x14, 0x00, 0x38, 0x00, 0x50, 0x00, 0x4c, 0x00, 0x50, 0x00, 0x42, 0x00, 0x22, 0x00, 0x06, 0x00,
+0xea, 0xff, 0xce, 0xff, 0xba, 0xff, 0xb6, 0xff, 0xb2, 0xff, 0xb2, 0xff, 0xc0, 0xff, 0xda, 0xff,
+0xf0, 0xff, 0x00, 0x00, 0x10, 0x00, 0x26, 0x00, 0x24, 0x00, 0x2e, 0x00, 0x38, 0x00, 0x22, 0x00,
+0x12, 0x00, 0xfc, 0xff, 0xf8, 0xff, 0xe4, 0xff, 0xd2, 0xff, 0xdc, 0xff, 0xc8, 0xff, 0xd6, 0xff,
+0xd6, 0xff, 0xde, 0xff, 0xe2, 0xff, 0xf0, 0xff, 0xfa, 0xff, 0xf8, 0xff, 0x00, 0x00, 0x00, 0x00,
+0x10, 0x00, 0x06, 0x00, 0x02, 0x00, 0x02, 0x00, 0xfa, 0xff, 0x00, 0x00, 0xfe, 0xff, 0xf8, 0xff,
+0xfa, 0xff, 0xfa, 0xff, 0xec, 0xff, 0xee, 0xff, 0xea, 0xff, 0xda, 0xff, 0xda, 0xff, 0xde, 0xff,
+0xde, 0xff, 0xe4, 0xff, 0xf0, 0xff, 0x00, 0x00, 0x00, 0x00, 0x14, 0x00, 0x1c, 0x00, 0x1e, 0x00,
+0x26, 0x00, 0x1a, 0x00, 0x14, 0x00, 0x08, 0x00, 0xf8, 0xff, 0xe0, 0xff, 0xcc, 0xff, 0xb4, 0xff,
+0xaa, 0xff, 0xb0, 0xff, 0xbc, 0xff, 0xbe, 0xff, 0xd4, 0xff, 0xe4, 0xff, 0xf8, 0xff, 0x18, 0x00,
+0x30, 0x00, 0x40, 0x00, 0x3c, 0x00, 0x36, 0x00, 0x24, 0x00, 0x0a, 0x00, 0xf0, 0xff, 0xd6, 0xff,
+0xb2, 0xff, 0x94, 0xff, 0x84, 0xff, 0x8c, 0xff, 0xa2, 0xff, 0xa6, 0xff, 0xc4, 0xff, 0xf0, 0xff,
+0x06, 0x00, 0x34, 0x00, 0x54, 0x00, 0x54, 0x00, 0x66, 0x00, 0x52, 0x00, 0x3a, 0x00, 0x1a, 0x00,
+0xe6, 0xff, 0xc8, 0xff, 0xa6, 0xff, 0x82, 0xff, 0x68, 0xff, 0x68, 0xff, 0x7c, 0xff, 0x9c, 0xff,
+0xc0, 0xff, 0xf0, 0xff, 0x20, 0x00, 0x4a, 0x00, 0x66, 0x00, 0x80, 0x00, 0x7c, 0x00, 0x6e, 0x00,
+0x46, 0x00, 0x10, 0x00, 0xe0, 0xff, 0xa8, 0xff, 0x7e, 0xff, 0x5a, 0xff, 0x42, 0xff, 0x3c, 0xff,
+0x62, 0xff, 0x90, 0xff, 0xc8, 0xff, 0x00, 0x00, 0x32, 0x00, 0x66, 0x00, 0x8c, 0x00, 0xa2, 0x00,
+0xa2, 0x00, 0x8c, 0x00, 0x44, 0x00, 0x12, 0x00, 0xd6, 0xff, 0xa8, 0xff, 0x70, 0xff, 0x48, 0xff,
+0x40, 0xff, 0x3a, 0xff, 0x6a, 0xff, 0x98, 0xff, 0xda, 0xff, 0x0c, 0x00, 0x46, 0x00, 0x82, 0x00,
+0xac, 0x00, 0xba, 0x00, 0xb0, 0x00, 0x8e, 0x00, 0x40, 0x00, 0x08, 0x00, 0xd2, 0xff, 0x8e, 0xff,
+0x64, 0xff, 0x34, 0xff, 0x22, 0xff, 0x36, 0xff, 0x5c, 0xff, 0xa4, 0xff, 0xdc, 0xff, 0x1c, 0x00,
+0x5a, 0x00, 0x8c, 0x00, 0xb8, 0x00, 0xc8, 0x00, 0xb0, 0x00, 0x78, 0x00, 0x44, 0x00, 0xf6, 0xff,
+0xcc, 0xff, 0x82, 0xff, 0x46, 0xff, 0x32, 0xff, 0x28, 0xff, 0x3c, 0xff, 0x6c, 0xff, 0xb6, 0xff,
+0xec, 0xff, 0x2a, 0x00, 0x6c, 0x00, 0x9c, 0x00, 0xbe, 0x00, 0xb8, 0x00, 0xa0, 0x00, 0x74, 0x00,
+0x2a, 0x00, 0xf2, 0xff, 0xbc, 0xff, 0x7c, 0xff, 0x4a, 0xff, 0x2e, 0xff, 0x42, 0xff, 0x50, 0xff,
+0x78, 0xff, 0xbe, 0xff, 0xf8, 0xff, 0x2a, 0x00, 0x68, 0x00, 0x96, 0x00, 0x9e, 0x00, 0xa0, 0x00,
+0x78, 0x00, 0x4e, 0x00, 0x10, 0x00, 0xd8, 0xff, 0xa4, 0xff, 0x6c, 0xff, 0x48, 0xff, 0x3c, 0xff,
+0x4a, 0xff, 0x6c, 0xff, 0x92, 0xff, 0xbe, 0xff, 0x0a, 0x00, 0x44, 0x00, 0x6a, 0x00, 0x80, 0x00,
+0x88, 0x00, 0x80, 0x00, 0x60, 0x00, 0x36, 0x00, 0x02, 0x00, 0xd0, 0xff, 0x9c, 0xff, 0x84, 0xff,
+0x6c, 0xff, 0x60, 0xff, 0x76, 0xff, 0x8e, 0xff, 0xb8, 0xff, 0xea, 0xff, 0x0e, 0x00, 0x42, 0x00,
+0x5a, 0x00, 0x68, 0x00, 0x5a, 0x00, 0x58, 0x00, 0x3c, 0x00, 0x14, 0x00, 0xf2, 0xff, 0xc6, 0xff,
+0xac, 0xff, 0x98, 0xff, 0x94, 0xff, 0x94, 0xff, 0x9e, 0xff, 0xac, 0xff, 0xd0, 0xff, 0xee, 0xff,
+0x02, 0x00, 0x2a, 0x00, 0x32, 0x00, 0x2c, 0x00, 0x2e, 0x00, 0x2c, 0x00, 0x1a, 0x00, 0x04, 0x00,
+0xf2, 0xff, 0xd8, 0xff, 0xc6, 0xff, 0xbe, 0xff, 0xc0, 0xff, 0xbc, 0xff, 0xc0, 0xff, 0xca, 0xff,
+0xe2, 0xff, 0xfa, 0xff, 0x0a, 0x00, 0x10, 0x00, 0x14, 0x00, 0x12, 0x00, 0x18, 0x00, 0x10, 0x00,
+0x12, 0x00, 0x06, 0x00, 0xfa, 0xff, 0xf8, 0xff, 0xf0, 0xff, 0xee, 0xff, 0xee, 0xff, 0xe6, 0xff,
+0xe6, 0xff, 0xe4, 0xff, 0xe6, 0xff, 0xea, 0xff, 0xf4, 0xff, 0xf0, 0xff, 0xea, 0xff, 0xe8, 0xff,
+0xea, 0xff, 0xf8, 0xff, 0xfc, 0xff, 0x04, 0x00, 0x06, 0x00, 0x10, 0x00, 0x10, 0x00, 0x04, 0x00,
+0x06, 0x00, 0xfc, 0xff, 0xfa, 0xff, 0xf0, 0xff, 0xdc, 0xff, 0xcc, 0xff, 0xc4, 0xff, 0xba, 0xff,
+0xbc, 0xff, 0xbe, 0xff, 0xde, 0xff, 0xf0, 0xff, 0xf6, 0xff, 0x0a, 0x00, 0x24, 0x00, 0x36, 0x00,
+0x40, 0x00, 0x34, 0x00, 0x26, 0x00, 0x1e, 0x00, 0x00, 0x00, 0xf4, 0xff, 0xda, 0xff, 0xae, 0xff,
+0x9e, 0xff, 0xa0, 0xff, 0xa2, 0xff, 0xac, 0xff, 0xb4, 0xff, 0xdc, 0xff, 0xfc, 0xff, 0x12, 0x00,
+0x3a, 0x00, 0x4c, 0x00, 0x50, 0x00, 0x4a, 0x00, 0x3e, 0x00, 0x28, 0x00, 0x08, 0x00, 0xec, 0xff,
+0xba, 0xff, 0x92, 0xff, 0x82, 0xff, 0x72, 0xff, 0x6a, 0xff, 0x84, 0xff, 0xa0, 0xff, 0xcc, 0xff,
+0xfc, 0xff, 0x1c, 0x00, 0x48, 0x00, 0x5e, 0x00, 0x7c, 0x00, 0x6e, 0x00, 0x54, 0x00, 0x36, 0x00,
+0x0a, 0x00, 0xec, 0xff, 0xb2, 0xff, 0x82, 0xff, 0x66, 0xff, 0x5a, 0xff, 0x56, 0xff, 0x7e, 0xff,
+0xa2, 0xff, 0xd4, 0xff, 0x18, 0x00, 0x3c, 0x00, 0x6a, 0x00, 0x7e, 0x00, 0x8e, 0x00, 0x8a, 0x00,
+0x74, 0x00, 0x42, 0x00, 0x0c, 0x00, 0xd4, 0xff, 0x96, 0xff, 0x5e, 0xff, 0x42, 0xff, 0x3e, 0xff,
+0x4c, 0xff, 0x7a, 0xff, 0xac, 0xff, 0xe4, 0xff, 0x16, 0x00, 0x50, 0x00, 0x84, 0x00, 0x9a, 0x00,
+0xa6, 0x00, 0x9e, 0x00, 0x62, 0x00, 0x2e, 0x00, 0xfc, 0xff, 0xb8, 0xff, 0x88, 0xff, 0x4a, 0xff,
+0x2c, 0xff, 0x38, 0xff, 0x54, 0xff, 0x82, 0xff, 0xc2, 0xff, 0xf6, 0xff, 0x32, 0x00, 0x7c, 0x00,
+0xa2, 0x00, 0xbe, 0x00, 0xbe, 0x00, 0x9c, 0x00, 0x6a, 0x00, 0x20, 0x00, 0xf0, 0xff, 0xb4, 0xff,
+0x74, 0xff, 0x44, 0xff, 0x30, 0xff, 0x44, 0xff, 0x56, 0xff, 0x92, 0xff, 0xda, 0xff, 0x0a, 0x00,
+0x40, 0x00, 0x84, 0x00, 0xa4, 0x00, 0xb6, 0x00, 0xb6, 0x00, 0x8e, 0x00, 0x48, 0x00, 0x0c, 0x00,
+0xd8, 0xff, 0x98, 0xff, 0x62, 0xff, 0x3a, 0xff, 0x2c, 0xff, 0x42, 0xff, 0x62, 0xff, 0xa0, 0xff,
+0xea, 0xff, 0x16, 0x00, 0x4c, 0x00, 0x84, 0x00, 0xa0, 0x00, 0xb0, 0x00, 0xa2, 0x00, 0x7a, 0x00,
+0x3e, 0x00, 0x02, 0x00, 0xc6, 0xff, 0x8c, 0xff, 0x66, 0xff, 0x52, 0xff, 0x44, 0xff, 0x5c, 0xff,
+0x7c, 0xff, 0xb8, 0xff, 0xec, 0xff, 0x34, 0x00, 0x54, 0x00, 0x70, 0x00, 0x90, 0x00, 0x96, 0x00,
+0x82, 0x00, 0x56, 0x00, 0x28, 0x00, 0xea, 0xff, 0xbe, 0xff, 0x88, 0xff, 0x6c, 0xff, 0x68, 0xff,
+0x54, 0xff, 0x7a, 0xff, 0x9a, 0xff, 0xae, 0xff, 0xf0, 0xff, 0x14, 0x00, 0x36, 0x00, 0x5c, 0x00,
+0x6a, 0x00, 0x6a, 0x00, 0x56, 0x00, 0x3a, 0x00, 0x04, 0x00, 0xe6, 0xff, 0xc2, 0xff, 0x9e, 0xff,
+0x94, 0xff, 0x88, 0xff, 0x80, 0xff, 0x8a, 0xff, 0xac, 0xff, 0xce, 0xff, 0xf8, 0xff, 0x16, 0x00,
+0x2c, 0x00, 0x3a, 0x00, 0x54, 0x00, 0x46, 0x00, 0x40, 0x00, 0x26, 0x00, 0x04, 0x00, 0xf2, 0xff,
+0xd4, 0xff, 0xba, 0xff, 0xbc, 0xff, 0xb0, 0xff, 0xa0, 0xff, 0xb2, 0xff, 0xce, 0xff, 0xd6, 0xff,
+0xf8, 0xff, 0x0c, 0x00, 0x14, 0x00, 0x24, 0x00, 0x1e, 0x00, 0x26, 0x00, 0x1a, 0x00, 0x08, 0x00,
+0x00, 0x00, 0xe8, 0xff, 0xe2, 0xff, 0xd8, 0xff, 0xd2, 0xff, 0xd4, 0xff, 0xc8, 0xff, 0xc8, 0xff,
+0xd0, 0xff, 0xe6, 0xff, 0xee, 0xff, 0xf8, 0xff, 0xf8, 0xff, 0xfa, 0xff, 0x02, 0x00, 0x06, 0x00,
+0x16, 0x00, 0x06, 0x00, 0x04, 0x00, 0x06, 0x00, 0x04, 0x00, 0x0a, 0x00, 0x04, 0x00, 0xf4, 0xff,
+0xf8, 0xff, 0xf6, 0xff, 0xea, 0xff, 0xe4, 0xff, 0xd6, 0xff, 0xda, 0xff, 0xe2, 0xff, 0xe8, 0xff,
+0xe2, 0xff, 0xe2, 0xff, 0xee, 0xff, 0xfa, 0xff, 0x00, 0x00, 0x10, 0x00, 0x22, 0x00, 0x26, 0x00,
+0x14, 0x00, 0x18, 0x00, 0x0a, 0x00, 0xf4, 0xff, 0xf0, 0xff, 0xd0, 0xff, 0xc4, 0xff, 0xb8, 0xff,
+0xb6, 0xff, 0xb2, 0xff, 0xb2, 0xff, 0xc4, 0xff, 0xde, 0xff, 0xfc, 0xff, 0x14, 0x00, 0x34, 0x00,
+0x40, 0x00, 0x52, 0x00, 0x42, 0x00, 0x34, 0x00, 0x1e, 0x00, 0x04, 0x00, 0xda, 0xff, 0xbc, 0xff,
+0xa0, 0xff, 0x94, 0xff, 0x90, 0xff, 0x8c, 0xff, 0xa2, 0xff, 0xb4, 0xff, 0xea, 0xff, 0x0e, 0x00,
+0x3a, 0x00, 0x5c, 0x00, 0x68, 0x00, 0x78, 0x00, 0x60, 0x00, 0x40, 0x00, 0x1e, 0x00, 0xf8, 0xff,
+0xd8, 0xff, 0x96, 0xff, 0x76, 0xff, 0x56, 0xff, 0x56, 0xff, 0x68, 0xff, 0x86, 0xff, 0xb0, 0xff,
+0xf0, 0xff, 0x18, 0x00, 0x4a, 0x00, 0x76, 0x00, 0x8a, 0x00, 0x88, 0x00, 0x76, 0x00, 0x4c, 0x00,
+0x1c, 0x00, 0xf0, 0xff, 0xaa, 0xff, 0x80, 0xff, 0x58, 0xff, 0x3a, 0xff, 0x42, 0xff, 0x5a, 0xff,
+0x84, 0xff, 0xbc, 0xff, 0xee, 0xff, 0x26, 0x00, 0x6a, 0x00, 0x98, 0x00, 0xa8, 0x00, 0x9c, 0x00,
+0x7a, 0x00, 0x4c, 0x00, 0x18, 0x00, 0xe6, 0xff, 0xaa, 0xff, 0x70, 0xff, 0x42, 0xff, 0x24, 0xff,
+0x30, 0xff, 0x52, 0xff, 0x7e, 0xff, 0xd0, 0xff, 0xfc, 0xff, 0x36, 0x00, 0x80, 0x00, 0x9c, 0x00,
+0xb6, 0x00, 0xa8, 0x00, 0x80, 0x00, 0x4a, 0x00, 0x00, 0x00, 0xd6, 0xff, 0x9c, 0xff, 0x58, 0xff,
+0x32, 0xff, 0x22, 0xff, 0x2a, 0xff, 0x4e, 0xff, 0x90, 0xff, 0xd8, 0xff, 0x18, 0x00, 0x54, 0x00,
+0x82, 0x00, 0xb4, 0x00, 0xb8, 0x00, 0xa2, 0x00, 0x8a, 0x00, 0x44, 0x00, 0x00, 0x00, 0xda, 0xff,
+0x92, 0xff, 0x58, 0xff, 0x2c, 0xff, 0x28, 0xff, 0x3a, 0xff, 0x6c, 0xff, 0xae, 0xff, 0xe8, 0xff,
+0x1a, 0x00, 0x64, 0x00, 0x8e, 0x00, 0xaa, 0x00, 0xae, 0x00, 0x98, 0x00, 0x6a, 0x00, 0x3a, 0x00,
+0x02, 0x00, 0xc2, 0xff, 0x86, 0xff, 0x4c, 0xff, 0x40, 0xff, 0x3c, 0xff, 0x4e, 0xff, 0x88, 0xff,
+0xbc, 0xff, 0xf0, 0xff, 0x26, 0x00, 0x60, 0x00, 0x88, 0x00, 0x94, 0x00, 0x9a, 0x00, 0x82, 0x00,
+0x56, 0x00, 0x1c, 0x00, 0xee, 0xff, 0xba, 0xff, 0x88, 0xff, 0x64, 0xff, 0x52, 0xff, 0x52, 0xff,
+0x76, 0xff, 0x98, 0xff, 0xda, 0xff, 0x02, 0x00, 0x2a, 0x00, 0x62, 0x00, 0x70, 0x00, 0x80, 0x00,
+0x78, 0x00, 0x64, 0x00, 0x46, 0x00, 0x0e, 0x00, 0xec, 0xff, 0xb8, 0xff, 0x8e, 0xff, 0x72, 0xff,
+0x72, 0xff, 0x7c, 0xff, 0x86, 0xff, 0xae, 0xff, 0xe4, 0xff, 0x0c, 0x00, 0x24, 0x00, 0x4a, 0x00,
+0x58, 0x00, 0x5e, 0x00, 0x56, 0x00, 0x46, 0x00, 0x28, 0x00, 0x04, 0x00, 0xd8, 0xff, 0xb2, 0xff,
+0xa0, 0xff, 0x8e, 0xff, 0x8c, 0xff, 0x90, 0xff, 0xb0, 0xff, 0xc4, 0xff, 0xe2, 0xff, 0x08, 0x00,
+0x16, 0x00, 0x2a, 0x00, 0x2e, 0x00, 0x3c, 0x00, 0x34, 0x00, 0x28, 0x00, 0x12, 0x00, 0xf8, 0xff,
+0xe2, 0xff, 0xc6, 0xff, 0xb4, 0xff, 0xb4, 0xff, 0xb4, 0xff, 0xc2, 0xff, 0xce, 0xff, 0xde, 0xff,
+0xec, 0xff, 0xf6, 0xff, 0x0c, 0x00, 0x0e, 0x00, 0x12, 0x00, 0x1c, 0x00, 0x0a, 0x00, 0x10, 0x00,
+0x00, 0x00, 0xf6, 0xff, 0xf0, 0xff, 0xe6, 0xff, 0xe8, 0xff, 0xe8, 0xff, 0xf2, 0xff, 0xf4, 0xff,
+0xec, 0xff, 0xe2, 0xff, 0xe4, 0xff, 0xe6, 0xff, 0xe2, 0xff, 0xec, 0xff, 0xee, 0xff, 0xe2, 0xff,
+0xf2, 0xff, 0xf0, 0xff, 0xf4, 0xff, 0x0a, 0x00, 0x08, 0x00, 0x18, 0x00, 0x12, 0x00, 0x12, 0x00,
+0x18, 0x00, 0x08, 0x00, 0x02, 0x00, 0xf2, 0xff, 0xda, 0xff, 0xcc, 0xff, 0xbe, 0xff, 0xcc, 0xff,
+0xce, 0xff, 0xc4, 0xff, 0xde, 0xff, 0xee, 0xff, 0x06, 0x00, 0x10, 0x00, 0x32, 0x00, 0x3a, 0x00,
+0x3e, 0x00, 0x3a, 0x00, 0x30, 0x00, 0x1e, 0x00, 0x06, 0x00, 0xec, 0xff, 0xc6, 0xff, 0xaa, 0xff,
+0xa0, 0xff, 0xa4, 0xff, 0xae, 0xff, 0xb4, 0xff, 0xcc, 0xff, 0xf8, 0xff, 0x08, 0x00, 0x30, 0x00,
+0x50, 0x00, 0x58, 0x00, 0x58, 0x00, 0x50, 0x00, 0x40, 0x00, 0x16, 0x00, 0xfa, 0xff, 0xce, 0xff,
+0x98, 0xff, 0x7a, 0xff, 0x80, 0xff, 0x7e, 0xff, 0x8c, 0xff, 0xa8, 0xff, 0xcc, 0xff, 0xfc, 0xff,
+0x24, 0x00, 0x54, 0x00, 0x76, 0x00, 0x82, 0x00, 0x7e, 0x00, 0x64, 0x00, 0x42, 0x00, 0x18, 0x00,
+0xda, 0xff, 0xb0, 0xff, 0x84, 0xff, 0x66, 0xff, 0x4c, 0xff, 0x58, 0xff, 0x7c, 0xff, 0xa0, 0xff,
+0xd4, 0xff, 0xfc, 0xff, 0x42, 0x00, 0x70, 0x00, 0x88, 0x00, 0xa2, 0x00, 0x92, 0x00, 0x70, 0x00,
+0x38, 0x00, 0xfe, 0xff, 0xc0, 0xff, 0x86, 0xff, 0x5a, 0xff, 0x3c, 0xff, 0x30, 0xff, 0x3c, 0xff,
+0x5a, 0xff, 0x9c, 0xff, 0xda, 0xff, 0x10, 0x00, 0x52, 0x00, 0x82, 0x00, 0xa2, 0x00, 0xaa, 0x00,
+0xa0, 0x00, 0x74, 0x00, 0x2a, 0x00, 0xee, 0xff, 0xbe, 0xff, 0x7e, 0xff, 0x4a, 0xff, 0x2a, 0xff,
+0x22, 0xff, 0x3c, 0xff, 0x68, 0xff, 0xb2, 0xff, 0xec, 0xff, 0x16, 0x00, 0x60, 0x00, 0x92, 0x00,
+0xb8, 0x00, 0xb0, 0x00, 0x90, 0x00, 0x6e, 0x00, 0x24, 0x00, 0xee, 0xff, 0xa8, 0xff, 0x76, 0xff,
+0x48, 0xff, 0x28, 0xff, 0x2a, 0xff, 0x3c, 0xff, 0x74, 0xff, 0xb2, 0xff, 0xf6, 0xff, 0x2a, 0x00,
+0x66, 0x00, 0x8e, 0x00, 0xae, 0x00, 0xb4, 0x00, 0x8e, 0x00, 0x5a, 0x00, 0x18, 0x00, 0xdc, 0xff,
+0xae, 0xff, 0x6e, 0xff, 0x40, 0xff, 0x3c, 0xff, 0x3a, 0xff, 0x5c, 0xff, 0x8a, 0xff, 0xc8, 0xff,
+0x04, 0x00, 0x40, 0x00, 0x7a, 0x00, 0x92, 0x00, 0xac, 0x00, 0x9e, 0x00, 0x7c, 0x00, 0x4a, 0x00,
+0x0e, 0x00, 0xda, 0xff, 0xa8, 0xff, 0x76, 0xff, 0x5c, 0xff, 0x52, 0xff, 0x56, 0xff, 0x6e, 0xff,
+0xa0, 0xff, 0xe6, 0xff, 0x20, 0x00, 0x42, 0x00, 0x74, 0x00, 0x92, 0x00, 0x92, 0x00, 0x84, 0x00,
+0x5c, 0x00, 0x34, 0x00, 0xfa, 0xff, 0xce, 0xff, 0xa4, 0xff, 0x82, 0xff, 0x66, 0xff, 0x64, 0xff,
+0x72, 0xff, 0x8c, 0xff, 0xbe, 0xff, 0xf4, 0xff, 0x22, 0x00, 0x44, 0x00, 0x5a, 0x00, 0x6e, 0x00,
+0x68, 0x00, 0x5c, 0x00, 0x46, 0x00, 0x1a, 0x00, 0xfa, 0xff, 0xc6, 0xff, 0xa8, 0xff, 0x9a, 0xff,
+0x88, 0xff, 0x8a, 0xff, 0x8c, 0xff, 0xac, 0xff, 0xce, 0xff, 0xfa, 0xff, 0x14, 0x00, 0x3a, 0x00,
+0x42, 0x00, 0x42, 0x00, 0x42, 0x00, 0x3a, 0x00, 0x2a, 0x00, 0x04, 0x00, 0xec, 0xff, 0xd0, 0xff,
+0xb6, 0xff, 0xac, 0xff, 0xa4, 0xff, 0xa2, 0xff, 0xa8, 0xff, 0xbc, 0xff, 0xda, 0xff, 0xe8, 0xff,
+0xfe, 0xff, 0x18, 0x00, 0x1e, 0x00, 0x18, 0x00, 0x1c, 0x00, 0x1c, 0x00, 0x12, 0x00, 0xfe, 0xff,
+0xea, 0xff, 0xe0, 0xff, 0xd6, 0xff, 0xcc, 0xff, 0xc6, 0xff, 0xc2, 0xff, 0xc4, 0xff, 0xce, 0xff,
+0xce, 0xff, 0xe8, 0xff, 0xf2, 0xff, 0xf2, 0xff, 0xfc, 0xff, 0x00, 0x00, 0xfe, 0xff, 0x02, 0x00,
+0x04, 0x00, 0x02, 0x00, 0x0a, 0x00, 0x04, 0x00, 0x02, 0x00, 0xfa, 0xff, 0xfa, 0xff, 0xea, 0xff,
+0xea, 0xff, 0xde, 0xff, 0xd8, 0xff, 0xd0, 0xff, 0xcc, 0xff, 0xc8, 0xff, 0xcc, 0xff, 0xd0, 0xff,
+0xd4, 0xff, 0xf8, 0xff, 0x02, 0x00, 0x0a, 0x00, 0x1a, 0x00, 0x32, 0x00, 0x22, 0x00, 0x18, 0x00,
+0x1c, 0x00, 0x0a, 0x00, 0x02, 0x00, 0xee, 0xff, 0xd0, 0xff, 0xb8, 0xff, 0xa8, 0xff, 0x9e, 0xff,
+0xb4, 0xff, 0xb0, 0xff, 0xc6, 0xff, 0xe0, 0xff, 0xfa, 0xff, 0x1e, 0x00, 0x3c, 0x00, 0x50, 0x00,
+0x4a, 0x00, 0x46, 0x00, 0x3e, 0x00, 0x28, 0x00, 0x08, 0x00, 0xe6, 0xff, 0xbc, 0xff, 0xa4, 0xff,
+0x84, 0xff, 0x84, 0xff, 0x8c, 0xff, 0xaa, 0xff, 0xc4, 0xff, 0xea, 0xff, 0x0e, 0x00, 0x40, 0x00,
+0x64, 0x00, 0x64, 0x00, 0x74, 0x00, 0x66, 0x00, 0x5e, 0x00, 0x3e, 0x00, 0x06, 0x00, 0xde, 0xff,
+0xaa, 0xff, 0x7a, 0xff, 0x66, 0xff, 0x64, 0xff, 0x6a, 0xff, 0x86, 0xff, 0xb6, 0xff, 0xe6, 0xff,
+0x0e, 0x00, 0x52, 0x00, 0x72, 0x00, 0x94, 0x00, 0xa0, 0x00, 0x8a, 0x00, 0x60, 0x00, 0x34, 0x00,
+0x02, 0x00, 0xc6, 0xff, 0x98, 0xff, 0x5c, 0xff, 0x48, 0xff, 0x3c, 0xff, 0x5e, 0xff, 0x82, 0xff,
+0xba, 0xff, 0xfc, 0xff, 0x20, 0x00, 0x60, 0x00, 0x92, 0x00, 0xae, 0x00, 0xa6, 0x00, 0x92, 0x00,
+0x6a, 0x00, 0x2a, 0x00, 0xf4, 0xff, 0xba, 0xff, 0x7e, 0xff, 0x40, 0xff, 0x2e, 0xff, 0x2c, 0xff,
+0x4c, 0xff, 0x82, 0xff, 0xc0, 0xff, 0xf6, 0xff, 0x2c, 0x00, 0x72, 0x00, 0x9a, 0x00, 0xb6, 0x00,
+0xb0, 0x00, 0x8c, 0x00, 0x4c, 0x00, 0x08, 0x00, 0xd6, 0xff, 0x96, 0xff, 0x56, 0xff, 0x28, 0xff,
+0x1c, 0xff, 0x30, 0xff, 0x56, 0xff, 0x88, 0xff, 0xda, 0xff, 0x0a, 0x00, 0x40, 0x00, 0x86, 0x00,
+0xa8, 0x00, 0xb0, 0x00, 0xa2, 0x00, 0x7e, 0x00, 0x40, 0x00, 0xfa, 0xff, 0xc8, 0xff, 0x92, 0xff,
+0x4a, 0xff, 0x26, 0xff, 0x26, 0xff, 0x3c, 0xff, 0x64, 0xff, 0xa8, 0xff, 0xec, 0xff, 0x1a, 0x00,
+0x56, 0x00, 0x82, 0x00, 0xa6, 0x00, 0xb4, 0x00, 0x9c, 0x00, 0x72, 0x00, 0x20, 0x00, 0xe6, 0xff,
+0xae, 0xff, 0x7c, 0xff, 0x46, 0xff, 0x30, 0xff, 0x2e, 0xff, 0x50, 0xff, 0x7c, 0xff, 0xac, 0xff,
+0xfa, 0xff, 0x28, 0x00, 0x56, 0x00, 0x84, 0x00, 0x9c, 0x00, 0x9c, 0x00, 0x84, 0x00, 0x5a, 0x00,
+0x1e, 0x00, 0xec, 0xff, 0xb6, 0xff, 0x86, 0xff, 0x5e, 0xff, 0x54, 0xff, 0x58, 0xff, 0x7a, 0xff,
+0x96, 0xff, 0xd0, 0xff, 0x02, 0x00, 0x32, 0x00, 0x66, 0x00, 0x74, 0x00, 0x96, 0x00, 0x84, 0x00,
+0x72, 0x00, 0x46, 0x00, 0x0e, 0x00, 0xe8, 0xff, 0xb8, 0xff, 0x9e, 0xff, 0x88, 0xff, 0x86, 0xff,
+0x80, 0xff, 0x9a, 0xff, 0xb6, 0xff, 0xde, 0xff, 0x08, 0x00, 0x2e, 0x00, 0x42, 0x00, 0x42, 0x00,
+0x52, 0x00, 0x4c, 0x00, 0x48, 0x00, 0x20, 0x00, 0xfc, 0xff, 0xe6, 0xff, 0xcc, 0xff, 0xb4, 0xff,
+0xaa, 0xff, 0xac, 0xff, 0xae, 0xff, 0xb8, 0xff, 0xd2, 0xff, 0xf0, 0xff, 0xfe, 0xff, 0x14, 0x00,
+0x30, 0x00, 0x2a, 0x00, 0x2a, 0x00, 0x32, 0x00, 0x22, 0x00, 0x06, 0x00, 0xf4, 0xff, 0xec, 0xff,
+0xdc, 0xff, 0xce, 0xff, 0xd0, 0xff, 0xc8, 0xff, 0xd0, 0xff, 0xd8, 0xff, 0xde, 0xff, 0xfa, 0xff,
+0xfc, 0xff, 0xf6, 0xff, 0x0a, 0x00, 0x04, 0x00, 0x08, 0x00, 0x02, 0x00, 0x02, 0x00, 0xf6, 0xff,
+0xf4, 0xff, 0xea, 0xff, 0xdc, 0xff, 0xe6, 0xff, 0xdc, 0xff, 0xe4, 0xff, 0xd8, 0xff, 0xd8, 0xff,
+0xe0, 0xff, 0xdc, 0xff, 0xd6, 0xff, 0xe2, 0xff, 0xe6, 0xff, 0xe2, 0xff, 0xe0, 0xff, 0xe4, 0xff,
+0xe6, 0xff, 0xea, 0xff, 0xf8, 0xff, 0x08, 0x00, 0x0a, 0x00, 0x08, 0x00, 0x00, 0x00, 0x06, 0x00,
+0xfc, 0xff, 0xf2, 0xff, 0xe0, 0xff, 0xd2, 0xff, 0xc4, 0xff, 0xb8, 0xff, 0xbe, 0xff, 0xc8, 0xff,
+0xc2, 0xff, 0xda, 0xff, 0xf2, 0xff, 0xfe, 0xff, 0x10, 0x00, 0x28, 0x00, 0x30, 0x00, 0x30, 0x00,
+0x2a, 0x00, 0x10, 0x00, 0x08, 0x00, 0xe6, 0xff, 0xca, 0xff, 0xb2, 0xff, 0x9e, 0xff, 0x94, 0xff,
+0x98, 0xff, 0xa2, 0xff, 0xa0, 0xff, 0xbc, 0xff, 0xe4, 0xff, 0x06, 0x00, 0x34, 0x00, 0x4c, 0x00,
+0x56, 0x00, 0x56, 0x00, 0x3e, 0x00, 0x34, 0x00, 0x10, 0x00, 0xea, 0xff, 0xc8, 0xff, 0x92, 0xff,
+0x7a, 0xff, 0x6c, 0xff, 0x70, 0xff, 0x8c, 0xff, 0xa0, 0xff, 0xca, 0xff, 0x04, 0x00, 0x2c, 0x00,
+0x52, 0x00, 0x7c, 0x00, 0x84, 0x00, 0x86, 0x00, 0x68, 0x00, 0x4c, 0x00, 0x1e, 0x00, 0xe6, 0xff,
+0xb4, 0xff, 0x90, 0xff, 0x78, 0xff, 0x5c, 0xff, 0x58, 0xff, 0x6a, 0xff, 0x9c, 0xff, 0xca, 0xff,
+0x02, 0x00, 0x3a, 0x00, 0x70, 0x00, 0x94, 0x00, 0x9e, 0x00, 0x94, 0x00, 0x78, 0x00, 0x48, 0x00,
+0x10, 0x00, 0xdc, 0xff, 0x9e, 0xff, 0x72, 0xff, 0x4c, 0xff, 0x32, 0xff, 0x44, 0xff, 0x6a, 0xff,
+0x9e, 0xff, 0xde, 0xff, 0x14, 0x00, 0x4c, 0x00, 0x8c, 0x00, 0xa6, 0x00, 0xbc, 0x00, 0xac, 0x00,
+0x7c, 0x00, 0x4a, 0x00, 0x04, 0x00, 0xdc, 0xff, 0xa6, 0xff, 0x6c, 0xff, 0x4c, 0xff, 0x36, 0xff,
+0x46, 0xff, 0x6c, 0xff, 0xac, 0xff, 0xf0, 0xff, 0x22, 0x00, 0x66, 0x00, 0x96, 0x00, 0xb6, 0x00,
+0xbc, 0x00, 0xa4, 0x00, 0x74, 0x00, 0x36, 0x00, 0xfa, 0xff, 0xc8, 0xff, 0x84, 0xff, 0x4e, 0xff,
+0x2a, 0xff, 0x12, 0xff, 0x42, 0xff, 0x66, 0xff, 0xa2, 0xff, 0xf2, 0xff, 0x1e, 0x00, 0x60, 0x00,
+0x92, 0x00, 0xa4, 0x00, 0xb4, 0x00, 0x8a, 0x00, 0x52, 0x00, 0x20, 0x00, 0xe6, 0xff, 0xb0, 0xff,
+0x74, 0xff, 0x4c, 0xff, 0x2c, 0xff, 0x30, 0xff, 0x4c, 0xff, 0x7e, 0xff, 0xc4, 0xff, 0x04, 0x00,
+0x2e, 0x00, 0x64, 0x00, 0x94, 0x00, 0xa4, 0x00, 0xa4, 0x00, 0x82, 0x00, 0x5a, 0x00, 0x16, 0x00,
+0xe0, 0xff, 0xb0, 0xff, 0x7a, 0xff, 0x4a, 0xff, 0x3a, 0xff, 0x46, 0xff, 0x5e, 0xff, 0x90, 0xff,
+0xce, 0xff, 0x08, 0x00, 0x2a, 0x00, 0x60, 0x00, 0x74, 0x00, 0x8c, 0x00, 0x80, 0x00, 0x5c, 0x00,
+0x34, 0x00, 0x0a, 0x00, 0xde, 0xff, 0xa0, 0xff, 0x80, 0xff, 0x5e, 0xff, 0x56, 0xff, 0x52, 0xff,
+0x78, 0xff, 0xa0, 0xff, 0xd4, 0xff, 0xfa, 0xff, 0x34, 0x00, 0x58, 0x00, 0x68, 0x00, 0x72, 0x00,
+0x5e, 0x00, 0x5a, 0x00, 0x26, 0x00, 0x02, 0x00, 0xde, 0xff, 0xb0, 0xff, 0xa6, 0xff, 0x8a, 0xff,
+0x84, 0xff, 0x8e, 0xff, 0x9e, 0xff, 0xc6, 0xff, 0xf6, 0xff, 0x16, 0x00, 0x36, 0x00, 0x40, 0x00,
+0x42, 0x00, 0x4c, 0x00, 0x3c, 0x00, 0x34, 0x00, 0x20, 0x00, 0xfa, 0xff, 0xe2, 0xff, 0xba, 0xff,
+0xb4, 0xff, 0xa8, 0xff, 0x96, 0xff, 0xa6, 0xff, 0xc2, 0xff, 0xe0, 0xff, 0xf6, 0xff, 0x0a, 0x00,
+0x12, 0x00, 0x1e, 0x00, 0x22, 0x00, 0x1e, 0x00, 0x16, 0x00, 0x0c, 0x00, 0xfe, 0xff, 0xf4, 0xff,
+0xe8, 0xff, 0xda, 0xff, 0xd8, 0xff, 0xce, 0xff, 0xd2, 0xff, 0xdc, 0xff, 0xe4, 0xff, 0xee, 0xff,
+0xf2, 0xff, 0xf6, 0xff, 0xf8, 0xff, 0xfe, 0xff, 0xfe, 0xff, 0x08, 0x00, 0x10, 0x00, 0x12, 0x00,
+0x0a, 0x00, 0x04, 0x00, 0x02, 0x00, 0x02, 0x00, 0xf8, 0xff, 0x06, 0x00, 0xfc, 0xff, 0xf8, 0xff,
+0xf4, 0xff, 0xea, 0xff, 0xda, 0xff, 0xcc, 0xff, 0xcc, 0xff, 0xc6, 0xff, 0xd0, 0xff, 0xd6, 0xff,
+0xe8, 0xff, 0xee, 0xff, 0xfa, 0xff, 0x0c, 0x00, 0x0e, 0x00, 0x1c, 0x00, 0x10, 0x00, 0x12, 0x00,
+0x0e, 0x00, 0xfa, 0xff, 0xf2, 0xff, 0xd4, 0xff, 0xc2, 0xff, 0xae, 0xff, 0xa0, 0xff, 0xae, 0xff,
+0xae, 0xff, 0xc4, 0xff, 0xd6, 0xff, 0xf0, 0xff, 0x04, 0x00, 0x2c, 0x00, 0x38, 0x00, 0x36, 0x00,
+0x46, 0x00, 0x3a, 0x00, 0x36, 0x00, 0x0a, 0x00, 0xf6, 0xff, 0xd2, 0xff, 0xac, 0xff, 0x9a, 0xff,
+0x8a, 0xff, 0x90, 0xff, 0x96, 0xff, 0xac, 0xff, 0xce, 0xff, 0xec, 0xff, 0x1a, 0x00, 0x36, 0x00,
+0x48, 0x00, 0x56, 0x00, 0x5a, 0x00, 0x4a, 0x00, 0x2e, 0x00, 0x10, 0x00, 0xec, 0xff, 0xbc, 0xff,
+0x92, 0xff, 0x72, 0xff, 0x5e, 0xff, 0x62, 0xff, 0x7a, 0xff, 0x90, 0xff, 0xcc, 0xff, 0xfa, 0xff,
+0x2e, 0x00, 0x64, 0x00, 0x7a, 0x00, 0x8e, 0x00, 0x8a, 0x00, 0x66, 0x00, 0x40, 0x00, 0x0e, 0x00,
+0xda, 0xff, 0xa8, 0xff, 0x72, 0xff, 0x4a, 0xff, 0x52, 0xff, 0x56, 0xff, 0x72, 0xff, 0xa8, 0xff,
+0xe0, 0xff, 0x18, 0x00, 0x4e, 0x00, 0x8a, 0x00, 0xa8, 0x00, 0xba, 0x00, 0xa8, 0x00, 0x80, 0x00,
+0x42, 0x00, 0x08, 0x00, 0xd4, 0xff, 0x88, 0xff, 0x52, 0xff, 0x2a, 0xff, 0x2e, 0xff, 0x48, 0xff,
+0x6c, 0xff, 0xb6, 0xff, 0xee, 0xff, 0x24, 0x00, 0x5c, 0x00, 0x90, 0x00, 0xaa, 0x00, 0xb2, 0x00,
+0xa0, 0x00, 0x6a, 0x00, 0x2c, 0x00, 0xf6, 0xff, 0xc4, 0xff, 0x78, 0xff, 0x40, 0xff, 0x2c, 0xff,
+0x34, 0xff, 0x58, 0xff, 0x78, 0xff, 0xc6, 0xff, 0x00, 0x00, 0x2e, 0x00, 0x72, 0x00, 0x9e, 0x00,
+0xbc, 0x00, 0xb8, 0x00, 0x8a, 0x00, 0x58, 0x00, 0x16, 0x00, 0xe6, 0xff, 0xa4, 0xff, 0x62, 0xff,
+0x4a, 0xff, 0x30, 0xff, 0x48, 0xff, 0x6a, 0xff, 0xa0, 0xff, 0xde, 0xff, 0x0a, 0x00, 0x40, 0x00,
+0x7e, 0x00, 0x9c, 0x00, 0xa8, 0x00, 0x98, 0x00, 0x6e, 0x00, 0x3c, 0x00, 0x00, 0x00, 0xc4, 0xff,
+0x90, 0xff, 0x5c, 0xff, 0x44, 0xff, 0x3a, 0xff, 0x50, 0xff, 0x7a, 0xff, 0xa0, 0xff, 0xe6, 0xff,
+0x24, 0x00, 0x4a, 0x00, 0x7a, 0x00, 0x94, 0x00, 0x94, 0x00, 0x7c, 0x00, 0x56, 0x00, 0x22, 0x00,
+0xf6, 0xff, 0xb8, 0xff, 0x90, 0xff, 0x72, 0xff, 0x5c, 0xff, 0x5e, 0xff, 0x70, 0xff, 0x8a, 0xff,
+0xc2, 0xff, 0xf6, 0xff, 0x22, 0x00, 0x54, 0x00, 0x74, 0x00, 0x86, 0x00, 0x78, 0x00, 0x5e, 0x00,
+0x3a, 0x00, 0x10, 0x00, 0xe0, 0xff, 0xb6, 0xff, 0x8e, 0xff, 0x7a, 0xff, 0x74, 0xff, 0x7a, 0xff,
+0x94, 0xff, 0xa8, 0xff, 0xdc, 0xff, 0xfa, 0xff, 0x2c, 0x00, 0x3c, 0x00, 0x4a, 0x00, 0x60, 0x00,
+0x48, 0x00, 0x40, 0x00, 0x24, 0x00, 0x08, 0x00, 0xe6, 0xff, 0xbe, 0xff, 0xa6, 0xff, 0x9c, 0xff,
+0x98, 0xff, 0xa0, 0xff, 0xae, 0xff, 0xce, 0xff, 0xec, 0xff, 0x0c, 0x00, 0x1c, 0x00, 0x30, 0x00,
+0x32, 0x00, 0x30, 0x00, 0x2a, 0x00, 0x22, 0x00, 0x0a, 0x00, 0xf8, 0xff, 0xf0, 0xff, 0xde, 0xff,
+0xcc, 0xff, 0xc4, 0xff, 0xc4, 0xff, 0xc2, 0xff, 0xd2, 0xff, 0xe4, 0xff, 0xf2, 0xff, 0xfa, 0xff,
+0xf8, 0xff, 0x0c, 0x00, 0x06, 0x00, 0x06, 0x00, 0x0a, 0x00, 0xfa, 0xff, 0x00, 0x00, 0xfc, 0xff,
+0xf4, 0xff, 0xf4, 0xff, 0xe6, 0xff, 0xec, 0xff, 0xe4, 0xff, 0xe8, 0xff, 0xee, 0xff, 0xea, 0xff,
+0xf0, 0xff, 0xe8, 0xff, 0xea, 0xff, 0xe0, 0xff, 0xec, 0xff, 0xe4, 0xff, 0xe0, 0xff, 0xf2, 0xff,
+0xf0, 0xff, 0x06, 0x00, 0x0c, 0x00, 0x1c, 0x00, 0x1a, 0x00, 0x12, 0x00, 0x0a, 0x00, 0x08, 0x00,
+0x00, 0x00, 0xf2, 0xff, 0xe6, 0xff, 0xcc, 0xff, 0xc0, 0xff, 0xba, 0xff, 0xbe, 0xff, 0xbc, 0xff,
+0xd0, 0xff, 0xda, 0xff, 0xf2, 0xff, 0x10, 0x00, 0x22, 0x00, 0x38, 0x00, 0x44, 0x00, 0x30, 0x00,
+0x26, 0x00, 0x16, 0x00, 0xf8, 0xff, 0xe6, 0xff, 0xc2, 0xff, 0xa0, 0xff, 0x94, 0xff, 0x8c, 0xff,
+0x94, 0xff, 0xa2, 0xff, 0xb2, 0xff, 0xea, 0xff, 0xfc, 0xff, 0x2a, 0x00, 0x4a, 0x00, 0x50, 0x00,
+0x60, 0x00, 0x4e, 0x00, 0x40, 0x00, 0x1e, 0x00, 0x00, 0x00, 0xea, 0xff, 0xb2, 0xff, 0x8c, 0xff,
+0x78, 0xff, 0x6c, 0xff, 0x7c, 0xff, 0x8a, 0xff, 0xc2, 0xff, 0xe2, 0xff, 0x0c, 0x00, 0x44, 0x00,
+0x64, 0x00, 0x7e, 0x00, 0x7e, 0x00, 0x6c, 0x00, 0x50, 0x00, 0x2c, 0x00, 0xfc, 0xff, 0xd0, 0xff,
+0x9c, 0xff, 0x7a, 0xff, 0x54, 0xff, 0x50, 0xff, 0x64, 0xff, 0x8c, 0xff, 0xbc, 0xff, 0xe6, 0xff,
+0x22, 0x00, 0x4e, 0x00, 0x7c, 0x00, 0x98, 0x00, 0x90, 0x00, 0x7c, 0x00, 0x58, 0x00, 0x26, 0x00,
+0xf4, 0xff, 0xb6, 0xff, 0x82, 0xff, 0x4c, 0xff, 0x36, 0xff, 0x44, 0xff, 0x60, 0xff, 0x90, 0xff,
+0xd0, 0xff, 0x0a, 0x00, 0x38, 0x00, 0x76, 0x00, 0x9c, 0x00, 0xaa, 0x00, 0xa6, 0x00, 0x82, 0x00,
+0x4c, 0x00, 0x12, 0x00, 0xe8, 0xff, 0x9c, 0xff, 0x64, 0xff, 0x46, 0xff, 0x32, 0xff, 0x3e, 0xff,
+0x5e, 0xff, 0x9e, 0xff, 0xe8, 0xff, 0x0c, 0x00, 0x54, 0x00, 0x92, 0x00, 0xa4, 0x00, 0xc0, 0x00,
+0xa0, 0x00, 0x76, 0x00, 0x38, 0x00, 0xfe, 0xff, 0xcc, 0xff, 0x80, 0xff, 0x50, 0xff, 0x30, 0xff,
+0x26, 0xff, 0x40, 0xff, 0x74, 0xff, 0xb4, 0xff, 0xe8, 0xff, 0x16, 0x00, 0x58, 0x00, 0x90, 0x00,
+0xb2, 0x00, 0xb8, 0x00, 0x9e, 0x00, 0x68, 0x00, 0x2e, 0x00, 0xfc, 0xff, 0xba, 0xff, 0x7e, 0xff,
+0x4e, 0xff, 0x34, 0xff, 0x32, 0xff, 0x4c, 0xff, 0x80, 0xff, 0xb8, 0xff, 0x00, 0x00, 0x32, 0x00,
+0x6a, 0x00, 0x8e, 0x00, 0x9e, 0x00, 0xa2, 0x00, 0x76, 0x00, 0x4e, 0x00, 0x16, 0x00, 0xd6, 0xff,
+0xa6, 0xff, 0x6e, 0xff, 0x4e, 0xff, 0x42, 0xff, 0x48, 0xff, 0x66, 0xff, 0x94, 0xff, 0xce, 0xff,
+0x00, 0x00, 0x3c, 0x00, 0x58, 0x00, 0x74, 0x00, 0x86, 0x00, 0x72, 0x00, 0x5a, 0x00, 0x28, 0x00,
+0xf4, 0xff, 0xca, 0xff, 0x96, 0xff, 0x74, 0xff, 0x66, 0xff, 0x60, 0xff, 0x76, 0xff, 0x8c, 0xff,
+0xba, 0xff, 0xec, 0xff, 0x12, 0x00, 0x34, 0x00, 0x52, 0x00, 0x5e, 0x00, 0x56, 0x00, 0x4c, 0x00,
+0x3a, 0x00, 0x12, 0x00, 0xf0, 0xff, 0xd0, 0xff, 0xa0, 0xff, 0x9e, 0xff, 0x8c, 0xff, 0x92, 0xff,
+0x94, 0xff, 0xbc, 0xff, 0xd0, 0xff, 0xec, 0xff, 0x18, 0x00, 0x2a, 0x00, 0x2e, 0x00, 0x2e, 0x00,
+0x2e, 0x00, 0x28, 0x00, 0x1c, 0x00, 0xfa, 0xff, 0xdc, 0xff, 0xd2, 0xff, 0xca, 0xff, 0xb2, 0xff,
+0xb6, 0xff, 0xba, 0xff, 0xbc, 0xff, 0xce, 0xff, 0xd8, 0xff, 0xf4, 0xff, 0x02, 0x00, 0x0a, 0x00,
+0x1e, 0x00, 0x1a, 0x00, 0x16, 0x00, 0x1e, 0x00, 0x0a, 0x00, 0xfe, 0xff, 0xea, 0xff, 0xe6, 0xff,
+0xe4, 0xff, 0xd6, 0xff, 0xde, 0xff, 0xd8, 0xff, 0xd6, 0xff, 0xec, 0xff, 0xf2, 0xff, 0xf4, 0xff,
+0x04, 0x00, 0x0a, 0x00, 0x04, 0x00, 0x00, 0x00, 0x02, 0x00, 0x04, 0x00, 0xfa, 0xff, 0xfe, 0xff,
+0x02, 0x00, 0xf2, 0xff, 0xfe, 0xff, 0xf6, 0xff, 0xfc, 0xff, 0xfa, 0xff, 0xfc, 0xff, 0xfa, 0xff,
+0xee, 0xff, 0xe6, 0xff, 0xde, 0xff, 0xe0, 0xff, 0xde, 0xff, 0xde, 0xff, 0xd8, 0xff, 0xdc, 0xff,
+0xe8, 0xff, 0xf2, 0xff, 0x08, 0x00, 0x1c, 0x00, 0x20, 0x00, 0x26, 0x00, 0x18, 0x00, 0x10, 0x00,
+0x08, 0x00, 0x00, 0x00, 0xe6, 0xff, 0xd0, 0xff, 0xc2, 0xff, 0xb0, 0xff, 0xae, 0xff, 0xb2, 0xff,
+0xba, 0xff, 0xde, 0xff, 0xf2, 0xff, 0x06, 0x00, 0x28, 0x00, 0x3c, 0x00, 0x44, 0x00, 0x42, 0x00,
+0x44, 0x00, 0x2e, 0x00, 0x08, 0x00, 0xee, 0xff, 0xc6, 0xff, 0x9a, 0xff, 0x8e, 0xff, 0x7e, 0xff,
+0x78, 0xff, 0x92, 0xff, 0x9a, 0xff, 0xc2, 0xff, 0xf4, 0xff, 0x18, 0x00, 0x34, 0x00, 0x62, 0x00,
+0x62, 0x00, 0x62, 0x00, 0x54, 0x00, 0x26, 0x00, 0xfa, 0xff, 0xd0, 0xff, 0xac, 0xff, 0x7e, 0xff,
+0x62, 0xff, 0x4a, 0xff, 0x58, 0xff, 0x6a, 0xff, 0x9a, 0xff, 0xd6, 0xff, 0xfe, 0xff, 0x3c, 0x00,
+0x56, 0x00, 0x78, 0x00, 0x8a, 0x00, 0x82, 0x00, 0x6c, 0x00, 0x3a, 0x00, 0x0a, 0x00, 0xd6, 0xff,
+0x92, 0xff, 0x68, 0xff, 0x46, 0xff, 0x3a, 0xff, 0x48, 0xff, 0x5e, 0xff, 0x9a, 0xff, 0xd2, 0xff,
+0x0c, 0x00, 0x48, 0x00, 0x82, 0x00, 0xa2, 0x00, 0xae, 0x00, 0x96, 0x00, 0x6e, 0x00, 0x30, 0x00,
+0x00, 0x00, 0xca, 0xff, 0x84, 0xff, 0x52, 0xff, 0x2e, 0xff, 0x18, 0xff, 0x2e, 0xff, 0x5c, 0xff,
+0xa8, 0xff, 0xee, 0xff, 0x22, 0x00, 0x66, 0x00, 0x92, 0x00, 0xc0, 0x00, 0xc6, 0x00, 0xaa, 0x00,
+0x78, 0x00, 0x2a, 0x00, 0xf0, 0xff, 0xca, 0xff, 0x78, 0xff, 0x4a, 0xff, 0x26, 0xff, 0x1e, 0xff,
+0x48, 0xff, 0x74, 0xff, 0xc4, 0xff, 0x02, 0x00, 0x36, 0x00, 0x78, 0x00, 0xa2, 0x00, 0xbc, 0x00,
+0xc0, 0x00, 0x96, 0x00, 0x6a, 0x00, 0x24, 0x00, 0xe8, 0xff, 0xae, 0xff, 0x6c, 0xff, 0x46, 0xff,
+0x2e, 0xff, 0x38, 0xff, 0x54, 0xff, 0x8e, 0xff, 0xca, 0xff, 0x0a, 0x00, 0x40, 0x00, 0x78, 0x00,
+0x96, 0x00, 0xb4, 0x00, 0xa2, 0x00, 0x80, 0x00, 0x52, 0x00, 0x10, 0x00, 0xe4, 0xff, 0xa8, 0xff,
+0x6c, 0xff, 0x46, 0xff, 0x38, 0xff, 0x44, 0xff, 0x74, 0xff, 0xa8, 0xff, 0xde, 0xff, 0x12, 0x00,
+0x3a, 0x00, 0x70, 0x00, 0x90, 0x00, 0xa6, 0x00, 0x90, 0x00, 0x6a, 0x00, 0x30, 0x00, 0xc4, 0xff,
+0x7a, 0xff, 0x50, 0xff, 0x4e, 0xff, 0x76, 0xff, 0x8c, 0xff, 0xb8, 0xff, 0xee, 0xff, 0x1a, 0x00,
+0x4e, 0x00, 0x56, 0x00, 0x72, 0x00, 0x6a, 0x00, 0x5e, 0x00, 0x52, 0x00, 0x14, 0x00, 0xec, 0xff,
+0xc8, 0xff, 0x9c, 0xff, 0x82, 0xff, 0x6e, 0xff, 0x76, 0xff, 0x82, 0xff, 0x9e, 0xff, 0xd6, 0xff,
+0xf6, 0xff, 0x0a, 0x00, 0x32, 0x00, 0x40, 0x00, 0x42, 0x00, 0x48, 0x00, 0x3e, 0x00, 0x2e, 0x00,
+0x0c, 0x00, 0xe6, 0xff, 0xcc, 0xff, 0xb0, 0xff, 0xa8, 0xff, 0x9c, 0xff, 0x9c, 0xff, 0xa4, 0xff,
+0xc2, 0xff, 0xe0, 0xff, 0xf2, 0xff, 0x08, 0x00, 0x20, 0x00, 0x24, 0x00, 0x22, 0x00, 0x2c, 0x00,
+0x22, 0x00, 0x10, 0x00, 0xfe, 0xff, 0xf4, 0xff, 0xdc, 0xff, 0xc8, 0xff, 0xc8, 0xff, 0xbc, 0xff,
+0xbc, 0xff, 0xc0, 0xff, 0xd4, 0xff, 0xea, 0xff, 0xee, 0xff, 0xf2, 0xff, 0xfa, 0xff, 0x08, 0x00,
+0x04, 0x00, 0x0a, 0x00, 0x04, 0x00, 0x00, 0x00, 0xfe, 0xff, 0xf8, 0xff, 0xfa, 0xff, 0xfe, 0xff,
+0xfe, 0xff, 0xf8, 0xff, 0xec, 0xff, 0xec, 0xff, 0xf6, 0xff, 0xea, 0xff, 0xd6, 0xff, 0xe2, 0xff,
+0xde, 0xff, 0xec, 0xff, 0xf2, 0xff, 0xee, 0xff, 0xfa, 0xff, 0xfe, 0xff, 0x10, 0x00, 0x16, 0x00,
+0x16, 0x00, 0x28, 0x00, 0x1c, 0x00, 0x22, 0x00, 0x16, 0x00, 0x02, 0x00, 0xfa, 0xff, 0xda, 0xff,
+0xc4, 0xff, 0xb4, 0xff, 0xb2, 0xff, 0xbc, 0xff, 0xc4, 0xff, 0xd2, 0xff, 0xea, 0xff, 0xfc, 0xff,
+0x12, 0x00, 0x24, 0x00, 0x32, 0x00, 0x36, 0x00, 0x3e, 0x00, 0x34, 0x00, 0x22, 0x00, 0xfe, 0xff,
+0xf0, 0xff, 0xc6, 0xff, 0xa0, 0xff, 0x94, 0xff, 0x92, 0xff, 0x9a, 0xff, 0xa6, 0xff, 0xbe, 0xff,
+0xe8, 0xff, 0xfe, 0xff, 0x28, 0x00, 0x48, 0x00, 0x5c, 0x00, 0x66, 0x00, 0x5a, 0x00, 0x4a, 0x00,
+0x2a, 0x00, 0x04, 0x00, 0xe4, 0xff, 0xae, 0xff, 0x82, 0xff, 0x70, 0xff, 0x64, 0xff, 0x76, 0xff,
+0x8e, 0xff, 0xb6, 0xff, 0xe2, 0xff, 0x0a, 0x00, 0x40, 0x00, 0x5e, 0x00, 0x8a, 0x00, 0x86, 0x00,
+0x6e, 0x00, 0x4a, 0x00, 0x22, 0x00, 0xf8, 0xff, 0xae, 0xff, 0x86, 0xff, 0x5c, 0xff, 0x40, 0xff,
+0x30, 0xff, 0x58, 0xff, 0x82, 0xff, 0xae, 0xff, 0xe4, 0xff, 0x1e, 0x00, 0x5c, 0x00, 0x8c, 0x00,
+0xa6, 0x00, 0xa4, 0x00, 0x8e, 0x00, 0x56, 0x00, 0x24, 0x00, 0xe8, 0xff, 0xa8, 0xff, 0x6e, 0xff,
+0x42, 0xff, 0x2c, 0xff, 0x2c, 0xff, 0x44, 0xff, 0x7e, 0xff, 0xbc, 0xff, 0xec, 0xff, 0x2c, 0x00,
+0x72, 0x00, 0xa4, 0x00, 0xbe, 0x00, 0xb6, 0x00, 0x90, 0x00, 0x5c, 0x00, 0x0e, 0x00, 0xde, 0xff,
+0x92, 0xff, 0x50, 0xff, 0x30, 0xff, 0x1a, 0xff, 0x20, 0xff, 0x4e, 0xff, 0x86, 0xff, 0xd0, 0xff,
+0xfe, 0xff, 0x46, 0x00, 0x88, 0x00, 0xb0, 0x00, 0xc6, 0x00, 0xb2, 0x00, 0x8a, 0x00, 0x42, 0x00,
+0x02, 0x00, 0xc4, 0xff, 0x82, 0xff, 0x50, 0xff, 0x2a, 0xff, 0x28, 0xff, 0x3c, 0xff, 0x60, 0xff,
+0xaa, 0xff, 0xe2, 0xff, 0x22, 0x00, 0x58, 0x00, 0x94, 0x00, 0xb4, 0x00, 0xbc, 0x00, 0xac, 0x00,
+0x76, 0x00, 0x36, 0x00, 0xf2, 0xff, 0xc4, 0xff, 0x80, 0xff, 0x54, 0xff, 0x3c, 0xff, 0x3a, 0xff,
+0x56, 0xff, 0x84, 0xff, 0xb6, 0xff, 0xfc, 0xff, 0x30, 0x00, 0x62, 0x00, 0x9a, 0x00, 0xa0, 0x00,
+0xac, 0x00, 0x84, 0x00, 0x56, 0x00, 0x26, 0x00, 0xe4, 0xff, 0xb0, 0xff, 0x7a, 0xff, 0x62, 0xff,
+0x4a, 0xff, 0x54, 0xff, 0x66, 0xff, 0x94, 0xff, 0xca, 0xff, 0x08, 0x00, 0x40, 0x00, 0x62, 0x00,
+0x82, 0x00, 0x90, 0x00, 0x80, 0x00, 0x6a, 0x00, 0x42, 0x00, 0x0a, 0x00, 0xd6, 0xff, 0xaa, 0xff,
+0x8e, 0xff, 0x74, 0xff, 0x6e, 0xff, 0x74, 0xff, 0x90, 0xff, 0xa4, 0xff, 0xea, 0xff, 0x1a, 0x00,
+0x40, 0x00, 0x66, 0x00, 0x68, 0x00, 0x6a, 0x00, 0x60, 0x00, 0x46, 0x00, 0x2c, 0x00, 0xfa, 0xff,
+0xda, 0xff, 0xb2, 0xff, 0x9e, 0xff, 0x9e, 0xff, 0x8e, 0xff, 0x92, 0xff, 0x9c, 0xff, 0xca, 0xff,
+0xea, 0xff, 0x04, 0x00, 0x30, 0x00, 0x40, 0x00, 0x3e, 0x00, 0x3a, 0x00, 0x34, 0x00, 0x26, 0x00,
+0x00, 0x00, 0xf0, 0xff, 0xe0, 0xff, 0xc2, 0xff, 0xba, 0xff, 0xb4, 0xff, 0xb4, 0xff, 0xb0, 0xff,
+0xbe, 0xff, 0xd2, 0xff, 0xf0, 0xff, 0xfa, 0xff, 0x0e, 0x00, 0x22, 0x00, 0x1a, 0x00, 0x12, 0x00,
+0x16, 0x00, 0x0e, 0x00, 0x06, 0x00, 0xf6, 0xff, 0xf4, 0xff, 0xea, 0xff, 0xe0, 0xff, 0xe2, 0xff,
+0xd8, 0xff, 0xdc, 0xff, 0xda, 0xff, 0xdc, 0xff, 0xe8, 0xff, 0xec, 0xff, 0xf6, 0xff, 0xee, 0xff,
+0xee, 0xff, 0xf6, 0xff, 0xfa, 0xff, 0xf6, 0xff, 0xf8, 0xff, 0x06, 0x00, 0x06, 0x00, 0x06, 0x00,
+0xfe, 0xff, 0xfa, 0xff, 0xf2, 0xff, 0xec, 0xff, 0xe6, 0xff, 0xe6, 0xff, 0xd8, 0xff, 0xca, 0xff,
+0xc4, 0xff, 0xcc, 0xff, 0xbc, 0xff, 0xc4, 0xff, 0xde, 0xff, 0xec, 0xff, 0xf6, 0xff, 0x0c, 0x00,
+0x2a, 0x00, 0x2e, 0x00, 0x2a, 0x00, 0x22, 0x00, 0x1c, 0x00, 0x0e, 0x00, 0xf4, 0xff, 0xe6, 0xff,
+0xce, 0xff, 0xb0, 0xff, 0xa4, 0xff, 0x9a, 0xff, 0xa4, 0xff, 0xac, 0xff, 0xd2, 0xff, 0xf6, 0xff,
+0x14, 0x00, 0x32, 0x00, 0x50, 0x00, 0x5c, 0x00, 0x58, 0x00, 0x4e, 0x00, 0x3a, 0x00, 0x12, 0x00,
+0xf2, 0xff, 0xd8, 0xff, 0xa4, 0xff, 0x82, 0xff, 0x74, 0xff, 0x6c, 0xff, 0x7c, 0xff, 0x96, 0xff,
+0xc8, 0xff, 0xf2, 0xff, 0x22, 0x00, 0x56, 0x00, 0x6a, 0x00, 0x7e, 0x00, 0x78, 0x00, 0x62, 0x00,
+0x42, 0x00, 0x0e, 0x00, 0xe8, 0xff, 0xbe, 0xff, 0x90, 0xff, 0x62, 0xff, 0x4e, 0xff, 0x54, 0xff,
+0x78, 0xff, 0x98, 0xff, 0xca, 0xff, 0x08, 0x00, 0x3e, 0x00, 0x6a, 0x00, 0x92, 0x00, 0xa4, 0x00,
+0x96, 0x00, 0x7c, 0x00, 0x48, 0x00, 0x1a, 0x00, 0xe4, 0xff, 0xac, 0xff, 0x6c, 0xff, 0x40, 0xff,
+0x46, 0xff, 0x3a, 0xff, 0x64, 0xff, 0xa0, 0xff, 0xd4, 0xff, 0x18, 0x00, 0x4c, 0x00, 0x8a, 0x00,
+0xa4, 0x00, 0xac, 0x00, 0xa0, 0x00, 0x74, 0x00, 0x46, 0x00, 0x00, 0x00, 0xc6, 0xff, 0x8e, 0xff,
+0x4e, 0xff, 0x32, 0xff, 0x1a, 0xff, 0x3c, 0xff, 0x6e, 0xff, 0xa4, 0xff, 0xee, 0xff, 0x20, 0x00,
+0x60, 0x00, 0x9a, 0x00, 0xaa, 0x00, 0xb8, 0x00, 0x98, 0x00, 0x6e, 0x00, 0x2c, 0x00, 0xee, 0xff,
+0xc6, 0xff, 0x7a, 0xff, 0x44, 0xff, 0x2c, 0xff, 0x28, 0xff, 0x42, 0xff, 0x78, 0xff, 0xc2, 0xff,
+0xfe, 0xff, 0x34, 0x00, 0x6c, 0x00, 0x94, 0x00, 0xb6, 0x00, 0xb0, 0x00, 0x98, 0x00, 0x5e, 0x00,
+0x16, 0x00, 0xe4, 0xff, 0xaa, 0xff, 0x68, 0xff, 0x42, 0xff, 0x1a, 0xff, 0x2a, 0xff, 0x54, 0xff,
+0x82, 0xff, 0xd0, 0xff, 0x06, 0x00, 0x3c, 0x00, 0x74, 0x00, 0x9a, 0x00, 0xa8, 0x00, 0x98, 0x00,
+0x78, 0x00, 0x4e, 0x00, 0x10, 0x00, 0xd0, 0xff, 0x96, 0xff, 0x62, 0xff, 0x46, 0xff, 0x38, 0xff,
+0x42, 0xff, 0x6a, 0xff, 0xa8, 0xff, 0xe0, 0xff, 0x18, 0x00, 0x50, 0x00, 0x76, 0x00, 0x90, 0x00,
+0x9e, 0x00, 0x88, 0x00, 0x6a, 0x00, 0x3e, 0x00, 0xfe, 0xff, 0xd0, 0xff, 0x9c, 0xff, 0x6e, 0xff,
+0x60, 0xff, 0x52, 0xff, 0x6c, 0xff, 0x8c, 0xff, 0xb2, 0xff, 0xf8, 0xff, 0x1e, 0x00, 0x3e, 0x00,
+0x66, 0x00, 0x74, 0x00, 0x72, 0x00, 0x68, 0x00, 0x4a, 0x00, 0x22, 0x00, 0xf2, 0xff, 0xc4, 0xff,
+0xa0, 0xff, 0x8c, 0xff, 0x76, 0xff, 0x86, 0xff, 0x8e, 0xff, 0xa8, 0xff, 0xd8, 0xff, 0xfa, 0xff,
+0x1c, 0x00, 0x34, 0x00, 0x3a, 0x00, 0x54, 0x00, 0x4a, 0x00, 0x40, 0x00, 0x2e, 0x00, 0x08, 0x00,
+0xf4, 0xff, 0xd8, 0xff, 0xba, 0xff, 0xb2, 0xff, 0xa4, 0xff, 0xb4, 0xff, 0xc8, 0xff, 0xce, 0xff,
+0xea, 0xff, 0xfe, 0xff, 0x0e, 0x00, 0x22, 0x00, 0x26, 0x00, 0x20, 0x00, 0x20, 0x00, 0x1e, 0x00,
+0x0c, 0x00, 0xf4, 0xff, 0xe6, 0xff, 0xd8, 0xff, 0xc4, 0xff, 0xc8, 0xff, 0xc8, 0xff, 0xc6, 0xff,
+0xd6, 0xff, 0xe2, 0xff, 0xf4, 0xff, 0xf4, 0xff, 0xfe, 0xff, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00,
+0x02, 0x00, 0xfc, 0xff, 0xf8, 0xff, 0xea, 0xff, 0xe4, 0xff, 0xea, 0xff, 0xe4, 0xff, 0xf0, 0xff,
+0xea, 0xff, 0xec, 0xff, 0xf2, 0xff, 0xea, 0xff, 0xf2, 0xff, 0xec, 0xff, 0xe8, 0xff, 0xe2, 0xff,
+0xe4, 0xff, 0xe2, 0xff, 0xe2, 0xff, 0xf0, 0xff, 0xf4, 0xff, 0xfe, 0xff, 0xfe, 0xff, 0x0c, 0x00,
+0x14, 0x00, 0x04, 0x00, 0x0e, 0x00, 0x00, 0x00, 0xf4, 0xff, 0xea, 0xff, 0xce, 0xff, 0xc0, 0xff,
+0xb6, 0xff, 0xb6, 0xff, 0xc0, 0xff, 0xba, 0xff, 0xca, 0xff, 0xe0, 0xff, 0xf6, 0xff, 0x08, 0x00,
+0x24, 0x00, 0x36, 0x00, 0x34, 0x00, 0x36, 0x00, 0x2e, 0x00, 0x1e, 0x00, 0x04, 0x00, 0xe4, 0xff,
+0xcc, 0xff, 0xa6, 0xff, 0x9c, 0xff, 0x92, 0xff, 0x90, 0xff, 0xb0, 0xff, 0xb4, 0xff, 0xde, 0xff,
+0x02, 0x00, 0x24, 0x00, 0x4c, 0x00, 0x5a, 0x00, 0x6a, 0x00, 0x6a, 0x00, 0x58, 0x00, 0x3c, 0x00,
+0x0a, 0x00, 0xe4, 0xff, 0xb0, 0xff, 0x8e, 0xff, 0x72, 0xff, 0x62, 0xff, 0x72, 0xff, 0x8c, 0xff,
+0xa6, 0xff, 0xde, 0xff, 0x0a, 0x00, 0x3c, 0x00, 0x64, 0x00, 0x82, 0x00, 0x94, 0x00, 0x74, 0x00,
+0x60, 0x00, 0x36, 0x00, 0x0a, 0x00, 0xd2, 0xff, 0x84, 0xff, 0x6a, 0xff, 0x48, 0xff, 0x3c, 0xff,
+0x54, 0xff, 0x7e, 0xff, 0xb2, 0xff, 0xe4, 0xff, 0x24, 0x00, 0x60, 0x00, 0x8e, 0x00, 0xa4, 0x00,
+0xa6, 0x00, 0x98, 0x00, 0x64, 0x00, 0x24, 0x00, 0xf8, 0xff, 0xb8, 0xff, 0x80, 0xff, 0x56, 0xff,
+0x2c, 0xff, 0x32, 0xff, 0x4e, 0xff, 0x82, 0xff, 0xbc, 0xff, 0x02, 0x00, 0x36, 0x00, 0x72, 0x00,
+0x9e, 0x00, 0xa6, 0x00, 0xae, 0x00, 0x8a, 0x00, 0x52, 0x00, 0x14, 0x00, 0xd4, 0xff, 0xa4, 0xff,
+0x5e, 0xff, 0x40, 0xff, 0x2c, 0xff, 0x26, 0xff, 0x4c, 0xff, 0x7c, 0xff, 0xce, 0xff, 0x04, 0x00,
+0x40, 0x00, 0x7c, 0x00, 0x98, 0x00, 0xa6, 0x00, 0x94, 0x00, 0x7e, 0x00, 0x40, 0x00, 0xfa, 0xff,
+0xce, 0xff, 0x8e, 0xff, 0x5e, 0xff, 0x36, 0xff, 0x26, 0xff, 0x38, 0xff, 0x5e, 0xff, 0x9a, 0xff,
+0xde, 0xff, 0x10, 0x00, 0x4c, 0x00, 0x84, 0x00, 0xa4, 0x00, 0x9e, 0x00, 0x90, 0x00, 0x6e, 0x00,
+0x32, 0x00, 0xfc, 0xff, 0xb8, 0xff, 0x8c, 0xff, 0x64, 0xff, 0x40, 0xff, 0x38, 0xff, 0x40, 0xff,
+0x70, 0xff, 0xaa, 0xff, 0xec, 0xff, 0x1e, 0x00, 0x44, 0x00, 0x76, 0x00, 0x8a, 0x00, 0x8a, 0x00,
+0x76, 0x00, 0x4c, 0x00, 0x20, 0x00, 0xea, 0xff, 0xbc, 0xff, 0x8e, 0xff, 0x6c, 0xff, 0x5c, 0xff,
+0x5a, 0xff, 0x6a, 0xff, 0x94, 0xff, 0xc4, 0xff, 0xfa, 0xff, 0x34, 0x00, 0x4a, 0x00, 0x62, 0x00,
+0x74, 0x00, 0x76, 0x00, 0x6a, 0x00, 0x36, 0x00, 0x18, 0x00, 0xf2, 0xff, 0xbc, 0xff, 0xa6, 0xff,
+0x90, 0xff, 0x7e, 0xff, 0x88, 0xff, 0x90, 0xff, 0xa8, 0xff, 0xe4, 0xff, 0x0c, 0x00, 0x26, 0x00,
+0x44, 0x00, 0x5a, 0x00, 0x60, 0x00, 0x58, 0x00, 0x46, 0x00, 0x2c, 0x00, 0x06, 0x00, 0xea, 0xff,
+0xc4, 0xff, 0xae, 0xff, 0x9e, 0xff, 0x96, 0xff, 0x9a, 0xff, 0xa2, 0xff, 0xc2, 0xff, 0xe4, 0xff,
+0xfe, 0xff, 0x1a, 0x00, 0x2a, 0x00, 0x36, 0x00, 0x34, 0x00, 0x38, 0x00, 0x34, 0x00, 0x12, 0x00,
+0x00, 0x00, 0xec, 0xff, 0xd4, 0xff, 0xc6, 0xff, 0xc0, 0xff, 0xc6, 0xff, 0xc0, 0xff, 0xc4, 0xff,
+0xd6, 0xff, 0xe8, 0xff, 0xf6, 0xff, 0x02, 0x00, 0x0e, 0x00, 0x0e, 0x00, 0x16, 0x00, 0x12, 0x00,
+0x10, 0x00, 0x02, 0x00, 0xf8, 0xff, 0xea, 0xff, 0xe6, 0xff, 0xe6, 0xff, 0xe6, 0xff, 0xe6, 0xff,
+0xde, 0xff, 0xe2, 0xff, 0xe2, 0xff, 0xd8, 0xff, 0xde, 0xff, 0xde, 0xff, 0xdc, 0xff, 0xe8, 0xff,
+0xec, 0xff, 0xea, 0xff, 0xfa, 0xff, 0xf8, 0xff, 0xfa, 0xff, 0xfc, 0xff, 0xfe, 0xff, 0x02, 0x00,
+0xfc, 0xff, 0x04, 0x00, 0xfa, 0xff, 0xea, 0xff, 0xe4, 0xff, 0xd0, 0xff, 0xbc, 0xff, 0xbe, 0xff,
+0xc4, 0xff, 0xc4, 0xff, 0xc6, 0xff, 0xde, 0xff, 0xf0, 0xff, 0xf6, 0xff, 0x0e, 0x00, 0x18, 0x00,
+0x24, 0x00, 0x22, 0x00, 0x16, 0x00, 0x22, 0x00, 0x14, 0x00, 0xfe, 0xff, 0xe2, 0xff, 0xbc, 0xff,
+0xa8, 0xff, 0xa4, 0xff, 0xa6, 0xff, 0xa8, 0xff, 0xb2, 0xff, 0xd4, 0xff, 0xf0, 0xff, 0x04, 0x00,
+0x22, 0x00, 0x38, 0x00, 0x48, 0x00, 0x4c, 0x00, 0x3a, 0x00, 0x30, 0x00, 0x20, 0x00, 0xfa, 0xff,
+0xd6, 0xff, 0xa6, 0xff, 0x8c, 0xff, 0x86, 0xff, 0x76, 0xff, 0x8c, 0xff, 0x9e, 0xff, 0xc8, 0xff,
+0xf6, 0xff, 0x1a, 0x00, 0x44, 0x00, 0x60, 0x00, 0x74, 0x00, 0x72, 0x00, 0x62, 0x00, 0x4c, 0x00,
+0x22, 0x00, 0xea, 0xff, 0xc2, 0xff, 0x8e, 0xff, 0x7a, 0xff, 0x66, 0xff, 0x62, 0xff, 0x82, 0xff,
+0x9e, 0xff, 0xd4, 0xff, 0x08, 0x00, 0x36, 0x00, 0x60, 0x00, 0x84, 0x00, 0x9e, 0x00, 0x92, 0x00,
+0x7a, 0x00, 0x4c, 0x00, 0x22, 0x00, 0xe0, 0xff, 0xaa, 0xff, 0x74, 0xff, 0x54, 0xff, 0x4a, 0xff,
+0x4e, 0xff, 0x6a, 0xff, 0xa2, 0xff, 0xd2, 0xff, 0x06, 0x00, 0x3c, 0x00, 0x76, 0x00, 0x98, 0x00,
+0xa2, 0x00, 0xa4, 0x00, 0x72, 0x00, 0x40, 0x00, 0x0a, 0x00, 0xd0, 0xff, 0x96, 0xff, 0x5c, 0xff,
+0x3c, 0xff, 0x28, 0xff, 0x3e, 0xff, 0x68, 0xff, 0xac, 0xff, 0xe8, 0xff, 0x10, 0x00, 0x48, 0x00,
+0x8a, 0x00, 0xaa, 0x00, 0xb2, 0x00, 0x9c, 0x00, 0x6a, 0x00, 0x32, 0x00, 0xf2, 0xff, 0xbe, 0xff,
+0x7a, 0xff, 0x54, 0xff, 0x32, 0xff, 0x2a, 0xff, 0x3c, 0xff, 0x6e, 0xff, 0xbe, 0xff, 0xf2, 0xff,
+0x24, 0x00, 0x60, 0x00, 0x8e, 0x00, 0xa8, 0x00, 0xa4, 0x00, 0x86, 0x00, 0x50, 0x00, 0x14, 0x00,
+0xd8, 0xff, 0xaa, 0xff, 0x74, 0xff, 0x48, 0xff, 0x28, 0xff, 0x38, 0xff, 0x52, 0xff, 0x7e, 0xff,
+0xbc, 0xff, 0xf8, 0xff, 0x36, 0x00, 0x60, 0x00, 0x8a, 0x00, 0xa2, 0x00, 0x94, 0x00, 0x76, 0x00,
+0x46, 0x00, 0x0c, 0x00, 0xde, 0xff, 0xac, 0xff, 0x76, 0xff, 0x58, 0xff, 0x4a, 0xff, 0x4a, 0xff,
+0x66, 0xff, 0x92, 0xff, 0xc8, 0xff, 0xfe, 0xff, 0x34, 0x00, 0x68, 0x00, 0x80, 0x00, 0x9a, 0x00,
+0x88, 0x00, 0x60, 0x00, 0x3c, 0x00, 0xfe, 0xff, 0xd6, 0xff, 0xa4, 0xff, 0x84, 0xff, 0x6c, 0xff,
+0x60, 0xff, 0x6e, 0xff, 0x86, 0xff, 0xa6, 0xff, 0xde, 0xff, 0x0e, 0x00, 0x30, 0x00, 0x54, 0x00,
+0x64, 0x00, 0x72, 0x00, 0x64, 0x00, 0x48, 0x00, 0x1c, 0x00, 0xf0, 0xff, 0xd2, 0xff, 0xa8, 0xff,
+0xa0, 0xff, 0x94, 0xff, 0x86, 0xff, 0x96, 0xff, 0xac, 0xff, 0xcc, 0xff, 0xf4, 0xff, 0x14, 0x00,
+0x36, 0x00, 0x4a, 0x00, 0x48, 0x00, 0x50, 0x00, 0x46, 0x00, 0x2a, 0x00, 0x12, 0x00, 0xf2, 0xff,
+0xda, 0xff, 0xc6, 0xff, 0xb6, 0xff, 0xb6, 0xff, 0xba, 0xff, 0xc0, 0xff, 0xcc, 0xff, 0xe4, 0xff,
+0x02, 0x00, 0x0e, 0x00, 0x1e, 0x00, 0x2a, 0x00, 0x18, 0x00, 0x26, 0x00, 0x1c, 0x00, 0x02, 0x00,
+0xfe, 0xff, 0xf2, 0xff, 0xe2, 0xff, 0xd8, 0xff, 0xd4, 0xff, 0xd2, 0xff, 0xd4, 0xff, 0xdc, 0xff,
+0xde, 0xff, 0xe8, 0xff, 0xf6, 0xff, 0xfc, 0xff, 0x00, 0x00, 0xf8, 0xff, 0xf8, 0xff, 0xfa, 0xff,
+0xfa, 0xff, 0xf4, 0xff, 0xfa, 0xff, 0xfa, 0xff, 0xfe, 0xff, 0x00, 0x00, 0xfc, 0xff, 0xfa, 0xff,
+0xf8, 0xff, 0xf0, 0xff, 0xf4, 0xff, 0xf8, 0xff, 0xe8, 0xff, 0xe0, 0xff, 0xde, 0xff, 0xde, 0xff,
+0xd4, 0xff, 0xcc, 0xff, 0xdc, 0xff, 0xe2, 0xff, 0xee, 0xff, 0x00, 0x00, 0x10, 0x00, 0x1a, 0x00,
+0x0e, 0x00, 0x14, 0x00, 0x0c, 0x00, 0x02, 0x00, 0xf8, 0xff, 0xdc, 0xff, 0xd0, 0xff, 0xbc, 0xff,
+0xb4, 0xff, 0xb6, 0xff, 0xae, 0xff, 0xb4, 0xff, 0xcc, 0xff, 0xde, 0xff, 0xfc, 0xff, 0x1a, 0x00,
+0x2e, 0x00, 0x30, 0x00, 0x38, 0x00, 0x2e, 0x00, 0x1c, 0x00, 0x04, 0x00, 0xf2, 0xff, 0xcc, 0xff,
+0xa4, 0xff, 0x96, 0xff, 0x88, 0xff, 0x8c, 0xff, 0xa0, 0xff, 0xa6, 0xff, 0xcc, 0xff, 0xf6, 0xff,
+0x1a, 0x00, 0x48, 0x00, 0x52, 0x00, 0x60, 0x00, 0x60, 0x00, 0x4c, 0x00, 0x32, 0x00, 0x06, 0x00,
+0xe6, 0xff, 0xbe, 0xff, 0x8a, 0xff, 0x66, 0xff, 0x64, 0xff, 0x62, 0xff, 0x78, 0xff, 0x9c, 0xff,
+0xca, 0xff, 0xf8, 0xff, 0x32, 0x00, 0x5c, 0x00, 0x72, 0x00, 0x8a, 0x00, 0x84, 0x00, 0x62, 0x00,
+0x36, 0x00, 0x0a, 0x00, 0xda, 0xff, 0xa4, 0xff, 0x6e, 0xff, 0x40, 0xff, 0x40, 0xff, 0x48, 0xff,
+0x66, 0xff, 0xb0, 0xff, 0xde, 0xff, 0x16, 0x00, 0x50, 0x00, 0x8a, 0x00, 0xac, 0x00, 0xac, 0x00,
+0xa0, 0x00, 0x74, 0x00, 0x3e, 0x00, 0x0a, 0x00, 0xcc, 0xff, 0x90, 0xff, 0x4e, 0xff, 0x3a, 0xff,
+0x30, 0xff, 0x3a, 0xff, 0x76, 0xff, 0xb8, 0xff, 0xf4, 0xff, 0x26, 0x00, 0x70, 0x00, 0xa4, 0x00,
+0xb8, 0x00, 0xc0, 0x00, 0xa4, 0x00, 0x74, 0x00, 0x2e, 0x00, 0xf4, 0xff, 0xb8, 0xff, 0x74, 0xff,
+0x3c, 0xff, 0x20, 0xff, 0x26, 0xff, 0x44, 0xff, 0x6c, 0xff, 0xc4, 0xff, 0x00, 0x00, 0x3c, 0x00,
+0x7c, 0x00, 0xaa, 0x00, 0xc8, 0x00, 0xba, 0x00, 0xa4, 0x00, 0x6e, 0x00, 0x1a, 0x00, 0xee, 0xff,
+0xa8, 0xff, 0x64, 0xff, 0x3c, 0xff, 0x26, 0xff, 0x2c, 0xff, 0x50, 0xff, 0x94, 0xff, 0xd2, 0xff,
+0x0e, 0x00, 0x4e, 0x00, 0x7e, 0x00, 0xa6, 0x00, 0xc2, 0x00, 0xb2, 0x00, 0x90, 0x00, 0x5a, 0x00,
+0x12, 0x00, 0xd0, 0xff, 0x9c, 0xff, 0x60, 0xff, 0x32, 0xff, 0x2c, 0xff, 0x36, 0xff, 0x5e, 0xff,
+0x9a, 0xff, 0xd6, 0xff, 0x10, 0x00, 0x3c, 0x00, 0x72, 0x00, 0x8e, 0x00, 0x96, 0x00, 0x8e, 0x00,
+0x64, 0x00, 0x36, 0x00, 0x00, 0x00, 0xc0, 0xff, 0x8a, 0xff, 0x6a, 0xff, 0x52, 0xff, 0x42, 0xff,
+0x5e, 0xff, 0x7e, 0xff, 0xb4, 0xff, 0xec, 0xff, 0x16, 0x00, 0x44, 0x00, 0x5e, 0x00, 0x78, 0x00,
+0x78, 0x00, 0x5e, 0x00, 0x4a, 0x00, 0x10, 0x00, 0xf4, 0xff, 0xc2, 0xff, 0x8e, 0xff, 0x84, 0xff,
+0x66, 0xff, 0x72, 0xff, 0x84, 0xff, 0x98, 0xff, 0xd2, 0xff, 0xf4, 0xff, 0x1c, 0x00, 0x38, 0x00,
+0x42, 0x00, 0x50, 0x00, 0x4a, 0x00, 0x46, 0x00, 0x26, 0x00, 0x04, 0x00, 0xee, 0xff, 0xc0, 0xff,
+0xa0, 0xff, 0xa2, 0xff, 0x9c, 0xff, 0x9c, 0xff, 0xae, 0xff, 0xc2, 0xff, 0xe2, 0xff, 0x02, 0x00,
+0x14, 0x00, 0x1c, 0x00, 0x1c, 0x00, 0x28, 0x00, 0x2e, 0x00, 0x22, 0x00, 0x16, 0x00, 0x00, 0x00,
+0xec, 0xff, 0xde, 0xff, 0xd0, 0xff, 0xd8, 0xff, 0xda, 0xff, 0xd6, 0xff, 0xda, 0xff, 0xe6, 0xff,
+0xf2, 0xff, 0xfe, 0xff, 0xfe, 0xff, 0x02, 0x00, 0x02, 0x00, 0x0e, 0x00, 0x18, 0x00, 0x0c, 0x00,
+0xfc, 0xff, 0xfa, 0xff, 0xf2, 0xff, 0xf2, 0xff, 0xee, 0xff, 0xf0, 0xff, 0xf6, 0xff, 0xe4, 0xff,
+0xe4, 0xff, 0xee, 0xff, 0xee, 0xff, 0xec, 0xff, 0xe6, 0xff, 0xf0, 0xff, 0xf2, 0xff};
+
+#endif
diff --git a/mbtk/test/liblynq_lib_t106/lynq_wifi_test.c b/mbtk/test/liblynq_lib_t106/lynq_wifi_test.c
deleted file mode 100755
index b8f5189..0000000
--- a/mbtk/test/liblynq_lib_t106/lynq_wifi_test.c
+++ /dev/null
@@ -1,505 +0,0 @@
-#include "sta_cli.h"
-#include "lynq_wifi.h"
-
-#include <stdio.h>
-#include <stdlib.h>
-
-
-#define MAX_LEN 15
-#define MAX_VALUE_LEN 512
-
-#define ENABLE "enable"
-#define DISABLE "disable"
-#define MODE_SET "mode_set"
-#define MODE_GET "mode_get"
-#define AP_GET_STATUS "ap_get_status"
-#define AP_ACL_SET "ap_acl_set"
-#define AP_ACL_GET "ap_acl_get"
-#define AP_SSID_SET "ap_ssid_set"
-#define AP_SSID_GET "ap_ssid_get"
-#define AP_SSID_HIDE_SET "ap_ssid_hide_set"
-#define AP_SSID_HIDE_GET "ap_ssid_hide_get"
-#define AP_MODE_SET "ap_mode_set"
-#define AP_MODE_GET "ap_mode_get"
-#define AP_BAND_SET "ap_band_set"
-#define AP_BAND_GET "ap_band_get"
-#define AP_CHANNEL_SET "ap_channel_set"
-#define AP_CHANNEL_GET "ap_channel_get"
-#define AP_AUTH_SET "ap_auth_set"
-#define AP_AUTH_GET "ap_auth_get"
-#define AP_auth_GET_S "ap_auth_get_s"
-#define AP_MAX_STA_SET "ap_max_sta_set"
-#define AP_MAX_STA_GET "ap_max_sta_get"
-#define AP_LIST_GET "list_get"
-#define AP_PKT_GET "ap_pkt_get"
-#define AP_START "ap_start"
-#define AP_STOP "ap_stop"
-#define AP_RESTART "ap_restart"
-#define AP_REG_HANDLE "reg_handle"
-#define STA_PARAM_SET "sta_param_set"
-#define STA_PARAM_GET "sta_param_get"
-#define STA_START "sta_start"
-#define STA_STOP "sta_stop"
-#define STA_STATUS_GET "sta_status_get"
-#define STA_PKT_GET "sta_pkt_get"
-#define STA_SCAN "sta_scan"
-
-void lynq_wifi_event_handle_sta_demo(lynq_wifi_sta_scan_list_t *event)
-{
- int i = 0;
- for (i = 0; i < event->cnt; i++)
- {
- printf("[lynq-wifi-demo] %s : ap[%d]:%s,%d,%d,%d,%s,%d,%d,%d\n", __func__, i,
- event->info[i].essid, event->info[i].auth,
- event->info[i].cipher, event->info[i].channel, event->info[i].bssid,
- event->info[i].signal_level,event->info[i].frequency,event->info[i].signal);
- }
-}
-
-
-static void help()
-{
- printf("please read the define \n");
-
-}
-
-int main(int argc, char *argv[])
-{
- int test_int = 0;
- char value[MAX_VALUE_LEN] = {0};
- lynq_wifi_ap_auth_t auth_mode = {0};
- lynq_lanhost_ts lanhost = {0};
- lynq_wifi_pkt_stats_t pkt_stat = {0};
- lynq_wifi_sta_param_t sta_param = {0};
- lynq_wifi_sta_status_t sta_status = {0};
-
- printf(">>>>>>>>>>>>>>>>>>>>>>>>Enter cmd:\n");
- char cmd[MAX_VALUE_LEN];
- while(1)
- {
- memset(cmd, 0, MAX_VALUE_LEN);
- test_int = 0;
- memset(value, 0, MAX_VALUE_LEN);
- memset(&auth_mode, 0, sizeof(lynq_wifi_ap_auth_t));
- memset(&lanhost, 0, sizeof(lynq_lanhost_ts));
- memset(&pkt_stat, 0, sizeof(lynq_wifi_pkt_stats_t));
- memset(&sta_param, 0, sizeof(lynq_wifi_sta_param_t));
- memset(&sta_status, 0, sizeof(lynq_wifi_sta_status_t));
- if(fgets(cmd, MAX_VALUE_LEN, stdin))
- {
- char *ptr = cmd + strlen(cmd) - 1;
- while(ptr >= cmd && (*ptr == '\r' || *ptr == '\n'))
- {
- *ptr-- = '\0';
- }
-
- if(!strncasecmp(cmd, ENABLE, strlen(ENABLE)))
- {
- if(LYNQ_ERR_SUCCESS != qser_wifi_enable())
- {
- printf("LYNQ_ERR_FAIL\n");
- }
- else
- {
- printf("LYNQ_ERR_SUCCESS\n");
- }
- }
- else if(!strncasecmp(cmd, DISABLE, strlen(DISABLE)))
- {
- if(LYNQ_ERR_SUCCESS != qser_wifi_disable())
- {
- printf("LYNQ_ERR_FAIL\n");
- }
- else
- {
- printf("LYNQ_ERR_SUCCESS\n");
- }
- }
- else if(!strncasecmp(cmd, MODE_SET, strlen(MODE_SET)))
- {
- if(LYNQ_ERR_SUCCESS != qser_wifi_work_mode_set(LYNQ_WIFI_WORK_MODE_AP0))
- {
- printf("LYNQ_ERR_FAIL\n");
- }
- else
- {
- printf("LYNQ_ERR_SUCCESS\n");
- }
- }
- else if(!strncasecmp(cmd, MODE_GET, strlen(MODE_GET)))
- {
- if(LYNQ_ERR_SUCCESS != qser_wifi_work_mode_get(&test_int))
- {
- printf("LYNQ_ERR_FAIL\n");
- }
- else
- {
- printf("mode:%d\n",test_int);
- printf("LYNQ_ERR_SUCCESS\n");
- }
- }
- else if(!strncasecmp(cmd, AP_ACL_SET, strlen(AP_ACL_SET)))
- {
- if(LYNQ_ERR_SUCCESS != qser_wifi_ap_acl_set(LYNQ_WIFI_AP_INDEX_AP1,
- LYNQ_WIFI_MAC_ACL_RULE_WHITE_LIST, "AA:BB:CC:DD:EE:01;AA:BB:CC:01:EE:00;AA:BB:01:DD:EE:00"))
- {
- printf("LYNQ_ERR_FAIL\n");
- }
- else
- {
- printf("LYNQ_ERR_SUCCESS\n");
- }
- }
- else if(!strncasecmp(cmd, AP_ACL_GET, strlen(AP_ACL_GET)))
- {
- if(LYNQ_ERR_SUCCESS != qser_wifi_ap_acl_get(LYNQ_WIFI_AP_INDEX_AP1, &test_int, value))
- {
- printf("LYNQ_ERR_FAIL\n");
- }
- else
- {
- printf("value:%s\n",value);
- printf("mode:%d\n",test_int);
- printf("LYNQ_ERR_SUCCESS\n");
- }
- }
- else if(!strncasecmp(cmd, AP_SSID_SET, strlen(AP_SSID_SET)))
- {
- if(LYNQ_ERR_SUCCESS != qser_wifi_ap_ssid_set(LYNQ_WIFI_AP_INDEX_AP1, "testssid"))
- {
- printf("LYNQ_ERR_FAIL\n");
- }
- else
- {
- printf("LYNQ_ERR_SUCCESS\n");
- }
- }
- else if(!strncasecmp(cmd, AP_SSID_GET, strlen(AP_SSID_GET)))
- {
- if(LYNQ_ERR_SUCCESS != qser_wifi_ap_ssid_get(LYNQ_WIFI_AP_INDEX_AP1, value))
- {
- printf("LYNQ_ERR_FAIL\n");
- }
- else
- {
- printf("value:%s\n",value);
- printf("LYNQ_ERR_SUCCESS\n");
- }
- }
- else if(!strncasecmp(cmd, AP_SSID_HIDE_SET, strlen(AP_SSID_HIDE_SET)))
- {
- if(LYNQ_ERR_SUCCESS != qser_wifi_ap_ssid_hide_set(LYNQ_WIFI_AP_INDEX_AP1, 1))
- {
- printf("LYNQ_ERR_FAIL\n");
- }
- else
- {
- printf("LYNQ_ERR_SUCCESS\n");
- }
- }
- else if(!strncasecmp(cmd, AP_SSID_HIDE_GET, strlen(AP_SSID_HIDE_GET)))
- {
- if(LYNQ_ERR_SUCCESS != qser_wifi_ap_ssid_hide_get(LYNQ_WIFI_AP_INDEX_AP1, &test_int))
- {
- printf("LYNQ_ERR_FAIL\n");
- }
- else
- {
-
- printf("value:%d\n", test_int);
- printf("LYNQ_ERR_SUCCESS\n");
- }
- }
- else if(!strncasecmp(cmd, AP_MODE_SET, strlen(AP_MODE_SET)))
- {
- if(LYNQ_ERR_SUCCESS != qser_wifi_ap_mode_set(LYNQ_WIFI_AP_INDEX_AP1, 1))
- {
- printf("LYNQ_ERR_FAIL\n");
- }
- else
- {
- printf("LYNQ_ERR_SUCCESS\n");
- }
- }
- else if(!strncasecmp(cmd, AP_MODE_GET, strlen(AP_MODE_GET)))
- {
- if(LYNQ_ERR_SUCCESS != qser_wifi_ap_mode_get(LYNQ_WIFI_AP_INDEX_AP1, &test_int))
- {
- printf("LYNQ_ERR_FAIL\n");
- }
- else
- {
- printf("value:%d\n", test_int);
- printf("LYNQ_ERR_SUCCESS\n");
- }
- }
- else if(!strncasecmp(cmd, AP_BAND_SET, strlen(AP_BAND_SET)))
- {
- if(LYNQ_ERR_SUCCESS != qser_wifi_ap_bandwidth_set(LYNQ_WIFI_AP_INDEX_AP1, 2))
- {
- printf("LYNQ_ERR_FAIL\n");
- }
- else
- {
- printf("LYNQ_ERR_SUCCESS\n");
- }
- }
- else if(!strncasecmp(cmd, AP_BAND_GET, strlen(AP_BAND_GET)))
- {
- if(LYNQ_ERR_SUCCESS != qser_wifi_ap_bandwidth_get(LYNQ_WIFI_AP_INDEX_AP1, &test_int))
- {
- printf("LYNQ_ERR_FAIL\n");
- }
- else
- {
- printf("value:%d\n", test_int);
- printf("LYNQ_ERR_SUCCESS\n");
- }
- }
- else if(!strncasecmp(cmd, AP_CHANNEL_SET, strlen(AP_CHANNEL_SET)))
- {
- if(LYNQ_ERR_SUCCESS != qser_wifi_ap_channel_set(LYNQ_WIFI_AP_INDEX_AP1, "CN", 35))
- {
- printf("LYNQ_ERR_FAIL\n");
- }
- else
- {
- printf("LYNQ_ERR_SUCCESS\n");
- }
- }
- else if(!strncasecmp(cmd, AP_CHANNEL_GET, strlen(AP_CHANNEL_GET)))
- {
- if(LYNQ_ERR_SUCCESS != qser_wifi_ap_channel_get(LYNQ_WIFI_AP_INDEX_AP1, value, &test_int))
- {
- printf("LYNQ_ERR_FAIL\n");
- }
- else
- {
- printf("country:%s, channel:%d\n", value, test_int);
- printf("LYNQ_ERR_SUCCESS\n");
- }
- }
- else if(!strncasecmp(cmd, AP_AUTH_SET, strlen(AP_AUTH_SET)))
- {
- if(LYNQ_ERR_SUCCESS != qser_wifi_ap_auth_set(LYNQ_WIFI_AP_INDEX_AP1, 1, "123456"))
- {
- printf("LYNQ_ERR_FAIL\n");
- }
- else
- {
- printf("LYNQ_ERR_SUCCESS\n");
- }
- }
- else if(!strncasecmp(cmd, AP_AUTH_GET, strlen(AP_AUTH_GET)))
- {
- if(LYNQ_ERR_SUCCESS != qser_wifi_ap_auth_get(LYNQ_WIFI_AP_INDEX_AP1, &test_int, value))
- {
- printf("LYNQ_ERR_FAIL\n");
- }
- else
- {
- printf("value:%s\n", value);
- printf("LYNQ_ERR_SUCCESS\n");
- }
- }
- else if(!strncasecmp(cmd, AP_auth_GET_S, strlen(AP_auth_GET_S)))
- {
- if(LYNQ_ERR_SUCCESS != qser_wifi_ap_auth_get_s(LYNQ_WIFI_AP_INDEX_AP1, &auth_mode))
- {
- printf("LYNQ_ERR_FAIL\n");
- }
- else
- {
- printf("auth_mode:%s\n", auth_mode.passwd);
- printf("LYNQ_ERR_SUCCESS\n");
- }
- }
- else if(!strncasecmp(cmd, AP_MAX_STA_SET, strlen(AP_MAX_STA_SET)))
- {
- if(LYNQ_ERR_SUCCESS != qser_wifi_ap_max_sta_set(LYNQ_WIFI_AP_INDEX_AP1, 8))
- {
- printf("LYNQ_ERR_FAIL\n");
- }
- else
- {
- printf("LYNQ_ERR_SUCCESS\n");
- }
- }
- else if(!strncasecmp(cmd, AP_MAX_STA_GET, strlen(AP_MAX_STA_GET)))
- {
- if(LYNQ_ERR_SUCCESS != qser_wifi_ap_max_sta_get(LYNQ_WIFI_AP_INDEX_AP1, &test_int))
- {
- printf("LYNQ_ERR_FAIL\n");
- }
- else
- {
- printf("max_sta:%d\n",test_int);
- printf("LYNQ_ERR_SUCCESS\n");
- }
- }
- else if(!strncasecmp(cmd, AP_LIST_GET, strlen(AP_LIST_GET)))
- {
- if(LYNQ_ERR_SUCCESS != qser_wifi_lanhost_get_list(&lanhost))
- {
- printf("LYNQ_ERR_FAIL\n");
- }
- else
- {
- printf("LYNQ_ERR_SUCCESS\n");
- }
- }
- else if(!strncasecmp(cmd, AP_PKT_GET, strlen(AP_PKT_GET)))
- {
- if(LYNQ_ERR_SUCCESS != qser_wifi_get_ap_pkt_stats(LYNQ_WIFI_AP_INDEX_AP1, &pkt_stat))
- {
- printf("LYNQ_ERR_FAIL\n");
- }
- else
- {
- printf("LYNQ_ERR_SUCCESS\n");
- }
- }
- else if(!strncasecmp(cmd, AP_START, strlen(AP_START)))
- {
- if(LYNQ_ERR_SUCCESS != qser_wifi_ap_start(LYNQ_WIFI_AP_INDEX_AP1))
- {
- printf("LYNQ_ERR_FAIL\n");
- }
- else
- {
- printf("LYNQ_ERR_SUCCESS\n");
- }
- }
- else if(!strncasecmp(cmd, AP_STOP, strlen(AP_STOP)))
- {
- if(LYNQ_ERR_SUCCESS != qser_wifi_ap_stop(LYNQ_WIFI_AP_INDEX_AP1))
- {
- printf("LYNQ_ERR_FAIL\n");
- }
- else
- {
- printf("LYNQ_ERR_SUCCESS\n");
- }
- }
- else if(!strncasecmp(cmd, AP_RESTART, strlen(AP_RESTART)))
- {
- if(LYNQ_ERR_SUCCESS != qser_wifi_ap_restart(LYNQ_WIFI_AP_INDEX_AP1))
- {
- printf("LYNQ_ERR_FAIL\n");
- }
- else
- {
- printf("LYNQ_ERR_SUCCESS\n");
- }
- }
- else if(!strncasecmp(cmd, AP_REG_HANDLE, strlen(AP_REG_HANDLE)))
- {
- if(LYNQ_ERR_SUCCESS != qser_wifi_register_handle(NULL, lynq_wifi_event_handle_sta_demo, NULL))
- {
- printf("LYNQ_ERR_FAIL\n");
- }
- else
- {
- printf("LYNQ_ERR_SUCCESS\n");
- }
- }
- else if(!strncasecmp(cmd, STA_PARAM_SET, strlen(STA_PARAM_SET)))
- {
- strcpy(sta_param.ssid, "test");
- strcpy(sta_param.passwd, "123456");
- if(LYNQ_ERR_SUCCESS != qser_wifi_sta_param_set(&sta_param))
- {
- printf("LYNQ_ERR_FAIL\n");
- }
- else
- {
- printf("LYNQ_ERR_SUCCESS\n");
- }
- }
- else if(!strncasecmp(cmd, STA_PARAM_GET, strlen(STA_PARAM_GET)))
- {
- if(LYNQ_ERR_SUCCESS != qser_wifi_sta_param_get(&sta_param))
- {
- printf("LYNQ_ERR_FAIL\n");
- }
- else
- {
- printf("ssid:%s, passwd:%s\n", sta_param.ssid, sta_param.passwd);
- printf("LYNQ_ERR_SUCCESS\n");
- }
- }
- else if(!strncasecmp(cmd, STA_START, strlen(STA_START)))
- {
- if(LYNQ_ERR_SUCCESS != qser_wifi_sta_start())
- {
- printf("LYNQ_ERR_FAIL\n");
- }
- else
- {
- printf("LYNQ_ERR_SUCCESS\n");
- }
- }
- else if(!strncasecmp(cmd, STA_STOP, strlen(STA_STOP)))
- {
- if(LYNQ_ERR_SUCCESS != qser_wifi_sta_stop())
- {
- printf("LYNQ_ERR_FAIL\n");
- }
- else
- {
- printf("LYNQ_ERR_SUCCESS\n");
- }
- }
- else if(!strncasecmp(cmd, STA_STATUS_GET, strlen(STA_STATUS_GET)))
- {
- if(LYNQ_ERR_SUCCESS != qser_wifi_sta_get_status(&sta_status))
- {
- printf("LYNQ_ERR_FAIL\n");
- }
- else
- {
- printf("LYNQ_ERR_SUCCESS\n");
- }
- }
- else if(!strncasecmp(cmd, STA_PKT_GET, strlen(STA_PKT_GET)))
- {
- if(LYNQ_ERR_SUCCESS != qser_wifi_get_sta_pkt_stats(&pkt_stat))
- {
- printf("LYNQ_ERR_FAIL\n");
- }
- else
- {
- printf("LYNQ_ERR_SUCCESS\n");
- }
- }
- else if(!strncasecmp(cmd, STA_SCAN, strlen(STA_SCAN)))
- {
- if(LYNQ_ERR_SUCCESS != qser_wifi_sta_start_scan())
- {
- printf("LYNQ_ERR_FAIL\n");
- }
- else
- {
- printf("LYNQ_ERR_SUCCESS\n");
- }
- }
-
- else if(!strcasecmp(cmd, "h") || !strcasecmp(cmd, "help"))
- {
- help();
- }
- else if(!strcasecmp(cmd, "q"))
- {
- break;
- }
- else
- {
- printf("unknown command\n");
- }
- }
- }
-
-
- return 0;
-}
-
diff --git a/mbtk/test/libql_lib_v2/Makefile b/mbtk/test/libql_lib_v2/Makefile.backup
similarity index 100%
rename from mbtk/test/libql_lib_v2/Makefile
rename to mbtk/test/libql_lib_v2/Makefile.backup