# JSON not showing UUID info

**URL:** <https://bbs.aprbrother.com/t/json-not-showing-uuid-info/1786>\
**Category:** BLE Gateway\
**Created:** [July 9, 2021, 8:04am UTC](https://bbs.aprbrother.com/t/json-not-showing-uuid-info/1786 "2021-07-09T08:04:23Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![SergeyAU](https://bbs.aprbrother.com/letter_avatar_proxy/v4/letter/s/e47774/32.png) [@SergeyAU](https://bbs.aprbrother.com/u/SergeyAU)\
**Post date:** [July 9, 2021, 8:04am UTC](https://bbs.aprbrother.com/t/json-not-showing-uuid-info/1786/1 "2021-07-09T08:04:23Z")

</div>

Hello  
I am trying to send the data from BLE gateway v4 in JSON format.  
This is what I get if I pick JSON format output option:  
“devices”: [  
[  
2,  
“7FD8CB9C96EE”,  
-88,  
“1AFF4C000215B722B840712C40779CB70AEE0E06900000640001C5”  
]

But if I use the python script to parse messagepack output, I get this:  
mac: 7FD8CB9C96EE  
rssi: -91  
UUID: b722b840-712c-4077-9cb7-0aee0e069000  
Major: 100  
Minor: 1  
TX Power: -59

How do I get the same data in JSON output instead of a single string?

---

<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:** [July 12, 2021, 2:47am UTC](https://bbs.aprbrother.com/t/json-not-showing-uuid-info/1786/2 "2021-07-12T02:47:05Z")

</div>

You can split the advertising data from `4C000215` and get next 32 characters. It’s just the UUID which you need

---

<div class="post-metadata">

**Author:** ![SergeyAU](https://bbs.aprbrother.com/letter_avatar_proxy/v4/letter/s/e47774/32.png) [@SergeyAU](https://bbs.aprbrother.com/u/SergeyAU)\
**Post date:** [July 12, 2021, 3:05am UTC](https://bbs.aprbrother.com/t/json-not-showing-uuid-info/1786/3 "2021-07-12T03:05:16Z")

</div>

yes, I understand that I can split it, just asking why parts were separated into its own readings but the data has not

---

<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:** [July 12, 2021, 4:27am UTC](https://bbs.aprbrother.com/t/json-not-showing-uuid-info/1786/4 "2021-07-12T04:27:35Z")

</div>

Gateway v4 upload raw advertising data only. The python script parsed the iBeacon information from the raw advertising data for you.

---

<div class="post-metadata">

**Author:** ![SergeyAU](https://bbs.aprbrother.com/letter_avatar_proxy/v4/letter/s/e47774/32.png) [@SergeyAU](https://bbs.aprbrother.com/u/SergeyAU)\
**Post date:** [July 12, 2021, 5:58am UTC](https://bbs.aprbrother.com/t/json-not-showing-uuid-info/1786/5 "2021-07-12T05:58:49Z")

</div>

is it possible to add the option to parse the data in JSON so that parsed data is sent via mqtt?

---

<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:** [July 12, 2021, 6:03am UTC](https://bbs.aprbrother.com/t/json-not-showing-uuid-info/1786/6 "2021-07-12T06:03:52Z")

</div>

I think parsing the data at client side is much easier. The gateway works for all BLE devices not just iBeacon tag

---

<div class="post-metadata">

**Author:** ![SergeyAU](https://bbs.aprbrother.com/letter_avatar_proxy/v4/letter/s/e47774/32.png) [@SergeyAU](https://bbs.aprbrother.com/u/SergeyAU)\
**Post date:** [July 12, 2021, 6:15am UTC](https://bbs.aprbrother.com/t/json-not-showing-uuid-info/1786/7 "2021-07-12T06:15:25Z")

</div>

ok, thank you
