hello,i want to update uuid in ibeacon packet using NUS service and if i update the field its showing in hext format ,i want to display same values those are coming from nus,please help....
hello,i want to update uuid in ibeacon packet using NUS service and if i update the field its showing in hext format ,i want to display same values those are coming from nus,please help....
Hi,
I would recommend starting with the ble_app_uart example, and then add relevant ibeacon code to that example. You would then need to receive the updated UUID in the nus_data_handler() function.
thanks, i have did the same but the number i enterd by nus is in decimal format and in nrf connect app is showing its hex transform.I want to display number as it is entered by nus.
eg.if i entered 10 it should display 10 not "a".plese suggest.thanks
What SDK version are you using?
Could you post some code that shows what you are doing?
I'm using sdk 12.3 ,I want to know how to update uuid in ibeacon packet.?
As mentioned, you will need to receive the updated UUID in the nus_data_handler() function. Then update the beacon advertising data based on the value received. How you want to design this is up to you. In order to connect from the phone, you will need to do connectable advertising.
Do you want to keep advertising the beacon data while you are in the connection (while updating he UUID) ?
kiranj said:eg.if i entered 10 it should display 10 not "a".plese suggest.thanks
Where is it displayed as 'a' ?
As mentioned, you will need to receive the updated UUID in the nus_data_handler() function. Then update the beacon advertising data based on the value received. How you want to design this is up to you. In order to connect from the phone, you will need to do connectable advertising.
Do you want to keep advertising the beacon data while you are in the connection (while updating he UUID) ?
kiranj said:eg.if i entered 10 it should display 10 not "a".plese suggest.thanks
Where is it displayed as 'a' ?