btaudio2 2.1.0.0
BT Audio 2 Device Settings

Settings for registers of BT Audio 2 Click driver. More...

Macros

#define BTAUDIO2_CMD_MAKE_CALL   0x00
 BT Audio 2 commands OP code list.
 
#define BTAUDIO2_CMD_MAKE_EXTENSION_CALL   0x01
 
#define BTAUDIO2_CMD_MMI_ACTION   0x02
 
#define BTAUDIO2_CMD_EVENT_MASK_SETTING   0x03
 
#define BTAUDIO2_CMD_MUSIC_CONTROL   0x04
 
#define BTAUDIO2_CMD_CHANGE_DEVICE_NAME   0x05
 
#define BTAUDIO2_CMD_CHANGE_PIN_CODE   0x06
 
#define BTAUDIO2_CMD_SET_BTM_PARAM   0x07
 
#define BTAUDIO2_CMD_GET_BTM_VERSION   0x08
 
#define BTAUDIO2_CMD_VENDOR_AT_CMD   0x0A
 
#define BTAUDIO2_CMD_AVRCP_SPEC_CMD   0x0B
 
#define BTAUDIO2_CMD_AVRCP_GROUP_NAVIGATION   0x0C
 
#define BTAUDIO2_CMD_READ_LINK_STATUS   0x0D
 
#define BTAUDIO2_CMD_READ_PAIRING_RECORD   0x0E
 
#define BTAUDIO2_CMD_READ_LOCAL_BD_ADDR   0x0F
 
#define BTAUDIO2_CMD_READ_LOCAL_DEVICE_NAME   0x10
 
#define BTAUDIO2_CMD_SEND_SPP_DATA   0x12
 
#define BTAUDIO2_CMD_BTM_UTILITY_FUNCTION   0x13
 
#define BTAUDIO2_CMD_EVENT_ACK   0x14
 
#define BTAUDIO2_CMD_ADDITIONAL_PROFILE_LINK_SETUP   0x15
 
#define BTAUDIO2_CMD_READ_LINKED_DEVICE_INFO   0x16
 
#define BTAUDIO2_CMD_PROFILE_LINK_BACK   0x17
 
#define BTAUDIO2_CMD_DISCONNECT   0x18
 
#define BTAUDIO2_CMD_USER_CONFIRM_SPP_REQ_REPLY   0x1A
 
#define BTAUDIO2_CMD_SET_HF_GAIN_LEVEL   0x1B
 
#define BTAUDIO2_CMD_EQ_MODE_SETTING   0x1C
 
#define BTAUDIO2_CMD_DSP_NR_CTRL   0x1D
 
#define BTAUDIO2_CMD_GPIO_CTRL   0x1E
 
#define BTAUDIO2_CMD_BT_MCU_UART_RX_BUFF_SIZE   0x1F
 
#define BTAUDIO2_CMD_VOICE_PROMPT_CMD   0x20
 
#define BTAUDIO2_CMD_SET_OVERALL_GAIN   0x23
 
#define BTAUDIO2_CMD_READ_BTM_SETTING   0x24
 
#define BTAUDIO2_CMD_READ_BTM_BATTERY_CHARGE_STATUS   0x25
 
#define BTAUDIO2_CMD_MCU_UPDATE   0x26
 
#define BTAUDIO2_CMD_REPORT_BATTERY_CAPACITY   0x27
 
#define BTAUDIO2_CMD_LE_ANCS_SERVICE   0x28
 
#define BTAUDIO2_CMD_LE_SIGNALING   0x29
 
#define BTAUDIO2_CMD_MSPK_VENDOR   0x2A
 
#define BTAUDIO2_CMD_READ_MSPK_LINK_STATUS   0x2B
 
#define BTAUDIO2_CMD_MSPK_SYNC_AUDIO_EFFECT   0x2C
 
#define BTAUDIO2_CMD_LE_GATT   0x2D
 
#define BTAUDIO2_CMD_LE_APP   0x2F
 
#define BTAUDIO2_CMD_DSP_RUNTIME_PROGRAM   0x30
 
#define BTAUDIO2_CMD_READ_VENDOR_EEPROM   0x31
 
#define BTAUDIO2_CMD_READ_IC_VERSION   0x32
 
#define BTAUDIO2_CMD_READ_LINK_MODE   0x34
 
#define BTAUDIO2_CMD_CONFIGURE_VENDOR_PARAM   0x35
 
#define BTAUDIO2_CMD_MSPK_EXCHANGE_LINK_INFO   0x37
 
#define BTAUDIO2_CMD_MSPK_SET_GIAC   0x38
 
#define BTAUDIO2_CMD_READ_FEATURE_LIST   0x39
 
#define BTAUDIO2_CMD_PERSONAL_MSPK_GROUP_CTRL   0x3A
 
#define BTAUDIO2_CMD_TEST_DEVICE   0x3B
 
#define BTAUDIO2_CMD_READ_EEPROM   0x3C
 
#define BTAUDIO2_CMD_WRITE_EEPROM   0x3D
 
#define BTAUDIO2_CMD_LE_SIGNALING_2   0x3E
 
#define BTAUDIO2_CMD_PBAPC   0x3F
 
#define BTAUDIO2_CMD_TWS   0x40
 
#define BTAUDIO2_CMD_AVRCP_BROWSING   0x41
 
#define BTAUDIO2_CMD_READ_PAIRED_LINK_KEY_INFO   0x42
 
#define BTAUDIO2_CMD_AUDIO_TRANSCEIVER   0x44
 
#define BTAUDIO2_CMD_BUTTON_MMI_SETTING   0x46
 
#define BTAUDIO2_CMD_BUTTON_OPERATION   0x47
 
#define BTAUDIO2_CMD_READ_BUTTON_MMI_SETTING   0x48
 
#define BTAUDIO2_CMD_DFU   0x49
 
#define BTAUDIO2_CMD_AVRCP_VENDOR_DEPENDENT   0x4A
 
#define BTAUDIO2_CMD_CONCERT_MODE_ENDLESS_GROUPING   0x4B
 
#define BTAUDIO2_CMD_READ_RUNTIME_LATENCY   0x4C
 
#define BTAUDIO2_CMD_TOGGLE_AUDIO_SOURCE   0xCC
 
#define BTAUDIO2_EVT_CMD_ACK   0x00
 BT Audio 2 events OP code list.
 
#define BTAUDIO2_EVT_BTM_STATE   0x01
 
#define BTAUDIO2_EVT_CALL_STATUS   0x02
 
#define BTAUDIO2_EVT_CALL_ID   0x03
 
#define BTAUDIO2_EVT_SMS_INDICATION   0x04
 
#define BTAUDIO2_EVT_MISS_CALL_INDICATION   0x05
 
#define BTAUDIO2_EVT_PHONE_MAX_BATTERY_LEVEL   0x06
 
#define BTAUDIO2_EVT_PHONE_BATTERY_LEVEL   0x07
 
#define BTAUDIO2_EVT_PHONE_ROAMING_STATUS   0x08
 
#define BTAUDIO2_EVT_PHONE_MAX_SIGNAL_STRENGTH   0x09
 
#define BTAUDIO2_EVT_PHONE_SIGNAL_STRENGTH   0x0A
 
#define BTAUDIO2_EVT_PHONE_SERVICE_STATUS   0x0B
 
#define BTAUDIO2_EVT_BATTERY_LEVEL   0x0C
 
#define BTAUDIO2_EVT_CHARGER_STATUS   0x0D
 
#define BTAUDIO2_EVT_RESET_TO_DEFAULT   0x0E
 
#define BTAUDIO2_EVT_VOLUME_LEVEL   0x0F
 
#define BTAUDIO2_EVT_EQ_MODE   0x10
 
#define BTAUDIO2_EVT_LINKED_DEVICE_INFO   0x17
 
#define BTAUDIO2_EVT_BTM_VERSION   0x18
 
#define BTAUDIO2_EVT_CALL_LIST_REPORT   0x19
 
#define BTAUDIO2_EVT_AVRCP_SPEC_RSP   0x1A
 
#define BTAUDIO2_EVT_BTM_UTILITY_REQ   0x1B
 
#define BTAUDIO2_EVT_VENDOR_AT_CMD_RSP   0x1C
 
#define BTAUDIO2_EVT_UNKNOW_AT_RESULT   0x1D
 
#define BTAUDIO2_EVT_REPORT_LINK_STATUS   0x1E
 
#define BTAUDIO2_EVT_REPORT_PAIRING_RECORD   0x1F
 
#define BTAUDIO2_EVT_REPORT_LOCAL_BD_ADDR   0x20
 
#define BTAUDIO2_EVT_REPORT_LOCAL_DEVICE_NAME   0x21
 
#define BTAUDIO2_EVT_REPORT_SPP_DATA   0x22
 
#define BTAUDIO2_EVT_REPORT_LINK_BACK_STATUS   0x23
 
#define BTAUDIO2_EVT_RINGTONE_FINISH_INDICATION   0x24
 
#define BTAUDIO2_EVT_USER_CONFIRM_SSP_REQ   0x25
 
#define BTAUDIO2_EVT_REPORT_AVRCP_VOL_CTRL   0x26
 
#define BTAUDIO2_EVT_REPORT_INPUT_SIGNAL_LEVEL   0x27
 
#define BTAUDIO2_EVT_REPORT_IAP_INFO   0x28
 
#define BTAUDIO2_EVT_REPORT_AVRCP_ABS_VOL_CTRL   0x29
 
