|
Defines |
| #define | ALP_TEL_IS_POW_GET_BATTERY_CHARGE_LEVEL_SUPPORTED(iAppId) alp_tel_is_function_supported(iAppId, ALP_TEL_POW_GET_BATTERY_CHARGE_LEVEL_MESSAGE) |
| #define | ALP_TEL_IS_POW_GET_BATTERY_CONNECTION_STATUS_SUPPORTED(iAppId) alp_tel_is_function_supported(iAppId, ALP_TEL_POW_GET_BATTERY_CONNECTION_STATUS_MESSAGE) |
| #define | ALP_TEL_IS_POW_GET_PHONE_FUNCTIONALITY_SUPPORTED(iAppId) alp_tel_is_function_supported(iAppId, ALP_TEL_POW_GET_PHONE_FUNCTIONALITY_MESSAGE) |
| #define | ALP_TEL_IS_POW_SET_PHONE_FUNCTIONALITY_SUPPORTED(iAppId) alp_tel_is_function_supported(iAppId, ALP_TEL_POW_SET_PHONE_FUNCTIONALITY_MESSAGE) |
| #define | ALP_TEL_POW_BATTERY_FAULT 3 |
| | Power fault.
|
| #define | ALP_TEL_POW_BATTERY_NOT_POWERED 1 |
| | ME has a battery connected, but is not powered by it.
|
| #define | ALP_TEL_POW_BATTERY_POWERED 0 |
| | ME is powered by the battery.
|
| #define | ALP_TEL_POW_FUNCTIONALITY_FULL_LEVEL 0x01 |
| #define | ALP_TEL_POW_FUNCTIONALITY_MIN_LEVEL 0x00 |
| #define | ALP_TEL_POW_FUNCTIONALITY_NO_RX_LEVEL 0x03 |
| #define | ALP_TEL_POW_FUNCTIONALITY_NO_TX_LEVEL 0x02 |
| #define | ALP_TEL_POW_FUNCTIONALITY_NO_TX_NO_RX_LEVEL 0x04 |
| #define | ALP_TEL_POW_GET_BATTERY_CHARGE_LEVEL_MESSAGE ((ALP_TEL_POW_SERVICE_ID << 8) | 0x0000) |
| #define | ALP_TEL_POW_GET_BATTERY_CONNECTION_STATUS_MESSAGE ((ALP_TEL_POW_SERVICE_ID << 8) | 0x0001) |
| #define | ALP_TEL_POW_GET_PHONE_FUNCTIONALITY_MESSAGE ((ALP_TEL_POW_SERVICE_ID << 8) | 0x0003) |
| #define | ALP_TEL_POW_MASK_FUN_LEVEL 0x7F |
| | Mask to get the 'fun' power level.
|
| #define | ALP_TEL_POW_MASK_RESET 0x80 |
| | Mask to get the 'rst' parameter.
|
| #define | ALP_TEL_POW_MESSAGES_COUNT ((ALP_TEL_POW_GET_PHONE_FUNCTIONALITY_MESSAGE & ALP_TEL_MESSAGE_MASK) + 1) |
| | Total count of power service messages.
|
| #define | ALP_TEL_POW_NO_BATTERY 2 |
| | ME does not have a battery connected.
|
| #define | ALP_TEL_POW_RESET 0x80 |
| #define | ALP_TEL_POW_SET_PHONE_FUNCTIONALITY_MESSAGE ((ALP_TEL_POW_SERVICE_ID << 8) | 0x0002) |
Functions |
| alp_status_t | alp_tel_pow_get_battery_charge_level (AlpTelApplicationId iAppId, uint8_t *oBatteryChargeLevelP, AlpTelTransId *ioTransIdP) |
| alp_status_t | alp_tel_pow_get_battery_connection_status (AlpTelApplicationId iAppId, uint8_t *oBatteryConnectionStatusP, AlpTelTransId *ioTransIdP) |
| alp_status_t | alp_tel_pow_get_phone_functionality (AlpTelApplicationId iAppId, uint8_t *oPhoneFunctionality, AlpTelTransId *ioTransIdP) |
| alp_status_t | alp_tel_pow_set_phone_functionality (AlpTelApplicationId iAppId, uint8_t iPhoneFunctionality, AlpTelTransId *ioTransIdP) |
Copyright © 1999-2008 ACCESS CO., LTD. All rights reserved.