I am trying to unpack the PLI data for calculations to be done on a custom device running the meshtastic firmware. I can get the packet payload to print, but it is in gibberish without decoding the bytes correctly? All the built in protobuf decoding won't work from what I have tried due to the custom message description. I unfortunately am unfamiliar with protobuf and message encoding in general. Would it work to add the CotShrink Proto to the firmware (as a field description in Meshtastic firmware mesh.pb.h) and use that within the prebuilt pb_decode_from_bytes()? Thanks!
I am trying to unpack the PLI data for calculations to be done on a custom device running the meshtastic firmware. I can get the packet payload to print, but it is in gibberish without decoding the bytes correctly? All the built in protobuf decoding won't work from what I have tried due to the custom message description. I unfortunately am unfamiliar with protobuf and message encoding in general. Would it work to add the CotShrink Proto to the firmware (as a field description in Meshtastic firmware mesh.pb.h) and use that within the prebuilt pb_decode_from_bytes()? Thanks!