#define BTAUDIO2_EVT_REPORT_VOICE_PROMPT_STATUS   0x2A
 
#define BTAUDIO2_EVT_REPORT_TYPE_CODEC   0x2D
 
#define BTAUDIO2_EVT_REPORT_TYPE_BTM_SETTING   0x2E
 
#define BTAUDIO2_EVT_REPORT_MCU_UPDATE_REPLY   0x2F
 
#define BTAUDIO2_EVT_REPORT_BTM_INITIAL_STATUS   0x30
 
#define BTAUDIO2_EVT_REPORT_LE_ANCS_EVENT   0x31
 
#define BTAUDIO2_EVT_REPORT_LE_EVENT   0x32
 
#define BTAUDIO2_EVT_REPORT_MSPK_STATUS   0x33
 
#define BTAUDIO2_EVT_REPORT_MSPK_VENDOR_EVENT   0x34
 
#define BTAUDIO2_EVT_REPORT_MSPK_AUDIO_SETTING   0x35
 
#define BTAUDIO2_EVT_REPORT_MSPK_EFFECT_STATUS   0x36
 
#define BTAUDIO2_EVT_REPORT_VENDOR_EEPROM   0x37
 
#define BTAUDIO2_EVT_REPORT_IC_VERSION_INFO   0x38
 
#define BTAUDIO2_EVT_REPORT_CUSTOMER_GATT_ATTRIBUTE_DATA   0x39
 
#define BTAUDIO2_EVT_REPORT_LINK_MODE   0x3A
 
#define BTAUDIO2_EVT_REPORT_MSPK_EXCHANGE_LINK_INFO   0x3D
 
#define BTAUDIO2_EVT_REPORT_BT_CLK   0x3F
 
#define BTAUDIO2_EVT_REPORT_FEATURE_LIST   0x40
 
#define BTAUDIO2_EVT_REPORT_TEST_RESULT   0x41
 
#define BTAUDIO2_EVT_REPORT_READ_EEPROM_DATA   0x42
 
#define BTAUDIO2_EVT_PBAPC_EVENT   0x43
 
#define BTAUDIO2_EVT_AVRCP_BROWSING_EVENT   0x44
 
#define BTAUDIO2_EVT_REPORT_PAIRED_LINK_KEY_INFO   0x45
 
#define BTAUDIO2_EVT_REPORT_TWS_RX_VENDOR_EVENT   0x53
 
#define BTAUDIO2_EVT_REPORT_TWS_LOCAL_DEVICE_STATUS   0x54
 
#define BTAUDIO2_EVT_REPORT_TWS_VAD_DATA   0x55
 
#define BTAUDIO2_EVT_REPORT_TWS_RADIO_CONDITION   0x56
 
#define BTAUDIO2_EVT_REPORT_TWS_EAR_BUD_POSITION   0x57
 
#define BTAUDIO2_EVT_REPORT_TWS_SECONDARY_DEVICE_STATUS   0x58
 
#define BTAUDIO2_EVT_AUDIO_TRANSCEIVER_EVENT_STATUS   0x5A
 
#define BTAUDIO2_EVT_READ_BUTTON_MMI_SETTING_REPLY   0x5C
 
#define BTAUDIO2_EVT_AVRCP_VENDOR_DEPENDENT_RSP   0x5D
 
#define BTAUDIO2_EVT_RUNTIME_LATENCY   0x5E
 
#define BTAUDIO2_MMI_ADD_REMOVE_SCO_LINK   0x01
 BT Audio 2 MMI actions list.
 
#define BTAUDIO2_MMI_ENABLE_TEST_MODE   0x03
 
#define BTAUDIO2_MMI_ACCEPT_CALL   0x04
 
#define BTAUDIO2_MMI_REJECT_CALL   0x05
 
#define BTAUDIO2_MMI_ENDCALL_OR_TRANSFER_TO_HEADSET   0x06
 
#define BTAUDIO2_MMI_MIC_MUTE_TOGGLE   0x07
 
#define BTAUDIO2_MMI_MUTE_MIC   0x08
 
#define BTAUDIO2_MMI_UNMUTE_MIC   0x09
 
#define BTAUDIO2_MMI_VOICE_DIAL   0x0A
 
#define BTAUDIO2_MMI_CANCEL_VOICE_DIAL   0x0B
 
#define BTAUDIO2_MMI_LAST_NUMBER_REDIAL   0x0C
 
#define BTAUDIO2_MMI_ACTIVE_CALL_HOLD_ACCEPT_HELD_CALL   0x0D
 
#define BTAUDIO2_MMI_VOICE_TRANSFER   0x0E
 
#define BTAUDIO2_MMI_QUERY_CALL_LIST   0x0F
 
#define BTAUDIO2_MMI_THREE_WAY_CALL   0x10
 
#define BTAUDIO2_MMI_RELEASE_CALL   0x11
 
#define BTAUDIO2_MMI_ACCEPT_WAITING_HOLD_CALL_RLS_ACTIVE_CALL   0x12
 
#define BTAUDIO2_MMI_DISCONNECT_HF_LINK   0x17
 
#define BTAUDIO2_MMI_ENABLE_AEC   0x1E
 
#define BTAUDIO2_MMI_DISABLE_AEC   0x1F
 
#define BTAUDIO2_MMI_SWITCH_AEC   0x20
 
#define BTAUDIO2_MMI_ENABLE_AEC_RX_NOISE_REDUCTION   0x21
 
#define BTAUDIO2_MMI_DISABLE_AEC_RX_NOISE_REDUCTION   0x22
 
#define BTAUDIO2_MMI_SWITCH_AEC_RX_NOISE_REDUCTION   0x23
 
#define BTAUDIO2_MMI_INC_MIC_GAIN   0x24
 
#define BTAUDIO2_MMI_DEC_MIC_GAIN   0x25
 
#define BTAUDIO2_MMI_SWITCH_PRIMARY_SECONDARY_HF_DEVICE   0x26
 
#define BTAUDIO2_MMI_INCREASE_SPEAKER_GAIN   0x30
 
#define BTAUDIO2_MMI_DECREASE_SPEAKER_GAIN   0x31
 
#define BTAUDIO2_MMI_PLAY_PAUSE_MUSIC   0x32
 
#define BTAUDIO2_MMI_STOP_MUSIC   0x33
 
#define BTAUDIO2_MMI_NEXT_SONG   0x34
 
#define BTAUDIO2_MMI_PREVIOUS_SONG   0x35
 
#define BTAUDIO2_MMI_FAST_FORWARD   0x36
 
#define BTAUDIO2_MMI_REWIND   0x37
 
#define BTAUDIO2_MMI_EQ_MODE_UP   0x38
 
#define BTAUDIO2_MMI_EQ_MODE_DOWN   0x39
 
#define BTAUDIO2_MMI_LOCK_BUTTON   0x3A
 
#define BTAUDIO2_MMI_DISCONNECT_A2DP   0x3B
 
#define BTAUDIO2_MMI_NEXT_AUDIO_EFFECT   0x3C
 
#define BTAUDIO2_MMI_PREVIOUS_AUDIO_EFFECT   0x3D
 
#define BTAUDIO2_MMI_REPORT_CURRENT_EQ_MODE   0x3F
 
#define BTAUDIO2_MMI_REPORT_CURRENT_AUDIO_EFFECT_STATUS   0x40
 
#define BTAUDIO2_MMI_TOGGLE_AUDIO_PLAYBACK   0x41
 
#define BTAUDIO2_MMI_POWER_ON_BUTTON_PRESS   0x51
 
#define BTAUDIO2_MMI_POWER_ON_BUTTON_RELEASE   0x52
 
#define BTAUDIO2_MMI_POWER_OFF_BUTTON_PRESS   0x53
 
#define BTAUDIO2_MMI_POWER_OFF_BUTTON_RELEASE   0x54
 
#define BTAUDIO2_MMI_RESET_EEPROM_SETTING   0x56
 
#define BTAUDIO2_MMI_FORCE_SPEAKER_GAIN_TOGGLE   0x57
 
#define BTAUDIO2_MMI_TOGGLE_BUTTON_IND   0x58
 
#define BTAUDIO2_MMI_COMBINE_FUNCTION_0   0x59
 
#define BTAUDIO2_MMI_COMBINE_FUNCTION_1   0x5A
 
#define BTAUDIO2_MMI_COMBINE_FUNCTION_2   0x5B
 
#define BTAUDIO2_MMI_COMBINE_FUNCTION_3   0x5C
 
#define BTAUDIO2_MMI_ENTER_PAIRING_MODE   0x5D
 
#define BTAUDIO2_MMI_SWITCH_POWER_OFF   0x5E
 
#define BTAUDIO2_MMI_DISABLE_LED   0x5F
 
#define BTAUDIO2_MMI_BUZZER_TOGGLE   0x60
 
#define BTAUDIO2_MMI_DISABLE_BUZZER   0x61
 
#define BTAUDIO2_MMI_ENABLE_BUZZER   0x62
 
#define BTAUDIO2_MMI_TONE_CHANGE   0x63
 
#define BTAUDIO2_MMI_SHS_SEND_USER_DATA_1   0x72
 
#define BTAUDIO2_MMI_SHS_SEND_USER_DATA_2   0x73
 
#define BTAUDIO2_MMI_SHS_SEND_USER_DATA_3   0x74
 
#define BTAUDIO2_MMI_SHS_SEND_USER_DATA_4   0x75
 
