Any resource to access the thingy:91x onboard sensors values displayed to the serial?

Hi, Is there any resource or sample project to print the thingy:91x onboard sensor values to the serial using the printk? I tried myself with 

#define BME680_NODE DT_NODELABEL(bme680)
#define BMM350_NODE DT_NODELABEL(magnetometer)
#define BMI270_NODE DT_NODELABEL(accelerometer_hp)

but it does not work as expected. I got resource from reading the device tree, but not worked. Any help appreciated. Thanks,  
Parents Reply
  • I'm not common with iterating over all "available sensor values". If I want to use a sensor, I ensure that this is defined and enabled in the device tree and then a check either for some samples or check the sensor driver's source to see, which value channels are supported. But that far away from iterating of the available sensors, you need to wait for the answer  of someone else.  

Children
Related