43#ifndef __MODULES_INCLUDE_BLUETOOTH_BT_AVRCP_H
44#define __MODULES_INCLUDE_BLUETOOTH_BT_AVRCP_H
Bluetooth common header for SDK on Spresense.
BT_CMD_STATUS
BT hci command status.
Definition: bluetooth.h:189
int bt_avrcp_send_command(struct bt_acl_state_s *bt_acl_state, BT_AVRCP_CMD_ID cmd_id, bool press)
Bluetooth send AVRCP command Send command to target device.
int bt_avrcp_disconnect(struct bt_acl_state_s *bt_acl_state)
Bluetooth AVRCP disconnect Disconnect to peer device with AVRCP.
int bt_register_notification(struct bt_avrcp_notify_ops_s *bt_avrcp_notify_ops)
Bluetooth AVRCP Register notification Set callback about AVRCP notification.
BT_AVRCP_ROLE
AVRCP role.
Definition: bt_avrcp.h:68
@ BT_AVRCP_CONTROLLER
Definition: bt_avrcp.h:69
@ BT_AVRCP_TARGET
Definition: bt_avrcp.h:70
int bt_avrcp_register_cb(struct bt_avrcp_ops_s *bt_avrcp_ops)
Bluetooth AVRCP Register connection status callback Set callback about AVRCP connection.
int bt_avrcp_connect(struct bt_acl_state_s *bt_acl_state)
Bluetooth AVRCP connect Connect to peer device with AVRCP.
bool bt_avrcp_is_supported(void)
Get AVRCP support or not support.
BT_AVRCP_CMD_ID
AVRCP command list.
Definition: bt_avrcp_cmds.h:64
BT_CONNECT_STATUS
BT profile connection status.
Definition: bt_common.h:135
BT address types.
Definition: bluetooth.h:171
Definition: bt_avrcp.h:77
uint8_t attrId
Definition: bt_avrcp.h:79
BT_ADDR addr
Definition: bt_avrcp.h:78
uint16_t attrLen
Definition: bt_avrcp.h:80
uint8_t attrValue[48]
Definition: bt_avrcp.h:81
Bluetooth ACL context.
Definition: bt_common.h:164
Bluetooth AVRCP application callbacks.
Definition: bt_avrcp.h:89
void(* avalPlayerChange)(uint8_t *pdata, int len)
Definition: bt_avrcp.h:99
void(* trackReachedEnd)(uint8_t *pdata, int len)
Definition: bt_avrcp.h:92
void(* addrPlayChange)(uint8_t *pdata, int len)
Definition: bt_avrcp.h:100
void(* trackChange)(BT_AVRC_TRACK_INFO *trackInfo)
Definition: bt_avrcp.h:91
void(* trackReachedStart)(uint8_t *pdata, int len)
Definition: bt_avrcp.h:93
void(* nowPlayingChange)(uint8_t *pdata, int len)
Definition: bt_avrcp.h:98
void(* playStatusChange)(BT_AVRC_TRACK_INFO *trackInfo)
Definition: bt_avrcp.h:90
void(* appSettingChange)(uint8_t *pdata, int len)
Definition: bt_avrcp.h:97
void(* systemStatusChange)(uint8_t *pdata, int len)
Definition: bt_avrcp.h:96
void(* playPosChanged)(uint8_t *pdata, int len)
Definition: bt_avrcp.h:94
void(* volumeChange)(uint8_t *pdata, int len)
Definition: bt_avrcp.h:102
void(* batteryStatusChange)(uint8_t *pdata, int len)
Definition: bt_avrcp.h:95
void(* uidsChange)(uint8_t *pdata, int len)
Definition: bt_avrcp.h:101
Bluetooth AVRCP application callbacks.
Definition: bt_avrcp.h:110
void(* disconnect)(struct bt_acl_state_s *bt_acl_state, BT_AVRCP_ROLE role)
Definition: bt_avrcp.h:113
void(* command_status)(BT_CMD_STATUS status)
Definition: bt_avrcp.h:111
void(* connect)(struct bt_acl_state_s *bt_acl_state, BT_AVRCP_ROLE role)
Definition: bt_avrcp.h:112
Bluetooth AVRCP context.
Definition: bt_avrcp.h:121
struct bt_acl_state_s * bt_acl_state
Definition: bt_avrcp.h:126
BT_CONNECT_STATUS bt_avrct_connection
Definition: bt_avrcp.h:123
uint16_t bt_avrct_handle
Definition: bt_avrcp.h:125
uint16_t bt_avrcc_handle
Definition: bt_avrcp.h:124
struct bt_hal_avrcp_ops_s * bt_hal_avrcp_ops
Definition: bt_avrcp.h:127
struct bt_avrcp_ops_s * bt_avrcp_ops
Definition: bt_avrcp.h:128
struct bt_avrcp_notify_ops_s * bt_avrcp_notify_ops
Definition: bt_avrcp.h:129
BT_CONNECT_STATUS bt_avrcc_connection
Definition: bt_avrcp.h:122
Bluetooth AVRCP HAL callbacks.
Definition: bt_if.h:103