Matthias Ringwald
ce1e26281b
make address resolution/identify resolving public
2015-07-31 16:59:07 +02:00
Matthias Ringwald
3299fc1742
rename sm_address_resolution_device* into sm_address_resolution*
2015-07-31 16:25:27 +02:00
Matthias Ringwald
69d313c5b0
rename sm_central_device* into sm_address_resolution*
2015-07-31 16:19:02 +02:00
Matthias Ringwald
07a9209480
generalize sm_csrk context arguments
2015-07-31 15:59:18 +02:00
Matthias Ringwald
71b2c14530
generalize context argument for aes128 and random number generation
2015-07-31 15:55:31 +02:00
Matthias Ringwald
341d229cfc
fix list of expected keys in master role, trigger sm_run on sm_authorization_request
2015-07-30 23:28:46 +02:00
Matthias Ringwald
a2a6b20cae
add GAP Characteristic UUIDs
2015-07-30 11:56:29 +02:00
Matthias Ringwald
79f53f1d06
pass in signaling identifier, use correct signaling identifier for l2cap connection parameter update response
2015-07-29 15:15:41 +02:00
Matthias Ringwald
4956621bec
fix build
2015-07-29 14:35:51 +02:00
Matthias Ringwald
ef2fb8f565
fix build
2015-07-29 14:34:26 +02:00
Matthias Ringwald
95e65d5c30
fix build
2015-07-29 14:26:29 +02:00
Matthias Ringwald
e5c576e09f
start adding l2cap_run and l2cap connection parameter update to l2cap_le
2015-07-29 14:23:58 +02:00
Matthias Ringwald
bc269d0df1
fix compile
2015-07-29 11:51:50 +02:00
Matthias Ringwald
4f55143247
fix compile, use bd_addr_type_t
2015-07-29 11:49:12 +02:00
Matthias Ringwald
c02646d03c
fix arguments for auto connection API
2015-07-27 17:30:25 +02:00
Matthias Ringwald
808009956a
add gap auto connection api
2015-07-27 17:29:45 +02:00
Milanka Ringwald
d7d7d1e4c5
mock: set max mtu fot att connection
2015-07-03 12:36:58 +02:00
Matthias Ringwald
6508a68d38
remove useless test
2015-07-02 16:22:06 +02:00
Milanka Ringwald
c4350632cc
annotate/update api, handle multiline function def
2015-07-01 17:04:51 +02:00
Matthias Ringwald
45c102fdda
add helper hci_le_advertisements_set_params function to avoid call to sm from hci, gap ddvertisement control complete
2015-06-12 19:28:46 +02:00
Matthias Ringwald
9cc64000ad
provide getter for random address mode
2015-06-11 23:12:25 +02:00
Matthias Ringwald
34498a4937
use 0/1 instead of false/true
2015-05-24 00:11:34 +02:00
Matthias Ringwald
3ec0d11b8e
added att_db_util to construct GATT DB at runtime
2015-05-23 23:35:37 +02:00
Matthias Ringwald
0194cfb2d8
disable log_info for every att packet
2015-05-21 18:18:47 +02:00
Matthias Ringwald
f243b7dfe2
fix compile error from last commit
2015-05-21 15:48:14 +02:00
Matthias Ringwald
4fdd1cade1
handle call to sm_send_security_request before hci le connection complete was handled in sm
2015-05-21 15:45:55 +02:00
Matthias Ringwald
dd3f0a48d9
handle HCI events received from gatt_client instead of existing hack
2015-05-21 15:39:20 +02:00
Matthias Ringwald
3652575526
gatt_client: more log_info, forward all HCI Events to gatt subclients
2015-05-21 15:36:49 +02:00
Matthias Ringwald
3df1d63fe3
fix warnings
2015-05-13 16:07:17 +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
Sean Wilson
6da48142ef
Fix C99 warnings.
2015-04-28 10:31:53 -04:00
Matthias Ringwald
15ae709331
fix comparison
2015-04-26 09:46:07 +02:00
Matthias Ringwald
ea35cda86d
fix sending of security request by le responder
2015-04-24 12:12:37 +02:00
Matthias Ringwald
a9d5294b44
log uuid128 instad of using printf
2015-04-10 12:39:28 +02:00
Milanka Ringwald
3de9530758
updated docu style
2015-04-09 17:09:04 +02:00
Matthias Ringwald
23dcb0cb5a
fix compile
2015-04-09 15:23:23 +02:00
Milanka Ringwald
5e6d58c471
annotate start/end API
2015-04-09 14:46:44 +02:00
Matthias Ringwald
1ae972aa1a
add check for 'can send now' in gatt_client_write_value_of_characteristic_without_response
2015-04-04 22:52:11 +02:00
Matthias Ringwald
142d429464
correct ATT_MTU_EXCHANGE_COMPLETE event generation
2015-04-03 22:40:20 +02:00
Matthias Ringwald
64c9c43f68
fix compile
2015-04-03 22:12:34 +02:00
Matthias Ringwald
1c00af99f7
emit event for ATT MTU size
2015-04-03 21:58:10 +02:00
Matthias Ringwald
6771095235
fix ad_data_contains_uuid128 to accept uuid in big endian
2015-03-31 22:13:25 +02:00
Pete Blois
a2366dc9d3
Setting correct length for BTSTACK_EVENT_STATE event.
...
The second byte of the data is the length of the remaining data (in this case the HCI_STATE_WORKING byte). This was passing 0 indicating that there was no data when in fact there was.
2015-03-30 13:17:10 -07:00
matthias.ringwald@gmail.com
aa3feb0444
wait for sm_cmac to become ready instead of bailing out for signed writes
2015-03-05 15:20:26 +00:00
matthias.ringwald@gmail.com
6a0c192f28
send prepared signed write request from gatt_client_run()
2015-03-05 15:05:35 +00:00
matthias.ringwald@gmail.com
c1899d25d0
pass sign counter into CMAC calculation functions
2015-03-05 14:42:26 +00:00
matthias.ringwald@gmail.com
5c52231480
added sm_le_device_index for use by gatt client/server
2015-03-05 10:48:26 +00:00
matthias.ringwald@gmail.com
85cacb82ec
sm starts encryption using ltk/ediv/rand from previous bonding
2015-03-03 22:17:47 +00:00
matthias.ringwald@gmail.com
9ec080fd8e
new states for re-establishing secure connection
2015-03-03 21:38:29 +00:00