chirpstack / chirpstack-concentratord

Concentrator HAL daemon for LoRa gateways.
https://www.chirpstack.io/
MIT License
71 stars 50 forks source link

Issue 15 add pin config #126

Closed jdeinum closed 7 months ago

jdeinum commented 7 months ago

Added pin configs for sx1302, sx1301, and 2g4. Still need to change the default power pin for all of the Rak models for the 1302. Hopefully everything else looks reasonable :)

brocaar commented 7 months ago

I think this looks good. This way we don't have to use all the unwrap_or_default methods in all the module configuration. I think reset_pin: conf.gateway.get_sx1301_reset_pin("/dev/gpiochip0", 17), is a lot easier to read :)