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

◆ aws_jobs_unsubscribe_topic_notify()

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

#include <include/net/aws_jobs.h>

Construct the notify topic and unsubscribe to stop receiving AWS IoT jobs lists.

Parameters
[in]clientConnected MQTT client instance.
[out]topic_bufBuffer to store the topic in.
Return values
0If successful, otherwise the return code of mqtt_unsubscribe or snprintf.
-EINVALIf the provided input parameter is not valid.