Verify that a Generic Attribute Profile server can detect and reject a Read Characteristic Descriptor Request to a non-readable characteristic descriptor and issue a Read Not Permitted Response. --- unit/test-gatt.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/unit/test-gatt.c b/unit/test-gatt.c index dbbd504..ecbebe9 100644 --- a/unit/test-gatt.c +++ b/unit/test-gatt.c @@ -2051,5 +2051,11 @@ int main(int argc, char *argv[]) 0x88, 0x99, 0x00, 0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34)); + define_test_server("/TP/GAR/SR/BI-23-C/large-1", test_server, + ts_large_db_1, NULL, + raw_pdu(0x03, 0x00, 0x02), + raw_pdu(0x0A, 0x96, 0x00), + raw_pdu(0x01, 0x0A, 0x96, 0x00, 0x02)); + return g_test_run(); } -- 2.2.0.rc0.207.ga3a616c -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html