113 Commits

Author SHA1 Message Date
matthias.ringwald@gmail.com
963ed45b19 removed useless code - HCI connectable isn't relevant for LE 2014-04-28 20:51:48 +00:00
matthias.ringwald@gmail.com
e070741715 forward HCI Events to att and sm packet handlers, too 2014-04-28 20:51:11 +00:00
matthias.ringwald@gmail.com
c6d061e8ab add att_dispatch to allow for independent implementations of ATT Client and ATT Server 2014-04-25 13:22:11 +00:00
matthias.ringwald@gmail.com
1eccbf8411 trate no OOB data callback as no oob data available 2014-04-11 13:07: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
404e02de70 include <string.h> instead of <strings.h> to use memcpy 2014-04-03 21:40:48 +00:00
matthias.ringwald@gmail.com
20473f8051 fix check for att_error_response 2014-04-03 21:11:42 +00:00
matthias.ringwald@gmail.com
3d0fc0bc8b use prepared packets in att_server.c 2014-04-03 20:39:43 +00:00
matthias.ringwald@gmail.com
68a0fcf7e2 added hci_release_packet_buffer() and l2cap_release_packet_buffer() 2014-04-03 20:24:24 +00:00
matthias.ringwald@gmail.com
facf93fdba rename hci_get_outgoing_acl_packet_buffer into hci_get_outgoing_packet_buffer 2014-04-03 19:51:07 +00:00
matthias.ringwald@gmail.com
c8b9416af2 add asserts to check if buffer was reserved before calling send prepared 2014-04-03 19:37:03 +00:00
matthias.ringwald@gmail.com
640925c0e2 use l2cap_can_send_connectionless_packet_now instead of hci_can_send_packet_now_using_packet_buffer(HCI_ACL_DATA_PACKET) 2014-04-03 19:00:31 +00:00
matthias.ringwald@gmail.com
3cab4fcaa6 add l2cap_can_send_connectionless_packet_now 2014-04-03 18:59:44 +00:00
matthias.ringwald@gmail.com
64f0b431f7 more use of hci_can_send_packet_now_using_packet_buffer 2014-04-03 15:27:03 +00:00
matthias.ringwald@gmail.com
6950c29ff6 also check if hci buffer can be used in att_server 2014-04-03 15:21:14 +00:00
matthias.ringwald@gmail.com
3f3e5fbae4 delete accidentally added code 2014-04-03 15:19:37 +00:00
matthias.ringwald@gmail.com
7856fb3169 reserve l2cap packet buffer before using it 2014-04-03 15:16:45 +00:00
mila@ringwald.ch
9828cc424d ble client: implemented write client characteristic configuration, not tested 2014-03-27 23:00:28 +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
matthias.ringwald@gmail.com
4c49cc0fa8 remove unused var 2014-03-01 23:01:41 +00:00
matthias.ringwald@gmail.com
5116379de6 enumerate characteristics with same UUID 2014-03-01 22:57:56 +00:00
mila@ringwald.ch
af5cd647e5 use printUUID128 from utils.c 2014-02-28 21:45:33 +00:00
matthias.ringwald@gmail.com
1fb05f9241 moved swapX functions into utils.c 2014-02-28 21:07:59 +00:00
matthias.ringwald@gmail.com
4e4a1ebe01 don't include UUID for included services with 128 bit uuid 2014-02-28 11:57:53 +00:00
matthias.ringwald@gmail.com
0ba323c3d3 provide mapping for used characteristics 2014-02-28 11:21:08 +00:00
matthias.ringwald@gmail.com
20e1c31c98 add missing c++ protection 2014-02-05 20:49:22 +00:00
matthias.ringwald@gmail.com
efc37b8e26 ignore failed connections in SM 2014-02-04 20:48:43 +00:00
matthias.ringwald@gmail.com
4eaba47858 minimal api to get uuid for handle 2014-02-02 20:59:26 +00:00
matthias.ringwald@gmail.com
98fbd9a22e remove debug 2014-02-02 20:58:58 +00:00
matthias.ringwald@gmail.com
0ebb3f6c57 allow to set IRK 2014-02-02 18:45:00 +00:00
mila@ringwald.ch
efc65c77c7 check callback error for write requests 2014-02-02 09:39:06 +00:00
mila@ringwald.ch
98e03ad7b2 reset CMAC engine state to IDLE after sending result 2014-02-01 15:13:46 +00:00
mila@ringwald.ch
b441616f64 handle and return little endian data in CMAC engine 2014-02-01 15:06:31 +00:00
mila@ringwald.ch
2696645049 more logging for CSRK/IRK 2014-02-01 15:05:43 +00:00
mila@ringwald.ch
09e218a3a4 notify client about availabe CSRK after bonding 2014-02-01 13:47:41 +00:00
matthias.ringwald@gmail.com
0fa661b31f remove timer before adding it 2014-01-31 16:14:06 +00:00
matthias.ringwald@gmail.com
85084c775a fix parsing of server characteristic configuration 2014-01-31 10:41:55 +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
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