#define BTAUDIO2_MMI_SHS_SEND_USER_DATA_5   0x76
 
#define BTAUDIO2_MMI_REPORT_CURRENT_RX_NR_STATUS   0x77
 
#define BTAUDIO2_MMI_REPORT_CURRENT_TX_NR_STATUS   0x78
 
#define BTAUDIO2_MMI_CANCEL_ALL_BT_PAGING   0x7A
 
#define BTAUDIO2_MMI_DISCONNECT_SPP_LINK   0x7D
 
#define BTAUDIO2_MMI_ENABLE_A2DP_MIX_LINE_IN   0x80
 
#define BTAUDIO2_MMI_DISABLE_A2DP_MIX_LINE_IN   0x81
 
#define BTAUDIO2_MMI_INCREASE_LINE_IN_INPUT_GAIN   0x82
 
#define BTAUDIO2_MMI_DECREASE_LINE_IN_INPUT_GAIN   0x83
 
#define BTAUDIO2_MMI_TRIGGER_MSPK_CENTRAL   0xE0
 
#define BTAUDIO2_MMI_TRIGGER_MSPK_PERIPHERAL   0xE1
 
#define BTAUDIO2_MMI_MSPK_ONE_KEY_CONNECT   0xE2
 
#define BTAUDIO2_MMI_CANCEL_MSPK_CREATION   0xE3
 
#define BTAUDIO2_MMI_TERMINATE_MSPK_LINK   0xE4
 
#define BTAUDIO2_MMI_TERMINATE_MSPK_CONNECTION   0xE5
 
#define BTAUDIO2_MMI_MSPK_CENTRAL_ENTER_AUX_IN_44p1K_PCM_MODE   0xE6
 
#define BTAUDIO2_MMI_MSPK_CENTRAL_ENTER_AUX_IN_48K_PCM_MODE   0xE7
 
#define BTAUDIO2_MMI_MSPK_CENTRAL_EXIT_AUX_IN_PCM_MODE   0xE8
 
#define BTAUDIO2_MMI_MSPK_SWITCH_CHANNEL   0xEC
 
#define BTAUDIO2_MMI_MSPK_POWER_OFF_ALL_SPEAKERS   0xED
 
#define BTAUDIO2_MMI_MSPK_ERASE_CONCERT_MODE_RECORD   0xEF
 
#define BTAUDIO2_MMI_MSPK_ENTER_STEREO_MODE   0xF4
 
#define BTAUDIO2_MMI_MSPK_ENTER_CONCERT_MODE   0xF5
 
#define BTAUDIO2_MMI_MSPK_ADD_THIRD_SPK   0xF6
 
#define BTAUDIO2_MMI_MSPK_SOUND_SYNC   0xF7
 
#define BTAUDIO2_MMI_MSPK_CSB_CONNECTED_MODE_SWITCH   0xF8
 
#define BTAUDIO2_MMI_MSPK_BACK_TO_LAST_MODE   0xF9
 
#define BTAUDIO2_MMI_MSPK_ONE_KEY_CONNECT_WITH_LINK_BACK   0xFA
 
#define BTAUDIO2_MMI_MSPK_ONE_KEY_OP_STEREO_MODE   0xFB
 
#define BTAUDIO2_MMI_MSPK_ONE_KEY_OP_CONCERT_MODE   0xFC
 
#define BTAUDIO2_ACK_STATUS_CMD_COMPLETE   0x00
 BT Audio 2 command ACK status bytes.
 
#define BTAUDIO2_ACK_STATUS_CMD_DISALLOW   0x01
 
#define BTAUDIO2_ACK_STATUS_CMD_UNKNOWN   0x02
 
#define BTAUDIO2_ACK_STATUS_CMD_PARAM_ERR   0x03
 
#define BTAUDIO2_ACK_STATUS_CMD_BTM_BUSY   0x04
 
#define BTAUDIO2_ACK_STATUS_CMD_BTM_FULL   0x05
 
#define BTAUDIO2_BTM_STATE_POWER_OFF   0x00
 BT Audio 2 BTM status bytes.
 
#define BTAUDIO2_BTM_STATE_PAIRING_STATE   0x01
 
#define BTAUDIO2_BTM_STATE_POWER_ON   0x02
 
#define BTAUDIO2_BTM_STATE_PAIRING_SUCCESSFULL   0x03
 
#define BTAUDIO2_BTM_STATE_PAIRING_FAILED   0x04
 
#define BTAUDIO2_BTM_STATE_HFHS_LINK_ESTABLISHED   0x05
 
#define BTAUDIO2_BTM_STATE_A2DP_LINK_ESTABLISHED   0x06
 
#define BTAUDIO2_BTM_STATE_HF_LINK_DISCONNECTED   0x07
 
#define BTAUDIO2_BTM_STATE_A2DP_LINK_DISCONNECTED   0x08
 
#define BTAUDIO2_BTM_STATE_SCO_LINK_CONNECTED   0x09
 
#define BTAUDIO2_BTM_STATE_SCO_LINK_DISCONNECTED   0x0A
 
#define BTAUDIO2_BTM_STATE_AVRCP_LINK_ESTABLISHED   0x0B
 
#define BTAUDIO2_BTM_STATE_AVRCP_LINK_DISCONNECTED   0x0C
 
#define BTAUDIO2_BTM_STATE_STANDARD_SPP_CONNECTED   0x0D
 
#define BTAUDIO2_BTM_STATE_STANDARD_SPP_IAP_DISCONNECTED   0x0E
 
#define BTAUDIO2_BTM_STATE_STANDBY_STATE   0x0F
 
#define BTAUDIO2_BTM_STATE_IAP_CONNECTED   0x10
 
#define BTAUDIO2_BTM_STATE_ACL_DISCONNECTED   0x11
 
#define BTAUDIO2_BTM_STATE_MAP_CONNECTED   0x12
 
#define BTAUDIO2_BTM_STATE_MAP_OPERATION_FORBIDDEN   0x13
 
#define BTAUDIO2_BTM_STATE_MAP_DISCONNECTED   0x14
 
#define BTAUDIO2_BTM_STATE_ACL_CONNECTED   0x15
 
#define BTAUDIO2_BTM_STATE_SPP_IAP_DISCONNECTED_NO_PROFILE   0x16
 
#define BTAUDIO2_BTM_STATE_LINK_BACK_ACL   0x17
 
#define BTAUDIO2_BTM_STATE_INQUIRY_STATE   0x18
 
#define BTAUDIO2_BTM_STATE_UNKNOWN_AUDIO_SOURCE   0x80
 
#define BTAUDIO2_BTM_STATE_AUX_IN_AUDIO_SOURCE   0x81
 
#define BTAUDIO2_BTM_STATE_A2DP_AUDIO_SOURCE   0x82
 
#define BTAUDIO2_VOLUME_MASK_A2DP   0x01
 BT Audio 2 Volume control mask bytes.
 
#define BTAUDIO2_VOLUME_MASK_HF   0x02
 
#define BTAUDIO2_VOLUME_MASK_LINE_IN   0x04
 
#define BTAUDIO2_VOLUME_MASK_PCM   0x08
 
#define BTAUDIO2_VOLUME_MASK_LINE_IN_INPUT   0x10
 
#define BTAUDIO2_START_HEADER   0xAA
 BT Audio 2 header byte.
 
#define BTAUDIO2_MODE_FLASH_APPLICATION   0
 BT Audio 2 operating mode setting.
 
#define BTAUDIO2_MODE_ROM_APPLICATION   1
 
#define BTAUDIO2_MODE_FLASH_IBDK   2
 
#define BTAUDIO2_MODE_ROM_IBDK   3
 
#define BTAUDIO2_MODE_BOOT   4
 
#define BTAUDIO2_RX_DRV_BUFFER_SIZE   300
 BT Audio 2 driver buffer size.
 
#define BTAUDIO2_TX_DRV_BUFFER_SIZE   300
 
#define BTAUDIO2_PARAM_BUFFER_SIZE   256
 

Detailed Description

Settings for registers of BT Audio 2 Click driver.

Macro Definition Documentation

◆ BTAUDIO2_ACK_STATUS_CMD_BTM_BUSY

#define BTAUDIO2_ACK_STATUS_CMD_BTM_BUSY   0x04

◆ BTAUDIO2_ACK_STATUS_CMD_BTM_FULL

#define BTAUDIO2_ACK_STATUS_CMD_BTM_FULL   0x05

◆ BTAUDIO2_ACK_STATUS_CMD_COMPLETE

#define BTAUDIO2_ACK_STATUS_CMD_COMPLETE   0x00

BT Audio 2 command ACK status bytes.

Specified command ACK status bytes of BT Audio 2 Click driver.

◆ BTAUDIO2_ACK_STATUS_CMD_DISALLOW

#define BTAUDIO2_ACK_STATUS_CMD_DISALLOW   0x01

◆ BTAUDIO2_ACK_STATUS_CMD_PARAM_ERR

#define BTAUDIO2_ACK_STATUS_CMD_PARAM_ERR   0x03

◆ BTAUDIO2_ACK_STATUS_CMD_UNKNOWN

#define BTAUDIO2_ACK_STATUS_CMD_UNKNOWN   0x02

◆ BTAUDIO2_BTM_STATE_A2DP_AUDIO_SOURCE

#define BTAUDIO2_BTM_STATE_A2DP_AUDIO_SOURCE   0x82

