Hello,
I’d like to understand the structure of the Chirpstack Gateway Bridge packet that is published on the MQTT broker.
In particular, on the gateway/+/event/up topic, for example I can see this post:
Thank you! I suspected this but unfortunately if I try to parse it to JSON, I get:
*** PAYLOAD IS NOT VALID JSON DATA ***
Illegal character ((CTRL-CHAR, code 17)): only regular white space (\r, \n, \t) is allowed between tokens
at [Source: java.io.StringReader@1e8d490; line: 2, column: 2]
Do yu have any advise to parse it? Maybe an online parser or something similar?
Hello again,
I’ve installed the API but I don’t find the way to extract the information I need (DeviceEUI) from my byte array which is protobuf marshaller as you correctly said.
Is there a way to do so?
Or is there another way to retrieve the Device EUI that is communicating to the network from the MQTT?
Oh sorry if I was not clear, you have to build the script yourself. The API just provides the protobuf “objects”. You need to then subscribe and unmarshal the events you want. UplinkFrames should be under gw/gateway namespace as far as the protobuf defenitions goes. How the python api reflects that: i dont know. I have never used the python-api.