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

◆ aws_jobs_create_topic_notify_next()

int aws_jobs_create_topic_notify_next ( struct mqtt_client *const client,
uint8_t * topic_buf )

#include <include/net/aws_jobs.h>

Construct the notify-next topic for receiving AWS IoT jobs.

Parameters
[in]clientConnected MQTT client instance.
[out]topic_bufBuffer to store the topic in.
Return values
0If successful.
-EINVALIf the provided input parameter is not valid.
-ENOMEMIf cannot fit in the buffer, which is assumed to be AWS_JOBS_TOPIC_MAX_LEN in size.