nRF Connect SDK API 2.8.99
|
Cloud wrapper library header. More...
Go to the source code of this file.
Data Structures | |
struct | cloud_wrap_event_data |
Structure used to reference application data that is sent and received from the cloud wrapper library. More... | |
struct | cloud_wrap_event |
Cloud wrapper API event. More... | |
Typedefs | |
typedef void(* | cloud_wrap_evt_handler_t) (const struct cloud_wrap_event *evt) |
Cloud wrapper library asynchronous event handler. | |
Functions | |
int | cloud_wrap_init (cloud_wrap_evt_handler_t event_handler) |
Setup and initialize the configured cloud integration layer. | |
int | cloud_wrap_connect (void) |
Connect to cloud. | |
int | cloud_wrap_disconnect (void) |
Disconnect from cloud. | |
int | cloud_wrap_state_get (bool ack, uint32_t id) |
Request device state from cloud. The device state contains the device configuration. | |
int | cloud_wrap_state_send (char *buf, size_t len, bool ack, uint32_t id) |
Send device state data to cloud. | |
int | cloud_wrap_data_send (char *buf, size_t len, bool ack, uint32_t id, const struct lwm2m_obj_path path_list[]) |
Send data to cloud. | |
int | cloud_wrap_batch_send (char *buf, size_t len, bool ack, uint32_t id) |
Send batched data to cloud. | |
int | cloud_wrap_ui_send (char *buf, size_t len, bool ack, uint32_t id, const struct lwm2m_obj_path path_list[]) |
Send UI data to cloud. | |
int | cloud_wrap_cloud_location_send (char *buf, size_t len, bool ack, uint32_t id) |
Send cloud location data to cloud. | |
bool | cloud_wrap_cloud_location_response_wait (void) |
Indicates whether cloud implementation can and is configured to return the resolved location back to the device. | |
int | cloud_wrap_agnss_request_send (char *buf, size_t len, bool ack, uint32_t id) |
Send A-GNSS request to cloud. | |
int | cloud_wrap_pgps_request_send (char *buf, size_t len, bool ack, uint32_t id) |
Send P-GPS request to cloud. | |
int | cloud_wrap_memfault_data_send (char *buf, size_t len, bool ack, uint32_t id) |
Send Memfault data to cloud. | |
Cloud wrapper library header.