I'm trying to parse a payload received in the message from a Sigfox tracker. The payload is a hexadecimal number stored as a string. Here is an example of the message parsed by the channel:
{
"ident": "21FC98",
"deviceType": "XXXX",
"time": "1655797254",
"data": "01000108000052aa0000ff8d"
}
I created, as seen in a flespi tutorial, a PVM plugin to treat this data:
.data ==> %hex ==> bits:
8 ==> skip // skip first byte
16 ==> #firmwareversion
However, I get the following plugin processing error:
error_text : "000048 [plugin.726029.1021549:1:11] in @import.plugin_code: {ext} not a hex number: '01000108000052aa0000ff8f'"
How can I solve this error? Thanks,