◆ BTAUDIO2_BTM_STATE_A2DP_LINK_DISCONNECTED

#define BTAUDIO2_BTM_STATE_A2DP_LINK_DISCONNECTED   0x08

◆ BTAUDIO2_BTM_STATE_A2DP_LINK_ESTABLISHED

#define BTAUDIO2_BTM_STATE_A2DP_LINK_ESTABLISHED   0x06

◆ BTAUDIO2_BTM_STATE_ACL_CONNECTED

#define BTAUDIO2_BTM_STATE_ACL_CONNECTED   0x15

◆ BTAUDIO2_BTM_STATE_ACL_DISCONNECTED

#define BTAUDIO2_BTM_STATE_ACL_DISCONNECTED   0x11

◆ BTAUDIO2_BTM_STATE_AUX_IN_AUDIO_SOURCE

#define BTAUDIO2_BTM_STATE_AUX_IN_AUDIO_SOURCE   0x81

◆ BTAUDIO2_BTM_STATE_AVRCP_LINK_DISCONNECTED

#define BTAUDIO2_BTM_STATE_AVRCP_LINK_DISCONNECTED   0x0C

◆ BTAUDIO2_BTM_STATE_AVRCP_LINK_ESTABLISHED

#define BTAUDIO2_BTM_STATE_AVRCP_LINK_ESTABLISHED   0x0B

◆ BTAUDIO2_BTM_STATE_HF_LINK_DISCONNECTED

#define BTAUDIO2_BTM_STATE_HF_LINK_DISCONNECTED   0x07

◆ BTAUDIO2_BTM_STATE_HFHS_LINK_ESTABLISHED

#define BTAUDIO2_BTM_STATE_HFHS_LINK_ESTABLISHED   0x05

◆ BTAUDIO2_BTM_STATE_IAP_CONNECTED

#define BTAUDIO2_BTM_STATE_IAP_CONNECTED   0x10

◆ BTAUDIO2_BTM_STATE_INQUIRY_STATE

#define BTAUDIO2_BTM_STATE_INQUIRY_STATE   0x18

◆ BTAUDIO2_BTM_STATE_LINK_BACK_ACL

#define BTAUDIO2_BTM_STATE_LINK_BACK_ACL   0x17

◆ BTAUDIO2_BTM_STATE_MAP_CONNECTED

#define BTAUDIO2_BTM_STATE_MAP_CONNECTED   0x12

◆ BTAUDIO2_BTM_STATE_MAP_DISCONNECTED

#define BTAUDIO2_BTM_STATE_MAP_DISCONNECTED   0x14

◆ BTAUDIO2_BTM_STATE_MAP_OPERATION_FORBIDDEN

#define BTAUDIO2_BTM_STATE_MAP_OPERATION_FORBIDDEN   0x13

◆ BTAUDIO2_BTM_STATE_PAIRING_FAILED

#define BTAUDIO2_BTM_STATE_PAIRING_FAILED   0x04

◆ BTAUDIO2_BTM_STATE_PAIRING_STATE

#define BTAUDIO2_BTM_STATE_PAIRING_STATE   0x01

◆ BTAUDIO2_BTM_STATE_PAIRING_SUCCESSFULL

#define BTAUDIO2_BTM_STATE_PAIRING_SUCCESSFULL   0x03

◆ BTAUDIO2_BTM_STATE_POWER_OFF

#define BTAUDIO2_BTM_STATE_POWER_OFF   0x00

BT Audio 2 BTM status bytes.

Specified BTM status bytes of BT Audio 2 Click driver.

◆ BTAUDIO2_BTM_STATE_POWER_ON

#define BTAUDIO2_BTM_STATE_POWER_ON   0x02

◆ BTAUDIO2_BTM_STATE_SCO_LINK_CONNECTED

#define BTAUDIO2_BTM_STATE_SCO_LINK_CONNECTED   0x09

◆ BTAUDIO2_BTM_STATE_SCO_LINK_DISCONNECTED

#define BTAUDIO2_BTM_STATE_SCO_LINK_DISCONNECTED   0x0A

◆ BTAUDIO2_BTM_STATE_SPP_IAP_DISCONNECTED_NO_PROFILE

#define BTAUDIO2_BTM_STATE_SPP_IAP_DISCONNECTED_NO_PROFILE   0x16

◆ BTAUDIO2_BTM_STATE_STANDARD_SPP_CONNECTED

#define BTAUDIO2_BTM_STATE_STANDARD_SPP_CONNECTED   0x0D

◆ BTAUDIO2_BTM_STATE_STANDARD_SPP_IAP_DISCONNECTED

#define BTAUDIO2_BTM_STATE_STANDARD_SPP_IAP_DISCONNECTED   0x0E

◆ BTAUDIO2_BTM_STATE_STANDBY_STATE

#define BTAUDIO2_BTM_STATE_STANDBY_STATE   0x0F

◆ BTAUDIO2_BTM_STATE_UNKNOWN_AUDIO_SOURCE

#define BTAUDIO2_BTM_STATE_UNKNOWN_AUDIO_SOURCE   0x80

◆ BTAUDIO2_CMD_ADDITIONAL_PROFILE_LINK_SETUP

#define BTAUDIO2_CMD_ADDITIONAL_PROFILE_LINK_SETUP   0x15

◆ BTAUDIO2_CMD_AUDIO_TRANSCEIVER

#define BTAUDIO2_CMD_AUDIO_TRANSCEIVER   0x44

◆ BTAUDIO2_CMD_AVRCP_BROWSING

#define BTAUDIO2_CMD_AVRCP_BROWSING   0x41

◆ BTAUDIO2_CMD_AVRCP_GROUP_NAVIGATION

#define BTAUDIO2_CMD_AVRCP_GROUP_NAVIGATION   0x0C

◆ BTAUDIO2_CMD_AVRCP_SPEC_CMD

#define BTAUDIO2_CMD_AVRCP_SPEC_CMD   0x0B

◆ BTAUDIO2_CMD_AVRCP_VENDOR_DEPENDENT

#define BTAUDIO2_CMD_AVRCP_VENDOR_DEPENDENT   0x4A

◆ BTAUDIO2_CMD_BT_MCU_UART_RX_BUFF_SIZE

#define BTAUDIO2_CMD_BT_MCU_UART_RX_BUFF_SIZE   0x1F

◆ BTAUDIO2_CMD_BTM_UTILITY_FUNCTION

#define BTAUDIO2_CMD_BTM_UTILITY_FUNCTION   0x13

◆ BTAUDIO2_CMD_BUTTON_MMI_SETTING

#define BTAUDIO2_CMD_BUTTON_MMI_SETTING   0x46

◆ BTAUDIO2_CMD_BUTTON_OPERATION

#define BTAUDIO2_CMD_BUTTON_OPERATION   0x47

◆ BTAUDIO2_CMD_CHANGE_DEVICE_NAME

#define BTAUDIO2_CMD_CHANGE_DEVICE_NAME   0x05

◆ BTAUDIO2_CMD_CHANGE_PIN_CODE

#define BTAUDIO2_CMD_CHANGE_PIN_CODE   0x06

◆ BTAUDIO2_CMD_CONCERT_MODE_ENDLESS_GROUPING

#define BTAUDIO2_CMD_CONCERT_MODE_ENDLESS_GROUPING   0x4B

◆ BTAUDIO2_CMD_CONFIGURE_VENDOR_PARAM

#define BTAUDIO2_CMD_CONFIGURE_VENDOR_PARAM   0x35

◆ BTAUDIO2_CMD_DFU

#define BTAUDIO2_CMD_DFU   0x49

◆ BTAUDIO2_CMD_DISCONNECT

#define BTAUDIO2_CMD_DISCONNECT   0x18

◆ BTAUDIO2_CMD_DSP_NR_CTRL

#define BTAUDIO2_CMD_DSP_NR_CTRL   0x1D

◆ BTAUDIO2_CMD_DSP_RUNTIME_PROGRAM

#define BTAUDIO2_CMD_DSP_RUNTIME_PROGRAM   0x30

◆ BTAUDIO2_CMD_EQ_MODE_SETTING

#define BTAUDIO2_CMD_EQ_MODE_SETTING   0x1C

◆ BTAUDIO2_CMD_EVENT_ACK

#define BTAUDIO2_CMD_EVENT_ACK   0x14

◆ BTAUDIO2_CMD_EVENT_MASK_SETTING

#define BTAUDIO2_CMD_EVENT_MASK_SETTING   0x03

◆ BTAUDIO2_CMD_GET_BTM_VERSION

#define BTAUDIO2_CMD_GET_BTM_VERSION   0x08

◆ BTAUDIO2_CMD_GPIO_CTRL

#define BTAUDIO2_CMD_GPIO_CTRL   0x1E

◆ BTAUDIO2_CMD_LE_ANCS_SERVICE

#define BTAUDIO2_CMD_LE_ANCS_SERVICE   0x28

◆ BTAUDIO2_CMD_LE_APP

#define BTAUDIO2_CMD_LE_APP   0x2F

◆ BTAUDIO2_CMD_LE_GATT

#define BTAUDIO2_CMD_LE_GATT   0x2D

◆ BTAUDIO2_CMD_LE_SIGNALING

#define BTAUDIO2_CMD_LE_SIGNALING   0x29

◆ BTAUDIO2_CMD_LE_SIGNALING_2

#define BTAUDIO2_CMD_LE_SIGNALING_2   0x3E

