WaterFishJ / bsal

蓝牙协议栈抽象层
Apache License 2.0
0 stars 0 forks source link

[bsal]nrf52840上基于bsal的uart #5

Closed WaterFishJ closed 3 years ago

WaterFishJ commented 3 years ago
  1. 基于RTT的softdevice 的uart sample:手机连上后,输入指令,比如ps,发送后,终端可以看到线程信息;(DONE)
  2. 了解bsal向上提供的api接口;
  3. 看懂softdevice的uart sample;
  4. softdevice的sample移植过来bsal;
WaterFishJ commented 3 years ago
  1. 写一篇文档,关于bsal的api介绍 eg:https://supperthomas-wiki.readthedocs.io/en/latest/ble_profile/01_battery_service_profile/battery_service.html?highlight=BAS
  2. 写一篇文档,关于nrodic的uart service(uart sample)的介绍
  3. 写一篇文档,关于GATT service如何使用,结合bsal的sample
WaterFishJ commented 3 years ago

https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v14.0.0%2Fble_sdk_app_nus_eval.html

WaterFishJ commented 3 years ago

progress:完成部分srv(未测试),今晚继续将app部分写好测试

WaterFishJ commented 3 years ago

能正常广播,今晚继续完成应用(写好但还没没测试。。。)

WaterFishJ commented 3 years ago

学校的网真的是挂vpn都不让人上GitHub啊? Screenshot_2021-09-08-18-26-29-565_no nordicsemi android mcp ![Uploading Screenshot_2021-09-08-18-28-44-316_no.nordicsemi.android.mcp.png…]()

WaterFishJ commented 3 years ago

学校的网真的是挂vpn都不让人上GitHub啊?

df022a4b94c5b08c1b8c39266490edf

supperthomas commented 3 years ago

@WaterFishJ 这个uart 的sample测试的时候,还有什么问题吗?如果有,可否描述下问题?我记得你之前有说过有个什么问题的。

WaterFishJ commented 3 years ago

@WaterFishJ 这个uart 的sample测试的时候,还有什么问题吗?如果有,可否描述下问题?我记得你之前有说过有个什么问题的。

板子向手机发送数据的时候不正常,debug后发现是中断上传上来的UUID不正常,由128bit变成了16bit 相关issue : https://github.com/WaterFishJ/bsal/issues/8

WaterFishJ commented 3 years ago

Profile:https://github.com/WaterFishJ/bsal/tree/new/profiles/service/bsal_uart sample:https://github.com/WaterFishJ/bsal/blob/new/samples/ble_nus_app.c