代码项目为:ble_spp_server 例程,只把spp串口更改为串口1
手机端ble调试工具为:nRF Connect
问题如下:
1、我往特质值UUID为abf1写长数据时,串口1打印出来的数据只有前面的部分,但是notify返回的数据却是完整的。
2、ESP_GATTS_EXEC_WRITE_EVT与ESP_GATTS_WRITE_EVT的区别,gatts_profile_event_handler函数里面怎么才触发跳入到ESP_GATTS_EXEC_WRITE_EVT事件中。
请教下ble_spp_server 例程的问题
-
ChiShaoJun
- Posts: 33
- Joined: Mon Sep 17, 2018 3:24 am
-
ChiShaoJun
- Posts: 33
- Joined: Mon Sep 17, 2018 3:24 am
-
ChiShaoJun
- Posts: 33
- Joined: Mon Sep 17, 2018 3:24 am
Re: 请教下ble_spp_server 例程的问题
把发送,选择request,ESP_GATTS_EXEC_WRITE_EVT事件就能够触发了。
- Attachments
-
- Screenshot_2019-01-18-10-00-26-117_no.nordicsemi..png (149.72 KiB) Viewed 8737 times
Who is online
Users browsing this forum: No registered users and 1 guest