You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The PR is the update of pkg/sx126x_driver repository for the tag 2.3.2 of the source repository.
NB: the tag 2.3.2 includes the implementation of LR-FHSS driver for Semtech SX126x transceivers.
Testing procedure
The update has been tested with a lora-e5-dev board with tests/pkg/semtech-loramac and a Chirpstack LNS (LoRaWAN network server) private instance.
make BOARD=lora-e5-dev LORA_DRIVER=sx126x_stm32wl
> main(): This is RIOT! (Version: 2022.01-devel-8326-gf7d01-pr/upgrade_driver_sx126x)
All up, running the shell now
> loramac set dr 5
> loramac set deveui 0a5acb4b41b95e51
> loramac set appkey 4B20EF23B1C3A9393F034F6527CA71F0
> loramac set adr on
> loramac join otaa
Join procedure succeeded!
> loramac get devaddr
DEVADDR: FC00AF6C
> loramac get appskey
APPSKEY: 5FECF818F9D72C7A5C3D56455C388508
> loramac get nwkskey
NWKSKEY: B770CCDD304045331EECA034821A0C7C
> loramac tx HELLO cnf 10
Received ACK from network
Message sent with success
> loramac get ul_cnt
Uplink Counter: 1
> loramac link_check
Link check request scheduled
> loramac tx BONJOUR uncnf 11
Link check information:
- Demodulation margin: 10
- Number of gateways: 1
Data received: HELLO_WORLD, port: 20
Message sent with success
> loramac get ul_cnt
Uplink Counter: 2
Thank you for the patch, CI is complaining about the commit message: Can you please prefix it with the package involved (just like the PR title) with git commit --amend
The header sx126x_lr_fhss.h in the package still includes an "sx126x.h".
I think the patch renames the package sx126x.h to sx126x_driver.h to not clash with our drivers/include/sx126x.h.
One nice addition now is to have sx126x_driver_version.h.
How about including this in sx126x_driver.h, so that out code could query the version.
If our code includes sx126x_driver_version.h, it will fail because it does not exist for 1.0.0.
So by placing it in the major driver header it would just sneak in and I could use something like
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
Area: pkgArea: External package portsCI: ready for buildIf set, CI server will compile all applications for all available boards for the labeled PRState: waiting for authorState: Action by the author of the PR is requiredType: enhancementThe issue suggests enhanceable parts / The PR enhances parts of the codebase / documentation
5 participants
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
The PR is the update of pkg/sx126x_driver repository for the tag 2.3.2 of the source repository.
NB: the tag 2.3.2 includes the implementation of LR-FHSS driver for Semtech SX126x transceivers.
Testing procedure
The update has been tested with a
lora-e5-devboard withtests/pkg/semtech-loramacand a Chirpstack LNS (LoRaWAN network server) private instance.Issues/PRs references