T108 sim Voie data network sms 支持双卡 ql 接口第一版
Change-Id: If5a9fb81971258bb5a3d811f3e4562b2df351853
diff --git a/mbtk/include/ql_v2/ql_data_call.h b/mbtk/include/ql_v2/ql_data_call.h
index 978516b..e8eba55 100755
--- a/mbtk/include/ql_v2/ql_data_call.h
+++ b/mbtk/include/ql_v2/ql_data_call.h
@@ -33,6 +33,13 @@
typedef void ql_data_call_param_t;
+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 struct
{
int call_id;
@@ -520,6 +527,21 @@
/*-----------------------------------------------------------------------------------------------*/
int ql_data_call_deinit(void);
+
+/*-----------------------------------------------------------------------------------------------*/
+/**
+ @brief chose sim card to data call
+ @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_data_slot(QL_SIM_SLOT_E log_slot);
+
#ifdef __cplusplus
}
#endif