Quantcast
Channel: flespi forum
Viewing all articles
Browse latest Browse all 881

[Changelog] teltonika protocol

$
0
0

FMC650 series parsing update for BLE Custom fields: it was stored as ble.1.custom.INDEX unsigned integer value, but was vulnerable to 53-bit JSON limit. Now it is stored as HEX string and named ble.1.custom.payload.hex.INDEX
Example of PVM code to convert the value to integer value:
optional .ble.1.custom.payload.hex.2 ==> %hex ==> %int64 ==> #ble.1.custom.2
you may use math operations in same chain, e.g. this is how divide it by 10
optional .ble.1.custom.payload.hex.2 ==> %hex ==> %int64 ==> %double ==> this / 10.0 ==> #ble.1.custom.2


Viewing all articles
Browse latest Browse all 881

Trending Articles