问题
Related to that question:
My wiotp out node is on a RPi, the wiotp in node on IBM Cloud. They can connect to the platform using the same credentials, but only one of them is connected, disconnecting after some seconds and vice versa.
What needs to be changed so both remain connected?
回答1:
If your two clients are using the same MQTT clientId, then they will fight over the same connection. Could that be happening here?
来源:https://stackoverflow.com/questions/53886475/watson-iot-out-and-in-nodes-alternating-status