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

Receive data to nrf9160 from the server using MQTT

Hi,

I am developing the system where I am sending the data of three sensors to the server using MQTT. For the above development, I used two microcontrollers one to collect the data from the sensors and nrf9160 to handle MQTT Prorocol.

Also need to add the feature of user-specific data should display. ( user will send the ID no of the sensor to nrf9160 from the server and only that sensor ID data will be display)

I am successfully sending the data to the server using one channel but I now want to implement user-specific.


Question:

1) To receive the data from the server can I use the same channel which I am using to send data to a server?

or do I need to create a different channel for it?

Also, you can suggest me alternate option to implement the above idea.

Related