◆ BTAUDIO2_CMD_MAKE_CALL

#define BTAUDIO2_CMD_MAKE_CALL   0x00

BT Audio 2 commands OP code list.

Specified commands OP code list of BT Audio 2 Click driver.

◆ BTAUDIO2_CMD_MAKE_EXTENSION_CALL

#define BTAUDIO2_CMD_MAKE_EXTENSION_CALL   0x01

◆ BTAUDIO2_CMD_MCU_UPDATE

#define BTAUDIO2_CMD_MCU_UPDATE   0x26

◆ BTAUDIO2_CMD_MMI_ACTION

#define BTAUDIO2_CMD_MMI_ACTION   0x02

◆ BTAUDIO2_CMD_MSPK_EXCHANGE_LINK_INFO

#define BTAUDIO2_CMD_MSPK_EXCHANGE_LINK_INFO   0x37

◆ BTAUDIO2_CMD_MSPK_SET_GIAC

#define BTAUDIO2_CMD_MSPK_SET_GIAC   0x38

◆ BTAUDIO2_CMD_MSPK_SYNC_AUDIO_EFFECT

#define BTAUDIO2_CMD_MSPK_SYNC_AUDIO_EFFECT   0x2C

◆ BTAUDIO2_CMD_MSPK_VENDOR

#define BTAUDIO2_CMD_MSPK_VENDOR   0x2A

◆ BTAUDIO2_CMD_MUSIC_CONTROL

#define BTAUDIO2_CMD_MUSIC_CONTROL   0x04

◆ BTAUDIO2_CMD_PBAPC

#define BTAUDIO2_CMD_PBAPC   0x3F

◆ BTAUDIO2_CMD_PERSONAL_MSPK_GROUP_CTRL

#define BTAUDIO2_CMD_PERSONAL_MSPK_GROUP_CTRL   0x3A

◆ BTAUDIO2_CMD_PROFILE_LINK_BACK

#define BTAUDIO2_CMD_PROFILE_LINK_BACK   0x17

◆ BTAUDIO2_CMD_READ_BTM_BATTERY_CHARGE_STATUS

#define BTAUDIO2_CMD_READ_BTM_BATTERY_CHARGE_STATUS   0x25

◆ BTAUDIO2_CMD_READ_BTM_SETTING

#define BTAUDIO2_CMD_READ_BTM_SETTING   0x24

◆ BTAUDIO2_CMD_READ_BUTTON_MMI_SETTING

#define BTAUDIO2_CMD_READ_BUTTON_MMI_SETTING   0x48

◆ BTAUDIO2_CMD_READ_EEPROM

#define BTAUDIO2_CMD_READ_EEPROM   0x3C

◆ BTAUDIO2_CMD_READ_FEATURE_LIST

#define BTAUDIO2_CMD_READ_FEATURE_LIST   0x39

◆ BTAUDIO2_CMD_READ_IC_VERSION

#define BTAUDIO2_CMD_READ_IC_VERSION   0x32

◆ BTAUDIO2_CMD_READ_LINK_MODE

#define BTAUDIO2_CMD_READ_LINK_MODE   0x34

◆ BTAUDIO2_CMD_READ_LINK_STATUS

#define BTAUDIO2_CMD_READ_LINK_STATUS   0x0D

◆ BTAUDIO2_CMD_READ_LINKED_DEVICE_INFO

#define BTAUDIO2_CMD_READ_LINKED_DEVICE_INFO   0x16

◆ BTAUDIO2_CMD_READ_LOCAL_BD_ADDR

#define BTAUDIO2_CMD_READ_LOCAL_BD_ADDR   0x0F

◆ BTAUDIO2_CMD_READ_LOCAL_DEVICE_NAME

#define BTAUDIO2_CMD_READ_LOCAL_DEVICE_NAME   0x10

◆ BTAUDIO2_CMD_READ_MSPK_LINK_STATUS

#define BTAUDIO2_CMD_READ_MSPK_LINK_STATUS   0x2B

◆ BTAUDIO2_CMD_READ_PAIRED_LINK_KEY_INFO

#define BTAUDIO2_CMD_READ_PAIRED_LINK_KEY_INFO   0x42

◆ BTAUDIO2_CMD_READ_PAIRING_RECORD

#define BTAUDIO2_CMD_READ_PAIRING_RECORD   0x0E

◆ BTAUDIO2_CMD_READ_RUNTIME_LATENCY

#define BTAUDIO2_CMD_READ_RUNTIME_LATENCY   0x4C

◆ BTAUDIO2_CMD_READ_VENDOR_EEPROM

#define BTAUDIO2_CMD_READ_VENDOR_EEPROM   0x31

◆ BTAUDIO2_CMD_REPORT_BATTERY_CAPACITY

#define BTAUDIO2_CMD_REPORT_BATTERY_CAPACITY   0x27

◆ BTAUDIO2_CMD_SEND_SPP_DATA

#define BTAUDIO2_CMD_SEND_SPP_DATA   0x12

◆ BTAUDIO2_CMD_SET_BTM_PARAM

#define BTAUDIO2_CMD_SET_BTM_PARAM   0x07

◆ BTAUDIO2_CMD_SET_HF_GAIN_LEVEL

#define BTAUDIO2_CMD_SET_HF_GAIN_LEVEL   0x1B

◆ BTAUDIO2_CMD_SET_OVERALL_GAIN

#define BTAUDIO2_CMD_SET_OVERALL_GAIN   0x23

◆ BTAUDIO2_CMD_TEST_DEVICE

#define BTAUDIO2_CMD_TEST_DEVICE   0x3B

◆ BTAUDIO2_CMD_TOGGLE_AUDIO_SOURCE

#define BTAUDIO2_CMD_TOGGLE_AUDIO_SOURCE   0xCC

◆ BTAUDIO2_CMD_TWS

#define BTAUDIO2_CMD_TWS   0x40

◆ BTAUDIO2_CMD_USER_CONFIRM_SPP_REQ_REPLY

#define BTAUDIO2_CMD_USER_CONFIRM_SPP_REQ_REPLY   0x1A

◆ BTAUDIO2_CMD_VENDOR_AT_CMD

#define BTAUDIO2_CMD_VENDOR_AT_CMD   0x0A

◆ BTAUDIO2_CMD_VOICE_PROMPT_CMD

#define BTAUDIO2_CMD_VOICE_PROMPT_CMD   0x20

◆ BTAUDIO2_CMD_WRITE_EEPROM

#define BTAUDIO2_CMD_WRITE_EEPROM   0x3D

◆ BTAUDIO2_EVT_AUDIO_TRANSCEIVER_EVENT_STATUS

#define BTAUDIO2_EVT_AUDIO_TRANSCEIVER_EVENT_STATUS   0x5A

◆ BTAUDIO2_EVT_AVRCP_BROWSING_EVENT

#define BTAUDIO2_EVT_AVRCP_BROWSING_EVENT   0x44

◆ BTAUDIO2_EVT_AVRCP_SPEC_RSP

#define BTAUDIO2_EVT_AVRCP_SPEC_RSP   0x1A

◆ BTAUDIO2_EVT_AVRCP_VENDOR_DEPENDENT_RSP

#define BTAUDIO2_EVT_AVRCP_VENDOR_DEPENDENT_RSP   0x5D

◆ BTAUDIO2_EVT_BATTERY_LEVEL

#define BTAUDIO2_EVT_BATTERY_LEVEL   0x0C

◆ BTAUDIO2_EVT_BTM_STATE

#define BTAUDIO2_EVT_BTM_STATE   0x01

◆ BTAUDIO2_EVT_BTM_UTILITY_REQ

#define BTAUDIO2_EVT_BTM_UTILITY_REQ   0x1B

◆ BTAUDIO2_EVT_BTM_VERSION

#define BTAUDIO2_EVT_BTM_VERSION   0x18

◆ BTAUDIO2_EVT_CALL_ID

#define BTAUDIO2_EVT_CALL_ID   0x03

◆ BTAUDIO2_EVT_CALL_LIST_REPORT

#define BTAUDIO2_EVT_CALL_LIST_REPORT   0x19

◆ BTAUDIO2_EVT_CALL_STATUS

#define BTAUDIO2_EVT_CALL_STATUS   0x02

◆ BTAUDIO2_EVT_CHARGER_STATUS

#define BTAUDIO2_EVT_CHARGER_STATUS   0x0D

◆ BTAUDIO2_EVT_CMD_ACK

#define BTAUDIO2_EVT_CMD_ACK   0x00

BT Audio 2 events OP code list.

Specified events OP code list of BT Audio 2 Click driver.

◆ BTAUDIO2_EVT_EQ_MODE

#define BTAUDIO2_EVT_EQ_MODE   0x10

◆ BTAUDIO2_EVT_LINKED_DEVICE_INFO

#define BTAUDIO2_EVT_LINKED_DEVICE_INFO   0x17

◆ BTAUDIO2_EVT_MISS_CALL_INDICATION

#define BTAUDIO2_EVT_MISS_CALL_INDICATION   0x05

◆ BTAUDIO2_EVT_PBAPC_EVENT

#define BTAUDIO2_EVT_PBAPC_EVENT   0x43

◆ BTAUDIO2_EVT_PHONE_BATTERY_LEVEL

#define BTAUDIO2_EVT_PHONE_BATTERY_LEVEL   0x07

◆ BTAUDIO2_EVT_PHONE_MAX_BATTERY_LEVEL

