Is this a custom device?
The uplink coming out of the device on LoRaWAN is encrypted. The payload formatter is given the decrypted packet encoded as Base64.
So it depends on what your device is sending to the Pi - which I guess only you can answer.