Skip to content
This repository has been archived by the owner on Dec 27, 2023. It is now read-only.

Clamp tx power between driver-specific values #43

Merged
merged 4 commits into from
Nov 15, 2023

Conversation

plaes
Copy link
Contributor

@plaes plaes commented Nov 15, 2023

Instead of erroring out with InvalidOutputPower, clamp support TX power between chip-supported values. Proper region-specific limiting is handled in upper layers (rust-rs) and it's up to user to choose the correct chip for each region.
Upper layers also provide support for adjusting output power related to antenna gain as well.

Related:

Copy link
Collaborator

@lucasgranberg lucasgranberg left a comment

Choose a reason for hiding this comment

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

This is a good change, thanks!

@lucasgranberg lucasgranberg merged commit 2bdf5ec into embassy-rs:main Nov 15, 2023
1 check passed
@plaes plaes deleted the clamp-tx-power branch November 15, 2023 16:31
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.

2 participants