256dpi / arduino-mqtt

MQTT library for Arduino
MIT License
1.01k stars 232 forks source link

How to change between GMS client and Ethernet while conect MQTT broker #265

Closed Tindt98 closed 1 year ago

Tindt98 commented 2 years ago

I used GMS module sim 800 (client: GSM1) and Ethernet shiled (clinet: net) to conect MQTT, i use fumcion: client.begin(mqtt.sever_mqtt,GSM1); to change client but not works can connect to MQTT

256dpi commented 1 year ago

The best option is probably to use a client per network client.

Closing as stale, please reopen if issue persists.