Skip to content

Commit 9898a2e

Browse files
author
Yang, Xiao
committed
[doc] relocate config.mdm9206.sim7000c to doc/
* 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 <yusheng.yx@alibaba-inc.com>
1 parent cbb798d commit 9898a2e

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed
File renamed without changes.

doc/website.documents/SDK_Download.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919

2020
| 开发板 | 网络支持 | 厂商SDK链接 | 开发板购买链接 | 阿里云SDK版本 |
2121
|-------------------|-------------------|-------------------|-------------------|-------------------|
22-
| 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 |
2322
| ESP32 | Wi-Fi | [esp32-aliyun](https://github.com/espressif/esp32-aliyun) | [乐鑫信息科技](https://espressif.taobao.com/) | V2.01 |
2423
| ESP8266 | Wi-Fi | [esp8266-aliyun](https://github.com/espressif/esp8266-aliyun) | [乐鑫信息科技](https://espressif.taobao.com/) | V2.01 |
2524

@@ -33,7 +32,6 @@
3332
- 下载链接: [RELEASED_V2_02_20171130.zip](https://github.com/aliyun/iotkit-embedded/archive/RELEASED_V2_02_20171130.zip)
3433
- 更新内容:
3534
- **正式的多平台支持:** 使用`make reconfig`可弹出和选择`Ubuntu16.04`以外的已适配平台
36-
- **新增SIM7000C版本:** 支持用armcc工具链编译`SIM7000C`开发板版本的库和例程, 用于NBIoT通信
3735
- **新增Windows版本:** 支持用mingw32工具链编译`Win7`版本的库和例程
3836
- **新增OpenSSL适配:** 新增了配合`openssl-0.9.x`+`Windows`版本的HAL参考实现
3937
- **优化HTTP接口:** HTTP通道方面接口优化, 支持发送报文而不断开TLS连接

0 commit comments

Comments
 (0)