This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

uart nrf52840

hi,

is it possible to set major and minor values in ble_app_uart example in sdk14.1. and advertise it. now it is advertising rssi, uuid, mac id and device name. i want to advertise major and minor values too.

  • What do you mean by "now it advertise RSSI, UUID, MAC and Device Name"? If you use some observer/app then it might be hidden in the background but each of these things are delivered differently:

    • RSSI is measured by the receiver so it's not "broadcasted" at all.
    • UUID is broadcasted in respective GAP AD object.
    • MAC is part of each ADV_xxx packet but in different layer then UUID and Device Name.
    • Device Name is similar to UUID but it's encapsulated in different GAP AD object.

    Finally you asking for some version strings indicate that you would like to have Apple iBeacon advertisement format. This is indeed possible and pretty easy to change (just find the function where Advertising and Scan Response data are filled and change it to your desired format) but note that at this moment Nordic BLE UART Service example in SDK has nothing to do with iBeacons.

  • no i am not working it has a i beacon. when i use ble_app_uart example. i can see rssi, uuid, mac and device name in mobile app. along with that i made some modification to view tx power and battery level. i acheived that. now i want to set major and minor value in the advertisement packet. is this possible?

  • hi endnode thank you very much for ur valuble answer. fixed the issue

Related