matthias.ringwald
|
a595331e03
|
fix typo
|
2011-07-12 15:39:46 +00:00 |
|
matthias.ringwald
|
5caae01d5e
|
avoid warning
|
2011-07-12 15:38:49 +00:00 |
|
matthias.ringwald
|
ae1fd9f36e
|
use <btstack/..> to make compiliation with separate build system easier
|
2011-07-12 15:31:06 +00:00 |
|
matthias.ringwald
|
3c2c944968
|
only allow single connection to SDP server
|
2011-07-08 18:38:36 +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
|
2c0ef19cb0
|
commented state machine state logging
|
2011-07-07 23:24:50 +00:00 |
|
matthias.ringwald
|
d19c49a64c
|
fix missing breaks
|
2011-07-07 23:24:07 +00:00 |
|
matthias.ringwald
|
1ac74e31e6
|
send DM if requested in send_dm_for_dlci in multiplexer_t
|
2011-07-07 23:06:51 +00:00 |
|
matthias.ringwald
|
70d1daaf4f
|
schedule RPN RPS in channel struct
|
2011-07-07 23:01:10 +00:00 |
|
matthias.ringwald
|
968491a962
|
cleanups
|
2011-07-07 22:50:58 +00:00 |
|
matthias.ringwald
|
85c3396ff3
|
extract rfcomm_multiplexer_state_machine
|
2011-07-07 22:37:17 +00:00 |
|
matthias.ringwald
|
e71fba4de0
|
set max l2cap size
|
2011-07-07 21:53:00 +00:00 |
|
matthias.ringwald
|
decc01a8dc
|
fix ACL length for recombined ACL buffers - not used by higher layers
|
2011-07-07 21:47:47 +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
|
43bb3ff12c
|
add extra space for ACL header
|
2011-07-07 21:20:06 +00:00 |
|
matthias.ringwald
|
3949c4da27
|
fixed many many details. outgoing ok, incoming not yet
|
2011-07-07 19:31:11 +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
|
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
|
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
|
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
|
39d5980906
|
call l2cap_run() for HCI_EVENT_COMMAND_STATUS and HCI_EVENT_COMMAND_COMPLETE, too
|
2011-06-22 15:31:50 +00:00 |
|