gnrc_lorawan: encode LoRaWAN port in netif header#16080
Merged
leandrolanzieri merged 4 commits intoRIOT-OS:masterfrom Jun 17, 2021
Merged
gnrc_lorawan: encode LoRaWAN port in netif header#16080leandrolanzieri merged 4 commits intoRIOT-OS:masterfrom
leandrolanzieri merged 4 commits intoRIOT-OS:masterfrom
Conversation
leandrolanzieri
previously requested changes
Feb 26, 2021
akshaim
reviewed
Mar 1, 2021
jia200x
commented
Mar 1, 2021
7b79279 to
bc9804c
Compare
Member
Author
|
rebased! |
Contributor
|
I was able to run on my board with credentials from @jia200x:
|
Contributor
|
I also went through the documentation and played around with it device |
Contributor
|
If you can just fix the cpp check issues, squash rebase all that fun stuff I think we should be OK. |
bc9804c to
952f00c
Compare
Member
Author
|
addressed and amended directly |
MrKevinWeiss
approved these changes
Jun 16, 2021
Contributor
MrKevinWeiss
left a comment
There was a problem hiding this comment.
Tested, nice cleanup, ACK.
601652f to
40d641c
Compare
Contributor
|
Please squash @jia200x ! |
7952f26 to
36d4f6a
Compare
36d4f6a to
dca0b36
Compare
jia200x
added a commit
that referenced
this pull request
Jul 7, 2021
gnrc_lorawan: fix gnrc_pktbuf_release_error (introduced by #16080)
kaspar030
added a commit
that referenced
this pull request
Jul 7, 2021
gnrc_lorawan: fix gnrc_pktbuf_release_error (introduced by #16080) [backport 2021.07]
This was referenced Apr 3, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Contribution description
This PR encodes the LoRaWAN port in a GNRC netif header.
The benefit of doing this is that we can reuse
txtsndand similar commands. From now on it's possible to use GNRC LoRaWAN (almost) out of the box in any GNRC application (e.gexamples/default).This PR also deprecates
NETOPT_LORAWAN_TX_PORTand introduces aCONFIG_GNRC_NETIF_LORAWAN_NETIF_HDRto enable this functionality (and don't abruptly change the API of users).Testing procedure
The following things should be tested:
examples/gnrc_lorawanworks out of the box. Thesendcommand was replaced bytxtsndexamples/default:Check that's possible to communicate.
Issues/PRs references
None so far