Bluetooth - how to work with a Scan Response frame

Thread Starter

eipiplusoneequalszero

Joined Oct 25, 2024
6
Hello!

I hope I'm posting in the right place since this is my first time here.

I'm trying to implement a BLE sensor from the company ELA Innovation. It is a temperature sensor named "BLUE COIN T".

The following is directly quoted from the manufacturer datasheet (can be found here)

In some cases, a “Scan Response” frame may follow the “Advertising" frame:
Battery level below 15%: battery level service available in the Scan Response section.
(The datasheet also says that there is a feature to send battery level data above 15% as well, I've enabled that for my sensor)

So now my question is, and it might sound silly, but how do I read/discover this "scan response frame"? Do I have to connect to the sensor somehow? Or when does it "appear"? What I have tried is scanning for Bluetooth advertisements. For that, I get a periodic advertisement from the sensor that does not contain battery information, but it contains all the other data I want (temperature in this case). The manufacturer uses service data identification in the advertising packet. I also tried connecting to the sensor. In that case, it only exposes a GATT and GAP (0x1801 and 0x1810 respectively) service.

I have not worked with Bluetooth much before so I am not that familiar with the protocol.

Where should I look next?
 

Thread Starter

eipiplusoneequalszero

Joined Oct 25, 2024
6
Solved it, nevermind. It was located at the end of the raw advertisement data. The BLE client library I used (one for MicroPython) didn't give me that part of the advertisement data, but if I dug deep enough, I found it.
 
Top