# Beacon battery data

**URL:** <https://bbs.aprbrother.com/t/beacon-battery-data/1614>\
**Category:** BLE Gateway\
**Created:** [May 28, 2020, 2:00am UTC](https://bbs.aprbrother.com/t/beacon-battery-data/1614 "2020-05-28T02:00:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![msp360](https://bbs.aprbrother.com/letter_avatar_proxy/v4/letter/m/ad7895/32.png) [@msp360](https://bbs.aprbrother.com/u/msp360)\
**Post date:** [May 28, 2020, 2:00am UTC](https://bbs.aprbrother.com/t/beacon-battery-data/1614/1 "2020-05-28T02:00:23Z")

</div>

Device = AB BLE Gateway V4  
Beacon = April Beacon N02

When I checked the data format,  
there are mac addresses, rssi values, etc…  
for example  
( hex= 02C8FD1949A530CE0201061AFF4C000215EB6D469624BE4663B15230D46B0E9CC9000D00)  
=\> advertising type + mac address + RSSI + Advertisement data

Is the battery value of Beacon unknown?

---

<div class="post-metadata">

**Author:** ![aprilpea](https://bbs.aprbrother.com/user_avatar/bbs.aprbrother.com/aprilpea/32/9_2.png) [@aprilpea](https://bbs.aprbrother.com/u/aprilpea)\
**Post date:** [May 28, 2020, 2:17am UTC](https://bbs.aprbrother.com/t/beacon-battery-data/1614/2 "2020-05-28T02:17:40Z")

</div>

Most of AprilBeacon advertises battery level with google’s [eddystone TLM plain](https://github.com/google/eddystone/blob/master/eddystone-tlm/tlm-plain.md) format.

Your example is just an iBeacon data. It doesn’t contain battery level

---

<div class="post-metadata">

**Author:** ![msp360](https://bbs.aprbrother.com/letter_avatar_proxy/v4/letter/m/ad7895/32.png) [@msp360](https://bbs.aprbrother.com/u/msp360)\
**Post date:** [May 28, 2020, 4:07am UTC](https://bbs.aprbrother.com/t/beacon-battery-data/1614/3 "2020-05-28T04:07:51Z")

</div>

I know april Beacon is in Eddystone format.

I want to know the data format that the Gateway sends to the server.

It is not my example, it is written in the guide document at the gateway.  
([https://wiki.aprbrother.com/en/User\_Guide\_For\_AB\_BLE\_Gateway\_V4.html](https://wiki.aprbrother.com/en/User_Guide_For_AB_BLE_Gateway_V4.html))

I want to know the transmission format of the actual gateway.

---

<div class="post-metadata">

**Author:** ![aprilpea](https://bbs.aprbrother.com/user_avatar/bbs.aprbrother.com/aprilpea/32/9_2.png) [@aprilpea](https://bbs.aprbrother.com/u/aprilpea)\
**Post date:** [May 28, 2020, 4:10am UTC](https://bbs.aprbrother.com/t/beacon-battery-data/1614/4 "2020-05-28T04:10:42Z")

</div>

Gateway V4 post data in [MessagePack](https://msgpack.org/) format. MessagePack is an efficient binary serialization format. It lets you exchange data among multiple languages like JSON.

Here’s [an example data](https://github.com/AprilBrother/ab-ble-gateway-sdk-php/blob/master/examples/sample_gateway4_data.txt) for gateway v4. You can decode the data by MessagePack library.
