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

To display uuid, major,minor values and the battery life using Ble_app_beacon example

how to To display uuid,major,minor values and the battery life using Ble_app_beacon example or any other example

Parents Reply Children
  • The BLE beacon example broadcasts a beacon advertisement.  The beacon packet is completely full when you advertise major and minor ID's.  So you can't just add in battery level.

    If you want battery and major and minor you have to add code to broadcast the battery service. The ble_app_bps and ble_app_hrs both implement the battery service.

    Also, the ble_app_proximity broadcasts the battery service. Since it sounds like it is intended for proximity beacons that broadcast battery level.  It could be a good place for you to start.

Related