Rajath
January 7, 2025, 1:24pm
1
How can I dynamically update the BLE advertisement name via UART during runtime in Qorvo’s Nearby Interaction project?
Is there any references are there to how it can be done?
Hi @Rajath !
It was just asked. Here is my take on how to achieve this:
Hi @melson !
UART communication has not been implemented in the QANI example, so you’d need to add it.
For the “set advertising name” command, you may need to stop advertising, change the advertising settings (set the new name), and start advertising again.
For the “get uwb serial number” you’ll need the function “uwbmac_get_device_info()” like in the CLI example:
REG_FN(f_decaid)
{
struct uwbmac_context *uwbmac_ctx = NULL;
struct uwbmac_device_info device_info;
enum qerr r = uw…
Kind regards!