BG96 Cat.M1 AWS IoT client sample for WIZnet IoT Shield, using built-in SSL/TLS stack

Files at this revision

API Documentation at this revision

Comitter:
hkjung
Date:
Wed Mar 27 13:00:24 2019 +0000
Parent:
4:d2247438a4cd
Commit message:
Some changes

Changed in this revision

aws_iot_config.h Show annotated file Show diff for this revision Revisions of this file
certs/awscerts.h Show annotated file Show diff for this revision Revisions of this file
--- a/aws_iot_config.h	Wed Mar 27 12:36:05 2019 +0000
+++ b/aws_iot_config.h	Wed Mar 27 13:00:24 2019 +0000
@@ -21,10 +21,10 @@
 #ifndef SRC_SHADOW_IOT_SHADOW_CONFIG_H_
 #define SRC_SHADOW_IOT_SHADOW_CONFIG_H_
 
-#define AWS_IOT_MQTT_HOST              (char*)"a3uz5t2azg1xdz-ats.iot.ap-northeast-2.amazonaws.com"
+#define AWS_IOT_MQTT_HOST              (char*)"a3uz5t2xxxxxxx-ats.iot.ap-northeast-2.amazonaws.com"
 #define AWS_IOT_MQTT_PORT              8883
-#define AWS_IOT_MQTT_CLIENT_ID         (char*)"WIZnet_IoTShield_CatM1" 
-#define AWS_IOT_MY_THING_NAME          (char*)"WIZnet_IoTShield_CatM1"
+#define AWS_IOT_MQTT_CLIENT_ID         (char*)"Your_Thing_Name" 
+#define AWS_IOT_MY_THING_NAME          (char*)"Your_Thing_Name"
 #define AWS_IOT_ROOT_CA_FILENAME       (char*)"AmazonRootCA1.pem"           
 #define AWS_IOT_CERTIFICATE_FILENAME   (char*)"certificate.pem.crt"        
 #define AWS_IOT_PRIVATE_KEY_FILENAME   (char*)"private.pem.key"     
--- a/certs/awscerts.h	Wed Mar 27 12:36:05 2019 +0000
+++ b/certs/awscerts.h	Wed Mar 27 13:00:24 2019 +0000
@@ -25,8 +25,7 @@
     "BQAwTTFLMEkGA1UECwxCQW1hem9uIFdlYiBTZXJ2aWNlcyBPPUFtYXpvbi5jb20g\n"
     "SW5jLiBMPVNlYXR0bGUgU1Q9V2FzaGluZ3RvbiBDPVVTMB4XDTE5MDMy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w/5gDBlnxocu0w7B1Fkef6\n"
     "7LgflQggMWu0dsv8u4/4MPjhKnDTxqJm5z7/B8Lzx5CSqI7yjmCVfX8CgYEAx+7i\n"
@@ -77,8 +75,7 @@
     "b24gUm9vdCBDQSAxMB4XDTE1MDUyNjAwMDAwMFoXDTM4MDExNzAwMDAwMFowOTEL\n"
     "MAkGA1UEBhMCVVMxDzANBgNVBAoTBkFtYXpvbjEZMBcGA1UEAxMQQW1hem9uIFJv\n"
     "b3QgQ0EgMTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALJ4gHHKeNXj\n"
-    "ca9HgFB0fW7Y14h29Jlo91ghYPl0hAEvrAIthtOgQ3pOsqTQNroBvo3bSMgHFzZM\n"
-    "9O6II8c+6zf1tRn4SWiw3te5djgdYZ6k/oI2peVKVuRF4fn9tBb6dNqcmzU5L/qw\n"
+    "ca9HgFB0fW7Y14h29Jlo91ghYPl0hAEvrAIthtOgQ3pOsqTQNroBvo3bSMgHFzZM\n"    
     "IFAGbHrQgLKm+a/sRxmPUDgH3KKHOVj4utWp+UhnMJbulHheb4mjUcAwhmahRWa6\n"
     "VOujw5H5SNz/0egwLX0tdHA114gk957EWW67c4cX8jJGKLhD+rcdqsq08p8kDi1L\n"
     "93FcXmn/6pUCyziKrlA4b9v7LWIbxcceVOF34GfID5yHI9Y/QCB/IIDEgEw+OyQm\n"