Commit Graph

1216 Commits

Author SHA1 Message Date
matthias.ringwald
7c11eecc87 first try on rfcomm multiplexer and channel FSMs 2011-06-22 18:28:47 +00:00
matthias.ringwald
b89b11d2ef finite state machine diagram for GraphViz 2011-06-22 16:44:15 +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
de009a8ce7 use hci_stack.num_cmd in hci_can_send_packet_now, use hci_can_send_packet_now in hci.c 2011-06-21 19:34:08 +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
c24735b151 added hci_can_send_packet_now 2011-06-21 18:19:07 +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
bcd309cecd fix theos project, make open gl appear 2011-06-20 19:02:51 +00:00
matthias.ringwald
be93454b1f added hci_sniff_mode 2011-06-20 18:15:49 +00:00
matthias.ringwald
b3f1f84df3 cleaned up comments 2011-06-20 17:22:30 +00:00
matthias.ringwald
828c5f1580 added a rfcomm streaming example 2011-06-20 17:19:56 +00:00
matthias.ringwald
b2f09bc060 deleted hci_ready_to_send - unused 2011-06-19 19:03:24 +00:00
matthias.ringwald
f9877e5725 rfcomm outgoing credits are a must 2011-06-18 21:47:40 +00:00
matthias.ringwald
17b40cacb4 don't decrease l2cap credits twice 2011-06-18 21:39:06 +00:00
matthias.ringwald
2a9a8b9705 reworked acl, l2cap and rfcomm credit counting 2011-06-18 21:17:58 +00:00
matthias.ringwald
9735c6f8e1 retry blocked connections on DAEMON_EVENT_NEW_RFCOMM_CREDITS, too 2011-06-18 21:17:20 +00:00
matthias.ringwald
bf8dada5e8 new internal event definition 2011-06-18 21:16:28 +00:00
matthias.ringwald
07483b926e clean ups 2011-06-18 21:16:07 +00:00
matthias.ringwald
bc804351d8 retry also on RFCOMM_EVENT_CREDITS 2011-06-18 12:45:22 +00:00
matthias.ringwald
b06a83cf1f block all new l2cap credits if a connection gets blocked 2011-06-18 11:07:53 +00:00
matthias.ringwald
f52b01709e precise error codes: BTSTACK_ACL_BUFFERS_FULL RFCOMM_NO_OUTGOING_CREDITS 2011-06-18 11:06:39 +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
07c24050e0 added socket_connection_has_parked_connections query 2011-06-18 11:00:55 +00:00
matthias.ringwald
5932f1b489 return BTSTACK_ACL_BUFFERS_FULL instead or -1 2011-06-18 10:57:37 +00:00
matthias.ringwald
9025188b5c added socket_connection_has_parked_connections query 2011-06-18 10:55:59 +00:00
matthias.ringwald
40053a5a63 added socket_connection_has_parked_connections query 2011-06-18 10:55:53 +00:00
matthias.ringwald
bb6e320ff1 error codes for ACL buffers full and no RFCOMM credits 2011-06-18 10:55:17 +00:00
matthias.ringwald
cdc9101d68 fix typo from earlier commit 2011-06-17 20:44:46 +00:00
matthias.ringwald
0dcf44e46d really filter empty/credit-only packets 2011-06-17 20:42:18 +00:00
matthias.ringwald
761b0451dd fix emission of l2cap credits for incoming connections 2011-06-17 20:40:18 +00:00
matthias.ringwald
6ae2f1946c fix typos 2011-06-17 19:21:56 +00:00
matthias.ringwald
5a06394a6a fix for invalid remote names - terminate name on 0xff 2011-06-17 17:46:08 +00:00
matthias.ringwald
f179dc0f6b retry remote name as latin-1, ignore instead of crashing 2011-06-17 17:45:37 +00:00
matthias.ringwald
e48314d8d1 improve on rfcomm credit bookkeeping 2011-06-16 22:39:43 +00:00
matthias.ringwald
490d3fd067 deleted unused l2cap level per channel packet counting 2011-06-16 21:57:42 +00:00
matthias.ringwald
2be0107695 Edited wiki page Status through web user interface. 2011-06-16 20:42:14 +00:00
matthias.ringwald
abb16937f6 Edited wiki page EmbeddedSystems through web user interface. 2011-06-16 20:14:35 +00:00
matthias.ringwald
a1ecaa85ec Edited wiki page EmbeddedSystems through web user interface. 2011-06-16 20:13:25 +00:00