Skip to content

Conversation

fabian18
Copy link
Contributor

Contribution description

Configure a LoRa sync word if CONFIG_SX126X_DEFAULT_SYNC_WORD is defined

Alternatively, should it be in params, in case 2 LoRa on a board should use different sync words?

Testing procedure

Issues/PRs references

#21675

@github-actions github-actions bot added Area: drivers Area: Device drivers Area: LoRa Area: LoRa radio support labels Sep 11, 2025
@crasbe crasbe added Type: enhancement The issue suggests enhanceable parts / The PR enhances parts of the codebase / documentation Discussion: RFC The issue/PR is used as a discussion starting point about the item of the issue/PR CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR labels Sep 11, 2025
@riot-ci
Copy link

riot-ci commented Sep 11, 2025

Murdock results

✔️ PASSED

afe97d8 drivers/sx126x add optional CONFIG_SX126X_DEFAULT_SYNC_WORD

Success Failures Total Runtime
10515 0 10516 09m:18s

Artifacts

@benpicco benpicco requested a review from jia200x September 11, 2025 13:25
sx126x_set_pkt_type(dev, SX126X_PKT_TYPE_LORA);
sx126x_set_channel(dev, CONFIG_SX126X_CHANNEL_DEFAULT);
sx126x_set_tx_power(dev, CONFIG_SX126X_TX_POWER_DEFAULT, CONFIG_SX126X_RAMP_TIME_DEFAULT);
#ifdef CONFIG_SX126X_DEFAULT_SYNC_WORD
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you write some documentation for that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: drivers Area: Device drivers Area: LoRa Area: LoRa radio support CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Discussion: RFC The issue/PR is used as a discussion starting point about the item of the issue/PR Type: enhancement The issue suggests enhanceable parts / The PR enhances parts of the codebase / documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants