这里会显示出您选择的修订版和当前版本之间的差别。
两侧同时换到之前的修订记录 前一修订版 后一修订版 | 前一修订版 | ||
蓝牙连接天猫精灵 [2020/10/30 09:15] Chris [正式开发] |
蓝牙连接天猫精灵 [2021/02/17 22:16] (当前版本) |
||
---|---|---|---|
行 35: | 行 35: | ||
=== 20201029 === | === 20201029 === | ||
- 使用泰凌的BDT软件烧录固件。✔ | - 使用泰凌的BDT软件烧录固件。✔ | ||
- | - 测试8258_mesh编译出来的bin文件烧录后,是否可以和天猫精灵通信。✘ | + | - 测试8258_mesh编译出来的bin文件烧录后,是否可以和天猫精灵通信。✘————需要使用8258_spirit_LPN✔ |
- | - 找到烧录三元组的方法。✘ | + | - 找到烧录三元组的方法。✘————首先,配置MESH_SPIRIT_ENABLE模式,然后,打开u8 con_sec_data前面的#if 0(改为#if 1)✔ |
==== 软件操作 ==== | ==== 软件操作 ==== | ||
行 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// | ||
+ | |||
+ | ===== 泰凌的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试试看。 | ||