Skip to content

Commit

Permalink
Update MyTransport.h
Browse files Browse the repository at this point in the history
  • Loading branch information
Yveaux committed May 27, 2019
1 parent fcde152 commit 6bfa0f9
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions core/MyTransport.h
Original file line number Diff line number Diff line change
Expand Up @@ -156,18 +156,20 @@
* - <b>st</b>=send status, OK=success, NACK=no radio ACK received
*
* @startuml{transport_statechart.png} "Transport Statechart"
* state Init
* state top as "Transport" {
state Init
* state Failure
* state Ready
* state Parent
* state ID
* state Uplink
* }
*
* [*] --> Init
* Init : entry / Read config from eeprom
* Init --> Failure : [! transportInit()\n|| ID == 0\n|| ID == 255 ]
* Init --> Ready : [MY_GATEWAY_FEATURE]
* Init --> Parent
* Init --> Parent : [else]
*
* Parent : entry / Broadcast Find Parent
* Parent --> ID : [MY_PARENT_NODE_IS_STATIC\n|| MY_PASSIVE_NODE\n|| Parent found]
Expand All @@ -190,6 +192,7 @@
*
* Failure : entry / Disable transport
* Failure --> Init : [timeout]
* top --> Failure : [MY_TRANSPORT_SANITY_CHECK\n&& !transportSanityCheck]
* @enduml
*
* @brief API declaration for MyTransport
Expand Down

0 comments on commit 6bfa0f9

Please sign in to comment.