root/lm-sensors/trunk/doc/libsensors-API.txt @ 5786

Revision 5786, 2.2 KB (checked in by khali, 4 years ago)

Add support for HID devices.

Line 
1libsensors API history
2======================
3
4SENSORS_API_VERSION tracks the evolutions made to the libsensors API
5over time. This document summarizes these evolutions so that application
6authors can quickly figure out how to test for the availability of a
7given new feature.
8
90x421   lm-sensors SVN
10* Added bus type "hid":
11  #define SENSORS_BUS_TYPE_HID
12
130x420   lm-sensors 3.1.1
14* Added a method to free the memory allocated by sensors_parse_chip_name()
15  void sensors_free_chip_name(sensors_chip_name *chip);
16
170x410   lm-sensors 3.1.0
18* Added bus type "acpi":
19  #define SENSORS_BUS_TYPE_ACPI
20* Added support for instantaneous power sensors
21  enum sensors_subfeature_type SENSORS_SUBFEATURE_POWER_INPUT
22  enum sensors_subfeature_type SENSORS_SUBFEATURE_POWER_INPUT_HIGHEST
23  enum sensors_subfeature_type SENSORS_SUBFEATURE_POWER_INPUT_LOWEST
24* Added support for current sensors
25  enum sensors_feature_type SENSORS_FEATURE_CURR
26  enum sensors_subfeature_type SENSORS_SUBFEATURE_CURR_INPUT
27  enum sensors_subfeature_type SENSORS_SUBFEATURE_CURR_MIN
28  enum sensors_subfeature_type SENSORS_SUBFEATURE_CURR_MAX
29  enum sensors_subfeature_type SENSORS_SUBFEATURE_CURR_ALARM
30  enum sensors_subfeature_type SENSORS_SUBFEATURE_CURR_MIN_ALARM
31  enum sensors_subfeature_type SENSORS_SUBFEATURE_CURR_MAX_ALARM
32  enum sensors_subfeature_type SENSORS_SUBFEATURE_CURR_BEEP
33* Added error value for excessive recursion depth
34  #define SENSORS_ERR_RECURSION 11
35* Added parse error reporting function including the configuration file
36  name
37  extern void (*sensors_parse_error_wfn) (const char *err,
38                                          const char *filename, int lineno);
39
400x401   lm-sensors 3.0.2 to 3.0.3
41* Added bus type "virtual":
42  #define SENSORS_BUS_TYPE_VIRTUAL
43* Added support for power and energy sensors
44  enum sensors_feature_type SENSORS_FEATURE_POWER
45  enum sensors_feature_type SENSORS_FEATURE_ENERGY
46  enum sensors_subfeature_type SENSORS_SUBFEATURE_POWER_AVERAGE
47  enum sensors_subfeature_type SENSORS_SUBFEATURE_POWER_AVERAGE_HIGHEST
48  enum sensors_subfeature_type SENSORS_SUBFEATURE_POWER_AVERAGE_LOWEST
49  enum sensors_subfeature_type SENSORS_SUBFEATURE_POWER_AVERAGE_INTERVAL
50  enum sensors_subfeature_type SENSORS_SUBFEATURE_ENERGY_INPUT
51
520x400   lm-sensors 3.0.0 to 3.0.1
53* Initial API.
Note: See TracBrowser for help on using the browser.