#define BTAUDIO2_EVT_PHONE_MAX_BATTERY_LEVEL   0x06

◆ BTAUDIO2_EVT_PHONE_MAX_SIGNAL_STRENGTH

#define BTAUDIO2_EVT_PHONE_MAX_SIGNAL_STRENGTH   0x09

◆ BTAUDIO2_EVT_PHONE_ROAMING_STATUS

#define BTAUDIO2_EVT_PHONE_ROAMING_STATUS   0x08

◆ BTAUDIO2_EVT_PHONE_SERVICE_STATUS

#define BTAUDIO2_EVT_PHONE_SERVICE_STATUS   0x0B

◆ BTAUDIO2_EVT_PHONE_SIGNAL_STRENGTH

#define BTAUDIO2_EVT_PHONE_SIGNAL_STRENGTH   0x0A

◆ BTAUDIO2_EVT_READ_BUTTON_MMI_SETTING_REPLY

#define BTAUDIO2_EVT_READ_BUTTON_MMI_SETTING_REPLY   0x5C

◆ BTAUDIO2_EVT_REPORT_AVRCP_ABS_VOL_CTRL

#define BTAUDIO2_EVT_REPORT_AVRCP_ABS_VOL_CTRL   0x29

◆ BTAUDIO2_EVT_REPORT_AVRCP_VOL_CTRL

#define BTAUDIO2_EVT_REPORT_AVRCP_VOL_CTRL   0x26

◆ BTAUDIO2_EVT_REPORT_BT_CLK

#define BTAUDIO2_EVT_REPORT_BT_CLK   0x3F

◆ BTAUDIO2_EVT_REPORT_BTM_INITIAL_STATUS

#define BTAUDIO2_EVT_REPORT_BTM_INITIAL_STATUS   0x30

◆ BTAUDIO2_EVT_REPORT_CUSTOMER_GATT_ATTRIBUTE_DATA

#define BTAUDIO2_EVT_REPORT_CUSTOMER_GATT_ATTRIBUTE_DATA   0x39

◆ BTAUDIO2_EVT_REPORT_FEATURE_LIST

#define BTAUDIO2_EVT_REPORT_FEATURE_LIST   0x40

◆ BTAUDIO2_EVT_REPORT_IAP_INFO

#define BTAUDIO2_EVT_REPORT_IAP_INFO   0x28

◆ BTAUDIO2_EVT_REPORT_IC_VERSION_INFO

#define BTAUDIO2_EVT_REPORT_IC_VERSION_INFO   0x38

◆ BTAUDIO2_EVT_REPORT_INPUT_SIGNAL_LEVEL

#define BTAUDIO2_EVT_REPORT_INPUT_SIGNAL_LEVEL   0x27

◆ BTAUDIO2_EVT_REPORT_LE_ANCS_EVENT

#define BTAUDIO2_EVT_REPORT_LE_ANCS_EVENT   0x31

◆ BTAUDIO2_EVT_REPORT_LE_EVENT

#define BTAUDIO2_EVT_REPORT_LE_EVENT   0x32

◆ BTAUDIO2_EVT_REPORT_LINK_BACK_STATUS

#define BTAUDIO2_EVT_REPORT_LINK_BACK_STATUS   0x23

◆ BTAUDIO2_EVT_REPORT_LINK_MODE

#define BTAUDIO2_EVT_REPORT_LINK_MODE   0x3A

◆ BTAUDIO2_EVT_REPORT_LINK_STATUS

#define BTAUDIO2_EVT_REPORT_LINK_STATUS   0x1E

◆ BTAUDIO2_EVT_REPORT_LOCAL_BD_ADDR

#define BTAUDIO2_EVT_REPORT_LOCAL_BD_ADDR   0x20

◆ BTAUDIO2_EVT_REPORT_LOCAL_DEVICE_NAME

#define BTAUDIO2_EVT_REPORT_LOCAL_DEVICE_NAME   0x21

◆ BTAUDIO2_EVT_REPORT_MCU_UPDATE_REPLY

#define BTAUDIO2_EVT_REPORT_MCU_UPDATE_REPLY   0x2F

◆ BTAUDIO2_EVT_REPORT_MSPK_AUDIO_SETTING

#define BTAUDIO2_EVT_REPORT_MSPK_AUDIO_SETTING   0x35

◆ BTAUDIO2_EVT_REPORT_MSPK_EFFECT_STATUS

#define BTAUDIO2_EVT_REPORT_MSPK_EFFECT_STATUS   0x36

◆ BTAUDIO2_EVT_REPORT_MSPK_EXCHANGE_LINK_INFO

#define BTAUDIO2_EVT_REPORT_MSPK_EXCHANGE_LINK_INFO   0x3D

◆ BTAUDIO2_EVT_REPORT_MSPK_STATUS

#define BTAUDIO2_EVT_REPORT_MSPK_STATUS   0x33

◆ BTAUDIO2_EVT_REPORT_MSPK_VENDOR_EVENT

#define BTAUDIO2_EVT_REPORT_MSPK_VENDOR_EVENT   0x34

◆ BTAUDIO2_EVT_REPORT_PAIRED_LINK_KEY_INFO

#define BTAUDIO2_EVT_REPORT_PAIRED_LINK_KEY_INFO   0x45

◆ BTAUDIO2_EVT_REPORT_PAIRING_RECORD

#define BTAUDIO2_EVT_REPORT_PAIRING_RECORD   0x1F

◆ BTAUDIO2_EVT_REPORT_READ_EEPROM_DATA

#define BTAUDIO2_EVT_REPORT_READ_EEPROM_DATA   0x42

◆ BTAUDIO2_EVT_REPORT_SPP_DATA

#define BTAUDIO2_EVT_REPORT_SPP_DATA   0x22

◆ BTAUDIO2_EVT_REPORT_TEST_RESULT

#define BTAUDIO2_EVT_REPORT_TEST_RESULT   0x41

◆ BTAUDIO2_EVT_REPORT_TWS_EAR_BUD_POSITION

#define BTAUDIO2_EVT_REPORT_TWS_EAR_BUD_POSITION   0x57

◆ BTAUDIO2_EVT_REPORT_TWS_LOCAL_DEVICE_STATUS

#define BTAUDIO2_EVT_REPORT_TWS_LOCAL_DEVICE_STATUS   0x54

◆ BTAUDIO2_EVT_REPORT_TWS_RADIO_CONDITION

#define BTAUDIO2_EVT_REPORT_TWS_RADIO_CONDITION   0x56

◆ BTAUDIO2_EVT_REPORT_TWS_RX_VENDOR_EVENT

#define BTAUDIO2_EVT_REPORT_TWS_RX_VENDOR_EVENT   0x53

◆ BTAUDIO2_EVT_REPORT_TWS_SECONDARY_DEVICE_STATUS

#define BTAUDIO2_EVT_REPORT_TWS_SECONDARY_DEVICE_STATUS   0x58

◆ BTAUDIO2_EVT_REPORT_TWS_VAD_DATA

#define BTAUDIO2_EVT_REPORT_TWS_VAD_DATA   0x55

◆ BTAUDIO2_EVT_REPORT_TYPE_BTM_SETTING

#define BTAUDIO2_EVT_REPORT_TYPE_BTM_SETTING   0x2E

◆ BTAUDIO2_EVT_REPORT_TYPE_CODEC

#define BTAUDIO2_EVT_REPORT_TYPE_CODEC   0x2D

◆ BTAUDIO2_EVT_REPORT_VENDOR_EEPROM

#define BTAUDIO2_EVT_REPORT_VENDOR_EEPROM   0x37

◆ BTAUDIO2_EVT_REPORT_VOICE_PROMPT_STATUS

#define BTAUDIO2_EVT_REPORT_VOICE_PROMPT_STATUS   0x2A

◆ BTAUDIO2_EVT_RESET_TO_DEFAULT

#define BTAUDIO2_EVT_RESET_TO_DEFAULT   0x0E

◆ BTAUDIO2_EVT_RINGTONE_FINISH_INDICATION

#define BTAUDIO2_EVT_RINGTONE_FINISH_INDICATION   0x24

◆ BTAUDIO2_EVT_RUNTIME_LATENCY

#define BTAUDIO2_EVT_RUNTIME_LATENCY   0x5E

◆ BTAUDIO2_EVT_SMS_INDICATION

#define BTAUDIO2_EVT_SMS_INDICATION   0x04

◆ BTAUDIO2_EVT_UNKNOW_AT_RESULT

#define BTAUDIO2_EVT_UNKNOW_AT_RESULT   0x1D

◆ BTAUDIO2_EVT_USER_CONFIRM_SSP_REQ

#define BTAUDIO2_EVT_USER_CONFIRM_SSP_REQ   0x25

◆ BTAUDIO2_EVT_VENDOR_AT_CMD_RSP

#define BTAUDIO2_EVT_VENDOR_AT_CMD_RSP   0x1C

◆ BTAUDIO2_EVT_VOLUME_LEVEL

#define BTAUDIO2_EVT_VOLUME_LEVEL   0x0F

◆ BTAUDIO2_MMI_ACCEPT_CALL

#define BTAUDIO2_MMI_ACCEPT_CALL   0x04

◆ BTAUDIO2_MMI_ACCEPT_WAITING_HOLD_CALL_RLS_ACTIVE_CALL

#define BTAUDIO2_MMI_ACCEPT_WAITING_HOLD_CALL_RLS_ACTIVE_CALL   0x12

