Is it possible to send additional data in eddystone protocol ?
If yes please do share a snap of code with me.
Is it possible to send additional data in eddystone protocol ?
If yes please do share a snap of code with me.
Hi,
What do you mean by additional data? There is quite a lot of flexibility in the Eddystone protocol allready, and the Eddystone example in the nRF5 SDK implements everything in the protocol.
Note that Google discontinued Edystone in 2018, so depending on you ruse case it might not be the most suitable choice going forward.
additional data means like manufacturing data or scan response data i.e. if i want to advertise some more data
Hi,
Manufacturer specific data and scan response data is allready used in the Eddystone implementation, but it is for Eddystone specific things. If you modify this you would break Eddystone compatibility.
Is the thing here that you really want another type of custom beacon (not Eddystone at all)? If you don't really want an Eddystone beacon the you can do whatever you want with your advertisement packets. If you want an Eddystone beacon and something else, then perhaps it would be better to alternate between sending Eddystone beaconpacekts and some other advertisement packets that you have full control over (and if so, it could be that another Eddystone sample would be a better starting point, depending on which Eddystone features you need).
That is what i wanted to implement but i don't know how to built my own packet and then advertising it.
That is what i wanted to implement but i don't know how to built my own packet and then advertising it.
Which of the alternatives I outlined is it you want to implement?
basically i want to advertise customized data packet for that i need to form a packet which contains the data i want to advertise and then advertise it
How to do that
I see. Then I suggest you refer to the Beacon Transmitter Sample Application. This essentially shows you how to make a simple advertising packet using manufacturer specific data (you can remove all the iBeacon related stuff).
If you want you can also add a scan response packet, which is generated in the same way as the advertising packet, and in that case set the scan_rsp_data fields in the ble_gap_adv_data_t instead off leaving it NULL.
I am doing the same sending manufacturing data and scan response data in eddystone template but its not showing while advertising that is why i got stuck can you please share the code or steps if how you had done this
The BLE app uart example in nRF5 SDK demonstrates using scan response data (search for srdata in examples/ble_peripheral/ble_app_uart/main.c).
Perhaps you can show what you have done and how you have tested and debugged, and then I may be able to spot the issue.