File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 4040` git clone https://github.com/tencentyun/qcloud-iot-sdk-embedded-c.git `
4141
4242#### 2. 填入设备信息
43- 编辑 samples/mqtt/mqtt_example.c 文件和 samples/coap/coap_sample.c 文件中如下代码段, 填入之前创建产品和设备步骤中得到的 ** 产品ID** ,** 设备名称** ,填写 ** CERT_FILENAME** 和 ** KEY_FILENAME** 并将文件放置在根目录下 certs 目录中:
44- ![ ] (http://qzonestyle.gtimg.cn/qzone/vas/opensns/res/doc/mqttsampleconfig.png
43+ 编辑 samples/mqtt/mqtt_example.c 文件和 samples/coap/coap_sample.c 文件中如下代码段, 填入之前创建产品和设备步骤中得到的 ** 产品ID** ,** 设备名称** ,
44+
45+ 1 . 若使用** 非对称** 加密方式,填写 ** QCLOUD_IOT_CERT_FILENAME** 和 ** QCLOUD_IOT_CERT_FILENAME** 并将文件放置在根目录下 certs 目录中,
46+ 2 . 若使用** 对称** 加密方式,填写 ** QCLOUD_IOT_PSK**
47+
48+ ![ ] (https://mc.qcloudimg.com/static/img/8bacb4e2ac9e0b149b7fade396c682c8/mqttsampleconfig.png
4549)
4650
4751#### 3. 编译 SDK 产生示例程序
You can’t perform that action at this time.
0 commit comments