I'd like to know how to change the advertising address in my code.
I tried to use __nvds_put to replace the BD_ADDRESS tag in NVDS with my new address before calling the advertise function. It worked (I checked the NVDS configurator) but the board continued to advertise with the old address and can only use the new address after rebooting.
So is it possible to read the new address during the program?
Hello,
Hope you are doing well. You would need to set the status of the tag to invalid, write the tag, and then read the NVDS.
Regards,
Ricardo
Could you give me the specific function to read the NVDS?
Hello,
You should use the nvds_get to look for a specific tag and return, the DATA part of the TAG.
Regards,
Ricardo
The BD_ADDRESS tag in nvds was successfully changed while the board still advertised with the old addresse.