I have had successful message transfers to our Azure IOT connection, but am getting errors if the message is too big.
If the message length is 5438 bytes the message is confirmed and I can see the data, but if the message is 5458 bytes the message fails.
IOT result message is IOTHUB_CLIENT_CONFIRMATION_BECAUSE_DESTROY
It fails here ... (timeout is 10 seconds)
int diff = (int)(millis() - start_ms);
if (diff >= EVENT_TIMEOUT_MS)
{
// Time out, reset the client
LogError("Waiting for send confirmation, time is up %d", diff);
resetClient = true;
}
I can't find a setting in the IOT SDK code or in our Azure account that relates to this limit.
What have I missed?