energy
[Interface specifications]


Detailed Description

Energy storage / consumptionDEPRECATED: THE FUNCTIONALITY OF THE ENERGY DEVICE HAS BEEN FOLDED INTO THE POWER DEVICE. YOU SHOULD CONSIDER USING THE POWER DEVICE INSTEAD. NO NEW DEVELOPMENT SHOULD BE DONE ON THE ENERGY DEVICE AND IT WILL BE REMOVED FROM HERE VERY SOON.

The energy interface provides data about energy storage, consumption and charging. This interface accepts no commands.

#define PLAYER_ENERGY_DATA_STATE   1
#define PLAYER_ENERGY_SET_CHARGING_POLICY_REQ   1
 Request subtype: set charging policy.
typedef struct
player_energy_data 
player_energy_data_t
typedef struct
player_energy_chargepolicy_config 
player_energy_chargepolicy_config_t

Define Documentation

#define PLAYER_ENERGY_DATA_STATE   1

Data subtype: state


Typedef Documentation

Request/reply: set charging policy Send a PLAYER_ENERGY_SET_CHARGING_POLICY_REQ request to change the charging policy.

Data: state (PLAYER_ENERGY_DATA_STATE)The energy interface reports he amount of energy stored, current rate of energy consumption or aquisition, and whether or not the device is connected to a charger.


Last updated 12 September 2005 21:38:45