Wifi and PPPOS dual mqtt connection

fivesalive10
Posts: 1
Joined: Sat Apr 15, 2023 11:39 am

Wifi and PPPOS dual mqtt connection

Postby fivesalive10 » Sat Apr 15, 2023 11:52 am

I would like to have two different mqtt clients, each one bound to a specific interface. They will connect to the same broker and I will be giving each client a different ID. Their connections to the broker must coexist. They will publish to the same topic, and the broker will deduplicate the message based on a counter.

So far I can make connections to my broker using wifi or the lte module.

I am struggling to get my head around the best way of doing this. There is an example doing something similar with a socket using ethernet and wifi (https://github.com/espressif/esp-idf/bl ... multiple.c)

Some googling exposes a few breadcrumbs, but I am hoping for someone to give me more explicit advice.

Who is online

Users browsing this forum: Bing [Bot] and 105 guests