Hi,
In my application, I start the advertising process when I receive a specific SPI message. Inside that SPI message, there are data I would like to advertise.
Is there an API that allows me to update the advertising data in SDK5?
Thanks!
_Matthieu
Device:
Hi again,
I would like to use NVDS API but I have an issue... I change the flag "NVDS_READ_WRITE" to 1 but the compiler says the symbol "nvds_put" is undefined.
我需要改变什么?
Thanks.
_Matthieu
Hi Matthieu,
Regarding your first question you can use the ble_app_barebone example to learn how to update the advertising string on SDK5, also an implementation on SDK3 can be found in the beacon reference design.
You shouldn't change anything else except for that flag, can you please have a look in the file and check the #if (NVDS_READ_WRITE == 1) #endif NVDS_READ_WRITE there should be the declaration of the nvds_put() function in the conditional statement. Also please have a look at the barebone example, the project has the declaration of the function in the conditional statement.
Thanks MT_dialog