Include dependency graph for ams_c.h:Go to the source code of this file.
Classes | |
| struct | ams_c_ett_attr_id_t |
| Structure that stores the attribute to be concerned or to display completely. More... | |
| struct | ams_c_cmd_list_t |
| Structure that stores new command list. More... | |
| struct | ams_c_attr_info_t |
| Structure that stores attribute information. More... | |
| struct | ams_c_cplt_attr_data_t |
| Complete attribution's value . More... | |
| struct | ams_c_handles_t |
| Handles on the connected peer device needed to interact with it. More... | |
| struct | ams_c_evt_t |
| Apple Media Service Client event. More... | |
Macros | |
| #define | AMS_C_CONNECTION_MAX |
| Maximum number of HRS Client connections. More... | |
| #define | AMS_C_ATTR_COUNT_MAX 256 |
| The buffer size of command. More... | |
| #define | AMS_C_TRUNCATED_FLAG (0x01<<0) |
| Bit of truncated. More... | |
| #define | AMS_SRVC_UUID |
| UUID of Apple media service. More... | |
| #define | AMS_CMD_UUID |
| UUID of remote command. More... | |
| #define | AMS_ATTR_UPDATE_UUID |
| UUID of attribute update. More... | |
| #define | AMS_ATTR_DISPLAY_UUID |
| UUID of attribute display. More... | |
Typedefs | |
| typedef void(* | ams_c_evt_handler_t) (ams_c_evt_t *p_evt) |
| Apple Media Service Client event handler type. More... | |
Functions | |
| sdk_err_t | ams_c_client_init (ams_c_evt_handler_t evt_handler) |
| Register AMS Client event handler. More... | |
| sdk_err_t | ams_c_disc_srvc_start (uint8_t conn_idx) |
| Discover Apple Media Service on peer. More... | |
| sdk_err_t | ams_c_cmd_notify_set (uint8_t conn_idx, bool is_enable) |
| Enable or disable peer new command list notify. More... | |
| sdk_err_t | ams_c_attr_update_notify_set (uint8_t conn_idx, bool is_enable) |
| Enable or disable peer updated attribute notify. More... | |
| sdk_err_t | ams_c_cplt_attr_read (uint8_t conn_idx) |
| Read complete value of updated attrbute . More... | |
| sdk_err_t | ams_c_cmd_send (uint8_t conn_idx, uint8_t cmd_id) |
| Send command to peer device. More... | |
| sdk_err_t | ams_c_attr_focus_set (uint8_t conn_idx, const ams_c_ett_attr_id_t *p_ett_attr_id) |
| Set concerned attribute. More... | |
| sdk_err_t | ams_c_attr_display_set (uint8_t conn_idx, const ams_c_attr_info_t *p_attr_info) |
| Set the attribute that needs to be completely displayed. More... | |
| bool | ams_c_cmd_enable_check (ams_c_cmd_id_t cmd_id) |
| Check if the command is available. More... | |