hartmannathan commented on code in PR #17752:
URL: https://github.com/apache/nuttx/pull/17752#discussion_r2658013960


##########
drivers/sensors/Kconfig:
##########
@@ -31,6 +31,30 @@ config SENSORS_GNSS
        ---help---
                Allow application to use GNSS by /dev/uorb/gnss or /dev/ttyGNSS
 
+config SENSORS_MONITOR
+       bool "Sensors Monitor Support"
+       depends on DEBUG_SENSORS_INFO && FS_PROCFS_REGISTER
+       default n
+       ---help---
+               Allow application to dynamic monitor topic of sensor by 
/proc/sensor_monitor.
+
+if SENSORS_MONITOR
+
+config SENSORS_MONITOR_BUCKET
+       int "The count of sensor monitor hash table bucket."
+       default 16
+       ---help---
+               The number of sensor that can be monitor.
+
+config SENSORS_MONITOR_LIST
+       string "The list of sensor that starts monitoring at initialization"

Review Comment:
   ```suggestion
        string "The list of sensors that starts monitoring at initialization"
   ```



##########
drivers/sensors/Kconfig:
##########
@@ -31,6 +31,30 @@ config SENSORS_GNSS
        ---help---
                Allow application to use GNSS by /dev/uorb/gnss or /dev/ttyGNSS
 
+config SENSORS_MONITOR
+       bool "Sensors Monitor Support"
+       depends on DEBUG_SENSORS_INFO && FS_PROCFS_REGISTER
+       default n
+       ---help---
+               Allow application to dynamic monitor topic of sensor by 
/proc/sensor_monitor.
+
+if SENSORS_MONITOR
+
+config SENSORS_MONITOR_BUCKET
+       int "The count of sensor monitor hash table bucket."
+       default 16
+       ---help---
+               The number of sensor that can be monitor.
+
+config SENSORS_MONITOR_LIST
+       string "The list of sensor that starts monitoring at initialization"
+       default ""
+       ---help---
+               The topics that needs to be debugged, multiple topics are 
separated by ",".

Review Comment:
   ```suggestion
                The topics that needs to be debugged. Multiple topics are 
separated by ",".
   ```



##########
drivers/sensors/Kconfig:
##########
@@ -31,6 +31,30 @@ config SENSORS_GNSS
        ---help---
                Allow application to use GNSS by /dev/uorb/gnss or /dev/ttyGNSS
 
+config SENSORS_MONITOR
+       bool "Sensors Monitor Support"
+       depends on DEBUG_SENSORS_INFO && FS_PROCFS_REGISTER
+       default n
+       ---help---
+               Allow application to dynamic monitor topic of sensor by 
/proc/sensor_monitor.
+
+if SENSORS_MONITOR
+
+config SENSORS_MONITOR_BUCKET
+       int "The count of sensor monitor hash table bucket."
+       default 16
+       ---help---
+               The number of sensor that can be monitor.

Review Comment:
   ```suggestion
                The number of sensors that can be monitored.
   ```



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

Reply via email to