-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
nuttx/wireless/ioctl: Common IOCTL API for RF Modulation Technologies #16024
nuttx/wireless/ioctl: Common IOCTL API for RF Modulation Technologies #16024
Conversation
[Experimental Bot, please feedback here] Yes, this PR generally meets the NuttX requirements, but could be improved. Here's a breakdown: Strengths:
Areas for Improvement:
By addressing these points, the PR will be even stronger and more readily accepted. |
will fix the conflict. That error did not pop up for me. Ill make sure to clean build double check everything. |
4c2794e
to
8696cd8
Compare
Please remember to fill in the Commit Message. Just copy from the PR Summary above. Thanks :-) |
I suggest adding a checklist contributors can fill in somewhere? In the guidelines or PR template. This makes things a bit easier for both reviewers and contributors, because less time is going into corrections, hopefully. |
Yep we just updated the guidelines here :-) |
8696cd8
to
60e8a5d
Compare
This PR is a follow-up of issue apache#15856 and the mailing list proposal "Proposal: Common IOCTL API for RF Modulation Technologies" Before this PR, the IOCTL API for character-driven RF devices lacked a common interface across different modulation technologies, such as LoRa, FSK, and OOK. The result was, driver-specific IOCTL commands were created even when they could be shared across multiple radios. This fragmentation made application portability more difficult to maintain. This PR will add a common API that can be shared across all new drivers. Such as * LoRa * FSK * OOK / ASK * read() return struct Signed-off-by: Kevin Witteveen (MartiniMarter) <[email protected]>
60e8a5d
to
3d4f8f2
Compare
Thank you for the spelling checks. These are now corrected |
…initial documentation. Adds initial documentation to the IOCTL commands of wireless character devices. Signed-off-by: Kevin Witteveen (MartiniMarter) <[email protected]>
3d4f8f2
to
a42b673
Compare
Summary
This PR is a follow-up of #15856 and the mailing list proposal "Proposal: Common IOCTL API for RF Modulation Technologies"
Currently, the IOCTL API for character-driven RF devices lacks a common
interface across different modulation technologies, such as LoRa, FSK, and
OOK. As a result, driver-specific IOCTL commands are created even when they
could be shared across multiple radios. This fragmentation makes
application portability more difficult to maintain.
This PR will add a common API that can be shared across all new drivers.
Such as
Impact
This change does not impact existing drivers by design.
The API covers the most common RF features. If additional functionality is required, new IOCTL commands can be introduced without breaking compatibility.
Documentation updates will follow after the initial approval of this commit.
Relevant to previous discussions: This update is no more a breaking change. No existing IOCTL commands have been replaced or removed.
Testing
This update is designed to be non-disruptive to existing drivers. However, some IOCTL command offsets have been adjusted.