1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
1
MQTT does not have a time synchronization protocol, hence AWS IOT Core can only consider the order in which the packets arrive to the gateway. In the case you describe, this will happen:
- F sends CONNECT
- L sends CONNECT
- L CONNECT is received by AWS IoT Core, hence L is now connected
- F CONNECT is received (same clientId as L). AWS IoT Core disconnects L and F is now connected
- L receives a DISCONNECT message.
- L reconnects
- F is disconnected
- F should know (according to your internal protocol) that L has taken over the connection, and should not reconnect
Contenus pertinents
- demandé il y a 2 mois
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 3 ans
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a 2 ans