Custom payload decode for fipy data

Hi, I’m trying to decode data for a Pytrack expansion board that arrives to chirpstack and I’m using this line to convert to bytes the values of the sensors:


I want to decode the data but I can’t found a way to do it. I hope someone could help me

You will have to find out how struct.pack(...) encodes your data first. Then you need to implement the reverse in JS to decode this back.

1 Like