This is a firmware for the microcontroller part of Dragino gateway. It can be build and flash with Arduino IDE. See deatils here.
This firmware receives/sents data from LoRa radio and transmits it to Python part of this gateway with stdin/stdout using bridge API(class Process). It also starts Python part on firmware start.