matthias.ringwald
|
6fdcc387a9
|
added L2CAP_STATE_WILL_SEND_CONNECTION_REQUEST
|
2011-06-20 19:47:05 +00:00 |
|
matthias.ringwald
|
dc8ceabbe7
|
forgot the l2cap_next_sig_id call
|
2011-06-20 19:43:18 +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
|
761b0451dd
|
fix emission of l2cap credits for incoming connections
|
2011-06-17 20:40:18 +00:00 |
|
matthias.ringwald
|
490d3fd067
|
deleted unused l2cap level per channel packet counting
|
2011-06-16 21:57:42 +00:00 |
|
matthias.ringwald
|
9893b714bb
|
don't crash because of bigger event
|
2011-06-12 18:58:05 +00:00 |
|
matthias.ringwald
|
4c98aa43c7
|
emit l2cap mtus, too
|
2011-06-12 07:49:13 +00:00 |
|
matthias.ringwald
|
1d279b2064
|
document hci_read_buffer_size result, better docuement l2cap mtu handling
|
2011-06-12 07:46:50 +00:00 |
|
matthias.ringwald
|
40d1c7a481
|
more -Wstrict-prototypes fixes
|
2011-06-06 14:12:38 +00:00 |
|
matthias.ringwald
|
0a18a8e91d
|
assume remote side uses default mtu instead of minimum mtu for new l2cap connections
|
2010-11-22 19:52:07 +00:00 |
|
matthias.ringwald
|
d418e20393
|
allow role switch when opening baseband for l2cap channel
|
2010-09-20 21:11:22 +00:00 |
|
matthias.ringwald
|
3a9e0a5899
|
note to myself
|
2010-09-10 19:44:07 +00:00 |
|
matthias.ringwald
|
4e32727e89
|
break after finding the correct channel. fixes issue #76 - thanks to murerten for this fix
|
2010-09-10 19:35:51 +00:00 |
|
matthias.ringwald
|
9775e25bf2
|
consider max acl buffer in Bluetooth module as upper bound for l2cap mtu
|
2010-09-03 20:17:26 +00:00 |
|
matthias.ringwald
|
eb920dbead
|
if l2cap connection fails, drop channel immediately. if connection fails due to security block, drop link key, too
|
2010-08-30 19:06:13 +00:00 |
|
matthias.ringwald
|
80ca58a00d
|
keep baseband connection during authentication
|
2010-08-26 20:26:48 +00:00 |
|
matthias.ringwald
|
2060cf1463
|
don't confuse myself
|
2010-08-23 21:23:17 +00:00 |
|
matthias.ringwald
|
15ec09bb89
|
re-wrote iterate over linked list and delete element code
|
2010-08-23 21:03:40 +00:00 |
|
matthias.ringwald
|
4c744e2140
|
use constant for NR_BUFFERED_ACL_PACKETS and increase to 3
|
2010-08-16 17:04:39 +00:00 |
|
matthias.ringwald
|
7af1ca8593
|
allow for 3- and 5-slot packets
|
2010-08-10 20:51:51 +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
|
fe35119d8a
|
mark hci cmd templates as const to save RAM
|
2010-08-08 18:10:45 +00:00 |
|
matthias.ringwald
|
91b99603ac
|
grant new credits right after receiving previous packet
|
2010-08-01 09:18:34 +00:00 |
|
matthias.ringwald
|
a59fb47b50
|
removed another log statement
|
2010-07-31 20:38:10 +00:00 |
|
matthias.ringwald
|
8ea03fa513
|
flow control working, disable some dbg msgs
|
2010-07-31 09:07:48 +00:00 |
|
matthias.ringwald
|
0e7bc007cb
|
fix compile
|
2010-07-30 20:23:55 +00:00 |
|
matthias.ringwald
|
c3b820cfe6
|
only grant credits on open connections
|
2010-07-30 20:21:19 +00:00 |
|
matthias.ringwald
|
8d371091e8
|
handle number of completed packets and hand out credits
|
2010-07-30 19:17:41 +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
|
11c41d51ae
|
use buffers of size 1021 to fit 3-DH5 ACL packets, check buffer for SDP responses
|
2010-07-25 12:28:23 +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
|
78a6f10031
|
fix unbelievable hard code for deleting items in linked list while iterating over it
|
2010-07-17 18:39:51 +00:00 |
|
matthias.ringwald
|
39ce35a7ca
|
fix list removal while iterating over it
|
2010-07-17 16:59:35 +00:00 |
|
matthias.ringwald
|
10642e45f5
|
fix compile warning - add default clause
|
2010-07-04 16:25:56 +00:00 |
|
matthias.ringwald
|
b7de95da8c
|
fix compile warning
|
2010-07-04 16:23:44 +00:00 |
|
matthias.ringwald
|
3de7c0ca8d
|
correct get mtu from configure request
|
2010-06-18 21:36:14 +00:00 |
|
matthias.ringwald
|
96cbd66294
|
added l2cap_get_remote_mtu_for_local_cid
|
2010-06-18 20:31:05 +00:00 |
|
matthias.ringwald
|
1dc511dea6
|
extrat MTU from configure request if present, send empty config in configure repsonse instead of options from configure request
|
2010-06-18 20:21:52 +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
|
f79ee2445a
|
fix swapped source and destination channel IDs in L2CAP DISCONNECTION_RESPONSE
|
2010-06-16 18:57:58 +00:00 |
|
matthias.ringwald
|
69025de84f
|
streamline deletion code
|
2010-06-13 21:27:47 +00:00 |
|
matthias.ringwald
|
5d5a55f27c
|
really fix unregister service for closed connection
|
2010-06-12 10:06:45 +00:00 |
|
matthias.ringwald
|
f2efebcde5
|
fix service remove from linked list
|
2010-06-09 18:24:06 +00:00 |
|
matthias.ringwald
|
58de561001
|
also dispatch L2CAP DATA packets
|
2010-06-09 16:05:50 +00:00 |
|
matthias.ringwald
|
f8dd2f72bd
|
pass on packet_handler from service to channel struct, pass on local_cid for l2cap events
|
2010-06-09 15:53:07 +00:00 |
|