上库LYNQ_SLEEP接口以及添加对应测试demo(LPM接口暂时未完成等驱动配合),优化LYNQ_NW模块支持配置飞行模式,配置OOS

Change-Id: Id6e9d9e05d8392348cf567a22c253c3a4e319af5
diff --git a/mbtk/mbtk_lib/src/mbtk_info_api.c b/mbtk/mbtk_lib/src/mbtk_info_api.c
index 1c54ecb..cae9d27 100755
--- a/mbtk/mbtk_lib/src/mbtk_info_api.c
+++ b/mbtk/mbtk_lib/src/mbtk_info_api.c
@@ -2143,17 +2143,15 @@
 /*
 * oos set .
 */
-int mbtk_oos_set(mbtk_info_handle_t* handle, char *oos_info)
+int mbtk_oos_set(mbtk_info_handle_t* handle, mbtk_oos_info *oos_info)
 {
     if(handle == NULL)
     {
         LOGE("ARG error.");
         return -1;
     }
-    if(str_empty(oos_info))
-        return -1;
 
-    return info_item_process(handle, MBTK_INFO_ID_OOS_STA_REQ, oos_info, strlen(oos_info), NULL) ? handle->info_err : 0;
+    return info_item_process(handle, MBTK_INFO_ID_OOS_STA_REQ, oos_info, sizeof(mbtk_oos_info), NULL) ? handle->info_err : 0;
 }