Proximity beacons parsing - subframe always the same?

Hello,

we are trying to get the acceleration data from the ltest proximity beacons via parsing it, describing in your github-spec repository:


thanks for providing a very good code example!

Our problem is, that (according to the estimote-telemetry.js ), the beacon always sends subframe B, and in subframe-b, the acceleration-data is missing.

Do we have to change the configuration of the beacons to send this data, or may there be a problem on our side with the parsing?

how should it work in general? one time the A-Frame is send, one time the B-Frame?
thanks in advance!

BR Alex

The beacon will take turns transmitting Telemetry A and Telemetry B. For example, if you have Telemetry advertising interval set to 2570 ms, then beacon will broadcast Telemetry A, then wait 2570 ms, then broadcast Telemetry B, then wait 2570 ms, then back to A, etc.

hi, thanks for your fast reply!

the strange thing is, that 2 consecutive packages have completely the same data in the array buffer. could it be, that there is a different macaddress used for telemetry A and telemetry B packages?

thanks

Both should have the same physical address. Maybe your receiver/receiving software skips some packets? If you let it run long enough, do you observe both kinds of sub-frames?

Hi,

I’m not sure if the receiver-software is the problem. We are trying to create an ionic-app, and use the ‘@ionic-native/ble’; plugin to scan for bluetooth devices. Are you familiar with this plugin or have you already used it to read the telemetry data?

BR Alex

What do you run this on, iOS/Android? Bluetooth in iOS/Android is a shared resource, used by many apps & system services, which means their Bluetooth stacks generally do some flow control, which in turn means you don’t always get all the packets your app wants.