◆ BTAUDIO2_MMI_ACTIVE_CALL_HOLD_ACCEPT_HELD_CALL

#define BTAUDIO2_MMI_ACTIVE_CALL_HOLD_ACCEPT_HELD_CALL   0x0D

◆ BTAUDIO2_MMI_ADD_REMOVE_SCO_LINK

#define BTAUDIO2_MMI_ADD_REMOVE_SCO_LINK   0x01

BT Audio 2 MMI actions list.

Specified MMI actions list of BT Audio 2 Click driver.

◆ BTAUDIO2_MMI_BUZZER_TOGGLE

#define BTAUDIO2_MMI_BUZZER_TOGGLE   0x60

◆ BTAUDIO2_MMI_CANCEL_ALL_BT_PAGING

#define BTAUDIO2_MMI_CANCEL_ALL_BT_PAGING   0x7A

◆ BTAUDIO2_MMI_CANCEL_MSPK_CREATION

#define BTAUDIO2_MMI_CANCEL_MSPK_CREATION   0xE3

◆ BTAUDIO2_MMI_CANCEL_VOICE_DIAL

#define BTAUDIO2_MMI_CANCEL_VOICE_DIAL   0x0B

◆ BTAUDIO2_MMI_COMBINE_FUNCTION_0

#define BTAUDIO2_MMI_COMBINE_FUNCTION_0   0x59

◆ BTAUDIO2_MMI_COMBINE_FUNCTION_1

#define BTAUDIO2_MMI_COMBINE_FUNCTION_1   0x5A

◆ BTAUDIO2_MMI_COMBINE_FUNCTION_2

#define BTAUDIO2_MMI_COMBINE_FUNCTION_2   0x5B

◆ BTAUDIO2_MMI_COMBINE_FUNCTION_3

#define BTAUDIO2_MMI_COMBINE_FUNCTION_3   0x5C

◆ BTAUDIO2_MMI_DEC_MIC_GAIN

#define BTAUDIO2_MMI_DEC_MIC_GAIN   0x25

◆ BTAUDIO2_MMI_DECREASE_LINE_IN_INPUT_GAIN

#define BTAUDIO2_MMI_DECREASE_LINE_IN_INPUT_GAIN   0x83

◆ BTAUDIO2_MMI_DECREASE_SPEAKER_GAIN

#define BTAUDIO2_MMI_DECREASE_SPEAKER_GAIN   0x31

◆ BTAUDIO2_MMI_DISABLE_A2DP_MIX_LINE_IN

#define BTAUDIO2_MMI_DISABLE_A2DP_MIX_LINE_IN   0x81

◆ BTAUDIO2_MMI_DISABLE_AEC

#define BTAUDIO2_MMI_DISABLE_AEC   0x1F

◆ BTAUDIO2_MMI_DISABLE_AEC_RX_NOISE_REDUCTION

#define BTAUDIO2_MMI_DISABLE_AEC_RX_NOISE_REDUCTION   0x22

◆ BTAUDIO2_MMI_DISABLE_BUZZER

#define BTAUDIO2_MMI_DISABLE_BUZZER   0x61

◆ BTAUDIO2_MMI_DISABLE_LED

#define BTAUDIO2_MMI_DISABLE_LED   0x5F

◆ BTAUDIO2_MMI_DISCONNECT_A2DP

#define BTAUDIO2_MMI_DISCONNECT_A2DP   0x3B

◆ BTAUDIO2_MMI_DISCONNECT_HF_LINK

#define BTAUDIO2_MMI_DISCONNECT_HF_LINK   0x17

◆ BTAUDIO2_MMI_DISCONNECT_SPP_LINK

#define BTAUDIO2_MMI_DISCONNECT_SPP_LINK   0x7D

◆ BTAUDIO2_MMI_ENABLE_A2DP_MIX_LINE_IN

#define BTAUDIO2_MMI_ENABLE_A2DP_MIX_LINE_IN   0x80

◆ BTAUDIO2_MMI_ENABLE_AEC

#define BTAUDIO2_MMI_ENABLE_AEC   0x1E

◆ BTAUDIO2_MMI_ENABLE_AEC_RX_NOISE_REDUCTION

#define BTAUDIO2_MMI_ENABLE_AEC_RX_NOISE_REDUCTION   0x21

◆ BTAUDIO2_MMI_ENABLE_BUZZER

#define BTAUDIO2_MMI_ENABLE_BUZZER   0x62

◆ BTAUDIO2_MMI_ENABLE_TEST_MODE

#define BTAUDIO2_MMI_ENABLE_TEST_MODE   0x03

◆ BTAUDIO2_MMI_ENDCALL_OR_TRANSFER_TO_HEADSET

#define BTAUDIO2_MMI_ENDCALL_OR_TRANSFER_TO_HEADSET   0x06

◆ BTAUDIO2_MMI_ENTER_PAIRING_MODE

#define BTAUDIO2_MMI_ENTER_PAIRING_MODE   0x5D

◆ BTAUDIO2_MMI_EQ_MODE_DOWN

#define BTAUDIO2_MMI_EQ_MODE_DOWN   0x39

◆ BTAUDIO2_MMI_EQ_MODE_UP

#define BTAUDIO2_MMI_EQ_MODE_UP   0x38

◆ BTAUDIO2_MMI_FAST_FORWARD

#define BTAUDIO2_MMI_FAST_FORWARD   0x36

◆ BTAUDIO2_MMI_FORCE_SPEAKER_GAIN_TOGGLE

#define BTAUDIO2_MMI_FORCE_SPEAKER_GAIN_TOGGLE   0x57

◆ BTAUDIO2_MMI_INC_MIC_GAIN

#define BTAUDIO2_MMI_INC_MIC_GAIN   0x24

◆ BTAUDIO2_MMI_INCREASE_LINE_IN_INPUT_GAIN

#define BTAUDIO2_MMI_INCREASE_LINE_IN_INPUT_GAIN   0x82

◆ BTAUDIO2_MMI_INCREASE_SPEAKER_GAIN

#define BTAUDIO2_MMI_INCREASE_SPEAKER_GAIN   0x30

◆ BTAUDIO2_MMI_LAST_NUMBER_REDIAL

#define BTAUDIO2_MMI_LAST_NUMBER_REDIAL   0x0C

◆ BTAUDIO2_MMI_LOCK_BUTTON

#define BTAUDIO2_MMI_LOCK_BUTTON   0x3A

◆ BTAUDIO2_MMI_MIC_MUTE_TOGGLE

#define BTAUDIO2_MMI_MIC_MUTE_TOGGLE   0x07

◆ BTAUDIO2_MMI_MSPK_ADD_THIRD_SPK

#define BTAUDIO2_MMI_MSPK_ADD_THIRD_SPK   0xF6

◆ BTAUDIO2_MMI_MSPK_BACK_TO_LAST_MODE

#define BTAUDIO2_MMI_MSPK_BACK_TO_LAST_MODE   0xF9

◆ BTAUDIO2_MMI_MSPK_CENTRAL_ENTER_AUX_IN_44p1K_PCM_MODE

#define BTAUDIO2_MMI_MSPK_CENTRAL_ENTER_AUX_IN_44p1K_PCM_MODE   0xE6

◆ BTAUDIO2_MMI_MSPK_CENTRAL_ENTER_AUX_IN_48K_PCM_MODE

#define BTAUDIO2_MMI_MSPK_CENTRAL_ENTER_AUX_IN_48K_PCM_MODE   0xE7

◆ BTAUDIO2_MMI_MSPK_CENTRAL_EXIT_AUX_IN_PCM_MODE

#define BTAUDIO2_MMI_MSPK_CENTRAL_EXIT_AUX_IN_PCM_MODE   0xE8

◆ BTAUDIO2_MMI_MSPK_CSB_CONNECTED_MODE_SWITCH

#define BTAUDIO2_MMI_MSPK_CSB_CONNECTED_MODE_SWITCH   0xF8

◆ BTAUDIO2_MMI_MSPK_ENTER_CONCERT_MODE

#define BTAUDIO2_MMI_MSPK_ENTER_CONCERT_MODE   0xF5

◆ BTAUDIO2_MMI_MSPK_ENTER_STEREO_MODE

#define BTAUDIO2_MMI_MSPK_ENTER_STEREO_MODE   0xF4

◆ BTAUDIO2_MMI_MSPK_ERASE_CONCERT_MODE_RECORD

#define BTAUDIO2_MMI_MSPK_ERASE_CONCERT_MODE_RECORD   0xEF

◆ BTAUDIO2_MMI_MSPK_ONE_KEY_CONNECT

#define BTAUDIO2_MMI_MSPK_ONE_KEY_CONNECT   0xE2

◆ BTAUDIO2_MMI_MSPK_ONE_KEY_CONNECT_WITH_LINK_BACK

#define BTAUDIO2_MMI_MSPK_ONE_KEY_CONNECT_WITH_LINK_BACK   0xFA

◆ BTAUDIO2_MMI_MSPK_ONE_KEY_OP_CONCERT_MODE

#define BTAUDIO2_MMI_MSPK_ONE_KEY_OP_CONCERT_MODE   0xFC

◆ BTAUDIO2_MMI_MSPK_ONE_KEY_OP_STEREO_MODE

#define BTAUDIO2_MMI_MSPK_ONE_KEY_OP_STEREO_MODE   0xFB

◆ BTAUDIO2_MMI_MSPK_POWER_OFF_ALL_SPEAKERS

