2024-11-03 10:20 AM
I've noticed that when I create a notify characteristic, two functions are created each time: one is called Custom_<name of char>_Send_Notication(), the other is Custom_<name of char>_Update_Char(). What is the difference? They both end up calling the same function, Custom_STM_App_Update_Char(CUSTOM_STM_PINGRESPONSE, (uint8_t *)NotifyCharData), but point to different arrays - why different arrays / what is their purpose?
Solved! Go to Solution.
2024-11-20 09:05 AM - edited 2024-11-20 09:08 AM
Hello @mbedt
The functions Custom_<name of char>_Send_Notication()and Custom_<name of char>_Update_Char()serve different purposes in the context of handling BLE characteristics:
Custom__Send_Notification():
Custom__Update_Char():
More details are available on the chapter 2.5.6 of the Introduction to STM32WB Bluetooth® Low Energy wireless interface - Application note
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-11-20 09:05 AM - edited 2024-11-20 09:08 AM
Hello @mbedt
The functions Custom_<name of char>_Send_Notication()and Custom_<name of char>_Update_Char()serve different purposes in the context of handling BLE characteristics:
Custom__Send_Notification():
Custom__Update_Char():
More details are available on the chapter 2.5.6 of the Introduction to STM32WB Bluetooth® Low Energy wireless interface - Application note
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.