32 Commits

Author SHA1 Message Date
matthias.ringwald
2289ec97a0 also log internal l2cap events 2010-02-09 21:33:35 +00:00
matthias.ringwald
e405ae81a6 l2cap incoming working 2010-01-26 20:49:02 +00:00
matthias.ringwald
169f8b289d auto-accept incoming l2cap 2010-01-26 18:28:21 +00:00
matthias.ringwald
645658c9de added non-working l2cap_handle_connection_request 2010-01-25 22:22:55 +00:00
matthias.ringwald
1f7b95a184 dispatch l2cap commands 2010-01-25 20:25:20 +00:00
matthias.ringwald
116ee617d2 added cmds and events for incoming connections 2010-01-25 18:49:31 +00:00
matthias.ringwald
9d9bbc01f5 implemented PSM management 2010-01-25 18:29:06 +00:00
matthias.ringwald
afde0c529f implemented create connection cancel command and hande it in l2cap 2009-12-14 22:42:14 +00:00
matthias.ringwald
b448a0e767 handle connection complete with error in HCI and L2CAP 2009-12-05 17:29:51 +00:00
matthias.ringwald
d6f03c5df6 in capturing mode: don't disconnect when no L2CAP channel is open, don't process packets 2009-12-03 11:56:39 +00:00
matthias.ringwald
84836b654b handle L2CAP DISCONNECT REQUEST 2009-12-02 20:07:41 +00:00
matthias.ringwald
5a67bd4a55 handle L2CAP configure request while waiting for configure request response 2009-11-28 15:16:29 +00:00
matthias.ringwald
1713bcea3a prepend all source files with 'new BSD' copyright header 2009-10-29 20:25:42 +00:00
matthias.ringwald
141679a411 correct address of result field in CONNECTION_RESPONSE (really) 2009-10-23 21:38:30 +00:00
matthias.ringwald
cd56f93151 correct address of result field in CONNECTION_RESPONSE 2009-10-23 21:29:19 +00:00
matthias.ringwald
38e5900eda treat L2CAP CONNECTION_RESPONSE with result = pending as error, just wait 2009-10-23 16:39:31 +00:00
matthias.ringwald
f32b992e39 map l2cap errors to general status code 2009-10-21 21:12:51 +00:00
matthias.ringwald
6f60b3f468 forward channel ID to client packet handler. only deliver payload to client instead of complete header incl acl + l2cap headers. fix examples 2009-10-21 19:58:40 +00:00
matthias.ringwald
03cfbabc9a added status to L2CAP_CHANNEL_OPENED event 2009-10-19 20:21:32 +00:00
matthias.ringwald
80d52d6be7 clean up command names and headers 2009-09-29 19:40:55 +00:00
matthias.ringwald
9edc874259 added capture mode to get all ACL packets from client app, started BTstack Man-in-the-Middle implementation 2009-08-24 21:56:12 +00:00
matthias.ringwald
43bfb1bd9c trace Bluetooth status in daemon 2009-08-15 21:31:23 +00:00
matthias.ringwald
ee091cf1fd automatic HCI link disconnect 2009-08-09 18:39:53 +00:00
matthias.ringwald
c52bf64daa if client conenctions breaks, close all L2CAP channels used by client 2009-08-09 17:17:00 +00:00
matthias.ringwald
27a923d075 emit l2cap disconnect events when basedband connection closes 2009-08-08 21:55:55 +00:00
matthias.ringwald
f62db1e31a implemented l2cap_disconnect command 2009-08-08 21:29:38 +00:00
matthias.ringwald
c8e4258af8 improve hci connection handling -> suppress create connection requests for connections already open and just emit connection complete event 2009-08-02 13:20:32 +00:00
matthias.ringwald
fcadd0ca34 streamline event forwarding in BTdaemon stack 2009-08-02 10:51:41 +00:00
matthias.ringwald
1e6aba4769 moved l2cap state machine to l2cap.c. added 'channel' parameter to packet header for socket communications. removed unused functions. dispatch btstack commands in daemon.c. renamed non-HCI commands 2009-07-31 21:41:15 +00:00
matthias.ringwald
95cbd9471c extract l2cap signaling code into l2cap_signaling 2009-07-23 21:55:36 +00:00
matthias.ringwald
0af41d30f6 fixing bugs created while copy \& paste of code without event a single test. example connects, does paring and gets stuck in l2cap statemachine 2009-07-20 21:39:43 +00:00
matthias.ringwald
43625864d2 started L2CAP implementation 2009-05-16 21:29:51 +00:00