-
Notifications
You must be signed in to change notification settings - Fork 3k
LoRaWAN: Adding TOA and Channel info in RX metadata #10214
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
Conversation
@hasnainvirk, thank you for your changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Even though a new function was added, the addition makes enough sense to still come into a patch release.
CI started |
Test run: FAILEDSummary: 1 of 1 test jobs failed Failed test jobs:
|
@cmonr Added function is for internal use only, so public API is untouched |
We provide now downlink channel frequency and time on air for the received frame in the RX metadata. Previously the channel information in both TX and RX metada contained the index number of the channel. That information wasn't very useful except the index numbers of default channels. To make more sense of the meta data, we now store the channel frequency in the channel parameter rather than the index number of the channel. RX time on air is collected from the radio driver and it is assumed that the downlink frame had 8 downlink preamble symbols (plus 4.25 of the preambles added by the chip) for LoRa modulation. This commit also include a bit of tidying of RX frequency storage in rx configuration parameters storage. Previously we were missing filling in the RX1 frequency correctly.
The change had an impact on unittests and we needed to adjust the test cases a little to accomodate the change.
c4facaf
to
cd3a032
Compare
@AnttiKauppila @cmonr Unit tests are patched. |
@hasnainvirk is this ready for re-review ? |
CI started |
Test run: SUCCESSSummary: 13 of 13 test jobs passed |
@adbridge It's already reviewed. Ready for merge. |
LoRaWAN: Adding TOA and Channel info in RX metadata
Description
We provide now downlink channel frequency and time on air for the
received frame in the RX metadata.
Previously the channel information in both TX and RX metada contained
the index number of the channel. That information wasn't very useful
except the index numbers of default channels. To make more sense of the
meta data, we now store the channel frequency in the channel parameter
rather than the index number of the channel.
RX time on air is collected from the radio driver and it is assumed that
the downlink frame had 8 downlink preamble symbols (plus 4.25 of the
preambles added by the chip) for LoRa modulation.
This commit also include a bit of tidying of RX frequency storage in rx
configuration parameters storage. Previously we were missing filling in
the RX1 frequency correctly.
Pull request type
Reviewers
@AnttiKauppila @kjbracey-arm @cmonr
Release Notes