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

◆ nrf_cloud_evt_type

#include <include/net/nrf_cloud.h>

Asynchronous nRF Cloud events notified by the module.

Enumerator
NRF_CLOUD_EVT_TRANSPORT_CONNECTED 

The transport to the nRF Cloud is established.

NRF_CLOUD_EVT_TRANSPORT_CONNECTING 

In the process of connecting to nRF Cloud.

NRF_CLOUD_EVT_USER_ASSOCIATION_REQUEST 

There was a request from nRF Cloud to associate the device with a user on the nRF Cloud.

NRF_CLOUD_EVT_USER_ASSOCIATED 

The device is successfully associated with a user.

NRF_CLOUD_EVT_READY 

The device can now start sending sensor data to the cloud.

NRF_CLOUD_EVT_RX_DATA_GENERAL 

The device received non-specific data from the cloud.

NRF_CLOUD_EVT_RX_DATA_DISCON 

The device received "appID" : "DEVICE", "messageType" : "DISCON", indicating that the device was removed from its nRF Cloud account.

NRF_CLOUD_EVT_RX_DATA_LOCATION 

The device received location data from the cloud and no response callback was registered.

NRF_CLOUD_EVT_RX_DATA_SHADOW 

The device received shadow related data from the cloud.

NRF_CLOUD_EVT_PINGRESP 

The device has received a ping response from the cloud.

NRF_CLOUD_EVT_SENSOR_DATA_ACK 

The data sent to the cloud was acknowledged.

NRF_CLOUD_EVT_TRANSPORT_DISCONNECTED 

The transport was disconnected. The status field in the event struct will be populated with a nrf_cloud_disconnect_status value.

NRF_CLOUD_EVT_FOTA_START 

A FOTA update has started. This event is only sent if

embed:rst:inline :kconfig:option:`CONFIG_NRF_CLOUD_FOTA_AUTO_START_JOB` 

is enabled.

NRF_CLOUD_EVT_FOTA_DONE 

The device should be restarted to apply a firmware upgrade

NRF_CLOUD_EVT_FOTA_ERROR 

An error occurred during the FOTA update.

NRF_CLOUD_EVT_TRANSPORT_CONNECT_ERROR 

An error occurred when connecting to the nRF Cloud. The status field in the event struct will be populated with a nrf_cloud_connect_result value.

NRF_CLOUD_EVT_FOTA_JOB_AVAILABLE 

FOTA update job information has been received. When ready, the application should start the job by calling nrf_cloud_fota_job_start. This event is only sent if

embed:rst:inline :kconfig:option:`CONFIG_NRF_CLOUD_FOTA_AUTO_START_JOB` 

is disabled.

NRF_CLOUD_EVT_ERROR 

An error occurred. The status field in the event struct will be populated with a nrf_cloud_error_status value.