|
Zephyr API Documentation 4.3.99
A Scalable Open Source RTOS
|
Audio Video Remote Control Profile header. More...
Go to the source code of this file.
Data Structures | |
| struct | bt_avrcp_unit_info_rsp |
| struct | bt_avrcp_subunit_info_rsp |
| struct | bt_avrcp_passthrough_opvu_data |
| struct | bt_avrcp_passthrough_cmd |
| struct | bt_avrcp_passthrough_rsp |
| struct | bt_avrcp_get_caps_rsp |
| struct | bt_avrcp_get_folder_items_cmd |
| GetFolderItems command request. More... | |
| struct | bt_avrcp_item_hdr |
| Common item header for GetFolderItems response. More... | |
| struct | bt_avrcp_media_player_item |
| Media Player item (item_type=0x01). More... | |
| struct | bt_avrcp_folder_item |
| Folder item (item_type=0x02). More... | |
| struct | bt_avrcp_media_attr |
| AVRCP Media Attribute structure. More... | |
| struct | media_element_item_name |
| Media Element Item Name structure. More... | |
| struct | media_element_item_attr |
| Media Element Item Attributes structure. More... | |
| struct | bt_avrcp_media_element_item |
| Media Element item (item_type = 0x03). More... | |
| struct | bt_avrcp_get_folder_items_rsp |
| GetFolderItems response. More... | |
| struct | bt_avrcp_change_path_cmd |
| ChangePath command request. More... | |
| struct | bt_avrcp_change_path_rsp |
| ChangePath response. More... | |
| struct | bt_avrcp_get_item_attrs_cmd |
| GetItemAttributes command request. More... | |
| struct | bt_avrcp_get_item_attrs_rsp |
| GetItemAttributes response. More... | |
| struct | bt_avrcp_play_item_rsp |
| PlayItem response. More... | |
| struct | bt_avrcp_get_total_number_of_items_cmd |
| GetTotalNumberOfItems command request. More... | |
| struct | bt_avrcp_get_total_number_of_items_rsp |
| GetTotalNumberOfItems response. More... | |
| struct | bt_avrcp_search_cmd |
| Search command request. More... | |
| struct | bt_avrcp_search_rsp |
| Search response. More... | |
| struct | bt_avrcp_folder_name |
| get folder name (response) More... | |
| struct | bt_avrcp_set_browsed_player_rsp |
| Set browsed player response structure. More... | |
| struct | bt_avrcp_get_element_attrs_cmd |
| GetElementAttributes command request structure. More... | |
| struct | bt_avrcp_get_element_attrs_rsp |
| GetElementAttributes response structure. More... | |
| struct | bt_avrcp_list_player_app_setting_attrs_rsp |
| ListPlayerApplicationSettingAttributes response. More... | |
| struct | bt_avrcp_list_player_app_setting_vals_cmd |
| ListPlayerApplicationSettingValues command request. More... | |
| struct | bt_avrcp_list_player_app_setting_vals_rsp |
| ListPlayerApplicationSettingValues response. More... | |
| struct | bt_avrcp_get_curr_player_app_setting_val_cmd |
| GetCurrentPlayerApplicationSettingValue command request. More... | |
| struct | bt_avrcp_app_setting_attr_val |
| AVRCP Attribute-Value Pair. More... | |
| struct | bt_avrcp_get_curr_player_app_setting_val_rsp |
| GetCurrentPlayerApplicationSettingValue response. More... | |
| struct | bt_avrcp_set_player_app_setting_val_cmd |
| SetPlayerApplicationSettingValue command request. More... | |
| struct | bt_avrcp_get_player_app_setting_attr_text_cmd |
| GetPlayerApplicationSettingAttributeText command request. More... | |
| struct | bt_avrcp_app_setting_attr_text |
| AVRCP Attribute Text Entry. More... | |
| struct | bt_avrcp_get_player_app_setting_attr_text_rsp |
| GetPlayerApplicationSettingAttributeText response. More... | |
| struct | bt_avrcp_get_player_app_setting_val_text_cmd |
| GetPlayerApplicationSettingValueText command request. More... | |
| struct | bt_avrcp_app_setting_val_text |
| AVRCP Attribute Text Entry. More... | |
| struct | bt_avrcp_get_player_app_setting_val_text_rsp |
| GetPlayerApplicationSettingValueText response. More... | |
| struct | bt_avrcp_inform_displayable_char_set_cmd |
| InformDisplayableCharacterSet command request. More... | |
| struct | bt_avrcp_inform_batt_status_of_ct_cmd |
| InformBatteryStatusOfCT command request. More... | |
| struct | bt_avrcp_get_play_status_rsp |
| GetPlayStatus response. More... | |
| struct | bt_avrcp_register_notification_cmd |
| RegisterNotification command request. More... | |
| struct | bt_avrcp_set_absolute_volume_cmd |
| SetAbsoluteVolume command request. More... | |
| struct | bt_avrcp_set_absolute_volume_rsp |
| SetAbsoluteVolume response. More... | |
| struct | bt_avrcp_set_addressed_player_cmd |
| SetAddressedPlayer command request. More... | |
| struct | bt_avrcp_play_item_cmd |
| PlayItem command request. More... | |
| struct | bt_avrcp_add_to_now_playing_cmd |
| AddToNowPlaying command request. More... | |
| struct | bt_avrcp_event_data |
| struct | bt_avrcp_ct_cb |
| struct | bt_avrcp_tg_cb |
Macros | |
| #define | BT_AVRCP_COMPANY_ID_SIZE (3) |
| #define | BT_AVRCP_COMPANY_ID_BLUETOOTH_SIG (0x001958) |
| #define | BT_AVRCP_PASSTHROUGH_GET_STATE(payload) |
| #define | BT_AVRCP_PASSTHROUGH_GET_OPID(payload) |
| #define | BT_AVRCP_PASSTHROUGH_SET_STATE_OPID(payload, state, opid) |
| #define | BT_AVRCP_MAX_ABSOLUTE_VOLUME 0x7F |
| AVRCP MAX absolute volume. | |
Typedefs | |
| typedef void(* | bt_avrcp_notify_changed_cb_t) (struct bt_avrcp_ct *ct, uint8_t event_id, struct bt_avrcp_event_data *data) |
| Callback for AVRCP event notifications (CHANGED only). | |
Functions | |
| int | bt_avrcp_connect (struct bt_conn *conn) |
| Connect AVRCP. | |
| int | bt_avrcp_disconnect (struct bt_conn *conn) |
| Disconnect AVRCP. | |
| struct net_buf * | bt_avrcp_create_pdu (struct net_buf_pool *pool) |
| Allocate a net_buf for AVRCP PDU transmission, reserving headroom for AVRCP, AVRCTP, L2CAP, and ACL headers. | |
| struct net_buf * | bt_avrcp_create_vendor_pdu (struct net_buf_pool *pool) |
| Allocate a net_buf for AVRCP Vendor-Dependent PDU transmission, reserving headroom for the Vendor PDU header in addition to AVRCP, AVCTP, L2CAP, and ACL headers. | |
| int | bt_avrcp_browsing_connect (struct bt_conn *conn) |
| Connect AVRCP browsing channel. | |
| int | bt_avrcp_browsing_disconnect (struct bt_conn *conn) |
| Disconnect AVRCP browsing channel. | |
| int | bt_avrcp_ct_register_cb (const struct bt_avrcp_ct_cb *cb) |
| Register callback. | |
| int | bt_avrcp_ct_get_caps (struct bt_avrcp_ct *ct, uint8_t tid, uint8_t cap_id) |
| Get AVRCP Capabilities. | |
| int | bt_avrcp_ct_get_unit_info (struct bt_avrcp_ct *ct, uint8_t tid) |
| Get AVRCP Unit Info. | |
| int | bt_avrcp_ct_get_subunit_info (struct bt_avrcp_ct *ct, uint8_t tid) |
| Get AVRCP Subunit Info. | |
| int | bt_avrcp_ct_passthrough (struct bt_avrcp_ct *ct, uint8_t tid, uint8_t opid, uint8_t state, const uint8_t *payload, uint8_t len) |
| Send AVRCP Pass Through command. | |
| int | bt_avrcp_ct_set_browsed_player (struct bt_avrcp_ct *ct, uint8_t tid, uint16_t player_id) |
| Set browsed player. | |
| int | bt_avrcp_ct_register_notification (struct bt_avrcp_ct *ct, uint8_t tid, uint8_t event_id, uint32_t interval, bt_avrcp_notify_changed_cb_t cb) |
| Register for AVRCP changed notifications with callback. | |
| int | bt_avrcp_ct_list_player_app_setting_attrs (struct bt_avrcp_ct *ct, uint8_t tid) |
| Send AVRCP vendor dependent command for LIST_PLAYER_APP_SETTING_ATTRS. | |
| int | bt_avrcp_ct_list_player_app_setting_vals (struct bt_avrcp_ct *ct, uint8_t tid, uint8_t attr_id) |
| Send AVRCP vendor dependent command for LIST_PLAYER_APP_SETTING_VALS. | |
| int | bt_avrcp_ct_get_curr_player_app_setting_val (struct bt_avrcp_ct *ct, uint8_t tid, struct net_buf *buf) |
| Send AVRCP vendor dependent command for GET_CURR_PLAYER_APP_SETTING_VAL. | |
| int | bt_avrcp_ct_set_player_app_setting_val (struct bt_avrcp_ct *ct, uint8_t tid, struct net_buf *buf) |
| Send AVRCP vendor dependent command for SET_PLAYER_APP_SETTING_VAL. | |
| int | bt_avrcp_ct_get_player_app_setting_attr_text (struct bt_avrcp_ct *ct, uint8_t tid, struct net_buf *buf) |
| Send AVRCP vendor dependent command for GET_PLAYER_APP_SETTING_ATTR_TEXT. | |
| int | bt_avrcp_ct_get_player_app_setting_val_text (struct bt_avrcp_ct *ct, uint8_t tid, struct net_buf *buf) |
| Send AVRCP vendor dependent command for GET_PLAYER_APP_SETTING_VAL_TEXT. | |
| int | bt_avrcp_ct_inform_displayable_char_set (struct bt_avrcp_ct *ct, uint8_t tid, struct net_buf *buf) |
| Send AVRCP vendor dependent command for INFORM_DISPLAYABLE_CHAR_SET. | |
| int | bt_avrcp_ct_inform_batt_status_of_ct (struct bt_avrcp_ct *ct, uint8_t tid, uint8_t battery_status) |
| Send AVRCP vendor dependent command for INFORM_BATT_STATUS_OF_CT. | |
| int | bt_avrcp_ct_set_absolute_volume (struct bt_avrcp_ct *ct, uint8_t tid, uint8_t absolute_volume) |
| Send Set Absolute Volume command (CT). | |
| int | bt_avrcp_ct_get_element_attrs (struct bt_avrcp_ct *ct, uint8_t tid, struct net_buf *buf) |
| Send AVRCP vendor dependent command for GET_ELEMENT_ATTRS. | |
| int | bt_avrcp_ct_get_play_status (struct bt_avrcp_ct *ct, uint8_t tid) |
| Send AVRCP vendor dependent command for GET_PLAY_STATUS. | |
| int | bt_avrcp_ct_set_addressed_player (struct bt_avrcp_ct *ct, uint8_t tid, uint16_t player_id) |
| Send AVRCP vendor dependent command for SET_ADDRESSED_PLAYER. | |
| int | bt_avrcp_ct_play_item (struct bt_avrcp_ct *ct, uint8_t tid, struct net_buf *buf) |
| Send AVRCP vendor dependent command for PLAY_ITEM. | |
| int | bt_avrcp_ct_add_to_now_playing (struct bt_avrcp_ct *ct, uint8_t tid, struct net_buf *buf) |
| Send AVRCP vendor dependent command for ADD_TO_NOW_PLAYING. | |
| int | bt_avrcp_ct_get_folder_items (struct bt_avrcp_ct *ct, uint8_t tid, struct net_buf *buf) |
| Get Folder Items. | |
| int | bt_avrcp_ct_change_path (struct bt_avrcp_ct *ct, uint8_t tid, struct net_buf *buf) |
| Change Path. | |
| int | bt_avrcp_ct_get_item_attrs (struct bt_avrcp_ct *ct, uint8_t tid, struct net_buf *buf) |
| Get Item Attributes. | |
| int | bt_avrcp_ct_get_total_number_of_items (struct bt_avrcp_ct *ct, uint8_t tid, uint8_t scope) |
| Get Total Number Of Items. | |
| int | bt_avrcp_ct_search (struct bt_avrcp_ct *ct, uint8_t tid, struct net_buf *buf) |
| Search. | |
| int | bt_avrcp_tg_register_cb (const struct bt_avrcp_tg_cb *cb) |
| Register callback. | |
| int | bt_avrcp_tg_send_unit_info_rsp (struct bt_avrcp_tg *tg, uint8_t tid, struct bt_avrcp_unit_info_rsp *rsp) |
| Send the unit info response. | |
| int | bt_avrcp_tg_send_subunit_info_rsp (struct bt_avrcp_tg *tg, uint8_t tid) |
| Send the subunit info response. | |
| int | bt_avrcp_tg_get_caps (struct bt_avrcp_tg *tg, uint8_t tid, uint8_t status, struct net_buf *buf) |
| Send GET_CAPABILITIES response. | |
| int | bt_avrcp_tg_notification (struct bt_avrcp_tg *tg, uint8_t tid, uint8_t status, uint8_t event_id, struct bt_avrcp_event_data *data) |
| Send notification response. | |
| int | bt_avrcp_tg_set_browsed_player (struct bt_avrcp_tg *tg, uint8_t tid, struct net_buf *buf) |
| Send the set browsed player response. | |
| int | bt_avrcp_tg_send_passthrough_rsp (struct bt_avrcp_tg *tg, uint8_t tid, bt_avrcp_rsp_t result, struct net_buf *buf) |
| Send AVRCP Pass Through response. | |
| int | bt_avrcp_tg_list_player_app_setting_attrs (struct bt_avrcp_tg *tg, uint8_t tid, uint8_t status, struct net_buf *buf) |
| Send response for PDU ID BT_AVRCP_PDU_ID_LIST_PLAYER_APP_SETTING_ATTRS. | |
| int | bt_avrcp_tg_list_player_app_setting_vals (struct bt_avrcp_tg *tg, uint8_t tid, uint8_t status, struct net_buf *buf) |
| Send response for PDU ID BT_AVRCP_PDU_ID_LIST_PLAYER_APP_SETTING_VALS. | |
| int | bt_avrcp_tg_get_curr_player_app_setting_val (struct bt_avrcp_tg *tg, uint8_t tid, uint8_t status, struct net_buf *buf) |
| Send response for PDU ID BT_AVRCP_PDU_ID_GET_CURR_PLAYER_APP_SETTING_VAL. | |
| int | bt_avrcp_tg_set_player_app_setting_val (struct bt_avrcp_tg *tg, uint8_t tid, uint8_t status) |
| Send response for PDU ID BT_AVRCP_PDU_ID_SET_PLAYER_APP_SETTING_VAL. | |
| int | bt_avrcp_tg_get_player_app_setting_attr_text (struct bt_avrcp_tg *tg, uint8_t tid, uint8_t status, struct net_buf *buf) |
| Send response for PDU ID BT_AVRCP_PDU_ID_GET_PLAYER_APP_SETTING_ATTR_TEXT. | |
| int | bt_avrcp_tg_get_player_app_setting_val_text (struct bt_avrcp_tg *tg, uint8_t tid, uint8_t status, struct net_buf *buf) |
| Send response for PDU ID BT_AVRCP_PDU_ID_GET_PLAYER_APP_SETTING_VAL_TEXT. | |
| int | bt_avrcp_tg_inform_displayable_char_set (struct bt_avrcp_tg *tg, uint8_t tid, uint8_t status) |
| Send response for PDU ID BT_AVRCP_PDU_ID_INFORM_DISPLAYABLE_CHAR_SET. | |
| int | bt_avrcp_tg_inform_batt_status_of_ct (struct bt_avrcp_tg *tg, uint8_t tid, uint8_t status) |
| Send response for PDU ID BT_AVRCP_PDU_ID_INFORM_BATT_STATUS_OF_CT. | |
| int | bt_avrcp_tg_absolute_volume (struct bt_avrcp_tg *tg, uint8_t tid, uint8_t status, uint8_t absolute_volume) |
| Send Set Absolute Volume response (TG). | |
| int | bt_avrcp_tg_get_element_attrs (struct bt_avrcp_tg *tg, uint8_t tid, uint8_t status, struct net_buf *buf) |
| Send response for PDU ID BT_AVRCP_PDU_ID_GET_ELEMENT_ATTRS. | |
| int | bt_avrcp_tg_get_play_status (struct bt_avrcp_tg *tg, uint8_t tid, uint8_t status, struct net_buf *buf) |
| Send response for PDU ID BT_AVRCP_PDU_ID_GET_PLAY_STATUS. | |
| int | bt_avrcp_tg_set_addressed_player (struct bt_avrcp_tg *tg, uint8_t tid, uint8_t status) |
| Send response for PDU ID BT_AVRCP_PDU_ID_SET_ADDRESSED_PLAYER. | |
| int | bt_avrcp_tg_play_item (struct bt_avrcp_tg *tg, uint8_t tid, uint8_t status) |
| Send response for PDU ID BT_AVRCP_PDU_ID_PLAY_ITEM. | |
| int | bt_avrcp_tg_add_to_now_playing (struct bt_avrcp_tg *tg, uint8_t tid, uint8_t status) |
| Send response for PDU ID BT_AVRCP_PDU_ID_ADD_TO_NOW_PLAYING. | |
| int | bt_avrcp_tg_get_folder_items (struct bt_avrcp_tg *tg, uint8_t tid, struct net_buf *buf) |
| Send the Get Folder Items response. | |
| int | bt_avrcp_tg_change_path (struct bt_avrcp_tg *tg, uint8_t tid, uint8_t status, uint32_t num_items) |
| Send the Change Path response. | |
| int | bt_avrcp_tg_get_item_attrs (struct bt_avrcp_tg *tg, uint8_t tid, struct net_buf *buf) |
| Send the Get Item Attributes response. | |
| int | bt_avrcp_tg_get_total_number_of_items (struct bt_avrcp_tg *tg, uint8_t tid, struct net_buf *buf) |
| Send the Get Total Number Of Items response. | |
| int | bt_avrcp_tg_search (struct bt_avrcp_tg *tg, uint8_t tid, struct net_buf *buf) |
| Send the Search response. | |
| int | bt_avrcp_tg_browsing_general_reject (struct bt_avrcp_tg *tg, uint8_t tid, uint8_t status) |
| Send General Reject response on the AVRCP Browsing channel (TG). | |
Audio Video Remote Control Profile header.