配置说明:
- IoT模组端开发
- SDK运行于Linux平台
- 无AliOS Things的SDK
# SDK下载及介绍
https://help.aliyun.com/document_detail/135278.html?spm=a2c4g.11186623.6.645.b04b7e70qmGKql
# 关键参数
- PK: ProductKey, 设备品类标识字符串
- PS: ProductSecret, 设备品类密钥
- DN:DeviceName, 某台设备的标识字符串
- DS: DeviceSecret, 某台设备的设备密钥
详细介绍:https://help.aliyun.com/document_detail/96627.html?spm=a2c4g.11186623.6.606.5c0770dfcOzuUM
参数来源:https://help.aliyun.com/document_detail/115433.html?spm=a2c4g.11186623.6.548.5c0770df3Mcz3T
# 配网功能
WiFi配网概述:https://help.aliyun.com/document_detail/97570.html?spm=a2c4g.11186623.6.623.5c0770df4gHKr7
设备热点配网:https://help.aliyun.com/document_detail/111048.html?spm=a2c4g.11186623.6.598.284c8d7fMGnCla
一键配网问题排查:https://help.aliyun.com/document_detail/128598.html?spm=a2c4g.11186623.4.3.2b164e10ux8Q0G
零配问题排查:https://help.aliyun.com/document_detail/128649.html?spm=a2c4g.11186623.6.751.49ee42aaXJP70p
AP实现细节:
- 设备作为 CoAP Server,监听 UDP 5683 端口
一键配网:
- 解析 802.11 帧包,涉及数据帧/管理帧
- 网卡需支持混杂模式(也叫monitor模式)
- Linux 平台需要网卡 firmware 和 驱动支持
# Wi-Fi设备接入LP
设备端/云端/APP接入开发介绍:https://help.aliyun.com/document_detail/115433.html?spm=a2c4g.11186623.6.548.5c0770df3Mcz3T
# 公版App介绍
https://help.aliyun.com/document_detail/143848.html?spm=a2c4g.11186623.2.23.1b4c2adaLRTn8F#task-2338021
# 错误码字典
https://help.aliyun.com/document_detail/127995.html?spm=5176.11065259.1996646101.searchclickresult.3b1d3682Hnhydl
注:错误码更新不及时,有些遇到的错误码这里并没有。
# SDK不同语言或平台功能汇总
https://help.aliyun.com/document_detail/100576.html?spm=a2c4g.11186623.6.543.5c0770dfFFKyQm
PS:飞燕、启明星、阿里物联、生活智能、天猫精灵app、公版app......整的真乱!