/opt/GW-Lorawan/lora-sx1276/SX127x/board_config.py:58: RuntimeWarning: This channel is already in use, continuing anyway. Use GPIO.setwarnings(False) to disable warnings.
GPIO.setup(BOARD.LED, GPIO.OUT)
128 --> SLEEP MODE
1 --> FSK_STDBY
0 --> ?????????
Traceback (most recent call last):
File "lora_forwarder.py", line 119, in
lora = LoRaSocket(verbose=False)
File "lora_forwarder.py", line 83, in init
super(LoRaSocket, self).init(verbose)
File "/opt/GW-Lorawan/lora-sx1276/SX127x/LoRa.py", line 101, in init
self.rx_chain_calibration(calibration_freq)
File "/opt/GW-Lorawan/lora-sx1276/SX127x/LoRa.py", line 858, in rx_chain_calibration
self.set_freq(freq_bkup)
File "/opt/GW-Lorawan/lora-sx1276/SX127x/LoRa.py", line 284, in set_freq
assert self.mode == MODE.SLEEP or self.mode == MODE.STDBY or self.mode == MODE.FSK_STDBY
AssertionError
/opt/GW-Lorawan/lora-sx1276/SX127x/board_config.py:58: RuntimeWarning: This channel is already in use, continuing anyway. Use GPIO.setwarnings(False) to disable warnings. GPIO.setup(BOARD.LED, GPIO.OUT) 128 --> SLEEP MODE 1 --> FSK_STDBY 0 --> ????????? Traceback (most recent call last): File "lora_forwarder.py", line 119, in
lora = LoRaSocket(verbose=False)
File "lora_forwarder.py", line 83, in init
super(LoRaSocket, self).init(verbose)
File "/opt/GW-Lorawan/lora-sx1276/SX127x/LoRa.py", line 101, in init
self.rx_chain_calibration(calibration_freq)
File "/opt/GW-Lorawan/lora-sx1276/SX127x/LoRa.py", line 858, in rx_chain_calibration
self.set_freq(freq_bkup)
File "/opt/GW-Lorawan/lora-sx1276/SX127x/LoRa.py", line 284, in set_freq
assert self.mode == MODE.SLEEP or self.mode == MODE.STDBY or self.mode == MODE.FSK_STDBY
AssertionError