mirror of
https://github.com/bluekitchen/btstack.git
synced 2024-12-29 09:26:08 +00:00
updatd state machine
This commit is contained in:
parent
83f196b3d0
commit
3b395b97b4
@ -18,13 +18,9 @@ digraph l2cap {
|
||||
// l2cap_run
|
||||
WILL_SEND_CREATE_CONNECTION -> WAIT_CONNECTION_COMPLETE [label = "SEND CREATE CONNECTION"];
|
||||
WILL_SEND_CONNECTION_RESPONSE_DECLINE -> CLOSE [label = "SEND CONNECTION_RESPONSE ERR"];
|
||||
WILL_SEND_CONNECTION_RESPONSE_ACCEPT -> WAIT_CONFIG_REQ_OR_SEND_CONFIG_REQ [label = "SEND CONNECTION_RESPONSE OK"];
|
||||
WILL_SEND_CONNECTION_RESPONSE_ACCEPT -> CONFIG [label = "SEND CONNECTION_RESPONSE OK"];
|
||||
WILL_SEND_CONNECTION_REQUEST -> WAIT_CONNECT_RSP [label = "SEND CONNECTION_REQUEST"];
|
||||
WAIT_CONFIG_REQ_OR_SEND_CONFIG_REQ->WAIT_CONFIG_REQ_RSP_OR_CONFIG_REQ [label="SEND CONFIGURE_REQUEST"];
|
||||
WILL_SEND_CONFIG_REQ -> WAIT_CONFIG_REQ_RSP [label = "SEND CONFIGURE_REQUEST"];
|
||||
WAIT_CONFIG_REQ_RSP_OR_WILL_SEND_CONFIG_REQ_RSP -> WAIT_CONFIG_REQ_RSP [label = "SEND CONFIGURE_RESPONSE"];
|
||||
WILL_SEND_CONFIG_REQ_RSP->OPEN [label="SEND CONFIGURE_RESPONSE"];
|
||||
WILL_SEND_CONFIG_REQ_AND_CONFIG_REQ_RSP -> WILL_SEND_CONFIG_REQ [label = "SEND CONFIGURE_RESPONSE"];
|
||||
|
||||
WILL_SEND_DISCONNECT_RESPONSE -> CLOSE [ label = "SEND DISCONNECTION_RESPONSE"];
|
||||
WILL_SEND_DISCONNECT_REQUEST -> WAIT_DISCONNECT [label = "SEND DISCONNECTION_REQUEST"];
|
||||
|
||||
@ -50,15 +46,12 @@ digraph l2cap {
|
||||
WAIT_CLIENT_ACCEPT_OR_REJECT -> WILL_SEND_CONNECTION_RESPONSE_DECLINE [ label = "l2cap decline internal"];
|
||||
|
||||
// l2cap_signaling_handler_channel
|
||||
WAIT_CONNECT_RSP->WAIT_CONFIG_REQ_OR_SEND_CONFIG_REQ [ label = "CONNECTION_RESPONSE OK"];
|
||||
WAIT_CONNECT_RSP->CONFIG [ label = "CONNECTION_RESPONSE OK"];
|
||||
WAIT_CONNECT_RSP->CLOSE [label = "CONNECTION_RESPONSE ERR"];
|
||||
WAIT_CONFIG_REQ_OR_SEND_CONFIG_REQ->WILL_SEND_CONFIG_REQ_AND_CONFIG_REQ_RSP [label = "RECEIVE CONFIGURE_REQUEST"];
|
||||
WAIT_CONFIG_REQ_RSP_OR_CONFIG_REQ->WAIT_CONFIG_REQ [ label = "RECEIVE CONFIGURE_RESPONSE"];
|
||||
WAIT_CONFIG_REQ_RSP_OR_CONFIG_REQ->WAIT_CONFIG_REQ_RSP_OR_WILL_SEND_CONFIG_REQ_RSP [ label = "RECEIVE CONFIGURE_REQUEST"];
|
||||
WAIT_CONFIG_REQ->WILL_SEND_CONFIG_REQ_RSP [label = "RECEIVE CONFIGURE_REQUEST"];
|
||||
WAIT_CONFIG_REQ_RSP->OPEN [label = "RECEIVE CONFIGURE_RESPONSE"];
|
||||
WAIT_DISCONNECT->CLOSE [label = "RECEIVED DISCONNECT_RESPONSE"];
|
||||
|
||||
CONFIG->OPEN [label="RCVD CONF RSP && SENT CONF RSP"];
|
||||
CONFIG->CONFIG[label="send and respond CONF REQ"];
|
||||
|
||||
// l2cap_close_connection
|
||||
OPEN->WILL_SEND_DISCONNECT_REQUEST [label = "client closed"];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user