ricaun / LoRaNow

LoRaNow Library is a simple LoRa Node <> Gateway communication protocol.
http://loranow.com/
MIT License
64 stars 20 forks source link

Not receive messages in gateway mode #17

Open zetapersei opened 1 year ago

zetapersei commented 1 year ago

Hi, I tried the gateway example together with the node example with two esp32 + RFM95 at 868 Mhz. The node is working fine, but the esp gateway is not receiving any messages. All parameters are the same (SF, Freq, ...). I changed the gateway source as follows: `LoRaNow.send (); //added

LoRaNow.onMessage (onMessage);

LoRaNow.gateway (); `

and it works correctly. The gateway function appears to not initialize the hardware correctly.

Thanks. Maurizio