cancel
Showing results for 
Search instead for 
Did you mean: 

Programattically Enable/Disable Characteristic Notification

kumaichi
Associate III

I have two custom STM32WB55 boards that I initially started with the P2P_Client/Server projects.  I have the two devices communicating with each other.  Once the communication is established, the notification characteristic is enabled from the P2P_Client, and data starts flowing from the server to the client.  Next step is to try and disable/enable the notification programmatically from the P2P_Client.  I see in the p2p_client_app.c file, there is an event handler for, APP_BLE_ENABLE_NOTIFICATION_DESC and APP_BLE_DISABLE_NOTIFICATION_DESC.

Can anyone point me to the correct process for either setting the status somehow so that the event handler is utilized or what is the recommended process for enabling/disabling a notification programmatically from the P2P_Client?

Kindest regards.

0 REPLIES 0