Toby Loki

Results 8 comments of Toby Loki

@chegewara I tried doing that, but the callback was never triggered. ``` void disconnectCallback() { printf("\n\nHI I am disconnected\n\n"); } ----------------- sp.disconnectHandler = disconnectCallback; ```

@shahpiyushv It could be possible, but I don't see a disconnect or reconnect according to the monitor - is there a way to modify the code so I could see...

@shahpiyushv I believe that it is the same issue. I have changed keepAliveIntervalInSec from 600 to 65 in aws_iot_shadow.c and I no longer see this problem. **However, I wanted to...

@shahpiyushv Thanks. So I wanted to understand why this problem happened. It seems the device resets the keepAliveIntervalInSec (so it doesn't disconnect) whenever AWS IoT receives a PUBLISH, SUBSCRIBE, PING,...

I am running on Ubuntu 22.04.

@khushbushah2302 Hi. Have you found a solution to this problem?

@khushbushah2302 After investigating further, I've found that the source of the problem is `provisionManager.getEspDevice().sendDataToCustomEndPoint`. It seems to work fine on the first invocation. But when I call it a second...

@khushbushah2302 In my ESP32's code, I had configured the endpoint as "custom-data". So I think what I've done should be correct. ``` wifi_prov_mgr_endpoint_create("custom-data"); /* Start provisioning service */ ESP_ERROR_CHECK(wifi_prov_mgr_start_provisioning(security, pop,...