Skip to content
This repository was archived by the owner on Dec 23, 2021. It is now read-only.

OTAA is almost fine with Arduino-1.8.12#12

Open
clavisound wants to merge 4 commits intonovag:masterfrom
clavisound:try-to-compile
Open

OTAA is almost fine with Arduino-1.8.12#12
clavisound wants to merge 4 commits intonovag:masterfrom
clavisound:try-to-compile

Conversation

@clavisound
Copy link
Copy Markdown

Compiles fine with OTAA (not tested with device)

One problem with OTAA two with ABP.

  1. Overflows for DR's 0-2 - unable to solve it. Will think about it.
     ((128 << 7) * MICROS_PER_SECOND + 500000) / 1000000, // SF12BW125 BUG with overflow.
/home/USER/Arduino/libraries/SlimLoRa-master/SlimLoRa.cpp:67:17: warning: integer overflow in expression [-Woverflow]
     ((128 << 5) * MICROS_PER_SECOND + 500000) / 1000000, // SF10BW125 BUG with overflow.```

2. With ABP I have this error - unable to solve it.
```/tmp/ccL4MkTE.ltrans0.ltrans.o: In function `SlimLoRa::ProcessDownlink(unsigned char)':
/home/USER/Arduino/libraries/SlimLoRa-master/SlimLoRa.cpp:980: undefined reference to `SlimLoRa::CheckMic(unsigned char*, unsigned char*)'```

I hope tomorrow to test with device. (Feather 32u4)

@clavisound
Copy link
Copy Markdown
Author

clavisound commented Mar 21, 2021

Wow. Tested OTAA with device, it seems it works. I am feeling blessed with your work.

Now I have to test more uplinks, ADR, ABP.

I don't understand why. But the compile errors are dissapearring after second compile (!).

THANK YOU!

@clavisound
Copy link
Copy Markdown
Author

clavisound commented Mar 22, 2021

Although the FIRST attempt join was fine, all others attempts are failing. I still can't join with OTAA. I don't know if my gateway or my network or SlimLoRa is the problem.

ABP seems to work. I will check ADR.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant