67 Commits

Author SHA1 Message Date
matthias.ringwald@gmail.com
c9dc710be7 track l2cap channel flush timeout and report in channel open event 2014-01-10 17:35:17 +00:00
matthias.ringwald@gmail.com
ab2b01dc72 added l2cap_le_request_connection_parameter_update 2014-01-10 16:28:21 +00:00
matthias.ringwald@gmail.com
5932bd7c49 add L2CAP RTX and ERTX timers with 2 secs and 120 secs. defaults 2014-01-10 15:42:59 +00:00
matthias.ringwald@gmail.com
a4774f9a17 added (e)rtx timer to l2cap channel 2014-01-10 10:59:12 +00:00
matthias.ringwald@gmail.com
e6cc8be246 mark Embedded API functions, add basic documentation for all of them 2013-01-26 17:34:33 +00:00
matthias.ringwald
63a7246a86 improved l2cap error handling, better config options validation 2012-10-30 19:55:24 +00:00
matthias.ringwald
6b64433e6a added non-commerical clause and contact email 2012-05-07 21:54:09 +00:00
matthias.ringwald
2149f12ebb added support for sending connectionless L2CAP packets 2012-01-29 19:12:30 +00:00
matthias.ringwald@gmail.com
5652b5ff9b added support for Attribute and Security Manager LE protocols in L2CAP 2012-01-29 17:10:28 +00:00
matthias.ringwald
4aa9e837c6 make l2cap_max_mtu public 2011-07-30 16:12:45 +00:00
matthias.ringwald
db9ab65bf0 add check for minimal hci_acl_payload_size 2011-07-30 15:55:07 +00:00
matthias.ringwald
23f5e709c0 add check for minimal hci_acl_payload_size 2011-07-30 15:53:10 +00:00
matthias.ringwald
b1d43497a5 use hci acl packet buffer instead of own 2011-07-29 21:04:41 +00:00
matthias.ringwald
5af02935dd use correct size for max l2cap packet used in rfcomm 2011-07-27 20:59:17 +00:00
matthias.ringwald
2b3608483e extracted l2cap_register_signaling_response, respond with connection response and error if PSM not supported or no resources available 2011-07-25 19:51:44 +00:00
matthias.ringwald
73cf2b3d2a moved l2cap_channel_t, l2cap_service_t, rfcomm_multiplexer_t, rfcomm_channel_t, rfcomm_service_t to header files 2011-07-24 08:49:09 +00:00
matthias.ringwald
39bda6d5db moved private stuff into .c 2011-07-08 15:51:20 +00:00
matthias.ringwald
6b1fde377c added l2cap_can_send_packet_now 2011-06-23 20:30:02 +00:00
matthias.ringwald
02b22dc468 added L2CAP_STATE_WILL_SEND_CREATE_CONNECTION and L2CAP_STATE_WAIT_CONNECTION_COMPLETE 2011-06-21 18:50:39 +00:00
matthias.ringwald
b1988dce47 use different local and remote signal identifiers 2011-06-20 21:15:46 +00:00
matthias.ringwald
552d92a164 all states covered, needs double-check of state machine 2011-06-20 21:03:40 +00:00
matthias.ringwald
ae280e7320 added L2CAP_STATE_WAIT_CONFIG_REQ_OR_SEND_CONFIG_REQ and L2CAP_STATE_WILL_SEND_CONFIG_REQ_AND_CONFIG_REQ_RSP 2011-06-20 20:23:13 +00:00
matthias.ringwald
e7ff783c33 added L2CAP_STATE_WILL_SEND_CONNECTION_RESPONSE_DECLINE 2011-06-20 19:58:46 +00:00
matthias.ringwald
6fdcc387a9 added L2CAP_STATE_WILL_SEND_CONNECTION_REQUEST 2011-06-20 19:47:05 +00:00
matthias.ringwald
2cd0be456d created l2cap_run() and L2CAP_STATE_WILL_SEND_DISCONNECT state 2011-06-20 19:41:49 +00:00
matthias.ringwald
808a48ab66 added l2cap_block_new_credits function to be used with a daemon, use BTSTACK_ACL_BUFFERS_FULL 2011-06-18 11:03:00 +00:00
matthias.ringwald
490d3fd067 deleted unused l2cap level per channel packet counting 2011-06-16 21:57:42 +00:00
matthias.ringwald
694159226e fix -Wstrict-prototypes 2011-06-06 13:57:15 +00:00
matthias.ringwald
e3b6fe7eb1 use extern 'c' for more headers used by embedded port 2010-11-01 17:50:06 +00:00
matthias.ringwald
15470d2718 allow specify MTU for outgoing l2cap connections (was 150 before) 2010-08-10 20:43:55 +00:00
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