用户工具

站点工具


蓝牙连接天猫精灵

差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

两侧同时换到之前的修订记录 前一修订版
后一修订版
前一修订版
蓝牙连接天猫精灵 [2020/10/30 18:43]
Chris [硬件接法]
蓝牙连接天猫精灵 [2021/02/17 22:16] (当前版本)
行 52: 行 52:
  
 ====== 正式开发 ====== ====== 正式开发 ======
 +
 +===== AOS阿里官方的SDK =====
 +
   - SDK下载:https://​github.com/​alibaba/​genie-bt-mesh-stack   - SDK下载:https://​github.com/​alibaba/​genie-bt-mesh-stack
   - 开发环境配置:https://​blog.csdn.net/​xh870189248/​article/​details/​107892490   - 开发环境配置:https://​blog.csdn.net/​xh870189248/​article/​details/​107892490
   - 天猫精灵蓝牙mesh编译环境搭建 https://​developer.aliyun.com/​article/​753200   - 天猫精灵蓝牙mesh编译环境搭建 https://​developer.aliyun.com/​article/​753200
   - AliOS-Things Windows编译环境搭建指南 https://​github.com/​alibaba/​AliOS-Things/​wiki/​AliOS-Things-Windows-Environment-Setup   - AliOS-Things Windows编译环境搭建指南 https://​github.com/​alibaba/​AliOS-Things/​wiki/​AliOS-Things-Windows-Environment-Setup
-  - 错误提示:''​make.exe[1]*** [build/​aos_target_build.mk:272: out/​bluetooth.helloworld@tc825x/​Modules/​app/​example/​bluetooth/​helloworld/​helloworld.o] Error 1''​+  - 错误提示:{{ :telink:error272.png |}}
   - 在https://​ticket.console.aliyun.com/​开工单,联系阿里,得知需要打个补丁patch。阿里内部正在走对外披露的流程。 --- //Chris 2020/10/30 12:12//   - 在https://​ticket.console.aliyun.com/​开工单,联系阿里,得知需要打个补丁patch。阿里内部正在走对外披露的流程。 --- //Chris 2020/10/30 12:12//
 +
 +===== 泰凌的sig_mesh_sdk.zip =====
 +==== 重要参考资料 ====
 +  * 在安信可的钉钉群文件里发现:{{ :​telink:​an_17120401-c4_telink_sig_mesh_sdk_developer_handbook_1_.pdf |}}
 +==== 疑难解决 ====
 +=== 20201030 ===
 +  - 设成天猫模式:在''​mesh_config.h''​里设置''#​define MESH_USER_DEFINE_MODE MESH_SPIRIT_ENABLE''​
 +  - 使用默认三元组,把user_ali.c''​文件里的''​u8 con_sec_data[16]''​前面的''#​if 0''​改成''#​if 1''​
 +  - 注意:**如果改了h文件,需要先clean再编译**
 +
 +=== 20201104 ===
 +  - 512K全部擦除,否则可能无法配对。
 +
 +=== 20201202 ===
 +  * 若“Build Configurations”里面没有SDK项目自带的,则可以换个SDK试试看。
  
蓝牙连接天猫精灵.1604054598.txt.gz · 最后更改: 2021/02/17 22:16 (外部编辑)