nRF Connect SDK API 2.8.99
|
int nrf_cloud_alert_send | ( | enum nrf_cloud_alert_type | type, |
float | value, | ||
const char * | description ) |
#include <include/net/nrf_cloud_alert.h>
Transmit the specified alert to nRF Cloud using MQTT or CoAP.
[in] | type | The type of alert. |
[in] | value | Optional numeric value associated with the alert. If set to NRF_CLOUD_ALERT_UNUSED_VALUE, the library will not send this field to nRF Cloud. |
[in] | description | Optional text describing the alert. |