1개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
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
관련 콘텐츠
- 질문됨 8일 전
- AWS 공식업데이트됨 2년 전
- AWS 공식업데이트됨 3년 전