mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-14 01:27:41 +00:00
avdtp: add AVRCP_SUBEVENT_NOW_PLAYING_INFO_QUERY event
This commit is contained in:
parent
c045af9951
commit
4c9540146c
@ -1700,6 +1700,14 @@ typedef uint8_t sm_key_t[16];
|
||||
*/
|
||||
#define AVRCP_SUBEVENT_PLAY_STATUS_QUERY 0x14
|
||||
|
||||
/**
|
||||
* @format 12
|
||||
* @param subevent_code
|
||||
* @param avrcp_cid
|
||||
*/
|
||||
#define AVRCP_SUBEVENT_NOW_PLAYING_INFO_QUERY 0x15
|
||||
|
||||
|
||||
/**
|
||||
* @format 121BH1
|
||||
* @param subevent_code
|
||||
|
@ -5488,6 +5488,16 @@ static inline uint16_t avrcp_subevent_play_status_query_get_avrcp_cid(const uint
|
||||
return little_endian_read_16(event, 3);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Get field avrcp_cid from event AVRCP_SUBEVENT_NOW_PLAYING_INFO_QUERY
|
||||
* @param event packet
|
||||
* @return avrcp_cid
|
||||
* @note: btstack_type 2
|
||||
*/
|
||||
static inline uint16_t avrcp_subevent_now_playing_info_query_get_avrcp_cid(const uint8_t * event){
|
||||
return little_endian_read_16(event, 3);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Get field goep_cid from event GOEP_SUBEVENT_CONNECTION_OPENED
|
||||
* @param event packet
|
||||
|
Loading…
x
Reference in New Issue
Block a user