#define BTAUDIO2_MMI_MSPK_POWER_OFF_ALL_SPEAKERS   0xED

◆ BTAUDIO2_MMI_MSPK_SOUND_SYNC

#define BTAUDIO2_MMI_MSPK_SOUND_SYNC   0xF7

◆ BTAUDIO2_MMI_MSPK_SWITCH_CHANNEL

#define BTAUDIO2_MMI_MSPK_SWITCH_CHANNEL   0xEC

◆ BTAUDIO2_MMI_MUTE_MIC

#define BTAUDIO2_MMI_MUTE_MIC   0x08

◆ BTAUDIO2_MMI_NEXT_AUDIO_EFFECT

#define BTAUDIO2_MMI_NEXT_AUDIO_EFFECT   0x3C

◆ BTAUDIO2_MMI_NEXT_SONG

#define BTAUDIO2_MMI_NEXT_SONG   0x34

◆ BTAUDIO2_MMI_PLAY_PAUSE_MUSIC

#define BTAUDIO2_MMI_PLAY_PAUSE_MUSIC   0x32

◆ BTAUDIO2_MMI_POWER_OFF_BUTTON_PRESS

#define BTAUDIO2_MMI_POWER_OFF_BUTTON_PRESS   0x53

◆ BTAUDIO2_MMI_POWER_OFF_BUTTON_RELEASE

#define BTAUDIO2_MMI_POWER_OFF_BUTTON_RELEASE   0x54

◆ BTAUDIO2_MMI_POWER_ON_BUTTON_PRESS

#define BTAUDIO2_MMI_POWER_ON_BUTTON_PRESS   0x51

◆ BTAUDIO2_MMI_POWER_ON_BUTTON_RELEASE

#define BTAUDIO2_MMI_POWER_ON_BUTTON_RELEASE   0x52

◆ BTAUDIO2_MMI_PREVIOUS_AUDIO_EFFECT

#define BTAUDIO2_MMI_PREVIOUS_AUDIO_EFFECT   0x3D

◆ BTAUDIO2_MMI_PREVIOUS_SONG

#define BTAUDIO2_MMI_PREVIOUS_SONG   0x35

◆ BTAUDIO2_MMI_QUERY_CALL_LIST

#define BTAUDIO2_MMI_QUERY_CALL_LIST   0x0F

◆ BTAUDIO2_MMI_REJECT_CALL

#define BTAUDIO2_MMI_REJECT_CALL   0x05

◆ BTAUDIO2_MMI_RELEASE_CALL

#define BTAUDIO2_MMI_RELEASE_CALL   0x11

◆ BTAUDIO2_MMI_REPORT_CURRENT_AUDIO_EFFECT_STATUS

#define BTAUDIO2_MMI_REPORT_CURRENT_AUDIO_EFFECT_STATUS   0x40

◆ BTAUDIO2_MMI_REPORT_CURRENT_EQ_MODE

#define BTAUDIO2_MMI_REPORT_CURRENT_EQ_MODE   0x3F

◆ BTAUDIO2_MMI_REPORT_CURRENT_RX_NR_STATUS

#define BTAUDIO2_MMI_REPORT_CURRENT_RX_NR_STATUS   0x77

◆ BTAUDIO2_MMI_REPORT_CURRENT_TX_NR_STATUS

#define BTAUDIO2_MMI_REPORT_CURRENT_TX_NR_STATUS   0x78

◆ BTAUDIO2_MMI_RESET_EEPROM_SETTING

#define BTAUDIO2_MMI_RESET_EEPROM_SETTING   0x56

◆ BTAUDIO2_MMI_REWIND

#define BTAUDIO2_MMI_REWIND   0x37

◆ BTAUDIO2_MMI_SHS_SEND_USER_DATA_1

#define BTAUDIO2_MMI_SHS_SEND_USER_DATA_1   0x72

◆ BTAUDIO2_MMI_SHS_SEND_USER_DATA_2

#define BTAUDIO2_MMI_SHS_SEND_USER_DATA_2   0x73

◆ BTAUDIO2_MMI_SHS_SEND_USER_DATA_3

#define BTAUDIO2_MMI_SHS_SEND_USER_DATA_3   0x74

◆ BTAUDIO2_MMI_SHS_SEND_USER_DATA_4

#define BTAUDIO2_MMI_SHS_SEND_USER_DATA_4   0x75

◆ BTAUDIO2_MMI_SHS_SEND_USER_DATA_5

#define BTAUDIO2_MMI_SHS_SEND_USER_DATA_5   0x76

◆ BTAUDIO2_MMI_STOP_MUSIC

#define BTAUDIO2_MMI_STOP_MUSIC   0x33

◆ BTAUDIO2_MMI_SWITCH_AEC

#define BTAUDIO2_MMI_SWITCH_AEC   0x20

◆ BTAUDIO2_MMI_SWITCH_AEC_RX_NOISE_REDUCTION

#define BTAUDIO2_MMI_SWITCH_AEC_RX_NOISE_REDUCTION   0x23

◆ BTAUDIO2_MMI_SWITCH_POWER_OFF

#define BTAUDIO2_MMI_SWITCH_POWER_OFF   0x5E

◆ BTAUDIO2_MMI_SWITCH_PRIMARY_SECONDARY_HF_DEVICE

#define BTAUDIO2_MMI_SWITCH_PRIMARY_SECONDARY_HF_DEVICE   0x26

◆ BTAUDIO2_MMI_TERMINATE_MSPK_CONNECTION

#define BTAUDIO2_MMI_TERMINATE_MSPK_CONNECTION   0xE5

◆ BTAUDIO2_MMI_TERMINATE_MSPK_LINK

#define BTAUDIO2_MMI_TERMINATE_MSPK_LINK   0xE4

◆ BTAUDIO2_MMI_THREE_WAY_CALL

#define BTAUDIO2_MMI_THREE_WAY_CALL   0x10

◆ BTAUDIO2_MMI_TOGGLE_AUDIO_PLAYBACK

#define BTAUDIO2_MMI_TOGGLE_AUDIO_PLAYBACK   0x41

◆ BTAUDIO2_MMI_TOGGLE_BUTTON_IND

#define BTAUDIO2_MMI_TOGGLE_BUTTON_IND   0x58

◆ BTAUDIO2_MMI_TONE_CHANGE

#define BTAUDIO2_MMI_TONE_CHANGE   0x63

◆ BTAUDIO2_MMI_TRIGGER_MSPK_CENTRAL

#define BTAUDIO2_MMI_TRIGGER_MSPK_CENTRAL   0xE0

◆ BTAUDIO2_MMI_TRIGGER_MSPK_PERIPHERAL

#define BTAUDIO2_MMI_TRIGGER_MSPK_PERIPHERAL   0xE1

◆ BTAUDIO2_MMI_UNMUTE_MIC

#define BTAUDIO2_MMI_UNMUTE_MIC   0x09

◆ BTAUDIO2_MMI_VOICE_DIAL

#define BTAUDIO2_MMI_VOICE_DIAL   0x0A

◆ BTAUDIO2_MMI_VOICE_TRANSFER

#define BTAUDIO2_MMI_VOICE_TRANSFER   0x0E

◆ BTAUDIO2_MODE_BOOT

#define BTAUDIO2_MODE_BOOT   4

◆ BTAUDIO2_MODE_FLASH_APPLICATION

#define BTAUDIO2_MODE_FLASH_APPLICATION   0

BT Audio 2 operating mode setting.

Specified operating mode setting of BT Audio 2 Click driver.

◆ BTAUDIO2_MODE_FLASH_IBDK

#define BTAUDIO2_MODE_FLASH_IBDK   2

◆ BTAUDIO2_MODE_ROM_APPLICATION

#define BTAUDIO2_MODE_ROM_APPLICATION   1

◆ BTAUDIO2_MODE_ROM_IBDK

#define BTAUDIO2_MODE_ROM_IBDK   3

◆ BTAUDIO2_PARAM_BUFFER_SIZE

#define BTAUDIO2_PARAM_BUFFER_SIZE   256

◆ BTAUDIO2_RX_DRV_BUFFER_SIZE

#define BTAUDIO2_RX_DRV_BUFFER_SIZE   300

BT Audio 2 driver buffer size.

Specified size of driver ring buffer.

Note
Increase buffer size if needed.

◆ BTAUDIO2_START_HEADER

#define BTAUDIO2_START_HEADER   0xAA

BT Audio 2 header byte.

Specified header byte of BT Audio 2 Click driver.

◆ BTAUDIO2_TX_DRV_BUFFER_SIZE

#define BTAUDIO2_TX_DRV_BUFFER_SIZE   300

◆ BTAUDIO2_VOLUME_MASK_A2DP

#define BTAUDIO2_VOLUME_MASK_A2DP   0x01

BT Audio 2 Volume control mask bytes.

Specified Volume control mask bytes of BT Audio 2 Click driver.

◆ BTAUDIO2_VOLUME_MASK_HF

#define BTAUDIO2_VOLUME_MASK_HF   0x02

◆ BTAUDIO2_VOLUME_MASK_LINE_IN

#define BTAUDIO2_VOLUME_MASK_LINE_IN   0x04

◆ BTAUDIO2_VOLUME_MASK_LINE_IN_INPUT

#define BTAUDIO2_VOLUME_MASK_LINE_IN_INPUT   0x10

◆ BTAUDIO2_VOLUME_MASK_PCM

#define BTAUDIO2_VOLUME_MASK_PCM   0x08