37 Commits

Author SHA1 Message Date
matthias.ringwald
fa2b26270d use user specified MTU instead of 150 2010-08-10 19:29:16 +00:00
matthias.ringwald
6218e6f12b add counters for flow control, channel credits event, return -1 if no space in BT module 2010-07-29 19:35:34 +00:00
matthias.ringwald
6b296a2712 allow to set packet handler for internal l2cap connections 2010-07-19 18:02:02 +00:00
matthias.ringwald
36944dff77 remove dependency on socket_connection.h in l2cap 2010-07-19 17:50:59 +00:00
matthias.ringwald
b502e1b06d use single packet handler per protocol layer: l2cap 2010-07-18 17:05:56 +00:00
matthias.ringwald
2718e2e7a1 use single packet handler per protocol layer: hci 2010-07-18 16:30:16 +00:00
matthias.ringwald
96cbd66294 added l2cap_get_remote_mtu_for_local_cid 2010-06-18 20:31:05 +00:00
matthias.ringwald
2784b77d47 add remote_mtu to l2cap_channel_t, extract l2cap_signaling_handle_configure_request 2010-06-18 20:00:05 +00:00
matthias.ringwald
d8497f1904 provider param for packet handler in service registry 2010-06-09 15:39:55 +00:00
matthias.ringwald
b5a49eb182 introduce a packet handler pointer to l2cap services and channels, unset for now 2010-06-09 15:31:46 +00:00
matthias.ringwald
0d5a78db31 Refactor L2CAP data and event send 2010-04-05 22:47:52 +00:00
matthias.ringwald
b35f641c7f clarify use of source_cid and dest_cid - use only for signal packets and use local_cid and remote_cid otherwise - fixes bug in incoming l2cap connection handling 2010-03-04 23:03:40 +00:00
matthias.ringwald
e405ae81a6 l2cap incoming working 2010-01-26 20:49:02 +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
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
03cfbabc9a added status to L2CAP_CHANNEL_OPENED event 2009-10-19 20:21:32 +00:00
matthias.ringwald
23053b9e43 organize headers: e.g. use <btstack/btstack.h> instead of "btstack.h" 2009-09-28 21:19:05 +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
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
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
bb53b2914c fix l2cap signaling command dispatching 2009-07-30 19:40:06 +00:00
matthias.ringwald
87ea0ea477 implemented minimal outgoing-only L2CAP state machine, BT HID connection in test.c working 2009-07-29 21:06:04 +00:00
matthias.ringwald
da269baadb start with l2cap implementation 2009-07-28 21:04:16 +00:00
matthias.ringwald
95cbd9471c extract l2cap signaling code into l2cap_signaling 2009-07-23 21:55:36 +00:00
matthias.ringwald
ff2d8aacc9 fix l2cap signal packet generation - connection to BT HID working now 2009-07-21 19:14:04 +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
fd7ed8d4e2 also compile example/test.c - not working otherwise 2009-07-14 20:41:14 +00:00
matthias.ringwald
16833f0a4e honor the layer abstratctions 2009-05-17 20:32:14 +00:00
matthias.ringwald
43625864d2 started L2CAP implementation 2009-05-16 21:29:51 +00:00