mbed Connector Interface simplification API on top of mbed-client

Fork of mbedConnectorInterfaceV3 by Doug Anson

NOTE:

This repo has been replaced with https://github.com/ARMmbed/mbedConnectorInterface. No further updates will occur with this repo. Please use the github repo instead. Thanks!

Revision:
117:f8103c66474a
Parent:
116:c88a6cd17137
Child:
120:2a4b2664adf9
--- a/source/ConnectorEndpoint.cpp	Thu May 04 16:43:01 2017 +0000
+++ b/source/ConnectorEndpoint.cpp	Wed May 10 17:23:08 2017 +0000
@@ -489,6 +489,41 @@
         case 0x3C:
             error = (char *)"MbedCloudClient::ConnectDnsResolvingFailed";
             break;
+#ifdef MBED_CLOUD_CLIENT_SUPPORT_UPDATE
+		case UpdateClient::WarningCertificateNotFound:
+			error = (char *)"MbedCloudClient(Update): WarningCertificateNotFound";
+			break;
+		case UpdateClient::WarningIdentityNotFound:
+			error = (char *)"MbedCloudClient(Update): WarningIdentityNotFound";
+			break;
+		case UpdateClient::WarningCertificateInvalid:
+			error = (char *)"MbedCloudClient(Update): WarningCertificateInvalid";
+			break;
+		case UpdateClient::WarningSignatureInvalid:
+			error = (char *)"MbedCloudClient(Update): WarningSignatureInvalid";
+			break;
+		case UpdateClient::WarningVendorMismatch:
+			error = (char *)"MbedCloudClient(Update): WarningVendorMismatch";
+			break;
+		case UpdateClient::WarningClassMismatch:
+			error = (char *)"MbedCloudClient(Update): WarningClassMismatch";
+			break;
+		case UpdateClient::WarningDeviceMismatch:
+			error = (char *)"MbedCloudClient(Update): WarningDeviceMismatch";
+			break;
+		case UpdateClient::WarningURINotFound:
+			error = (char *)"MbedCloudClient(Update): WarningURINotFound";
+			break;
+		case UpdateClient::WarningRollbackProtection:
+			error = (char *)"MbedCloudClient(Update): WarningRollbackProtection. Manifest is older than currently running image.";
+			break;
+		case UpdateClient::WarningUnknown:
+			error = (char *)"MbedCloudClient(Update): WarningUnknown";
+			break;
+		case UpdateClient::ErrorWriteToStorage:
+			error = (char *)"MbedCloudClient(Update): ErrorWriteToStorage";
+			break;
+#endif		
         default:
             error = (char *)"UNKNOWN";
     }