From aaeb55ed5ded2b76c7a629855ccbd1e702280e44 Mon Sep 17 00:00:00 2001 From: Milanka Ringwald Date: Fri, 21 May 2021 14:02:07 +0200 Subject: [PATCH] test/pts: avrcp update test sequences # Conflicts: # test/pts/avrcp_test.c --- test/pts/avctp_test.md | 8 ++++++++ test/pts/avrcp_test.c | 10 ++++++++-- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/test/pts/avctp_test.md b/test/pts/avctp_test.md index 81e161a05..feb2b864d 100644 --- a/test/pts/avctp_test.md +++ b/test/pts/avctp_test.md @@ -1,8 +1,14 @@ ## AVCTP Controller tests: Tool: avrcp_test +AVCTP/CT/CCM/BI-01-C : a, c, c AVCTP/CT/CCM/BV-01-C : a, c AVCTP/CT/CCM/BV-02-C : C +AVCTP/CT/CCM/BV-03-C : (wait) +AVCTP/CT/CCM/BV-04-C : (wait) + +AVCTP/CT/FRA/BV-01-C : pf +AVCTP/CT/FRA/BV-04-C : / AVCTP/CT/NFR/BV-01-C : w AVCTP/CT/NFR/BV-04-C : w @@ -12,6 +18,8 @@ Tool: avrcp_test AVCTP/TG/CCM/BV-01-C : b, c AVCTP/TG/CCM/BV-02-C : C +AVCTP/TG/CCM/BV-03-C : (wait) +AVCTP/TG/CCM/BV-04-C : (wait) AVCTP/TG/NFR/BI-01-C : (wait) AVCTP/TG/NFR/BV-02-C : (wait) diff --git a/test/pts/avrcp_test.c b/test/pts/avrcp_test.c index 57f5ab08b..077396e5d 100644 --- a/test/pts/avrcp_test.c +++ b/test/pts/avrcp_test.c @@ -75,8 +75,14 @@ static const char * device_addr_string = "00:1B:DC:08:E2:5C"; static bd_addr_t device_addr; static bd_addr_t device_addr_browsing; -static const uint8_t fragmented_message[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, - 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 }; +static const uint8_t fragmented_message[] = { + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, + 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, + 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, + 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, + 50, 51, 52, 53, 54, 55, 56, 57, 58, 59 +}; typedef enum { AVRCP_BROWSING_STATE_IDLE,