patacongo commented on PR #10077: URL: https://github.com/apache/nuttx/pull/10077#issuecomment-1683979939
> @xiaoxiang781216 I completely agree that uorb helped to force sensors to follow the common standard for IOCTLs, but this could have applied to character drivers as well, if someone had defined the standard to follow. Bob Feretich did develop something he called the Sensor Cluster Driver which was a frameworkd for sensor character drivers. It did not see much usage bit it is fully in place and implemented for a few sensor drivers. There is a general description in drivers/sensors/README.txt and include/nuttx/sensors/cluster_driver.h. Perhaps some or all of that could be reused? Ref: https://github.com/apache/nuttx/blob/master/drivers/sensors/README.txt#L217 -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
