T108 sim Voie data network sms 支持双卡 ql 接口第一版
Change-Id: If5a9fb81971258bb5a3d811f3e4562b2df351853
diff --git a/mbtk/include/ql_v2/ql_nw.h b/mbtk/include/ql_v2/ql_nw.h
index d0504e0..7b6590a 100755
--- a/mbtk/include/ql_v2/ql_nw.h
+++ b/mbtk/include/ql_v2/ql_nw.h
@@ -62,6 +62,13 @@
#define QL_NW_MAX_WEA_ALERT_LENGTH_V01 512
#define QL_NW_MAX_ETWS_ALERT_LENGTH_V01 256
+typedef enum
+{
+ QL_SIM_SLOT_INVALID = 0x000, /**< Invalid slot. */
+ QL_SIM_SLOT_1 = 0xB01, /**< Identify card in slot 1. */
+ QL_SIM_SLOT_2 = 0xB02, /**< Identify card in slot 2. */
+} QL_SIM_SLOT_E;
+
typedef enum QL_NW_SIGNAL_STRENGTH_LEVEL_ENUM
{
QL_NW_SIGNAL_STRENGTH_LEVEL_MIN = -1,
@@ -878,6 +885,20 @@
/*-----------------------------------------------------------------------------------------------*/
int ql_nw_set_service_error_cb(ql_nw_service_error_cb_f cb);
+/*-----------------------------------------------------------------------------------------------*/
+/**
+ @brief chose sim card to nw
+ @param[in] sub Subscription type.
+ @return Whether the subscription was successfully bound.
+ @retval QL_ERR_OK successful.
+ @retval QL_ERR_INVALID_ARG invalid argument.
+ @retval QL_ERR_UNKNOWN unknown error, failed to connect to service.
+ @retval QL_ERR_SERVICE_NOT_READY service is not ready, need to retry.
+ @retval Other error code defined by ql_type.h.
+ */
+/*-----------------------------------------------------------------------------------------------*/
+int ql_set_nw_slot(QL_SIM_SLOT_E log_slot);
+
#ifdef __cplusplus
}
#endif