-
Notifications
You must be signed in to change notification settings - Fork 172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
smartDeviceConnectionDisconnectionEvent : "disconnectReason": "DUPLICATE_CLIENTID", (CA-337) #222
Comments
Hi @PaulAnurag As for network resiliency of the device, device could actively disconnect in one of the two conditions:
However, like I said, the disconnect reason in the lifecycle event should still be different. |
Hello @avsheth Is there any documentation for all the mqtt macro parameters ? |
You can read Kconfig parameters in the corresponding Kconfig files or in in the menuconfig window. |
AWS MQTT disconnection and re connection events have decreased a lot after changing the below macros |
Hello Folks,
I am using the https://github.com/espressif/esp-aws-iot/tree/release/202012.04-LTS branch for my project. In this project, whenever there is a slight disconnection in internet for a couple of seconds, my device goes offline and disconnects for AWS.
On checking the smartDeviceConnectionDisconnectionEvent in aws iot core, I can see the below disconnection event :
{
"clientId": "xxxxxxxxxxxxxxxx",
"timestamp": 1716871954622,
"eventType": "disconnected",
"clientInitiatedDisconnect": false,
"sessionIdentifier": "xxxxxxxxxxxxxxxx",
"principalIdentifier": "xxxxxxxxxxxxxxxx",
"disconnectReason": "DUPLICATE_CLIENTID",
"versionNumber": 6
}
I am trying to tune the different Macros such as :
SDK Config Core Mqtt Macro :
core_mqtt_config_defaults :
Please suggest me if there is any change required.
The text was updated successfully, but these errors were encountered: