-
Notifications
You must be signed in to change notification settings - Fork 75
SDK使用
shockcao edited this page Nov 29, 2017
·
14 revisions
对设备端SDK的使用分为如下几步:
- 修改编译配置进行编译, 详见设备端SDK的编译页面
- 获取编译好的SDK, 如成功存放在
output/release/lib/*.a - 将
libiot_sdk.a libiot_platform.a等配合output/release/include/目录下的头文件, 加入您自己的工程使用
output/release/
+-- bin
+-- include
| +-- exports
| | +-- qcloud_iot_export_err.h
| | +-- qcloud_iot_export_log.h
| | +-- qcloud_iot_export_mqtt.h
| | +-- qcloud_iot_export_shadow.h
| +-- qcloud_iot_export.h
| +-- qcloud_iot_import.h
+-- lib
| +-- libiot_sdk.a
| +-- libiot_platform.a
| +-- libmbedcrypto.a
| +-- libmbedtls.a
| +-- libmbedx509.a
+-- src
+-- makefile
+-- mqtt-example.c
概要说明如下:
| 配置选项 | 含义 |
Maintainer: Cao Shao Kun shockcao@tencent.com