keever50 opened a new pull request, #16024:
URL: https://github.com/apache/nuttx/pull/16024

   ### Summary
   
   This PR is a follow-up of https://github.com/apache/nuttx/issues/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
   
   - LoRa
   - FSK
   - OOK / ASK
   - read() return struct
   
   ### Impact
   
   This change does not impact existing drivers by design.
   
   - Legacy drivers remain unchanged but can be ported if desired.
   - Experimental drivers can be freely adapted.
   - New drivers must use the common API whenever possible.
   
   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.
   
   - Tested on: SX126x driver
   - Verification: The SX126x driver was tested using its driver-specific 
(non-common API) commands and continues to function as expected.
   - Next Steps: Since no drivers currently implement this API, further testing 
will occur during the porting process.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to