nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches

◆ cloud_wrap_state_get()

int cloud_wrap_state_get ( bool  ack,
uint32_t  id 
)

#include <applications/asset_tracker_v2/src/cloud/cloud_wrapper.h>

Request device state from cloud. The device state contains the device configuration.

Parameters
[in]ackFlag signifying if the message should be acknowledged or not.
[in]idMessage ID.
Returns
0 on success, or a negative error code on failure.