diff options
author | hyungjung0521.kim <hyungjung0521.kim@lge.com> | 2012-09-05 15:04:25 +0900 |
---|---|---|
committer | Iliyan Malchev <malchev@google.com> | 2012-09-13 23:35:02 -0700 |
commit | 5df642060edbf3c65693b914f327056d10fe457c (patch) | |
tree | 1bac0184e0aeb472e357bffae580d7dff558e256 /stack/include/avrc_defs.h | |
parent | 557040bc55438df4c1e41c906c9d075a6b2c1e92 (diff) | |
download | external_bluetooth_bluedroid-5df642060edbf3c65693b914f327056d10fe457c.zip external_bluetooth_bluedroid-5df642060edbf3c65693b914f327056d10fe457c.tar.gz external_bluetooth_bluedroid-5df642060edbf3c65693b914f327056d10fe457c.tar.bz2 |
bluetooth: BT SIG - AVRCP - Response for invalid PDU fixed
When PTS sends the invalid PDU to the IUT,
due to AVRCP spec, it's supposed to response back to PTS
with General Reject MSG and Error code.
PTS test case : AVRCP TC_TG_INV_BI_01_C
Change-Id: Ieba59503f0e3c156c639b37167d3a3a743016706
Diffstat (limited to 'stack/include/avrc_defs.h')
-rw-r--r-- | stack/include/avrc_defs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stack/include/avrc_defs.h b/stack/include/avrc_defs.h index b902bff..3f82948 100644 --- a/stack/include/avrc_defs.h +++ b/stack/include/avrc_defs.h @@ -208,7 +208,7 @@ * The len for vendor unique data is 5 */ #define AVRC_PASS_THRU_GROUP_LEN 5 - +#define AVRC_PDU_INVALID 0xff /* 6.15.3 error status code for general reject */ #define AVRC_STS_BAD_CMD 0x00 /* Invalid command, sent if TG received a PDU that it did not understand. */ #define AVRC_STS_BAD_PARAM 0x01 /* Invalid parameter, sent if the TG received a PDU with a parameter ID that it did not understand. Sent if there is only one parameter ID in the PDU. */ |