From 9898a2eaf739b9f62ff6d9d3c87575e1a4d1995e Mon Sep 17 00:00:00 2001 From: "Yang, Xiao" Date: Thu, 30 Nov 2017 11:37:45 +0800 Subject: [PATCH] [doc] relocate config.mdm9206.sim7000c to doc/ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * IoT SDK v2.0.2 在simcom7000C平台使用如下命令序列压力测试: mqtt a {ProductKey} {DeviceName} {DeviceSecret} mqtt c 60000 0 2000 mqtt s data mqtt t 172800 3000 data hello > code case 't': { int loop = 0; int rc=0; iotx_mqtt_topic_info_t topic_msg; char topic_data[100]={0}; if (NULL == pclient) { QCLI_Printf(qcli_iotkit_handle, "need constructed first\n"); break; } if (Parameter_Count != 5) return QCLI_STATUS_USAGE_E; QCLI_Printf(qcli_iotkit_handle, "####IOT_MQTT_Yield times:%d,timeout:%d,topicName:%s,payload:%s\n", Parameter_List[1].Integer_Value, Parameter_List[2].Integer_Value, Parameter_List[3].String_Value, Parameter_List[4].String_Value); memset(&topic_msg, 0x0, sizeof(iotx_mqtt_topic_info_t)); topic_msg.qos = IOTX_MQTT_QOS1; topic_msg.retain = 0; topic_msg.dup = 0; topic_msg.payload = (void *)Parameter_List[4].String_Value; topic_msg.payload_len = strlen(topic_msg.payload); sprintf(topic_data, "/%s/%s/%s", product_key, device_name, Parameter_List[3].String_Value); for (loop = 0; loop < Parameter_List[1].Integer_Value; ++loop) { rc = IOT_MQTT_Publish(pclient, topic_data, &topic_msg); QCLI_Printf(qcli_iotkit_handle, "IOT_MQTT_Publish rc:%d\n",rc); rc = IOT_MQTT_Yield(pclient,Parameter_List[2].Integer_Value); QCLI_Printf(qcli_iotkit_handle, "IOT_MQTT_Yield rc:%d\n",rc); } } break; 运行约9小时卡死,期间有34次掉线尝试重连,其中12次重连成功 * 初步分析: - 进行高频压测IOT_MQTT_Yield,发现程序阻塞在HAL_SSL_Write - socket丢失链路,HAL_SSL_Write无法及时发现链路断开 * 结论: V2.02版本, 暂不发布SIM7000C版本, 移入doc/目录仅作参考 Signed-off-by: Yang, Xiao --- {src/configs => doc}/config.mdm9206.sim7000c | 0 doc/website.documents/SDK_Download.md | 2 -- 2 files changed, 2 deletions(-) rename {src/configs => doc}/config.mdm9206.sim7000c (100%) diff --git a/src/configs/config.mdm9206.sim7000c b/doc/config.mdm9206.sim7000c similarity index 100% rename from src/configs/config.mdm9206.sim7000c rename to doc/config.mdm9206.sim7000c diff --git a/doc/website.documents/SDK_Download.md b/doc/website.documents/SDK_Download.md index c749445ce..8742bce35 100644 --- a/doc/website.documents/SDK_Download.md +++ b/doc/website.documents/SDK_Download.md @@ -19,7 +19,6 @@ | 开发板 | 网络支持 | 厂商SDK链接 | 开发板购买链接 | 阿里云SDK版本 | |-------------------|-------------------|-------------------|-------------------|-------------------| -| SIM7000C | GPRS/EDGE, NBIoT, LTE CAT-M1(eMTC) | [SIM7000C_DAM_Demo](https://github.com/SIMComHub/sim7000c_DAM_demo) | [芯讯通无线科技](https://market.aliyun.com/store/2962046-0.html) | V2.02 | | ESP32 | Wi-Fi | [esp32-aliyun](https://github.com/espressif/esp32-aliyun) | [乐鑫信息科技](https://espressif.taobao.com/) | V2.01 | | ESP8266 | Wi-Fi | [esp8266-aliyun](https://github.com/espressif/esp8266-aliyun) | [乐鑫信息科技](https://espressif.taobao.com/) | V2.01 | @@ -33,7 +32,6 @@ - 下载链接: [RELEASED_V2_02_20171130.zip](https://github.com/aliyun/iotkit-embedded/archive/RELEASED_V2_02_20171130.zip) - 更新内容: - **正式的多平台支持:** 使用`make reconfig`可弹出和选择`Ubuntu16.04`以外的已适配平台 - - **新增SIM7000C版本:** 支持用armcc工具链编译`SIM7000C`开发板版本的库和例程, 用于NBIoT通信 - **新增Windows版本:** 支持用mingw32工具链编译`Win7`版本的库和例程 - **新增OpenSSL适配:** 新增了配合`openssl-0.9.x`+`Windows`版本的HAL参考实现 - **优化HTTP接口:** HTTP通道方面接口优化, 支持发送报文而不断开TLS连接