nRF Connect SDK API 2.8.99
|
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.
[in] | param | Sensor data; tag value is ignored. |
0 | If successful. |
-EACCES | Cloud connection is not established; wait for NRF_CLOUD_EVT_READY. |