summaryrefslogtreecommitdiff
path: root/unit/test-gatt.c
Commit message (Collapse)AuthorAgeFilesLines
...
* unit/test-gatt: Add TP/GAW/CL/BI-11-C testGowtham Anandha Babu2015-03-271-0/+16
| | | | | | Verify Generic Attribute Profile client behavior when the Write Long Characteristic Value procedure fails due to insufficient authorization.
* unit/test-gatt: Add TP/GAW/CL/BI-08-C testGowtham Anandha Babu2015-03-271-0/+16
| | | | | Verify Generic Attribute Profile client behavior when the Write Long Characteristic Value procedure fails due to write not permitted.
* unit/test-gatt: Add TP/GAW/CL/BI-07-C testGowtham Anandha Babu2015-03-271-0/+16
| | | | | Verify Generic Attribute Profile client behavior when the Write Long Characteristic Value procedure fails due to invalid handle.
* unit/test-gatt: Add TP/GAW/CL/BV-05-C testGowtham Anandha Babu2015-03-271-3/+248
| | | | | Verify that a Generic Attribute Profile client can write a long Characteristic Value selected by handle.
* unit: Replace use of g_malloc+memcpy with gmemdupLuiz Augusto von Dentz2015-03-271-2/+1
| | | | | This seems to fix problems of make check not working in 32 bit systems with gcc 5.0.
* unit/test-gatt: Add TP/GAW/SR/BV-07-C testGowtham Anandha Babu2015-03-201-0/+22
| | | | | Verify that a Generic Attribute Profile server can support cancel of a reliable write.
* unit/test-gatt: Add TP/GAW/SR/BI-15-C testGowtham Anandha Babu2015-03-201-0/+12
| | | | | | | Verify that a Generic Attribute Profile server can detect and reject a Characteristic Value Reliable Write Request to a non-writeable Characteristic Value and issue a Write Not Permitted Response.
* unit/test-gatt: Add TP/GAW/SR/BI-14-C testGowtham Anandha Babu2015-03-201-0/+12
| | | | | | Verify that a Generic Attribute Profile server can detect and reject a Reliable Write Request to an invalid Characteristic handle and issue an Invalid Handle Response.
* unit/test-gatt: Add TP/GAW/SR/BV-10-C testGowtham Anandha Babu2015-03-201-2/+30
| | | | | Verify that a Generic Attribute Profile server can support nested reliable writing to long Characteristic Values selected by handle.
* unit/test-gatt: Add TP/GAW/SR/BV-06-C testGowtham Anandha Babu2015-03-201-0/+16
| | | | | Verify that a Generic Attribute Profile server can support reliable writing to a Characteristic Value selected by handle.
* unit/test-gatt: Add /TP/GAD/CL/BV-06-C/client-3 testLuiz Augusto von Dentz2015-03-191-1/+86
| | | | | This verify the code is able to parse services with different gaps between handles.
* unit/test-gatt: Add /TP/GAD/CL/BV-06-C/client-2 testLuiz Augusto von Dentz2015-03-191-15/+109
| | | | | This veryfy we the code is able to parse services with gaps between handles.
* unit/test-gatt: Add /TP/GAD/CL/BV-06-C/client-1 testLuiz Augusto von Dentz2015-03-191-0/+4
| | | | | This is similar to TP/GAD/CL/BV-06-C but using bt_gatt_client to discover everything.
* unit/test-gatt: Add TP/GAW/SR/BI-26-C testGowtham Anandha Babu2015-03-131-0/+16
| | | | | | Verify that a Generic Attribute Profile server can detect and reject a Write long characteristic descriptor Request to a non-writeable long characteristic descriptor and issue a Write Not Permitted Response.
* unit/test-gatt: Add TP/GAW/SR/BI-25-C testGowtham Anandha Babu2015-03-131-0/+16
| | | | | | Verify that a Generic Attribute Profile server can detect a Write long characteristic descriptor Request with an invalid characteristic handle and issue an Invalid Handle Response.
* unit/test-gatt: Add TP/GAW/SR/BV-09-C testGowtham Anandha Babu2015-03-131-0/+28
| | | | | Verify that a Generic Attribute Profile server can support writing a long characteristic descriptor selected by handle.
* unit/test-gatt: Add TP/GAW/SR/BI-08-C testBharat Panda2015-03-131-0/+16
| | | | | | Verify that a Generic Attribute Profile server can detect and reject a Write Long Characteristic Value Request to a non-writeable long Characteristic Value and issue a Write Not Permitted Response.
* unit/test-gatt: Add TP/GAW/SR/BI-07-C testBharat Panda2015-03-131-0/+16
| | | | | | Verify that a Generic Attribute Profile server can detect a Write Long Characteristic Request with an invalid characteristic handle and issue an Invalid Handle Response.
* unit/test-gatt: Add TP/GAW/SR/BV-05-C testBharat Panda2015-03-131-0/+28
| | | | | Verify that a Generic Attribute Profile server can support writing a long Characteristic Value selected by handle.
* unit/test-gatt: Add TP/GAW/SR/BI-21-C testGowtham Anandha Babu2015-03-121-0/+12
| | | | | | Verify that a Generic Attribute Profile server can detect and reject a Write Characteristic Descriptor Request to a non-writeable characteristic descriptor and issue a Write Not Permitted Response.
* unit/test-gatt: Add TP/GAW/SR/BI-20-C testGowtham Anandha Babu2015-03-121-0/+12
| | | | | | Verify that a Generic Attribute Profile server can detect a Write Characteristic Descriptor Request with an unsupported characteristic descriptor handle and issue an Invalid Handle Response.
* unit/test-gatt: Add TP/GAW/SR/BV-08-C testGowtham Anandha Babu2015-03-121-0/+12
| | | | | Verify that a Generic Attribute Profile server can support writing a characteristic descriptor selected by handle.
* unit/test-gatt: Check if crypto is enabledLuiz Augusto von Dentz2015-03-111-2/+10
| | | | | This checks if crypto is enabled and in case it is not do not run test /TP/GAW/CL/BV-02-C.
* unit/test-gatt: Add TP/GAW/CL/BI-24-C testGowtham Anandha Babu2015-03-051-0/+14
| | | | | Generic Attribute Profile client behavior when the Write Characteristic Descriptor procedure fails due to insufficient encryption key size.
* unit/test-gatt: Add TP/GAW/CL/BI-23-C testGowtham Anandha Babu2015-03-051-0/+14
| | | | | | Verify Generic Attribute Profile client behavior when the Write Characteristic Descriptor procedure fails due to insufficient authentication.
* unit/test-gatt: Add TP/GAW/CL/BI-22-C testGowtham Anandha Babu2015-03-051-0/+14
| | | | | | Verify Generic Attribute Profile client behavior when the Write Characteristic Descriptor procedure fails due to insufficient authorization.
* unit/test-gatt: Add TP/GAW/CL/BI-21-C testGowtham Anandha Babu2015-03-051-0/+14
| | | | | Verify Generic Attribute Profile client behavior when the Write Characteristic Descriptor procedure fails due to write not permitted.
* unit/test-gatt: Add TP/GAW/CL/BI-20-C testGowtham Anandha Babu2015-03-051-0/+14
| | | | | Verify Generic Attribute Profile client behavior when the Write Characteristic Descriptor procedure fails due to invalid handle.
* unit/test-gatt: Add TP/GAW/CL/BV-08-C testGowtham Anandha Babu2015-03-051-0/+14
| | | | | Verify that a Generic Attribute Profile client can write a characteristic descriptor selected by handle.
* unit/test-gatt: Fix TP/GAW/SR/BI-03-C testBharat Panda2015-03-031-6/+11
| | | | | The GATT server test cases are supposed to be tested against ts_small_db and ts_large_db_1. So, Fixed these changes too.
* unit/test-gatt: Fix TP/GAW/SR/BI-02-C testBharat Panda2015-03-031-2/+8
| | | | | The GATT server test cases are supposed to be tested against ts_small_db and ts_large_db_1. So, Fixed those changes too.
* unit/test-gatt: Fix TP/GAW/SR/BV-03-C testGowtham Anandha Babu2015-03-031-4/+11
| | | | | The GATT server test cases are supposed to be tested against ts_small_db and ts_large_db_1. So, Fixed those changes too.
* unit/test-gatt: Unref pending discovery requestsArman Uguray2015-02-271-6/+19
| | | | | | This patch adds code to clean up pending discovery requests in unit/test-gatt, since the recent API changes will cause memory leaks otherwise.
* unit/test-gatt: Add TP/GAW/SR/BI-03-C testBharat Panda2015-02-271-0/+6
| | | | | | Verify that a Generic Attribute Profile server can detect and reject a Write Characteristic Value Request to a non-writeable Characteristic Value and issue a Write Not Permitted Response.
* unit/test-gatt: Add TP/GAW/SR/BI-02-C testBharat Panda2015-02-271-0/+6
| | | | | | Verify that a Generic Attribute Profile server can detect a Write Characteristic Value Request with an unsupported Characteristic Value handle and issue an Invalid Handle Response.
* unit/test-gatt: Add TP/GAW/SR/BV-03-C testGowtham Anandha Babu2015-02-271-1/+8
| | | | | Verify that a Generic Attribute Profile server can support writing a Characteristic Value selected by handle.
* unit/test-gatt: Add /TP/GAW/CL/BV-02-C/seclevel testLuiz Augusto von Dentz2015-02-271-0/+30
| | | | | This add a test for signed write but with security level other than low so we can verify the code use the write instead of signed write.
* unit/test-gatt: Add TP/GAW/CL/BV-02-C testLuiz Augusto von Dentz2015-02-241-12/+45
| | | | | Verify that a Generic Attribute Profile client can write a characteristic with authentication without response.
* unit/test-gatt: Add TP/GAW/CL/BV-01-C testLuiz Augusto von Dentz2015-02-241-0/+23
| | | | | Verify that a Generic Attribute Profile client can issue a characteristic Write without response.
* unit/test-gatt: Add TP/GAW/CL/BI-06-C testGowtham Anandha Babu2015-02-241-0/+14
| | | | | | Verify Generic Attribute Profile client behavior when the Write Characteristic Value procedure fails due to insufficient encryption key size.
* unit/test-gatt: Add TP/GAW/CL/BI-05-C testGowtham Anandha Babu2015-02-241-0/+14
| | | | | | Verify Generic Attribute Profile client behavior when the Write Characteristic Value procedure fails due to insufficient authentication.
* unit/test-gatt: Add TP/GAW/CL/BI-04-C testGowtham Anandha Babu2015-02-241-0/+14
| | | | | | Verify Generic Attribute Profile client behavior when the Write Characteristic Value procedure fails due to insufficient authorization.
* unit/test-gatt: Add TP/GAW/CL/BI-03-C testGowtham Anandha Babu2015-02-241-0/+14
| | | | | | Verify Generic Attribute Profile client behavior when the Write Characteristic Value procedure fails due to write not permitted.
* unit/test-gatt: Add TP/GAW/CL/BI-02-C testGowtham Anandha Babu2015-02-241-0/+14
| | | | | | Verify Generic Attribute Profile client behavior when the Write Characteristic Value procedure fails due to invalid handle.
* unit/test-gatt: Add TP/GAW/CL/BV-03-C testGowtham Anandha Babu2015-02-241-2/+38
| | | | | Verify that a Generic Attribute Profile client can write a Characteristic Value selected by handle.
* unit/test-gatt: Use tester frameworkLuiz Augusto von Dentz2015-02-191-70/+36
| | | | Our tester framework actually produces much better output.
* unit/test-gatt: Add TP/GAR/CL/BI-35-C testBharat Panda2015-02-181-0/+6
| | | | | | | Verify Generic Attribute Profile client behavior when an attempt to use LE transport to execute the Read Characteristic Value procedure on a characteristic contained within a service defined for use only over BR/EDR transport.
* unit/test-gatt: Add TP/GAR/CL/BI-34-C testBharat Panda2015-02-181-0/+12
| | | | | | | Verify Generic Attribute Profile client behavior when an attempt to use BR/EDR transport to execute the Read Characteristic Value procedure on a characteristic contained within a service defined for use only over LE transport.
* unit/test-gatt: Add TP/GAR/CL/BI-33-C testBharat Panda2015-02-181-0/+12
| | | | | | Verify Generic Attribute Profile client behavior when the Read Long Characteristic Descriptor procedure fails due to insufficient encryption key size.
* unit/test-gatt: Add TP/GAR/CL/BI-32-C testBharat Panda2015-02-181-0/+12
| | | | | | Verify Generic Attribute Profile client behavior when the Read Long Characteristic Descriptor procedure fails due to insufficient authentication.