As I mentioned before, we make use of an adapted version of the Lora-net gateway stack: https://github.com/Lora-net/lora_gateway/tree/master/libloragw, if you look at our open source firmware, you'll find a folder called pygate where most of the driving code is: https://github.com/pycom/pycom-micropython-sigfox/tree/Dev/esp32/pygate. I dont know if such a compatible example exists for a lora repeater.