72 Commits

Author SHA1 Message Date
matthias.ringwald@gmail.com
b21b3b8fd1 updated gatt compiler 2014-01-31 08:27:59 +00:00
matthias.ringwald@gmail.com
826864a686 properly deal with authenticated signed writes 2014-01-30 19:11:08 +00:00
matthias.ringwald@gmail.com
fc47b5a5c5 check ATT_PROPERTY_WRITE_WITHOUT_RESPONSE and ATT_PROPERTY_AUTHENTICATED_SIGNED_WRITE in resp write handlers 2014-01-30 19:05:01 +00:00
matthias.ringwald@gmail.com
bacb966865 check ATT_PROPERTY_WRITE for (prepare) write request and ATT_PROPERTY_WRITE_WITHOUT_RESPONSE for write command 2014-01-30 18:49:18 +00:00
matthias.ringwald@gmail.com
7a1722bfa9 return read_not_permitted if only non-readable attributes match 2014-01-30 18:35:09 +00:00
matthias.ringwald@gmail.com
7b4475dc5e use correct request type in error response, part 2 2014-01-30 17:33:54 +00:00
matthias.ringwald@gmail.com
1264fe399f use correct request type in error response 2014-01-30 17:19:52 +00:00
matthias.ringwald@gmail.com
e6606e1fc1 don't send again after indication timeout 2014-01-30 14:08:10 +00:00
matthias.ringwald@gmail.com
fe689f8a07 second try 2014-01-30 13:50:44 +00:00
matthias.ringwald@gmail.com
b8d93d45b3 return size of handle/value pair that fits into PDU instead of full size 2014-01-30 13:38:11 +00:00
matthias.ringwald@gmail.com
7799a836c1 fix prepared write offset 2014-01-30 11:39:19 +00:00
matthias.ringwald@gmail.com
90bf7361a7 return invalid handle instead of attribute not found for read request, write request, read blob request 2014-01-30 11:20:10 +00:00
matthias.ringwald@gmail.com
6d9f0ef4d0 provide sm_send_security_request 2014-01-30 10:32:09 +00:00
matthias.ringwald@gmail.com
158bc1b59a dump oob data 2014-01-30 10:07:16 +00:00
matthias.ringwald@gmail.com
a0ae0a6911 change att write callback API to allow for invalid offset error 2014-01-26 22:41:13 +00:00
matthias.ringwald@gmail.com
097bb3d188 place client characteristic configuration after characteristic value 2014-01-26 22:07:58 +00:00
matthias.ringwald@gmail.com
3602cdee65 also trunkate request buffer after signed write was validated 2014-01-26 21:56:43 +00:00
matthias.ringwald@gmail.com
6084a48958 pass on offset for att write callback 2014-01-26 21:50:23 +00:00
matthias.ringwald@gmail.com
f9f07f10e8 support CHARACTERISTIC_USER_DESCRIPTION 2014-01-26 21:15:00 +00:00
matthias.ringwald@gmail.com
3b405b8226 support for reliable write extended property 2014-01-26 20:19:53 +00:00
matthias.ringwald@gmail.com
c360258ca8 notify/indicate implies client characteristic configuration 2014-01-26 20:00:15 +00:00
matthias.ringwald@gmail.com
0b2c63e4c1 also set OOB data if initiator doesn't have it 2014-01-26 18:43:42 +00:00
matthias.ringwald@gmail.com
f6d978a0ea fix 128 bit includes 2014-01-26 10:59:37 +00:00
matthias.ringwald@gmail.com
433770e8d2 fix parsing of services with 128 bit uuid 2014-01-26 10:50:52 +00:00
matthias.ringwald@gmail.com
783245dd07 make read_blob use offset for static values, don't give error if offset == value len 2014-01-25 23:35:36 +00:00
matthias.ringwald@gmail.com
dcc34cfc51 use bd_addr_to_string to fix address output 2014-01-25 08:02:40 +00:00
matthias.ringwald@gmail.com
4e4ed2b0fc use bd_addr_to_string to fix address output 2014-01-25 08:00:37 +00:00
matthias.ringwald@gmail.com
bde315ce6c renamed btstack config.h to btstack-config.h to allow for better integration with other projects 2014-01-19 16:45:57 +00:00
matthias.ringwald@gmail.com
f471afd896 replaced #pragma once with old style #include guards to allow use of older compilers 2014-01-19 16:30:17 +00:00
matthias.ringwald@gmail.com
ea8b28d601 fix compile 2014-01-17 08:41:36 +00:00
matthias.ringwald@gmail.com
9382667d3f store connection handle on connection complete, don't reset authorization flag on encryption change 2014-01-17 07:58:30 +00:00
matthias.ringwald@gmail.com
8a3fac4ff5 start timer on handle value indication, assert only on indication is active, notify client about handle value indication completion, extend ble_peripheral 2014-01-12 21:24:25 +00:00
matthias.ringwald@gmail.com
5ede1dd8ae document att.h 2014-01-09 20:58:27 +00:00
matthias.ringwald@gmail.com
dd2731ded9 add C++ protection for BLE headers 2014-01-09 20:47:32 +00:00
matthias.ringwald@gmail.com
431d68e3ef split out dummy central_device_db code into extra file 2014-01-09 20:45:43 +00:00
matthias.ringwald@gmail.com
ae78edb945 document sm.h 2014-01-08 15:53:37 +00:00
matthias.ringwald@gmail.com
93cd9d3f13 document sm.h 2014-01-08 15:53:20 +00:00
matthias.ringwald@gmail.com
284ffa8374 document central_device_db interface 2014-01-08 15:23:52 +00:00
matthias.ringwald@gmail.com
966ef2170d document att_server.h 2014-01-08 13:16:05 +00:00
matthias.ringwald@gmail.com
510d4cc19a fix spelling of sm_set_encryption_key_size_range 2014-01-08 13:08:41 +00:00
matthias.ringwald@gmail.com
ef8a41e1e4 added a minimal security manager that just denies security requests 2014-01-08 12:04:11 +00:00
matthias.ringwald@gmail.com
0d0bcdceb3 don't use Master Identification Information to replace addr_type and address, sort security check order 2014-01-07 18:24:50 +00:00
matthias.ringwald@gmail.com
8c0b356c3e fix encryption key size lookup 2014-01-07 10:41:34 +00:00
matthias.ringwald@gmail.com
f30cb1ae00 fix io cap lookup, ble_peripheral has display 2014-01-07 10:14:30 +00:00
matthias.ringwald@gmail.com
abb2e83f6a add notifiable and indicatable characteristic that represents an 8 bit counter 2014-01-06 22:11:29 +00:00
matthias.ringwald@gmail.com
0c1a43c084 allow to return ok in att_write_callback. not ok -> prepare queue full error 2014-01-06 18:49:43 +00:00
matthias.ringwald@gmail.com
1ce7a558b1 track authorization result 2014-01-06 18:44:45 +00:00
matthias.ringwald@gmail.com
beedfc0222 try to authorize an authenticated connection if required to access attribute 2014-01-06 18:37:25 +00:00
matthias.ringwald@gmail.com
c5081f46d2 all commands and requests validate security properties 2014-01-06 18:12:14 +00:00
matthias.ringwald@gmail.com
b512db213a more security checkes 2014-01-06 17:43:46 +00:00