This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Can a BLE Peripheral cancel its own notification before a transmission event?

I'm having trouble with my UWP Central/Client application, and I want to see how it responds to modified Peripheral/Server behavior.

How my large (several kB) reads are done is by having notifications enabled, then repeatedly calling sd_ble_gatts_hvx() with BLE_GATT_HVX_NOTIFICATION until I get NRF_ERROR_RESOURCES, then repeating that again after BLE_GATTS_EVT_HVN_TX_COMPLETE. This process ends up hanging (probably due to UWP, not the SD), so I want to try cancelling the queued notifications in the Peripheral, and "rewinding" the read. However, I haven't found an API for that, so is there one in s132 v4?

Parents
  • @Elias Simon: I don't see any problem that endnode comment on your question and suggest an answer. As far as I understand, this is a community where members helping each other. Without the help of the active users, such as Endnode, RK, etc, we won't be able to handle all of the questions.

    We have voting system and "accepting answer" feature, so that the correct information/answer will stand out.

Reply
  • @Elias Simon: I don't see any problem that endnode comment on your question and suggest an answer. As far as I understand, this is a community where members helping each other. Without the help of the active users, such as Endnode, RK, etc, we won't be able to handle all of the questions.

    We have voting system and "accepting answer" feature, so that the correct information/answer will stand out.

Children
No Data
Related