Enumeration of debug states that will be reflected on debug pins.
Note that due to limited availability of pins, the values are mapped to 2-bit codes and so are not unique. The code sequence has been chosen to be gray code like in that only one bit changes at a time.
| Enumerator |
|---|
| DEBUG_STATE_INIT | Initial state at startup.
|
| DEBUG_STATE_BOOTING_CHIP | Indicates that we are booting the MM chip (note that this will also include the host MCU startup time.
|
| DEBUG_STATE_CONNECTING | Indicates we are connecting to the AP.
|
| DEBUG_STATE_CONNECTED | Indicates we are connected to the AP.
|
| DEBUG_STATE_CONNECTED_IDLE | Indicates that we have connected to the AP, but have not started the ping yet.
|
| DEBUG_STATE_PINGING | Indicates that the ping is in progress.
|
| DEBUG_STATE_PING_DONE | Indicates that the ping has completed.
|
| DEBUG_STATE_IDLE | Indicates that we are idling with WLAN still on.
|
| DEBUG_STATE_TERMINATING | Indicates that we are disconnecting from the AP.
|
| DEBUG_STATE_INIT | Initial state at startup.
|
| DEBUG_STATE_BOOTING_CHIP | Indicates that we are booting the MM chip (note that this will also include the host MCU startup time.
|
| DEBUG_STATE_CONNECTING | Indicates we are connecting to the AP.
|
| DEBUG_STATE_CONNECTED | Indicates we are connected to the AP.
|
| DEBUG_STATE_CONNECTED_IDLE | Indicates that we have connected to the AP, but have not connected to the TCP server.
|
| DEBUG_STATE_MBEDTLS_INIT | Indicates we are initializing the mbedtls client.
|
| DEBUG_STATE_MBEDTLS_CONNECTING | Indicates we are connecting to the TCP server on the AP.
|
| DEBUG_STATE_MBEDTLS_SEND | Indicates we are sending a TCP packet to the AP.
|
| DEBUG_STATE_MBEDTLS_SEND_DONE | Indicates we have sent a TCP packet to the AP and are waiting for communications to cool down.
|
| DEBUG_STATE_TERMINATING | Indicates that we are disconnecting from the AP.
|
| DEBUG_STATE_INIT | Initial state at startup.
|
| DEBUG_STATE_CONNECTING | Indicates we are connecting to the AP.
|
| DEBUG_STATE_CONNECTED | Indicates we are connected to the AP.
|
| DEBUG_STATE_PINGING_0 | Indicates that the ping is in progress.
|
| DEBUG_STATE_PING_0_DONE | Indicates that the ping has completed.
|
| DEBUG_STATE_WNM_SLEEP | Indicates that WNM sleep is in progress.
|
| DEBUG_STATE_EXITING_WNM_SLEEP | Indicates that we are exiting WNM sleep.
|
| DEBUG_STATE_WNM_SLEEP_DONE | Indicates that WNM sleep has completed.
|
| DEBUG_STATE_PINGING_1 | Indicates that the ping is in progress.
|
| DEBUG_STATE_PING_1_DONE | Indicates that the ping has completed.
|
| DEBUG_STATE_WNM_SLEEP_POWER_DOWN | Indicates that WNM sleep is in progress with chip powered down.
|
| DEBUG_STATE_EXITING_WNM_SLEEP_POWER_DOWN | Indicates that we are exiting WNM sleep with chip powered down.
|
| DEBUG_STATE_WNM_SLEEP_POWER_DOWN_DONE | Indicates that WNM sleep with chip powered down has completed.
|
| DEBUG_STATE_TERMINATING | Indicates that we are disconnecting from the AP.
|