nRF Connect SDK API 2.8.0
|
int aws_jobs_create_topic_notify | ( | struct mqtt_client *const | client, |
uint8_t * | topic_buf ) |
#include <include/net/aws_jobs.h>
Construct the notify topic for receiving AWS IoT jobs.
[in] | client | Connected MQTT client instance. |
[out] | topic_buf | Buffer to store the topic in. |
0 | If successful. |
-EINVAL | If the provided input parameter is not valid. |
-ENOMEM | If cannot fit in the buffer, which is assumed to be AWS_JOBS_TOPIC_MAX_LEN in size. |