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

beacon, How much can I send a byte?

Use the beacon want to send with the temperature and remaining battery power.

But beacon of UUID, Major, Minor, Type, etc. The only information in the beacon 26Byte.

How can I send by including the temperature and battery level.

Note that the temperature and remaining battery capacity is planned to be updated from time to time.

  • You can't. The beacon advertising data has a fixed format with just the information for a beacon, you cannot add any more information to it.

    You can expose a battery and temperature service and make the beacon advertise as 'connectable' so a device can connect to it and read the values, but then that's not quite adhering to the beacon spec. You could also try making the beacon advertising scannable and put the data in the scan response, although again that's not really quite the beacon spec, although it probably works.

  • The final amount of transmitted data is Not Beacon Info + Scan Response, Isn't it?

    Remaining battery power 1Byte + temperature 2Byte + Other....

    This space is insufficient to transfer all the data.

    Or do (Beacon Info) Packet and (Respons Data) Packet is treated differently?

Related