Skip to content
This repository has been archived by the owner on Sep 7, 2020. It is now read-only.

wip #1602

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

wip #1602

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
' from backhaul_fsm_main

[*] --> INIT
INIT --> WAIT_ENABLE
WAIT_ENABLE --> ENABLED

ENABLED --> MASTER_DISCOVERY : local controller && local gw

MASTER_DISCOVERY --> WAIT_FOR_AUTOCONFIG_COMPLETE
WAIT_FOR_AUTOCONFIG_COMPLETE --> CONNECT_TO_MASTER
CONNECT_TO_MASTER --> CONNECTED
CONNECTED --> OPERATIONAL

Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
' from backhaul_fsm_main

ENABLED --> MASTER_DISCOVERY : Wired
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
' from backhaul_fsm_main

ENABLED --> INIT_HAL : Wireless

' from backhaul_fsm_wireless

INIT_HAL --> WPA_ATTACH
WPA_ATTACH --> WAIT_WPS

INITIATE_SCAN --> WIRELESS_CONFIG_4ADDR_MODE
INITIATE_SCAN --> WAIT_FOR_SCAN_RESULTS
WAIT_FOR_SCAN_RESULTS --> INITIATE_SCAN
WIRELESS_CONFIG_4ADDR_MODE --> WIRELESS_ASSOCIATE_4ADDR
WIRELESS_ASSOCIATE_4ADDR --> INITIATE_SCAN
WIRELESS_ASSOCIATE_4ADDR --> WIRELESS_ASSOCIATE_4ADDR_WAIT
WIRELESS_ASSOCIATE_4ADDR_WAIT --> WIRELESS_ASSOCIATE_4ADDR
WIRELESS_ASSOCIATE_4ADDR_WAIT --> INITIATE_SCAN
WIRELESS_WAIT_FOR_RECONNECT --> INITIATE_SCAN

' from hal_event_handler

WAIT_WPS --> MASTER_DISCOVERY : "Connected" event
WIRELESS_ASSOCIATE_4ADDR_WAIT --> WIRELESS_CONFIG_4ADDR_MODE : "Connected" event
WIRELESS_ASSOCIATE_4ADDR_WAIT --> MASTER_DISCOVERY : "Connected" event
WIRELESS_WAIT_FOR_RECONNECT --> CONNECT_TO_MASTER : "Connected" event if both local gateway and controller
WIRELESS_WAIT_FOR_RECONNECT --> OPERATIONAL : "Connected" event

OPERATIONAL --> WIRELESS_WAIT_FOR_RECONNECT : "Disconnected" event
CONNECTED --> WIRELESS_WAIT_FOR_RECONNECT : "Disconnected" event
WIRELESS_ASSOCIATE_4ADDR_WAIT --> INITIATE_SCAN : "Disconnected" event

WAIT_FOR_SCAN_RESULTS --> INITIATE_SCAN : "ScanResults" event
WAIT_FOR_SCAN_RESULTS --> WIRELESS_CONFIG_4ADDR_MODE : "ScanResults" event
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
@startuml
!include __inc_bh_fsm_shared.iuml!
!include __inc_bh_fsm_wired_specific.iuml!
!include __inc_bh_fsm_wireless_specific.iuml!
@enduml
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
@startuml
!include __inc_bh_fsm_shared.iuml!
!include __inc_bh_fsm_wired_specific.iuml!
@enduml
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
@startuml
!include __inc_bh_fsm_shared.iuml!
!include __inc_bh_fsm_wireless_specific.iuml!
@enduml
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.