matthias.ringwald
|
2985cb8479
|
renamed l2cap_max_l2cap_mtu into mtul2cap_max_mtu
|
2011-07-30 16:02:57 +00:00 |
|
matthias.ringwald
|
b1d43497a5
|
use hci acl packet buffer instead of own
|
2011-07-29 21:04:41 +00:00 |
|
matthias.ringwald
|
36a5e73594
|
streamline buffer size definitions throughtout the stack, use single HCI_PACKET_BUFFER_SIZE
|
2011-07-29 19:44:19 +00:00 |
|
matthias.ringwald
|
816c0598b2
|
use single buffer for outgoing l2cap packets
|
2011-07-28 22:25:15 +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
|
ea54feb7f2
|
use correct size for l2cap data and signaling packets
|
2011-07-27 20:54:50 +00:00 |
|
matthias.ringwald
|
8f8108aabc
|
replaced HCI_ACL_3DH5_SIZE with HCI_ACL_BUFFER_SIZE, add packet_types to hci_stack, set packet_types based on HCI_ACL_BUFFER_SIZE and Bluetooth module ACL buffer size, specify usable packet_types when creating connections
|
2011-07-26 21:18:45 +00:00 |
|
matthias.ringwald
|
4bb582b6c9
|
change comments
|
2011-07-25 20:47:30 +00:00 |
|
matthias.ringwald
|
277abc2cc0
|
at least call log_error if l2cap_register_service_internal fails due to malloc
|
2011-07-25 19:55:47 +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
|
d3a9df8712
|
replace malloc with static buffers or btstack_memory.h functions
|
2011-07-24 09:22:31 +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
|
7d67539f26
|
renamed log_err into log_error
|
2011-07-22 18:34:18 +00:00 |
|
matthias.ringwald
|
7b5fbe1fe3
|
replace all log_dbg with log_info
|
2011-07-22 18:31:02 +00:00 |
|
matthias.ringwald
|
2d00edd4aa
|
don't declare variables in switch cases
|
2011-07-22 10:14:38 +00:00 |
|
matthias.ringwald
|
7d3b3569b0
|
avoid 'enumerated type mixed with another type warnings' by IAR
|
2011-07-22 10:09:45 +00:00 |
|
matthias.ringwald
|
16acce23c6
|
comment state updates for now
|
2011-07-20 20:25:28 +00:00 |
|
matthias.ringwald
|
6e6710eb6c
|
forward DAEMON_EVENT_HCI_PACKET_SENT to all clients
|
2011-07-16 15:19:19 +00:00 |
|
matthias.ringwald
|
2a544672af
|
update state before sending packet
|
2011-07-14 15:42:13 +00:00 |
|
matthias.ringwald
|
83f196b3d0
|
fix bug with wrong flags, working again
|
2011-07-08 17:25:15 +00:00 |
|
matthias.ringwald
|
fa8473a47d
|
collapsed l2cap config states
|
2011-07-08 16:30:00 +00:00 |
|
matthias.ringwald
|
39bda6d5db
|
moved private stuff into .c
|
2011-07-08 15:51:20 +00:00 |
|
matthias.ringwald
|
fa8c92f61b
|
limit l2cap mtu to hci_max_acl_data_packet_length minus 4
|
2011-07-07 21:27:10 +00:00 |
|
matthias.ringwald
|
8158c42197
|
added RFCOMM_CHANNEL_SEND_SABM_W4_UA
|
2011-06-24 18:37:10 +00:00 |
|
matthias.ringwald
|
6b1fde377c
|
added l2cap_can_send_packet_now
|
2011-06-23 20:30:02 +00:00 |
|
matthias.ringwald
|
39d5980906
|
call l2cap_run() for HCI_EVENT_COMMAND_STATUS and HCI_EVENT_COMMAND_COMPLETE, too
|
2011-06-22 15:31:50 +00:00 |
|
matthias.ringwald
|
64472d52af
|
fix some bugs in l2cap establishment
|
2011-06-21 20:28:09 +00:00 |
|
matthias.ringwald
|
32ab939075
|
queue internal hci commands in connection_t
|
2011-06-21 19:30:58 +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
|
81f99c380e
|
call hci_can_send_packet_now in l2cap_run()
|
2011-06-21 18:20:38 +00:00 |
|
matthias.ringwald
|
2b83fb7d18
|
queue handling of ECHO and INFORMATIONAL requests, echo doesn't send back optional data - sorry.
|
2011-06-21 17:51:29 +00:00 |
|
matthias.ringwald
|
9a011532c2
|
consolidate and add handling of DISCONNECTION_REQUEST
|
2011-06-21 17:23:03 +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
|
cb8eb7e69e
|
use L2CAP_STATE_WILL_SEND_DISCONNECT_REQUEST on client connection close
|
2011-06-20 20:03:43 +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
|
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 |
|