1 Resposta
- Mais recentes
- Mais votos
- Mais comentários
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
Conteúdo relevante
- AWS OFICIALAtualizada há 3 anos
- AWS OFICIALAtualizada há 2 anos
- AWS OFICIALAtualizada há um ano
- AWS OFICIALAtualizada há 2 anos