Commissioning state machine
Closed this issue · 2 comments
vpetrigo commented
Implemented states for commissioning state machine:
- EZ_STOP
- EZ_START
- EZ_WAIT_IDENT_RESP
- EZ_DISCOVER
- EZ_MATCH
- EZ_BIND
- EZ_UNKNOWN
vpetrigo commented
During the EZ_START state we must perform such steps:
- Check for whether a device already joined the network or not
- Branching:
- "YES" If yes - send broadcast Identify Query command
- "NO" If no - try to form/join a network, in case of success go through the "YES" branch
Checking and sending broadcasts are implemented.
vpetrigo commented
During the EZ_WAIT_IDENT_RESP state we must wait for incoming Identify Query Response.
Now only the TIMEOUT event is handled