This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to extract MQTT message from the Simple_MQTT sample for nrf9160-DK?

How to extract MQTT message from the Simple_MQTT sample for nrf9160-DK?

I am trying to use a specific message to trigger an action based on a predefined string.
Not sure how to extract the string from the MQTT message. I'm using Mosquitto for publishing messages the the DK and it recieves and echoes the messages based on my predefined topic.

Anyone familiar with this?

Related