pycom / pycom-micropython-sigfox

A fork of MicroPython with the ESP32 port customized to run on Pycom's IoT multi-network modules.
MIT License
196 stars 167 forks source link

Fix Pygate LoRa rx lock-up after LoRa tx #561

Open pauldeng opened 3 years ago

pauldeng commented 3 years ago

Hi Pycom team,

This issue was discussed at https://forum.pycom.io/topic/7042/pygate-does-not-receive-after-downlink?_=1624679301959.

The Issue I experienced a Pygate firmware issue that Pygate will not receive LoRa message after a downlink message is sent. This issue is not related to LTE-M, but on LoRa gateway side. Power cycle the Pygate will fix this problem.

The Fix I spent quite bit of time to try to fix. I am not quite understand that part of the code, but I managed to fix it. Basically, disable gateway reset/restart after tx. Now, the Pygate continues to rx after tx. There is no more lock up. I will continue testing the long term, but so far so good.

My Hardware

My Compile Environment

CLAassistant commented 3 years ago

CLA assistant check
All committers have signed the CLA.