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
Copy file name to clipboardExpand all lines: docs/modules/cloud.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,11 +12,11 @@ The module's responsibilities include:
12
12
13
13
nRF Cloud over CoAP utilizes DTLS connection ID which allows the device to quickly re-establish a secure connection with the cloud after a network disconnection without the need for a full DTLS handshake. The module uses the nRF Cloud CoAP library to handle the CoAP communication and DTLS connection management.
14
14
15
-
Below, the module’s main messages, configurations, and state machine are covered. Refer to the source files (`cloud_module.c`, `cloud_module.h`, and `Kconfig.cloud`) for implementation details.
15
+
Below, the module’s main messages, configurations, and state machine are covered. Refer to the source files (`cloud.c`, `cloud.h`, and `Kconfig.cloud`) for implementation details.
16
16
17
17
## Messages
18
18
19
-
The cloud module publishes and receives messages over the zbus channel `CLOUD_CHAN`. All module message types are defined in `cloud_module.h` and used within `cloud_module.c`.
19
+
The cloud module publishes and receives messages over the zbus channel `CLOUD_CHAN`. All module message types are defined in `cloud.h` and used within `cloud.c`.
20
20
21
21
### Input Messages
22
22
@@ -37,7 +37,7 @@ The cloud module publishes and receives messages over the zbus channel `CLOUD_CH
37
37
-**CLOUD_SHADOW_RESPONSE**
38
38
Returns shadow data or a shadow delta received from nRF Cloud.
39
39
40
-
The message structure used by the cloud module is defined in `cloud_module.h`:
40
+
The message structure used by the cloud module is defined in `cloud.h`:
41
41
42
42
```c
43
43
struct cloud_msg {
@@ -101,7 +101,7 @@ For more details on these and other configurations, refer to `Kconfig.cloud`.
101
101
102
102
## State diagram
103
103
104
-
Below is a simplified representation of the state machine implemented in `cloud_module.c`. The module starts in the **STATE_RUNNING** context, which immediately transitions to **STATE_DISCONNECTED** upon initialization. From there, network events and internal conditions drive state transitions.
104
+
Below is a simplified representation of the state machine implemented in `cloud.c`. The module starts in the **STATE_RUNNING** context, which immediately transitions to **STATE_DISCONNECTED** upon initialization. From there, network events and internal conditions drive state transitions.
0 commit comments