/*================================================================ Copyright (c) 2020 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 ------------ ------- -------------------------------------- =================================================================*/ #include #include #include #include "ql_api_osi.h" #include "ql_api_qthsdk.h" #include "ql_log.h" #define QIOT_MQTT_REGISTER_URL "iot-south.quectel.com:2883" #define QIOT_MQTT_PRODUCT_KEY "p1115X" #define QIOT_MQTT_PRODUCT_SECRET "d2c5Q1FsVWpwT1k3" #define QIOT_MCU_COMPONENT_NO "MCU" #define QIOT_MCU_VERSION "1" #define QL_QTHSDK_LOG_LEVEL QL_LOG_LEVEL_INFO #define QL_QTHSDK_LOG(msg, ...) QL_LOG(QL_QTHSDK_LOG_LEVEL, "ql_QTHSDK", msg, ##__VA_ARGS__) ql_task_t qthsdk_app_task = NULL; /************************************************************************** ** 功能 @brief : 物模型数据遍历 ** 输入 @param : ** 输出 @retval: ***************************************************************************/ void Ql_iotTtlvHandle(const void *ttlvHead) { quint32_t count = Ql_iotTtlvCountGet(ttlvHead); quint32_t i; for(i=0;i