Obtaining raw PhyPayload

Hello,
I am trying to extract the raw PhyPayload (like the one received by the gateway, not in the protobuf or json format) from ChirpStack. I am not able to find the raw PhyPayload anywhere in the code or the logs. Does anyone know if/how this is possible? Thank you!

It’s in the Gateway Bridge payload:

https://www.chirpstack.io/gateway-bridge/payloads/events/#up-uplink-frames

1 Like

the RAW paylaod apperas encoded in hex64 in the message posted by the gateway on the MQTT broker in the field “phyPayload”:
example:

{“phyPayload”:“QM8IVQSABpkR0PCkUOeHmkldhBGqng==”,“txInfo”:{“frequency”:868300000,“modulation”:“LORA”,“loRaModulationInfo”:{“bandwidth”:125,“spreadingFactor”:10,“codeRate”:“4/5”,“polarizationInversion”:false}},“rxInfo”:{“gatewayID”:“cnb/ADkDCLY=”,“time”:“2021-06-18T13:00:58.739684Z”,“timeSinceGPSEpoch”:null,“rssi”:-39,“loRaSNR”:10.5,“channel”:6,“rfChain”:0,“board”:262,“antenna”:0,“location”:null,“fineTimestampType”:“NONE”,“context”:“Rua6xA==”,“uplinkID”:“QcRE+OQgQriBbu4xV7QP5Q==”,“crcStatus”:“CRC_OK”}}