1 Respuesta
- Más nuevo
- Más votos
- Más comentarios
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
Contenido relevante
- OFICIAL DE AWSActualizada hace 3 años
- OFICIAL DE AWSActualizada hace un año
- OFICIAL DE AWSActualizada hace 3 años
- OFICIAL DE AWSActualizada hace un año