Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lora Node unable to receive downlink messages #281

Open
sgodey opened this issue May 23, 2020 · 5 comments
Open

Lora Node unable to receive downlink messages #281

sgodey opened this issue May 23, 2020 · 5 comments

Comments

@sgodey
Copy link

sgodey commented May 23, 2020

I am using RFM95W module along with ATMega328p as an IoT node. I have a RAK2245 based gateway that is continuously sending packets at 923.3 and SF12. Below is the log output. I am dumping RSSI when ever OpMode changes. All times, I am seeing RXTIMEOut. I have been stuck at this problem for long time. Any help is greatly appreciated.

Starting
RXMODE_RSSI
Packet queued
1182: Opmode: 0x8b
1220: rssi: -164 dBm MdmStat: 0x10
26841: Opmode: 0x89
26882: rssi: -164 dBm MdmStat: 0x10
26989: Opmode: 0x88
27053: rssi: -164 dBm MdmStat: 0x0
83443: RXMODE_SINGLE, freq=923300000, SF=10, BW=500, CR=4/5, IH=0
83459: Opmode: 0x8e
83570: rssi: -44 dBm MdmStat: 0x4
96100: Opmode: 0x89
96142: rssi: -45 dBm MdmStat: 0x14
96245: Opmode: 0x88
96305: rssi: -164 dBm MdmStat: 0x0
140438: RXMODE_SINGLE, freq=923300000, SF=12, BW=500, CR=4/5, IH=0
140457: Opmode: 0x8e
140578: rssi: -41 dBm MdmStat: 0x4
159538: Opmode: 0x88
159582: rssi: -164 dBm MdmStat: 0x0
159662: EV_TXCOMPLETE (includes waiting for RX windows)
Packet queued

@matthijskooijman
Copy link
Owner

@sgodey
Copy link
Author

sgodey commented May 24, 2020

I am using 10% clock correction.

LMIC_setClockError(MAX_CLOCK_ERROR * 10 / 100);

And my RX2 settings are 923.3 MHz, BW500 and SF12. I am using util_tx_continous from https://git.luolix.topLora-net/lora-gateway, to generate a continuous stream of Lora packets at Freq-923.3, BW-500, SF12.

@kangyang73
Copy link

Does it work? I also have same problems.

@sgodey
Copy link
Author

sgodey commented May 30, 2020

Does it work? I also have same problems.

It worked for me. My problem was ...

  1. Not properly aligning the channel frequencies/SF/BW between transmitter and receiver.
  2. The packet format between tx and rx was little bit different (receiver was expecting explicit header and transmitter was sending implicit header)

Once I fixed those and use the LMIC_setClockError, it worked for me.

@mrx23dot
Copy link

mrx23dot commented Mar 6, 2022

Please close issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants