2023-01-10 06:43 PM
I use STM32WB sample code to build project and need to know BLE client address from BLE server during connecting request. if is possible, could you please point me what API or data structure I can study. thank you.
best regards,
Langston
2023-01-18 01:33 AM
Hello,
When you received the HCI_LE_CONNECTION_COMPLETE_EVENT event on server side you can recover the peer address of the peer device.
Best Regards
2024-02-11 02:42 PM
Hi Remy,
It is true, when using p2pserver, this value is available inside SVCCTL_App_Notification(). However, when user is notified by calling Custom_APP_Notification(&HandleNotification) only the connection handle and event upcode are used. Is there any way to retrieve the peer address later, using this handler inside user function (custom_app.c) ?
Thanks
Marcelo