Donny9 opened a new pull request #2369:
URL: https://github.com/apache/incubator-nuttx/pull/2369


   ## Summary
   Support sensor for user-defined type, these special sensor whose event size 
is not fixed or dynamically change.
   "SENSOR_TYPE_CUSTOM" is defined include/nuttx/sensors/sensor.h.
   You should register sensor device by sensor_custom_register with sensor 
character device path (ex: "/dev/sensor/dummy") and the element size of 
intermediate buffer if you use it. On the contrary, you can unregister 
character device by sensor_custom_register with specific path. 
   
    
   ## Impact
   Add user-defined types of interfaces to make drivers compatible with more 
sensors.
   ## Testing
   daily test.
   


----------------------------------------------------------------
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.

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


Reply via email to