hi, i need to send some temperature value during advertising mode along with the ble name and address .is it possible ? if so how !
hi, i need to send some temperature value during advertising mode along with the ble name and address .is it possible ? if so how !
I don't quite get it. You say that the data in advertising packets does not change? To change the data in advertising packets you need to reinitialize advertising, i.e. 1. Stop advertising. 2. Initialize advertising with new data. 3. Start advertising..
Thankyu nikitha
The thing is i use an external mcu to get the thermometer readings and transfer it to blr through uart . i want to display this value as scanned response data . now am not getting values ! it is always showing 00 !!
Yes you can call:
/**@brief Stop advertising (GAP Discoverable, Connectable modes, Broadcast Procedure).
However, I don't believe you have to stop and restart advertising to update data in the advertising packet. You just need to call ble_advdata_set any time you want to update your advertising data.
still i coudnt get tempeature values in scanned response .it is showing always 00 !!