U_Blox device connector

Dependencies:   mbed

Fork of mbed-os-example-client by mbed-os-examples

Files at this revision

API Documentation at this revision

Comitter:
surajdagar
Date:
Thu Feb 02 19:46:23 2017 +0000
Parent:
62:077cbce2bd10
Commit message:
u-Blox test for device connector

Changed in this revision

esp8266-driver.lib Show annotated file Show diff for this revision Revisions of this file
mbed-client.lib Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
mbed_app.json Show annotated file Show diff for this revision Revisions of this file
security.h Show annotated file Show diff for this revision Revisions of this file
diff -r 077cbce2bd10 -r 81c0432cb506 esp8266-driver.lib
--- a/esp8266-driver.lib	Thu Feb 02 08:30:11 2017 +0000
+++ b/esp8266-driver.lib	Thu Feb 02 19:46:23 2017 +0000
@@ -1,1 +1,1 @@
-https://github.com/ARMmbed/esp8266-driver/#86ed47c8bf40c86fdc569c7e678a8944f5e01c2a
+https://github.com/ARMmbed/esp8266-driver/#4ed87bf7fe37d5ba0de6c4e78868f604a82f8ecb
diff -r 077cbce2bd10 -r 81c0432cb506 mbed-client.lib
--- a/mbed-client.lib	Thu Feb 02 08:30:11 2017 +0000
+++ b/mbed-client.lib	Thu Feb 02 19:46:23 2017 +0000
@@ -1,2 +1,1 @@
 https://github.com/ARMmbed/mbed-client/#d41459d8b514d72d525e761fb4e34031e09f76e7
-
diff -r 077cbce2bd10 -r 81c0432cb506 mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Thu Feb 02 19:46:23 2017 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/ad3be0349dc5
\ No newline at end of file
diff -r 077cbce2bd10 -r 81c0432cb506 mbed_app.json
--- a/mbed_app.json	Thu Feb 02 08:30:11 2017 +0000
+++ b/mbed_app.json	Thu Feb 02 19:46:23 2017 +0000
@@ -25,7 +25,9 @@
             "value": "D0"
         }
     },
-    "macros": ["MBEDTLS_USER_CONFIG_FILE=\"mbedtls_mbed_client_config.h\""],
+    "macros": ["MBEDTLS_USER_CONFIG_FILE=\"mbedtls_mbed_client_config.h\"",
+    	"MBEDTLS_NO_DEFAULT_ENTROPY_SOURCES",
+            "MBEDTLS_TEST_NULL_ENTROPY"],
     "target_overrides": {
         "*": {
             "target.features_add": ["NANOSTACK", "LOWPAN_ROUTER", "COMMON_PAL"],
diff -r 077cbce2bd10 -r 81c0432cb506 security.h
--- a/security.h	Thu Feb 02 08:30:11 2017 +0000
+++ b/security.h	Thu Feb 02 19:46:23 2017 +0000
@@ -18,18 +18,38 @@
  
 #include <inttypes.h>
  
-#define MBED_DOMAIN "DOMAIN"
-#define MBED_ENDPOINT_NAME "ENDPOINT_NAME"
+#define MBED_DOMAIN "3b01e485-d6f1-4625-9700-5e454ba81dd9"
+#define MBED_ENDPOINT_NAME "92408674-ed2d-4b3b-942e-bdd633c86890"
  
 const uint8_t SERVER_CERT[] = "-----BEGIN CERTIFICATE-----\r\n"
+"MIIBmDCCAT6gAwIBAgIEVUCA0jAKBggqhkjOPQQDAjBLMQswCQYDVQQGEwJGSTEN\r\n"
+"MAsGA1UEBwwET3VsdTEMMAoGA1UECgwDQVJNMQwwCgYDVQQLDANJb1QxETAPBgNV\r\n"
+"BAMMCEFSTSBtYmVkMB4XDTE1MDQyOTA2NTc0OFoXDTE4MDQyOTA2NTc0OFowSzEL\r\n"
+"MAkGA1UEBhMCRkkxDTALBgNVBAcMBE91bHUxDDAKBgNVBAoMA0FSTTEMMAoGA1UE\r\n"
+"CwwDSW9UMREwDwYDVQQDDAhBUk0gbWJlZDBZMBMGByqGSM49AgEGCCqGSM49AwEH\r\n"
+"A0IABLuAyLSk0mA3awgFR5mw2RHth47tRUO44q/RdzFZnLsAsd18Esxd5LCpcT9w\r\n"
+"0tvNfBv4xJxGw0wcYrPDDb8/rjujEDAOMAwGA1UdEwQFMAMBAf8wCgYIKoZIzj0E\r\n"
+"AwIDSAAwRQIhAPAonEAkwixlJiyYRQQWpXtkMZax+VlEiS201BG0PpAzAiBh2RsD\r\n"
+"NxLKWwf4O7D6JasGBYf9+ZLwl0iaRjTjytO+Kw==\r\n"
 "-----END CERTIFICATE-----\r\n";
  
 const uint8_t CERT[] = "-----BEGIN CERTIFICATE-----\r\n"
+"MIIBzjCCAXOgAwIBAgIEGJN1vjAMBggqhkjOPQQDAgUAMDkxCzAJBgNVBAYTAkZ\r\n"
+"JMQwwCgYDVQQKDANBUk0xHDAaBgNVBAMME21iZWQtY29ubmVjdG9yLTIwMTgwHh\r\n"
+"cNMTcwMjAyMTg1MzAxWhcNMTgxMjMxMDYwMDAwWjCBoTFSMFAGA1UEAxNJM2IwM\r\n"
+"WU0ODUtZDZmMS00NjI1LTk3MDAtNWU0NTRiYTgxZGQ5LzkyNDA4Njc0LWVkMmQt\r\n"
+"NGIzYi05NDJlLWJkZDYzM2M4Njg5MDEMMAoGA1UECxMDQVJNMRIwEAYDVQQKEwl\r\n"
+"tYmVkIHVzZXIxDTALBgNVBAcTBE91bHUxDTALBgNVBAgTBE91bHUxCzAJBgNVBA\r\n"
+"YTAkZJMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEgJKuN08o04EiGrew37KHQ\r\n"
+"EarYFIxtzPU523MI3v08Gxgh36oVMIifH9nbiKzcA6iLFtNcb5TmZfYiER69jji\r\n"
+"tjAMBggqhkjOPQQDAgUAA0cAMEQCIENhxO+v+7951qZ+en1ntpzd/y6Z5cQ2xa9\r\n"
+"RwzSG5qqQAiAhea0erNUoKo4LjEkfmZlxRMuw5eQEBrNIAzsh3O0i8w==\r\n"
 "-----END CERTIFICATE-----\r\n";
  
 const uint8_t KEY[] = "-----BEGIN PRIVATE KEY-----\r\n"
+"MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQg0YyX2hgifR1lpY6N\r\n"
+"m6brt/cKTECqFynQKvBVw2g3VsKhRANCAASAkq43TyjTgSIat7DfsodARqtgUjG3\r\n"
+"M9Tnbcwje/TwbGCHfqhUwiJ8f2duIrNwDqIsW01xvlOZl9iIRHr2OOK2\r\n"
 "-----END PRIVATE KEY-----\r\n";
  
-#endif //__SECURITY_H__
- 
-#error "You need to get security.h credentials from connector.mbed.com and replace the content of this security.h file"
+#endif //__SECURITY_H__
\ No newline at end of file