Hi Corey,

Suppose we have a sensor's ID, then is there a way such that we can call a 
function which will return its reading?
Currently what I could see is that we can only 
     call ipmi_sensor_pointer_cb() to call a callback function with pointer to 
the sensor
     inside this call back call ipmi_sensor_get_reading() passing another call 
back function
     now in this final call back function the sensor reading is available and 
we fill it in call back data (void *cb_data)
So now through  void *cb_data we can get the sensor reading. But the initial 
call to get the sensor reading, is not waiting for sensor reading value and 
simply continues after calling ipmi_sensor_pointer_cb(). 

Could you please tell if there is any other way to get the sensor readings like 
calling a function which could fetch or wait till sensor reading is available 
and return the value ? 

What is the general way to get the sensor readings using OpenIPMI library?

thanks and regards
S Sarath
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Openipmi-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openipmi-developer

Reply via email to