Hi Pober,
I’m also getting the UID. The problem is that the ID which looks common for both frames (C496081B0613 for this particular tag) is not specified in the Estimote cloud, so I cannot know beforehand which is the beacon emitting the TLM.
Among all the devices that are being detected by the gateway I can extract these two which correspond to this estimote beacon set to advertise Eddystone UID and Eddystone TLM:
“[
“$GPRP,C496081B0613,B0F1EC74687E,-81,0201040303AAFE1116AAFE20000B3B14400014784E0FDC6C0F”,
“$GPRP,C496081B0613,B0F1EC74687E,-75,0201040303AAFE1716AAFE00EAEDD1EBEAC04E5DEFA0176A7AB6EFB5D00000”
]”
Parsing the raw hex package with a library such as advlib I get this information:
"[{
"flags": [
"BR/EDR Not Supported"
],
"complete16BitUUIDs": "feaa",
"serviceData": {
"uuid": "feaa",
"data": "20000b3b14400014784e0fdc6c0f",
"companyName": "Google",
"eddystone": {
"type": "TLM",
"version": "00",
"batteryVoltage": "2875mV",
"temperature": "20.25C",
"advertisingCount": 1341518,
"uptime": "26610382.3s"
}
}},{
"flags": [
"BR/EDR Not Supported"
],
"complete16BitUUIDs": "feaa",
"serviceData": {
"uuid": "feaa",
"data": "00eaedd1ebeac04e5defa0176a7ab6efb5d00000",
"companyName": "Google",
"eddystone": {
"type": "UID",
"txPower": "-22dBm",
"uid": {
"namespace": "edd1ebeac04e5defa017",
"instance": "6a7ab6efb5d0"
}
}
}}]"
So the problem is that I need to know beforehand that the beacon has an id of C496081B0613 in order to be able to associate the TLM data with the UID data.