49 Commits

Author SHA1 Message Date
Matthias Ringwald
54a8f63c76 use READ_BT_16 to access read multiple handle list 2015-11-07 09:42:49 +01:00
Matthias Ringwald
7f02f4148e fix all Wmissing-prototype warnings for libusb target 2015-11-06 19:43:35 +01:00
Matthias Ringwald
195a80287b removed btstack/include folder 2015-10-15 16:33:34 +02:00
Matthias Ringwald
71de195ed3 fix c99 warnings for missing argument of functions with no arguments, fix more warnings 2015-05-13 10:30:46 +02:00
Matthias Ringwald
b2eeb2dcac use format string for uuid in log_info 2015-05-12 18:48:46 +02:00
Matthias Ringwald
a9d5294b44 log uuid128 instad of using printf 2015-04-10 12:39:28 +02:00
mila@ringwald.ch
a0c35809ae streamline copyright headers 2015-02-06 16:19:27 +00:00
matthias.ringwald@gmail.com
eb37a75f1d fix use of max mtu for att server 2014-11-18 12:56:07 +00:00
mila@ringwald.ch
349c7a6328 removed call to l2cap_le_mtu from att 2014-11-06 10:36:35 +00:00
mila@ringwald.ch
d11cb9e143 fix compile 2014-10-09 10:16:32 +00:00
mila@ringwald.ch
2d27d5e979 att mtu is per default ATT MTU MIN. During MTU exchange is set to a max l2cap le mtu 2014-10-09 10:09:04 +00:00
mila@ringwald.ch
9da54300b6 use log_info instead of printf, remove trailing newline from log calls 2014-08-15 21:26:50 +00:00
mila@ringwald.ch
22332a8a16 corrected cmd att opcode name 2014-06-19 22:19:26 +00:00
matthias.ringwald
7763678c43 remove signature from att_write callback, add connection handle to att read and write callbacks, update examples 2014-06-10 21:44:05 +00:00
matthias.ringwald
46b8af2f04 check att_write_callback != null before calling it 2014-06-08 20:26:47 +00:00
matthias.ringwald
760b5fafed check att_write_callback != null before calling it 2014-06-08 20:25:27 +00:00
matthias.ringwald@gmail.com
41f83d2fa0 use utils.c 2014-04-11 10:27:03 +00:00
matthias.ringwald@gmail.com
ac4c738e79 fix name of error code 2014-04-10 21:55:44 +00:00
matthias.ringwald@gmail.com
df8b2fa640 pass empty buffer for ATT_TRANSACTION_MODE_EXECUTE in write callback 2014-03-21 16:08:14 +00:00
mila@ringwald.ch
af5cd647e5 use printUUID128 from utils.c 2014-02-28 21:45:33 +00:00
matthias.ringwald@gmail.com
4eaba47858 minimal api to get uuid for handle 2014-02-02 20:59:26 +00:00
mila@ringwald.ch
efc65c77c7 check callback error for write requests 2014-02-02 09:39:06 +00:00
matthias.ringwald@gmail.com
e4da47b62f fix compile 2014-01-31 10:06:20 +00:00
matthias.ringwald@gmail.com
b9ccc2858d clear prepared write queue on disconnect 2014-01-31 10:04:51 +00:00
matthias.ringwald@gmail.com
019dee48ea queue attribute value related errors during prepared write 2014-01-31 10:01:28 +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
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
a0ae0a6911 change att write callback API to allow for invalid offset error 2014-01-26 22:41:13 +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
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
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
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
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
matthias.ringwald@gmail.com
63db888c8f validate sercurity requirements for read by type request 2014-01-06 16:28:20 +00:00
matthias.ringwald@gmail.com
270d89073e pass in att_connection to PDU handlers 2014-01-06 15:44:47 +00:00
matthias.ringwald@gmail.com
d61b8949a7 report write not permitted 2014-01-05 20:59:18 +00:00
matthias.ringwald@gmail.com
ad51f761ed respond with attribute UUID instead of attribute value in find information response 2013-12-20 21:30:36 +00:00
matthias.ringwald
6b64433e6a added non-commerical clause and contact email 2012-05-07 21:54:09 +00:00
matthias.ringwald
8617733bc6 experimental support for Bluetooth Smart devices, example for MSP430F5438 Experimenter board with CC2564 chipset 2012-02-04 21:17:09 +00:00