43#ifndef __MODULES_INCLUDE_BLUETOOTH_BT_A2DP_H
44#define __MODULES_INCLUDE_BLUETOOTH_BT_A2DP_H
Bluetooth common header for SDK on Spresense.
BT_CMD_STATUS
BT hci command status.
Definition: bluetooth.h:189
int bt_a2dp_connect(struct bt_acl_state_s *bt_acl_state)
Bluetooth A2DP connect Connect to peer device with A2DP.
int bt_a2dp_disconnect(struct bt_acl_state_s *bt_acl_state)
Bluetooth A2DP disconnect Disconnect to peer device with A2DP.
int bt_a2dp_set_codec_capability(BT_AUDIO_CODEC_INFO *codec_capabilities, uint8_t num)
Bluetooth A2DP set codec capability Set capability of audio codecs.
bool bt_a2dp_is_supported(void)
Get A2DP support or not support.
int bt_a2dp_register_callback(struct bt_a2dp_ops_s *bt_a2dp_ops)
Register A2DP event packet callback.
Bluetooth A2DP common header for SDK on Spresense.
BT_CONNECT_STATUS
BT profile connection status.
Definition: bt_common.h:135
Codec information element structure, used to provide info of a single type of codec.
Definition: bt_a2dp_codecs.h:195
Bluetooth A2DP application callbacks.
Definition: bt_a2dp.h:64
void(* disconnect)(struct bt_acl_state_s *bt_acl_state)
Definition: bt_a2dp.h:67
void(* command_status)(BT_CMD_STATUS status)
Definition: bt_a2dp.h:65
void(* connect)(struct bt_acl_state_s *bt_acl_state, BT_AUDIO_CODEC_INFO codecInfo)
Definition: bt_a2dp.h:66
void(* receive_media_pkt)(struct bt_acl_state_s *bt_acl_state, uint8_t *data, int len)
Definition: bt_a2dp.h:68
Bluetooth A2DP context.
Definition: bt_a2dp.h:76
struct bt_acl_state_s * bt_acl_state
Definition: bt_a2dp.h:79
struct bt_hal_a2dp_ops_s * bt_hal_a2dp_ops
Definition: bt_a2dp.h:80
BT_CONNECT_STATUS bt_a2dp_connection
Definition: bt_a2dp.h:77
struct bt_a2dp_ops_s * bt_a2dp_ops
Definition: bt_a2dp.h:81
uint16_t bt_a2dp_handle
Definition: bt_a2dp.h:78
Bluetooth ACL context.
Definition: bt_common.h:164
Bluetooth A2DP HAL callbacks.
Definition: bt_if.h:91