I’m trying to create a python program to print my end device data via ChirpStack. I can see the uplink data from Application Server’s web interface (under the tab ‘device data’), but I’m not sure how to use the gRPC API for my python program to get the data.
The end device is a Raspberry Pi 3 Model B+ with Dragino LoRa/GPS HAT.
The gateway is a Raspberry Pi 4 Model B with RAK 2245 Pi HAT.
The Network Server, Application Server, and my python program are all within one single PC running Ubuntu Linux.
The gateway communicates with the PC using ChirpStack’s built-in MQTT mosquitto broker, and on my PC I can use mosquitto_sub utility to receive device data.
For my external python program, I saw in the ChirpStack documentation that I may use the UplinkEvent protobuf message to receive device data :
but I’m not sure how to begin using that message in my python program,
as I looked at the integration.proto but there is no service definition in it:
I looked at the as.proto and there is an ApplicationServerService but it did not use UplinkEvent message:
I looked at the application.proto but also did not see where it uses the UplinkEvent message:
Any hint or example would be much appreciated!