1407 Commits

Author SHA1 Message Date
matthias.ringwald
beaeca2a78 update rfcomm channel state machine diagram 2011-07-07 16:50:19 +00:00
matthias.ringwald
285f914355 cache next channel pointer to allow channel removal by state machine 2011-07-07 16:42:40 +00:00
matthias.ringwald
9d9a46c4f1 moved can_send code from rfcomm_run into rfcom_channel_state_machine 2011-07-07 16:24:30 +00:00
matthias.ringwald
c29832c565 prepare handling of CH_EVT_READY_TO_SEND in channel state machine 2011-07-07 15:10:29 +00:00
matthias.ringwald
94112bce80 merged dlc setup states into RFCOMM_CHANNEL_DLC_SETUP 2011-07-07 15:07:27 +00:00
matthias.ringwald
1a2e8f0848 prepare for merged DLC_SETUP state 2011-07-06 14:46:29 +00:00
matthias.ringwald
52114ddfa7 moved state machine code to channel state machine 2011-07-06 14:00:01 +00:00
matthias.ringwald
fad914e88e fully clean up rfcomm_channel_packet_handler - only parses muliplexer messages and calls state machine 2011-07-06 13:45:50 +00:00
matthias.ringwald
2f27565625 extracted channel lookups 2011-07-06 11:30:40 +00:00
matthias.ringwald
3617da50f7 reduce logic in rfcomm_channel_packet_handler, created rfcomm_channel_state_machine_2 2011-07-06 11:25:51 +00:00
matthias.ringwald
38ca88fff6 remove duplicate message_dlci lookup 2011-07-06 11:12:54 +00:00
matthias.ringwald
48b8951948 extracted rfcomm_channel_packet_handler 2011-07-06 11:09:43 +00:00
matthias.ringwald
d7bd042c27 convert RPN CMD, MSC CMD, MSC RSP to events and handle in rfcomm_channel_state_machine 2011-07-06 10:52:28 +00:00
matthias.ringwald
abec21804c Moved handling of incoming channel to channel state machine 2011-07-05 16:58:18 +00:00
matthias.ringwald
ebe1d7cd5b extracted rfcomm_channel_state_machine 2011-07-05 16:29:22 +00:00
matthias.ringwald
59e88de26c only advance is SABM was actually received 2011-07-05 15:30:06 +00:00
matthias.ringwald
7f305ae0dd update sm 2011-07-05 15:19:59 +00:00
matthias.ringwald
64b60afd6f update sm 2011-07-05 15:16:25 +00:00
matthias.ringwald
2a71eea967 handle SABM after PN 2011-07-05 15:16:10 +00:00
matthias.ringwald
119647815d remove dead code/states 2011-07-05 15:00:11 +00:00
matthias.ringwald
29bd733aeb reduced RFCOMM_CHANNEL_W4_CLIENT_AFTER_SABM and RFCOMM_CHANNEL_W4_CLIENT_AFTER_PN_CMD to RFCOMM_CHANNEL_INCOMING_SETUP 2011-07-05 14:59:00 +00:00
matthias.ringwald
00442ff87a refactored SABM #x handling 2011-07-05 12:57:17 +00:00
matthias.ringwald
e29eef4c07 refactored PN handling 2011-07-05 09:33:05 +00:00
matthias.ringwald
0003abdff4 added rfcomm channel state var 2011-07-05 08:30:43 +00:00
matthias.ringwald
63187217fd introduced RFCOMM_SEND_UIH_PN state 2011-07-04 21:53:39 +00:00
matthias.ringwald
858381bd3c introduced RFCOMM_SEND_UIH_PN state, added rfcomm_multiplexer_opened() to streamline multiplexer opening 2011-07-04 21:49:59 +00:00
matthias.ringwald
6574a75f55 sort functions and add makrers 2011-07-04 20:54:35 +00:00
matthias.ringwald
54427402b0 Edited wiki page Architecture through web user interface. 2011-07-03 12:37:55 +00:00
matthias.ringwald
588b0e6cca started state machine extraction tool 2011-06-25 18:17:42 +00:00
matthias.ringwald
fc3ea481fb udpated multiplexer fsm 2011-06-24 21:26:51 +00:00
matthias.ringwald
414e8893c9 more states, still 'don't remove item from linked liste while iterating' and some decline sends as direct response left 2011-06-24 21:11:56 +00:00
matthias.ringwald
2668327354 should have all rfcomm channel states coverd 2011-06-24 20:06:47 +00:00
matthias.ringwald
8daabc2ea1 more 'will send' states 2011-06-24 19:44:56 +00:00
matthias.ringwald
8158c42197 added RFCOMM_CHANNEL_SEND_SABM_W4_UA 2011-06-24 18:37:10 +00:00
matthias.ringwald
edaa805914 created rfcomm_run() and integrated rfcomm_multiplexer_start_connecting 2011-06-23 20:32:12 +00:00
matthias.ringwald
6b1fde377c added l2cap_can_send_packet_now 2011-06-23 20:30:02 +00:00
matthias.ringwald
a22f364722 'USB transport working well' version - THANKS Simon 2011-06-23 18:52:07 +00:00
matthias.ringwald
ed7e0985ab use '// MARK:' instead of the non portable '#pragma mark' 2011-06-23 18:28:19 +00:00
matthias.ringwald
2de56e6d03 pragma mark once and pragme once are not the same 2011-06-23 18:23:30 +00:00
matthias.ringwald
03351d53c9 use -isysroot instead of multiple -I, -L, -F flags needed for SDK 2.0, minium iOS SDK required: 3.0 now 2011-06-23 14:56:40 +00:00
matthias.ringwald
5a0dd9e520 fix compile warnings 2011-06-23 14:30:10 +00:00
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