mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-12-22 02:13:43 +08:00
unit/test-avrcp: Add /TP/MCN/NP/BV-06-C test
To verify the GetFolderItems response for the NowPlaying Folder issued by the TG.
This commit is contained in:
parent
7a966998a0
commit
4b904214c8
@ -853,6 +853,17 @@ int main(int argc, char *argv[])
|
|||||||
0x00, 0x00, 0x00, 0x02, /* end */
|
0x00, 0x00, 0x00, 0x02, /* end */
|
||||||
0x00));
|
0x00));
|
||||||
|
|
||||||
|
/* GetFolderItems - NowPlaying - TG */
|
||||||
|
define_test("/TP/MCN/NP/BV-06-C", test_server,
|
||||||
|
brs_pdu(0x00, 0x11, 0x0e, AVRCP_GET_FOLDER_ITEMS,
|
||||||
|
0x00, 0x0a, AVRCP_MEDIA_NOW_PLAYING,
|
||||||
|
0x00, 0x00, 0x00, 0x00, /* start */
|
||||||
|
0x00, 0x00, 0x00, 0x02, /* end */
|
||||||
|
0x00),
|
||||||
|
brs_pdu(0x02, 0x11, 0x0e, AVRCP_GET_FOLDER_ITEMS,
|
||||||
|
0x00, 0x05, 0x04, 0xab, 0xcd, 0x00, 0x00));
|
||||||
|
|
||||||
|
|
||||||
/* Media Player Selection IOP tests */
|
/* Media Player Selection IOP tests */
|
||||||
|
|
||||||
/* Listing of available media players */
|
/* Listing of available media players */
|
||||||
|
Loading…
Reference in New Issue
Block a user