You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 9, 2024. It is now read-only.
The LED pattern that indicates the device mode is visible for a few seconds after an update has been sent to cloud.
60
69
61
70
Configuration options
62
71
*********************
@@ -73,14 +82,20 @@ The UI module continuously updates its internal state based on the mode and oper
73
82
This ensures that the correct LED pattern is displayed when the application changes its state of operation.
74
83
The UI module has an internal state machine with the following states:
75
84
76
-
* ``STATE_ACTIVE`` - The application is in the active mode, revert to the active mode LED pattern.
77
-
* ``STATE_PASSIVE`` - The application is in the passive mode, revert to the passive mode LED pattern.
85
+
* ``STATE_INIT`` - The initial state of the module.
86
+
* ``STATE_RUNNING`` - The module has performed all the required initializations and can initiate the display of LED patterns based on incoming events from other modules.
78
87
79
-
* ``SUB_STATE_GNSS_ACTIVE`` - The application is performing a GNSS search, revert to the GNSS search LED pattern.
80
-
* ``SUB_STATE_GNSS_INACTIVE`` - A GNSS search is not being performed.
88
+
* ``SUB_STATE_ACTIVE`` - The application is in the active mode. The module reverts to the active mode LED pattern after cloud publication.
89
+
* ``SUB_STATE_PASSIVE`` - The application is in the passive mode. The module reverts to the passive mode LED pattern after cloud publication.
81
90
82
-
* ``STATE_SHUTDOWN`` - The module has been shut down after receiving a request from the utility module.
91
+
* ``SUB_SUB_STATE_GNSS_ACTIVE`` - The application is performing a GNSS search. The module reverts to the GNSS search LED pattern.
92
+
* ``SUB_SUB_STATE_GNSS_INACTIVE`` - A GNSS search is not being performed.
83
93
94
+
* ``STATE_LTE_CONNECTING`` - The modem module is performing an LTE connection search. The UI module triggers the LTE connection search LED pattern.
95
+
* ``STATE_CLOUD_CONNECTING`` - The cloud module is connecting to cloud. The UI module triggers the cloud connection LED pattern.
96
+
* ``STATE_CLOUD_ASSOCIATING`` - The cloud module is performing user association. The UI module triggers the cloud association LED pattern.
97
+
* ``STATE_FOTA_UPDATING`` - The cloud module is performing a FOTA update. The UI module triggers the FOTA update LED pattern.
98
+
* ``STATE_SHUTDOWN`` - The module has been shut down after receiving a request from the utility module. It triggers the appropriate LED pattern that corresponds to the shutdown reason.
0 commit comments