# BLE Gateway v4 Adv Data not changing, how to get temperature?

**URL:** <https://bbs.aprbrother.com/t/ble-gateway-v4-adv-data-not-changing-how-to-get-temperature/1648>\
**Category:** BLE Gateway\
**Created:** [August 4, 2020, 10:07am UTC](https://bbs.aprbrother.com/t/ble-gateway-v4-adv-data-not-changing-how-to-get-temperature/1648 "2020-08-04T10:07:59Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![Noodle](https://bbs.aprbrother.com/letter_avatar_proxy/v4/letter/n/ac91a4/32.png) [@Noodle](https://bbs.aprbrother.com/u/Noodle)\
**Post date:** [August 4, 2020, 10:07am UTC](https://bbs.aprbrother.com/t/ble-gateway-v4-adv-data-not-changing-how-to-get-temperature/1648/1 "2020-08-04T10:07:59Z")

</div>

I have tried everything, went through Eddystone protocol… Can’t find the changing Temperature…

Here is json example I get :

```auto
{
    "v": 1,
    "mid": 159,
    "time": 194,
    "ip": "10.0.0.103",
    "mac": "246F28276B84",
    "devices": [
        [
            0,
            "5ED8B697003C",
            -55,
            "020106060956313030530303E7FE09FFC5FE5ED8B697003C"
        ],
        [
            3,
            "ED673856AFC7",
            -59,
            "0201060303AAFE1716AAFE00055E005E005E005E005E009BACED673856AFC7"
        ],
        [
            3,
            "ED673856AFC7",
            -59,
            "0201060303AAFE1716AAFE00055E005E005E005E005E009BACED673856AFC7"
        ],
        [
            3,
            "ED673856AFC7",
            -59,
            "0201060303AAFE1716AAFE00055E005E005E005E005E009BACED673856AFC7"
        ],
        [
            3,
            "ED673856AFC7",
            -60,
            "0201060303AAFE1716AAFE00055E005E005E005E005E009BACED673856AFC7"
        ],
        [
            3,
            "ED673856AFC7",
            -60,
            "0201060303AAFE1716AAFE00055E005E005E005E005E009BACED673856AFC7"
        ],
        [
            3,
            "ED673856AFC7",
            -59,
            "0201060303AAFE1716AAFE00055E005E005E005E005E009BACED673856AFC7"
        ],
        [
            3,
            "ED673856AFC7",
            -59,
            "0201060303AAFE1716AAFE00055E005E005E005E005E009BACED673856AFC7"
        ],
        [
            3,
            "ED673856AFC7",
            -59,
            "0201060303AAFE1716AAFE00055E005E005E005E005E009BACED673856AFC7"
        ],
        [
            3,
            "ED673856AFC7",
            -59,
            "0201060303AAFE1716AAFE00055E005E005E005E005E009BACED673856AFC7"
        ],
        [
            3,
            "31EB9876EB66",
            -93,
            "02011A0BFF4C000906030CC0A800A4"
        ],
        [
            0,
            "5ED8B697003C",
            -56,
            "020106060956313030530303E7FE09FFC5FE5ED8B697003C"
        ]
    ]
}

```

How do I get these values to change? to get Temperature?

Would appreciate any assistance, thank you!

---

<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:** [August 5, 2020, 4:13am UTC](https://bbs.aprbrother.com/t/ble-gateway-v4-adv-data-not-changing-how-to-get-temperature/1648/2 "2020-08-05T04:13:01Z")

</div>

Did you use eddystone-UID protocol? it doesn’t contain temperature value. You should check eddystone TLM protocol instead.

Which model of beacon do you use?

---

<div class="post-metadata">

**Author:** ![Noodle](https://bbs.aprbrother.com/letter_avatar_proxy/v4/letter/n/ac91a4/32.png) [@Noodle](https://bbs.aprbrother.com/u/Noodle)\
**Post date:** [August 5, 2020, 7:49am UTC](https://bbs.aprbrother.com/t/ble-gateway-v4-adv-data-not-changing-how-to-get-temperature/1648/3 "2020-08-05T07:49:59Z")

</div>

Hi, thank you for the swift reply!

I have tried the protocol yes.  
But I don’t see the advertising data changing at all… The only hex value changing is the RSSI of that one MAC device.

So I am unsure on how I would get the temperature of a bracelet using Eddystone if the HEX is not changing.

The model I think is a v100s ? I am also unsure as I did not purchase this and was asked to work on it. But I am stuck and cannot continue with the temperature being static.

How would I go about getting the advertising data to change according to the bracelets data?

If at all possible, I could send an image of the bracelet instead.

---

<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:** [August 5, 2020, 7:53am UTC](https://bbs.aprbrother.com/t/ble-gateway-v4-adv-data-not-changing-how-to-get-temperature/1648/4 "2020-08-05T07:53:52Z")

</div>

You can only get temperature value from eddystone-TLM protocol. Does the beacon support eddystone-TLM protocol? please check with your vendor.

---

<div class="post-metadata">

**Author:** ![Noodle](https://bbs.aprbrother.com/letter_avatar_proxy/v4/letter/n/ac91a4/32.png) [@Noodle](https://bbs.aprbrother.com/u/Noodle)\
**Post date:** [August 5, 2020, 7:55am UTC](https://bbs.aprbrother.com/t/ble-gateway-v4-adv-data-not-changing-how-to-get-temperature/1648/5 "2020-08-05T07:55:52Z")

</div>

Yes I know, and I receive the temperature I think.

But I would just like to know why the returned data is always the same.

Even if it runs for hours and hours.

---

<div class="post-metadata">

**Author:** ![Noodle](https://bbs.aprbrother.com/letter_avatar_proxy/v4/letter/n/ac91a4/32.png) [@Noodle](https://bbs.aprbrother.com/u/Noodle)\
**Post date:** [August 5, 2020, 8:12am UTC](https://bbs.aprbrother.com/t/ble-gateway-v4-adv-data-not-changing-how-to-get-temperature/1648/6 "2020-08-05T08:12:00Z")

</div>

020106060956313030530303E7FE09FFC5FE5ED8B697003C

I get this for 1 braclet… but it is always the same.  
Never changes and I don’t know why.

---

<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:** [August 5, 2020, 8:12am UTC](https://bbs.aprbrother.com/t/ble-gateway-v4-adv-data-not-changing-how-to-get-temperature/1648/7 "2020-08-05T08:12:12Z")

</div>

You can use Android app “nRF Connect” to check the advertising data also. Compare the data

---

<div class="post-metadata">

**Author:** ![Noodle](https://bbs.aprbrother.com/letter_avatar_proxy/v4/letter/n/ac91a4/32.png) [@Noodle](https://bbs.aprbrother.com/u/Noodle)\
**Post date:** [August 5, 2020, 8:15am UTC](https://bbs.aprbrother.com/t/ble-gateway-v4-adv-data-not-changing-how-to-get-temperature/1648/8 "2020-08-05T08:15:39Z")

</div>

Thank you!

How would I get said UUID from given json that I receive from gateway?

Thank you again

---

<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:** [August 5, 2020, 8:16am UTC](https://bbs.aprbrother.com/t/ble-gateway-v4-adv-data-not-changing-how-to-get-temperature/1648/9 "2020-08-05T08:16:49Z")

</div>

Which UUID did you talk about?

---

<div class="post-metadata">

**Author:** ![Noodle](https://bbs.aprbrother.com/letter_avatar_proxy/v4/letter/n/ac91a4/32.png) [@Noodle](https://bbs.aprbrother.com/u/Noodle)\
**Post date:** [August 5, 2020, 8:23am UTC](https://bbs.aprbrother.com/t/ble-gateway-v4-adv-data-not-changing-how-to-get-temperature/1648/10 "2020-08-05T08:23:49Z")

</div>

![0e61f2a7-fd18-47e2-8247-ffbdb9d4bd96](https://bbs.aprbrother.com/uploads/default/original/1X/6134e6448109d978966a824ecb2a5e150422a1d2.jpeg)

I get this, can we get this kind of data?

---

<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:** [August 5, 2020, 8:26am UTC](https://bbs.aprbrother.com/t/ble-gateway-v4-adv-data-not-changing-how-to-get-temperature/1648/11 "2020-08-05T08:26:26Z")

</div>

Don’t connect the braclet. You should check the advertising data only

---

<div class="post-metadata">

**Author:** ![Noodle](https://bbs.aprbrother.com/letter_avatar_proxy/v4/letter/n/ac91a4/32.png) [@Noodle](https://bbs.aprbrother.com/u/Noodle)\
**Post date:** [August 5, 2020, 8:30am UTC](https://bbs.aprbrother.com/t/ble-gateway-v4-adv-data-not-changing-how-to-get-temperature/1648/12 "2020-08-05T08:30:03Z")

</div>

![7ab23072-c1b8-4968-b425-0949dca137bd](https://bbs.aprbrother.com/uploads/default/original/1X/8f8d82c6a49ef17edd7623121988448a62e28b80.jpeg)

This data here?

---

<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:** [August 5, 2020, 8:31am UTC](https://bbs.aprbrother.com/t/ble-gateway-v4-adv-data-not-changing-how-to-get-temperature/1648/13 "2020-08-05T08:31:41Z")

</div>

> [@Noodle](#):
>
> 020106060956313030530303E7FE09FFC5FE5ED8B697003C

Can you find advertising data like this one?

---

<div class="post-metadata">

**Author:** ![Noodle](https://bbs.aprbrother.com/letter_avatar_proxy/v4/letter/n/ac91a4/32.png) [@Noodle](https://bbs.aprbrother.com/u/Noodle)\
**Post date:** [August 5, 2020, 8:33am UTC](https://bbs.aprbrother.com/t/ble-gateway-v4-adv-data-not-changing-how-to-get-temperature/1648/14 "2020-08-05T08:33:17Z")

</div>

It’s in the raw data string but that string is much longer than what I get from the gateway, would it possible that the temperature and heartrate is not being sent to the gateway?

---

<div class="post-metadata">

**Author:** ![Noodle](https://bbs.aprbrother.com/letter_avatar_proxy/v4/letter/n/ac91a4/32.png) [@Noodle](https://bbs.aprbrother.com/u/Noodle)\
**Post date:** [August 5, 2020, 8:35am UTC](https://bbs.aprbrother.com/t/ble-gateway-v4-adv-data-not-changing-how-to-get-temperature/1648/15 "2020-08-05T08:35:08Z")

</div>

![image](https://bbs.aprbrother.com/uploads/default/original/1X/63ed3ba675cd9a3ed1cc6c90cef60114582178eb.png)

Red is what gateway sends, but yellow is what I don’t have.

---

<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:** [August 5, 2020, 8:36am UTC](https://bbs.aprbrother.com/t/ble-gateway-v4-adv-data-not-changing-how-to-get-temperature/1648/16 "2020-08-05T08:36:55Z")

</div>

The length for advertising data is 31 bytes. But the length for your screenshot is 40+ bytes. I think it should plus some other data like scan response data.

Which bit is the value of temperature data?

---

<div class="post-metadata">

**Author:** ![Noodle](https://bbs.aprbrother.com/letter_avatar_proxy/v4/letter/n/ac91a4/32.png) [@Noodle](https://bbs.aprbrother.com/u/Noodle)\
**Post date:** [August 5, 2020, 8:41am UTC](https://bbs.aprbrother.com/t/ble-gateway-v4-adv-data-not-changing-how-to-get-temperature/1648/17 "2020-08-05T08:41:08Z")

</div>

It should be

![image](https://bbs.aprbrother.com/uploads/default/original/1X/2f09a4a2aaaa8c0f136a07c00b270eeab81fa108.png)

But I am unsure as it does not change.

Hence why I would like to know if the data should change? Or if I am just missing something.

---

<div class="post-metadata">

**Author:** ![Noodle](https://bbs.aprbrother.com/letter_avatar_proxy/v4/letter/n/ac91a4/32.png) [@Noodle](https://bbs.aprbrother.com/u/Noodle)\
**Post date:** [August 5, 2020, 8:43am UTC](https://bbs.aprbrother.com/t/ble-gateway-v4-adv-data-not-changing-how-to-get-temperature/1648/18 "2020-08-05T08:43:26Z")

</div>

According to Eddystone TLM though, it says byte 4 - 5 is temp …

![image](https://bbs.aprbrother.com/uploads/default/original/1X/5cfc3495d8ec726b13363f515d72fd7cef4fef63.png)

---

<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:** [August 5, 2020, 8:45am UTC](https://bbs.aprbrother.com/t/ble-gateway-v4-adv-data-not-changing-how-to-get-temperature/1648/19 "2020-08-05T08:45:11Z")

</div>

No. It’s not correct. You should check [the prefix for eddystone TLM](https://github.com/google/eddystone/blob/master/protocol-specification.md) first. The TLM data is append to the prefix.
