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

◆ nrf_cloud_sensor_data_stream()

int nrf_cloud_sensor_data_stream ( const struct nrf_cloud_sensor_data param)

#include <include/net/nrf_cloud.h>

Stream sensor data. Uses lowest QoS; no acknowledgment,.

This API should only be called after receiving an NRF_CLOUD_EVT_READY event.

Parameters
[in]paramSensor data; tag value is ignored.
Return values
0If successful.
-EACCESCloud connection is not established; wait for NRF_CLOUD_EVT_READY.
Returns
A negative value indicates an error.