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

How to Send Temperature and Battery Voltage over a Beacon

I want to be able to transmit the on-board temperature and battery voltage over a beacon application. The application only needs to transmit periodically similar to an iBeacon. There could be several of these applications transmitting in a within a facility. I would need to be able to monitor all beacons including their ID, Temperature and Battery Voltage. How can this be done?

  • Hello.

    You do this by putting all your data into the advertisement packet. You can fit 29 bytes of payload there. If you need to broadcast more, you can add a scan response packet for additional 29 bytes. See this tutorial and this blog post about advertising.

    If you design the scanner yourself, you can decide the structure of the data. You should probably put everything inside the "Manufacturer Specific Data". If you do not design the scanners, you must structure your data in a way the scanners expect.

Related