MT2523 API Reference  LinkIt SDK v4
bt_avrcp.h
1 /* Copyright Statement:
2  *
3  * (C) 2005-2017 MediaTek Inc. All rights reserved.
4  *
5  * This software/firmware and related documentation ("MediaTek Software") are
6  * protected under relevant copyright laws. The information contained herein
7  * is confidential and proprietary to MediaTek Inc. ("MediaTek") and/or its licensors.
8  * Without the prior written permission of MediaTek and/or its licensors,
9  * any reproduction, modification, use or disclosure of MediaTek Software,
10  * and information contained herein, in whole or in part, shall be strictly prohibited.
11  * You may only use, reproduce, modify, or distribute (as applicable) MediaTek Software
12  * if you have agreed to and been bound by the applicable license agreement with
13  * MediaTek ("License Agreement") and been granted explicit permission to do so within
14  * the License Agreement ("Permitted User"). If you are not a Permitted User,
15  * please cease any access or use of MediaTek Software immediately.
16  * BY OPENING THIS FILE, RECEIVER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES
17  * THAT MEDIATEK SOFTWARE RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES
18  * ARE PROVIDED TO RECEIVER ON AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL
19  * WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
20  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT.
21  * NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH RESPECT TO THE
22  * SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY, INCORPORATED IN, OR
23  * SUPPLIED WITH MEDIATEK SOFTWARE, AND RECEIVER AGREES TO LOOK ONLY TO SUCH
24  * THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO. RECEIVER EXPRESSLY ACKNOWLEDGES
25  * THAT IT IS RECEIVER'S SOLE RESPONSIBILITY TO OBTAIN FROM ANY THIRD PARTY ALL PROPER LICENSES
26  * CONTAINED IN MEDIATEK SOFTWARE. MEDIATEK SHALL ALSO NOT BE RESPONSIBLE FOR ANY MEDIATEK
27  * SOFTWARE RELEASES MADE TO RECEIVER'S SPECIFICATION OR TO CONFORM TO A PARTICULAR
28  * STANDARD OR OPEN FORUM. RECEIVER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S ENTIRE AND
29  * CUMULATIVE LIABILITY WITH RESPECT TO MEDIATEK SOFTWARE RELEASED HEREUNDER WILL BE,
30  * AT MEDIATEK'S OPTION, TO REVISE OR REPLACE MEDIATEK SOFTWARE AT ISSUE,
31  * OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE CHARGE PAID BY RECEIVER TO
32  * MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE.
33  */
34 
35 
36 #ifndef __BT_AVRCP_H__
37 #define __BT_AVRCP_H__
38 
172 #include "stdint.h"
173 #include "stdbool.h"
174 #include "bt_type.h"
175 
176 BT_EXTERN_C_BEGIN
186 #define BT_AVRCP_CONNECT_CNF (BT_MODULE_AVRCP | 0x0000)
187 #define BT_AVRCP_CONNECT_IND (BT_MODULE_AVRCP | 0x0001)
188 #define BT_AVRCP_DISCONNECT_IND (BT_MODULE_AVRCP | 0x0002)
191 #define BT_AVRCP_PASS_THROUGH_CNF (BT_MODULE_AVRCP | 0x0003)
192 #define BT_AVRCP_LIST_APP_SETTING_ATTRIBUTES_CNF (BT_MODULE_AVRCP | 0x0004)
193 #define BT_AVRCP_GET_APP_SETTING_VALUE_CNF (BT_MODULE_AVRCP | 0x0005)
194 #define BT_AVRCP_SET_APP_SETTING_VALUE_CNF (BT_MODULE_AVRCP | 0x0006)
195 #define BT_AVRCP_GET_ELEMENT_ATTRIBUTES_CNF (BT_MODULE_AVRCP | 0x0007)
196 #define BT_AVRCP_EVENT_NOTIFICATION_IND (BT_MODULE_AVRCP | 0x0008)
198 #define BT_AVRCP_REQUEST_CONTINUING_CNF (BT_MODULE_AVRCP | 0x0009)
199 #define BT_AVRCP_ABORT_CONTINUING_CNF (BT_MODULE_AVRCP | 0x000a)
201 #define BT_AVRCP_SET_ABSOLUTE_VOLUME_CNF (BT_MODULE_AVRCP | 0x000b)
203 #define BT_AVRCP_PASS_THROUGH_COMMAND_IND (BT_MODULE_AVRCP | 0x0010)
204 #define BT_AVRCP_SET_ABSOLUTE_VOLUME_COMMAND_IND (BT_MODULE_AVRCP | 0x0011)
205 #define BT_AVRCP_REGISTER_NOTIFICATION_IND (BT_MODULE_AVRCP | 0x0012)
206 #define BT_STATUS_AVRCP_INVALID_PARAMETER (BT_MODULE_AVRCP | 0x01)
207 #define BT_STATUS_AVRCP_FAILED (BT_MODULE_AVRCP | 0x02)
208 #define BT_STATUS_AVRCP_BUSY (BT_MODULE_AVRCP | 0x03)
209 #define BT_STATUS_AVRCP_LINK_ALREADY_EXISTED (BT_MODULE_AVRCP | 0x04)
210 #define BT_STATUS_AVRCP_SDP_QUERY_FAILED (BT_MODULE_AVRCP | 0x05)
211 #define BT_STATUS_AVRCP_NOT_IMPLEMENTED (BT_MODULE_AVRCP | 0x28)
212 #define BT_STATUS_AVRCP_REJECTED (BT_MODULE_AVRCP | 0x29)
213 #define BT_STATUS_AVRCP_INTERIM (BT_MODULE_AVRCP | 0x2F)
214 #define BT_STATUS_AVRCP_REJECT_INVALID_COMMAND (BT_MODULE_AVRCP | 0x30)
215 #define BT_STATUS_AVRCP_REJECT_INVALID_PARAMETER (BT_MODULE_AVRCP | 0x31)
216 #define BT_STATUS_AVRCP_REJECT_PARAMTER_NOT_FOUND (BT_MODULE_AVRCP | 0x32)
217 #define BT_STATUS_AVRCP_REJECT_INTERNAL_ERROR (BT_MODULE_AVRCP | 0x33)
224 #define BT_AVRCP_OPERATION_ID_SELECT 0x00
225 #define BT_AVRCP_OPERATION_ID_UP 0x01
226 #define BT_AVRCP_OPERATION_ID_DOWN 0x02
227 #define BT_AVRCP_OPERATION_ID_LEFT 0x03
228 #define BT_AVRCP_OPERATION_ID_RIGHT 0x04
229 #define BT_AVRCP_OPERATION_ID_RIGHT_UP 0x05
230 #define BT_AVRCP_OPERATION_ID_RIGHT_DOWN 0x06
231 #define BT_AVRCP_OPERATION_ID_LEFT_UP 0x07
232 #define BT_AVRCP_OPERATION_ID_LEFT_DOWN 0x08
233 #define BT_AVRCP_OPERATION_ID_ROOT_MENU 0x09
234 #define BT_AVRCP_OPERATION_ID_SETUP_MENU 0x0A
235 #define BT_AVRCP_OPERATION_ID_CONTENTS_MENU 0x0B
236 #define BT_AVRCP_OPERATION_ID_FAVORITE_MENU 0x0C
237 #define BT_AVRCP_OPERATION_ID_EXIT 0x0D
239 #define BT_AVRCP_OPERATION_ID_0 0x20
240 #define BT_AVRCP_OPERATION_ID_1 0x21
241 #define BT_AVRCP_OPERATION_ID_2 0x22
242 #define BT_AVRCP_OPERATION_ID_3 0x23
243 #define BT_AVRCP_OPERATION_ID_4 0x24
244 #define BT_AVRCP_OPERATION_ID_5 0x25
245 #define BT_AVRCP_OPERATION_ID_6 0x26
246 #define BT_AVRCP_OPERATION_ID_7 0x27
247 #define BT_AVRCP_OPERATION_ID_8 0x28
248 #define BT_AVRCP_OPERATION_ID_9 0x29
249 #define BT_AVRCP_OPERATION_ID_DOT 0x2A
250 #define BT_AVRCP_OPERATION_ID_ENTER 0x2B
251 #define BT_AVRCP_OPERATION_ID_CLEAR 0x2C
253 #define BT_AVRCP_OPERATION_ID_CHANNEL_UP 0x30
254 #define BT_AVRCP_OPERATION_ID_CHANNEL_DOWN 0x31
255 #define BT_AVRCP_OPERATION_ID_PREVIOUS_CHANNEL 0x32
256 #define BT_AVRCP_OPERATION_ID_SOUND_SELECT 0x33
257 #define BT_AVRCP_OPERATION_ID_INPUT_SELECT 0x34
258 #define BT_AVRCP_OPERATION_ID_DISPLAY_INFO 0x35
259 #define BT_AVRCP_OPERATION_ID_HELP 0x36
260 #define BT_AVRCP_OPERATION_ID_PAGE_UP 0x37
261 #define BT_AVRCP_OPERATION_ID_PAGE_DOWN 0x38
263 #define BT_AVRCP_OPERATION_ID_POWER 0x40
264 #define BT_AVRCP_OPERATION_ID_VOLUME_UP 0x41
265 #define BT_AVRCP_OPERATION_ID_VOLUME_DOWN 0x42
266 #define BT_AVRCP_OPERATION_ID_MUTE 0x43
267 #define BT_AVRCP_OPERATION_ID_PLAY 0x44
268 #define BT_AVRCP_OPERATION_ID_STOP 0x45
269 #define BT_AVRCP_OPERATION_ID_PAUSE 0x46
270 #define BT_AVRCP_OPERATION_ID_RECORD 0x47
271 #define BT_AVRCP_OPERATION_ID_REWIND 0x48
272 #define BT_AVRCP_OPERATION_ID_FAST_FORWARD 0x49
273 #define BT_AVRCP_OPERATION_ID_EJECT 0x4A
274 #define BT_AVRCP_OPERATION_ID_FORWARD 0x4B
275 #define BT_AVRCP_OPERATION_ID_BACKWARD 0x4C
277 #define BT_AVRCP_OPERATION_ID_ANGLE 0x50
278 #define BT_AVRCP_OPERATION_ID_SUBPICTURE 0x51
280 #define BT_AVRCP_OPERATION_ID_F1 0x71
281 #define BT_AVRCP_OPERATION_ID_F2 0x72
282 #define BT_AVRCP_OPERATION_ID_F3 0x73
283 #define BT_AVRCP_OPERATION_ID_F4 0x74
284 #define BT_AVRCP_OPERATION_ID_F5 0x75
286 #define BT_AVRCP_OPERATION_ID_RESERVED 0x7F
287 typedef uint8_t bt_avrcp_operation_id_t;
294 #define BT_AVRCP_OPERATION_STATE_PUSH 0
295 #define BT_AVRCP_OPERATION_STATE_RELEASED 1
296 typedef uint8_t bt_avrcp_operation_state_t;
302 #define BT_AVRCP_METADATA_PACKET_TYPE_NON_FRAGMENT 0x00
303 #define BT_AVRCP_METADATA_PACKET_TYPE_START 0x01
304 #define BT_AVRCP_METADATA_PACKET_TYPE_CONTINUE 0x02
305 #define BT_AVRCP_METADATA_PACKET_TYPE_END 0x03
306 typedef uint16_t bt_avrcp_metadata_packet_type_t;
312 #define BT_AVRCP_MEDIA_ATTRIBUTE_TITLE 0x01
313 #define BT_AVRCP_MEDIA_ATTRIBUTE_ARTIST_NAME 0x02
314 #define BT_AVRCP_MEDIA_ATTRIBUTE_ALBUM_NAME 0x03
315 #define BT_AVRCP_MEDIA_ATTRIBUTE_MEDIA_NUMBER 0x04
316 #define BT_AVRCP_MEDIA_ATTRIBUTE_TOTAL_MEDIA_NUMBER 0x05
317 #define BT_AVRCP_MEDIA_ATTRIBUTE_GENRE 0x06
318 #define BT_AVRCP_MEDIA_ATTRIBUTE_PLAYING_TIME 0x07
319 typedef uint32_t bt_avrcp_media_attribute_t;
325 #define BT_AVRCP_EVENT_PLAYBACK_STATUS_CHANGED 0x01
326 #define BT_AVRCP_EVENT_TRACK_CHANGED 0x02
327 #define BT_AVRCP_EVENT_TRACK_REACHED_END 0x03
328 #define BT_AVRCP_EVENT_TRACK_REACHED_START 0x04
329 #define BT_AVRCP_EVENT_PLAYBACK_POS_CHANGED 0x05
330 #define BT_AVRCP_EVENT_BATT_STATUS_CHANGED 0x06
331 #define BT_AVRCP_EVENT_SYSTEM_STATUS_CHANGED 0x07
332 #define BT_AVRCP_EVENT_PLAYER_APP_SETTING_CHANGED 0x08
333 #define BT_AVRCP_EVENT_VOLUME_CHANGED 0x0D
334 typedef uint8_t bt_avrcp_event_t;
341 #define BT_AVRCP_PDU_ID_LIST_APP_SETTING_ATTRIBUTES 0X11
342 #define BT_AVRCP_PDU_ID_GET_APP_SETTING_VALUE 0X13
343 #define BT_AVRCP_PDU_ID_SET_APP_SETTING_VALUE 0X14
344 #define BT_AVRCP_PDU_ID_GET_ELEMENT_ATTRIBUTES 0x20
345 #define BT_AVRCP_PDU_ID_REGISTER_NOTIFICATION 0X31
346 #define BT_AVRCP_PDU_ID_REQUEST_CONTINUING_RSP 0X40
347 #define BT_AVRCP_PDU_ID_ABORT_CONTINUING_RSP 0X41
348 #define BT_AVRCP_PDU_ID_SET_ABSOLUTE_VOLUME 0x50
349 typedef uint8_t bt_avrcp_pdu_id_t;
351 #define BT_AVRCP_RESPONSE_NOT_IMPLEMENTED 0x08
352 #define BT_AVRCP_RESPONSE_ACCEPTED 0x09
353 #define BT_AVRCP_RESPONSE_REJECTED 0x0A
354 #define BT_AVRCP_RESPONSE_CHANGED 0x0D
355 #define BT_AVRCP_RESPONSE_INTERIM 0x0F
356 typedef uint8_t bt_avrcp_response_t;
371 typedef struct{
372  uint32_t handle;
379 typedef struct{
380  uint32_t handle;
381  bt_bd_addr_t *address;
390 
394 typedef struct{
395  uint32_t handle;
405 
410 BT_PACKED (
411 typedef struct{
412  uint8_t attribute_id;
414 
418 BT_PACKED (
419 typedef struct{
420  uint8_t attribute_id;
421  uint8_t value_id;
423 
424 
429 BT_PACKED (
430 typedef struct{
431  bt_avrcp_media_attribute_t attribute_id;
433 
437 BT_PACKED (
438 typedef struct{
439  uint8_t attribute_id;
441 
445 typedef struct{
446  uint32_t handle;
447  bt_avrcp_metadata_packet_type_t packet_type;
448  uint16_t length;
449  union {
450  struct{
451  uint8_t number;
453  };
454  uint8_t *data;
456  };
458 
462 typedef struct{
463  uint32_t handle;
464  bt_avrcp_metadata_packet_type_t packet_type;
465  uint16_t length;
466  union {
467  struct{
468  uint8_t number;
469  bt_avrcp_app_setting_value_t *attribute_list;
470  };
471  uint8_t *data;
473  };
475 
479 typedef struct{
480  uint32_t handle;
486 BT_PACKED (
487 typedef struct{
488  bt_avrcp_media_attribute_t attribute_id;
489  uint16_t character_set_id;
490  uint16_t attribute_value_length;
491  uint8_t attribute_value[];
493 
497 typedef struct{
498  uint32_t handle;
499  bt_avrcp_metadata_packet_type_t packet_type;
500  uint16_t length;
501  union{
502  struct{
503  uint8_t number;
505  };
506  uint8_t *data;
508  };
510 
511 
515 typedef struct{
516  uint8_t number;
517  bt_avrcp_app_setting_value_t *attribute_list;
523 typedef struct{
524  uint32_t handle;
525  bt_avrcp_event_t event_id;
526  union{
528  uint64_t id;
529  uint32_t playback_position;
530  uint8_t status;
532  uint8_t volume;
533  };
539 typedef struct{
540  uint32_t handle;
541  bt_avrcp_event_t event_id;
542  uint16_t parameter_length;
543  uint8_t *parameters;
549 typedef struct{
550  uint32_t handle;
556 typedef struct{
557  uint32_t handle;
558  uint8_t volume;
565 
569 typedef struct{
570  uint32_t handle;
571  bt_status_t rejection_reason;
577 typedef struct{
578  bt_avrcp_response_t response_type;
579  uint16_t parameter_length;
580  bt_avrcp_event_t event_id;
581  union{
582  uint8_t volume;
583  };
586 
602 bt_status_t bt_avrcp_connect(uint32_t *handle, const bt_bd_addr_t *address);
603 
612 bt_status_t bt_avrcp_connect_response(uint32_t handle, bool accept);
613 
620 bt_status_t bt_avrcp_disconnect(uint32_t handle);
621 
634 
645 bt_status_t bt_avrcp_send_pass_through_response(uint32_t handle, bt_avrcp_response_t response, bt_avrcp_operation_id_t op_id, bt_avrcp_operation_state_t op_state);
646 
657 
668 bt_status_t bt_avrcp_get_app_setting_value(uint32_t handle, uint16_t attribute_size, bt_avrcp_get_app_setting_value_t *attribute_list);
680 bt_status_t bt_avrcp_set_app_setting_value(uint32_t handle, uint16_t attribute_size, bt_avrcp_app_setting_value_t *attribute_value_list);
681 
694 bt_status_t bt_avrcp_get_element_attributes(uint32_t handle, uint16_t attribute_size, bt_avrcp_get_element_attributes_t *attribute_list);
706 bt_status_t bt_avrcp_register_notification(uint32_t handle, bt_avrcp_event_t event_id, uint32_t play_back_interval);
718 
719 
732 
733 
743 bt_status_t bt_avrcp_set_absolute_volume(uint32_t handle, uint8_t volume);
744 
745 
756 bt_status_t bt_avrcp_send_set_absoulte_volume_response(uint32_t handle, uint8_t volume);
757 
758 
771 
772 
773 BT_EXTERN_C_END
774 
781 #endif
782 
bt_status_t bt_avrcp_get_element_attributes(uint32_t handle, uint16_t attribute_size, bt_avrcp_get_element_attributes_t *attribute_list)
This function obtains the detailed information on a particular media file playing currently at the TG...
bt_status_t bt_avrcp_register_notification(uint32_t handle, bt_avrcp_event_t event_id, uint32_t play_back_interval)
This function sends a register notification command to the TG device.
The struct of BT_AVRCP_EVENT_NOTIFICATION_IND.
Definition: bt_avrcp.h:526
bt_status_t bt_avrcp_set_app_setting_value(uint32_t handle, uint16_t attribute_size, bt_avrcp_app_setting_value_t *attribute_value_list)
This function sets the player application setting values to specified attribute ID at the TG device...
The struct of BT_AVRCP_ABORT_CONTINUING_CNF.
Definition: bt_avrcp.h:552
uint8_t bt_avrcp_event_t
The event type of register notification.
Definition: bt_avrcp.h:337
The struct of BT_AVRCP_GET_APP_SETTING_VALUE_CNF.
Definition: bt_avrcp.h:465
bt_status_t bt_avrcp_list_app_setting_attributes(uint32_t handle)
This function gets player application attributes supported at TG device.
uint16_t bt_avrcp_metadata_packet_type_t
The packet type to indicate the packet fragmentation state.
Definition: bt_avrcp.h:309
uint8_t bt_avrcp_operation_state_t
The key state type of the operation.
Definition: bt_avrcp.h:299
uint8_t bt_avrcp_operation_id_t
The operation ID type.
Definition: bt_avrcp.h:290
bt_status_t bt_avrcp_connect(uint32_t *handle, const bt_bd_addr_t *address)
This function connects to the specified remote device.
bt_avrcp_pass_through_cnf_t bt_avrcp_pass_through_command_ind_t
The struct for #BT_AVRCP_PASS_THROUGH_CMD.
Definition: bt_avrcp.h:407
bt_status_t bt_avrcp_disconnect(uint32_t handle)
This function disconnects the specified remote device.
The error structure of all metadata commands when the status of corresponding response is not BT_STAT...
Definition: bt_avrcp.h:572
uint8_t bt_avrcp_pdu_id_t
The type of the PDU ID.
Definition: bt_avrcp.h:352
The struct of sending register notification response parameters.
Definition: bt_avrcp.h:580
The struct of BT_AVRCP_REGISTER_NOTIFICATION_IND.
Definition: bt_avrcp.h:542
The struct of player application setting value, with attribute ID and the corresponding value...
Definition: bt_avrcp.h:425
bt_status_t bt_avrcp_request_continuing_response(uint32_t handle, bt_avrcp_pdu_id_t pdu_id)
This function requests TG device to send continuing response packet for current PDU command...
The struct of response data format for BT_AVRCP_EVENT_PLAYER_APP_SETTING_CHANGED. ...
Definition: bt_avrcp.h:518
The struct for BT_AVRCP_CONNECT_CNF.
Definition: bt_avrcp.h:374
uint32_t bt_avrcp_media_attribute_t
The type of media attributes IDs.
Definition: bt_avrcp.h:322
The parameter of bt_avrcp_get_app_setting_value.
Definition: bt_avrcp.h:416
bt_status_t bt_avrcp_get_app_setting_value(uint32_t handle, uint16_t attribute_size, bt_avrcp_get_app_setting_value_t *attribute_list)
This function gets the player application setting values for specified attribute ID at the TG device...
The struct of BT_AVRCP_SET_APP_SETTING_VALUE_CNF.
Definition: bt_avrcp.h:482
The struct of BT_AVRCP_GET_ELEMENT_ATTRIBUTES_CNF.
Definition: bt_avrcp.h:500
bt_avrcp_connect_cnf_t bt_avrcp_disconnect_ind_t
The struct for BT_AVRCP_DISCONNECT_IND.
Definition: bt_avrcp.h:392
The struct for BT_AVRCP_PASS_THROUGH_CNF.
Definition: bt_avrcp.h:397
uint8_t bt_bd_addr_t[6]
Address type, defined in Bluetooth core specification version 4.2.
Definition: bt_type.h:180
int32_t bt_status_t
Define the status type, returned from the APIs, and defined as BT_STATUS_XXX.
Definition: bt_type.h:173
bt_status_t bt_avrcp_send_set_absoulte_volume_response(uint32_t handle, uint8_t volume)
This function sends the response after receiving set absolute volume command from CT device...
bt_avrcp_set_absolute_volume_response_t bt_avrcp_set_absolute_volume_event_t
The struct BT_AVRCP_SET_ABSOLUTE_VOLUME_COMMAND_IND.
Definition: bt_avrcp.h:567
bt_status_t bt_avrcp_set_absolute_volume(uint32_t handle, uint8_t volume)
This function sets the volume in percentage for the rendering device.
The struct of response values to get element attribute.
Definition: bt_avrcp.h:495
The parameter of bt_avrcp_get_element_attributes.
Definition: bt_avrcp.h:435
The struct of BT_AVRCP_LIST_APP_SETTING_ATTRIBUTES_CNF.
Definition: bt_avrcp.h:448
bt_status_t bt_avrcp_connect_response(uint32_t handle, bool accept)
This function responds to the specified remote device's incoming connection.
The struct of BT_AVRCP_SET_ABSOLUTE_VOLUME_CNF.
Definition: bt_avrcp.h:559
The struct for BT_AVRCP_CONNECT_IND.
Definition: bt_avrcp.h:382
bt_status_t bt_avrcp_abort_continuing_response(uint32_t handle, bt_avrcp_pdu_id_t pdu_id)
This function requests TG device to abort continuing response packet for current PDU command...
bt_status_t bt_avrcp_send_pass_through_command(uint32_t handle, bt_avrcp_operation_id_t op_id, bt_avrcp_operation_state_t op_state)
This function sends pass through command to the specified TG device.
bt_status_t bt_avrcp_send_pass_through_response(uint32_t handle, bt_avrcp_response_t response, bt_avrcp_operation_id_t op_id, bt_avrcp_operation_state_t op_state)
This function send pass through response after receiving pass through command from the remote CT devi...
The struct to list player application setting attribute.
Definition: bt_avrcp.h:443
bt_status_t bt_avrcp_send_register_notification_response(uint32_t handle, bt_avrcp_send_register_notification_response_t *rsp_data)
This function sends the register notification response to the CT device.