263 Commits

Author SHA1 Message Date
Matthias Ringwald
ce8f182ecc l2cap: drop _internal 2016-01-21 12:03:39 +01:00
Matthias Ringwald
ec820d7756 prefix data_source_t and timer_source_t with btstack 2016-01-20 16:00:45 +01:00
Matthias Ringwald
528a4a3b3e prefix run_loop_ functions with btstack_ 2016-01-20 15:58:46 +01:00
Matthias Ringwald
8f2a52f4d9 forgot to add files in earlier commit 2016-01-20 15:38:37 +01:00
Matthias Ringwald
16ece13520 prefix debug with btstack_ 2016-01-20 14:52:45 +01:00
Matthias Ringwald
665d90f25e prefixed all linked list types and functions with btstack_ 2016-01-20 14:50:38 +01:00
Matthias Ringwald
2c539f6e7e rename bk_linked_list_t to btstack_linked_list_t 2016-01-20 14:37:23 +01:00
Matthias Ringwald
a449c50a68 remove hand out credit code in l2cap/rfcomm. 2016-01-05 17:21:16 +01:00
Matthias Ringwald
8736ab0cf2 prefix linked_list 2015-12-22 21:48:13 +01:00
Matthias Ringwald
c0be408cdc Merge branch 'master' into ble-api-cleanup 2015-12-18 16:36:10 +01:00
Matthias Ringwald
04c626e393 deamon: remove l2cap_block_credits functionality 2015-12-18 16:27:40 +01:00
Matthias Ringwald
3aff022f9b don't track client packets granted in l2cap and rfcomm 2015-12-18 16:14:23 +01:00
Matthias Ringwald
1e35c04d3c Merge branch 'master' into ble-api-cleanup 2015-12-09 16:44:26 +01:00
Matthias Ringwald
b26c300399 l2cap: do l2cap_run() on DAEMON_EVENT_HCI_PACKET_SENT, too 2015-12-06 22:10:04 +01:00
Matthias Ringwald
29b32c60a3 l2cap: ignore packets_granted for outgoing data 2015-12-06 21:52:25 +01:00
Matthias Ringwald
ffbf82013e drop void * connection param from l2cap packet handlers 2015-11-13 21:57:19 +01:00
Matthias Ringwald
02f83142d4 replace l2cap_unregister_interal with l2cap_unregister 2015-11-13 21:34:43 +01:00
Matthias Ringwald
be2053a636 use l2cap_register instead of l2cap_register_internal, move service registered event generation to daemon 2015-11-13 21:32:29 +01:00
Matthias Ringwald
6551847ef9 remove deprecated l2cap_create_channel_internal 2015-11-13 21:18:00 +01:00
Matthias Ringwald
9077cb155a add l2cap_create_channel that return local cid instead of setting connection_t field 2015-11-13 16:47:02 +01:00
Matthias Ringwald
eddad2ab2f auto-disconnect only ACL connections 2015-11-11 16:15:23 +01:00
Matthias Ringwald
bd04d84a11 auto-disconnect only ACL connections 2015-11-11 11:52:36 +01:00
Matthias Ringwald
c133441bcb avoid returning structs 2015-11-08 17:39:10 +01:00
Matthias Ringwald
204e94f19f fix -Wshadow warnings for libusb target 2015-11-08 08:03:57 +01:00
Matthias Ringwald
ebffa4a83a fix all Wmissing-prototype warnings for libusb target 2015-11-08 08:02:37 +01:00
Matthias Ringwald
23c8976e2d reject l2 connection param update if in slave role 2015-11-07 22:07:38 +01:00
Matthias Ringwald
a4c06b2894 avoid returning structs 2015-11-07 17:15:15 +01:00
Matthias Ringwald
05ae8de376 fix -Wshadow warnings for libusb target 2015-11-06 20:53:12 +01:00
Matthias Ringwald
7f02f4148e fix all Wmissing-prototype warnings for libusb target 2015-11-06 19:43:35 +01:00
Matthias Ringwald
a9df98168a fix warnings for unknown con handles in l2cap le run loop 2015-11-03 21:25:45 +01:00
Matthias Ringwald
5d14fa8f64 fix warnings for unknown con handles in l2cap le run loop 2015-11-03 21:24:12 +01:00
Matthias Ringwald
6d91fb6c5d reject l2 connection param update if in slave role 2015-10-26 21:46:21 +01:00
Matthias Ringwald
77aee70f56 switch order of checks to avoid irritating log output '... handle 0x0 not in connection list' 2015-08-26 12:42:37 +02:00
Matthias Ringwald
9c9876e702 fix build 2015-08-13 14:03:27 +02:00
Matthias Ringwald
7192e786e8 add l2cap_le_register_service_internal and l2cap_le_unregister_service_internal 2015-08-12 15:14:59 +02:00
Matthias Ringwald
85192bb840 removed l2cap_le_request_connection_parameter_update 2015-08-12 14:46:16 +02:00
Matthias Ringwald
b68d7bc3c3 Add gap_request_connection_parameter_update
l2cap_le_request_connection_parameter_update is obsolete.
It calls gap_request_connection_parameteir_update now.
The l2cap conn param update req ist sent by l2cap_run.
2015-08-12 14:27:30 +02:00
Matthias Ringwald
75422ed973 replaced l2cap_le_create_connection_parameter_update_response with call to general l2cap signalng functions 2015-08-12 13:54:06 +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
8bcac1fdaa trigger l2cap conn parameter response reject message 2015-07-29 14:15:02 +02:00
Matthias Ringwald
019f9b43ba fix re-entrance issue that causes l2cap event channel open to be sent twice 2015-07-12 00:00:31 +02:00
Matthias Ringwald
775ecc3663 only reject l2cap connection due to insufficient security level after authentication procedure was performed 2015-05-14 22:59:36 +02:00
Matthias Ringwald
e569dfd95d add cast to getting security level 2015-05-13 10:34:21 +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
22c29ab418 mark channel as invalid before sending connection response decline or disconnection response 2015-04-07 22:43:51 +02:00
matthias.ringwald@gmail.com
2e77e513be Stop using pointer to array for bd_addr_t and link_key_t 2015-03-01 20:51:08 +00:00
matthias.ringwald@gmail.com
462e630d76 support for L2CAP Unicast Connection Data 2015-02-20 14:21:01 +00:00
mila@ringwald.ch
a0c35809ae streamline copyright headers 2015-02-06 16:19:27 +00:00
matthias.ringwald@gmail.com
cb0ff06b75 improve log messages for l2cap rx timer 2014-12-19 16:21:39 +00:00
ole.reinhardt@googlemail.com
c523d53df2 Initialise l2cap channel struct with 0 after allocating memory (make valgrind happy) 2014-11-18 21:37:34 +00:00