2675 Commits

Author SHA1 Message Date
mila@ringwald.ch
d3b1c40fa3 renamed gatt client register handler function 2014-07-04 08:42:30 +00:00
matthias.ringwald@gmail.com
fe97d0a421 less hacks during boot-up 2014-07-04 07:27:52 +00:00
mila@ringwald.ch
94a521cb7e gatt client: api docu 2014-07-03 13:42:30 +00:00
mila@ringwald.ch
4265152c0d fix linking 2014-07-03 13:42:00 +00:00
mila@ringwald.ch
59bda8dea8 gatt client: api docu 2014-07-03 10:41:45 +00:00
matthias.ringwald@gmail.com
44935e4085 extracted hci_power_transition_to_initializing, reset reserved hci when transition to initializing 2014-07-01 22:41:34 +00:00
matthias.ringwald@gmail.com
a93597fce0 return after sending an l2cap packet 2014-07-01 22:03:40 +00:00
matthias.ringwald@gmail.com
97b61c7b5a release packet buffer if ACL send fails 2014-07-01 21:47:22 +00:00
matthias.ringwald@gmail.com
cc9ea97c78 test and fix for invalid mtk num completed packet event 2014-07-01 20:43:46 +00:00
matthias.ringwald@gmail.com
1f479f8c7c better debug output for le connections 2014-07-01 20:10:39 +00:00
matthias.ringwald@gmail.com
252bfddcb7 removed obsolete include left over from testing 2014-07-01 20:07:17 +00:00
mila@ringwald.ch
659c39066f gatt client: adding docu 2014-06-27 15:24:31 +00:00
matthias.ringwald@gmail.com
1733aa9c48 enable BLE for tests 2014-06-26 20:14:13 +00:00
matthias.ringwald@gmail.com
03cf90bbd5 handle Hardware Error 2014-06-26 20:13:50 +00:00
matthias.ringwald@gmail.com
7586ee3597 reboot Bluetooth on Hardware Error 2014-06-26 15:20:09 +00:00
matthias.ringwald@gmail.com
2fc1e903b6 add formats for hardware error and others 2014-06-26 14:22:31 +00:00
matthias.ringwald@gmail.com
e01fe8b6c0 test for advertising event with multiple reports 2014-06-26 12:48:47 +00:00
mila@ringwald.ch
cac9f13904 include security manager 2014-06-26 11:21:22 +00:00
matthias.ringwald@gmail.com
9f7471df9d setup security manager 2014-06-26 09:04:40 +00:00
matthias.ringwald@gmail.com
a2cfedb666 more Python 3 fixes: open .gatt as unicode and use StringIO from io module 2014-06-22 21:26:07 +00:00
matthias.ringwald@gmail.com
2b1addd97e add missing function 2014-06-20 21:49:02 +00:00
mila@ringwald.ch
29b6f75ea8 Add command line option for remote public bd addr 2014-06-20 10:43:39 +00:00
matthias.ringwald@gmail.com
bb40d93c3e send BTstackEventDaemonDisconnect event in case connection to daemon gets broken 2014-06-20 08:41:40 +00:00
mila@ringwald.ch
f64240626f gatt client: implemented signed write 2014-06-19 22:20:43 +00:00
mila@ringwald.ch
22332a8a16 corrected cmd att opcode name 2014-06-19 22:19:26 +00:00
matthias.ringwald
b1d3214076 long term Java test for Android 2014-06-19 12:22:28 +00:00
mila@ringwald.ch
d31fba26e2 also trigger hci_run loop on disconnect all 2014-06-19 10:56:52 +00:00
matthias.ringwald
04a6ef8c3b disconnect all connections when last client disconnects from daemon 2014-06-19 10:33:11 +00:00
matthias.ringwald
24698a3ff3 report GATT_CLIENT_NOT_CONNECTED if hci connnection not open 2014-06-19 07:19:45 +00:00
matthias.ringwald
529859a2a7 store connection for SDP_CLIENT_QUERY_SERVICES in daemon, fixes #398 2014-06-16 21:50:44 +00:00
matthias.ringwald
4c46246592 use linked_list_iterator to address #400 2014-06-16 21:34:42 +00:00
matthias.ringwald
2412778b77 added linked list iterator implementation and unit tests 2014-06-16 20:55:54 +00:00
matthias.ringwald
49cbe0bc2d trigger user response before calucation local confirm as Iniiator, too 2014-06-15 16:02:56 +00:00
matthias.ringwald
b107f94044 extracted sm_trigger_user_response() and extend for Initiator role 2014-06-15 15:43:05 +00:00
matthias.ringwald
c915297a5f label RESPONDER states, drop _STATE from SM_STATES 2014-06-15 15:27:04 +00:00
matthias.ringwald
dd11c3c76d sort other setup vars after phases 2014-06-15 10:55:02 +00:00
matthias.ringwald
566ca003b2 sm_aes128_plaintext -> sm_c1_t3_value to document usage 2014-06-15 10:42:39 +00:00
matthias.ringwald
a674d4c1e6 don't use sm_aes128_plaintext for ltk calculation 2014-06-15 10:40:36 +00:00
matthias.ringwald
9c8b3a52e3 don't use sm_aes128_plaintext for ltk calculation 2014-06-15 10:38:00 +00:00
matthias.ringwald
0685b7b19c calculate keys in Initiator role, too 2014-06-15 10:35:03 +00:00
matthias.ringwald
937643c571 calculate local CSRK for key distribution 2014-06-15 10:26:41 +00:00
matthias.ringwald
f20168b8c1 re-enable bondable (regression from 2641) 2014-06-15 08:54:47 +00:00
matthias.ringwald
74308b2342 keep discoverable/connectable as this has been requested by the client(s) 2014-06-15 08:42:50 +00:00
matthias.ringwald
eb1157bb12 sort setup fields by phases, use addr type of device to find in central db 2014-06-14 21:11:34 +00:00
matthias.ringwald
afb65a03fb use sm_peer_address/addr_type for receiving keys and use local addrress/addr_type directly from hci 2014-06-14 20:45:50 +00:00
matthias.ringwald
cb7e8bd038 store all received keys (aside from peer addr and type) 2014-06-13 18:37:12 +00:00
matthias.ringwald
e14eb8abef finish key distribution for initiator role 2014-06-13 15:50:55 +00:00
matthias.ringwald
641f306499 encryption with STK in initiator role working 2014-06-13 15:28:41 +00:00
matthias.ringwald
8e9a149871 use local/peer instead of m/s for confirm 2014-06-13 13:36:13 +00:00
matthias.ringwald
dd03900d94 use local/peer instead of m/s for random 2014-06-13 13:31:16 +00:00