Preserve MQTT TLS connection time and internal DMA headroom

This commit is contained in:
mikecarper committed 2026-10-10 14:43:57 -07:00
1 parent b705824cf3
commit 70052c5e5b
17 files changed
+1461 -119

No files matched your search

@@ -29,6 +29,12 @@ TEST(MQTTErrorLabels, TlsErrorsMatchTheSdkMeaning) {
EXPECT_TRUE(labelIs(tlsError(0x8010), "cert chain partly parsed")); // was "mbedTLS error"
EXPECT_TRUE(labelIs(tlsError(0x8006), "connection timeout"));
EXPECT_TRUE(labelIs(tlsError(0x8001), "DNS failed"));
EXPECT_TRUE(labelIs(tlsError(0x8012), "SNI hostname rejected"));
EXPECT_TRUE(labelIs(tlsError(0x8015), "cert parse failed"));
EXPECT_TRUE(labelIs(tlsError(0x8017), "TLS setup failed"));
// A hardware AES allocation failure returns -1 through the TLS write path,
// which the SDK records as 0x8018 rather than a handshake or auth failure.
EXPECT_TRUE(labelIs(tlsError(0x8018), "TLS write failed"));
EXPECT_TRUE(labelIs(tlsError(0x801A), "TLS handshake failed"));
}