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

Won't receive msg after sending at least one #5

Open
snachmsm opened this issue Aug 27, 2023 · 1 comment
Open

Won't receive msg after sending at least one #5

snachmsm opened this issue Aug 27, 2023 · 1 comment

Comments

@snachmsm
Copy link

After sending first message RX gets broken and I'm not receiving/decoding any msg... (only seeing gain in RSSI, so it comes)

First run and I'm receiving msgs without a problem, after sending at least one any msg won't be received. Hard to implement req-resp messaging...

Problem lies in LoRa module, as when I re-flash Arduino without disconnecting RFM (still powered up) then this WON'T fix a problem, still msgs aren't received, even first (when previously sent smth, even before flashing). I have to make hard-reset (power) for bringing back receiving possibility...

@snachmsm
Copy link
Author

fixed with

writeRegister(REG_DIO_MAPPING_1, 0x00);

placed in startReceiving() just before SetLoRaMode(RF96_MODE_RX_CONTINUOUS); call

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

1 participant