The WiFi enabled version of pelion-example-common. Later, this may be merged to pelion-example-common.

Files at this revision

API Documentation at this revision

Comitter:
Andrew Chong
Date:
Fri Jan 25 16:32:31 2019 +0900
Parent:
3:9bdf8c9bf22d
Commit message:
Updated the config for ESP8266 WiFi shield, SDT3976C, enablement.
https://os.mbed.com/components/SDT3976C/
Make sure to edit the WiFi SSID and password.

Changed in this revision

mbed_app.json Show annotated file Show diff for this revision Revisions of this file
diff -r 9bdf8c9bf22d -r d29ff0838db9 mbed_app.json
--- a/mbed_app.json	Fri Jan 25 10:59:23 2019 +0900
+++ b/mbed_app.json	Fri Jan 25 16:32:31 2019 +0900
@@ -16,7 +16,13 @@
             "update-client.storage-address"     : "(1024*1024*64)",
             "update-client.storage-size"        : "(1024*1024*2)",
             "update-client.storage-locations": "1",
-            "mbed-trace.enable": null
+            "mbed-trace.enable": null,
+            "platform.stdio-buffered-serial"    : true,
+            "mbed-client.event-loop-size"       : 1024,
+            "nanostack-hal.event_loop_thread_stack_size": 8192,
+            "nsapi.default-wifi-security"       : "WPA_WPA2",
+            "nsapi.default-wifi-ssid"           : "\"\"",
+            "nsapi.default-wifi-password"       : "\"\""
         },
         "SDT64B": {
             "target.features_add"               : ["BOOTLOADER"],
@@ -30,7 +36,17 @@
             "sd.SPI_MOSI"                       : "PTB16",
             "sd.SPI_MISO"                       : "PTB17",
             "sd.SPI_CLK"                        : "PTB11",
-            "sd.SPI_CS"                         : "PTB10"
+            "sd.SPI_CS"                         : "PTB10",
+            "target.network-default-interface-type" : "WIFI",
+            "drivers.uart-serial-rxbuf-size"        : 1024,
+            "drivers.uart-serial-txbuf-size"        : 1024,
+            "events.shared-stacksize"               : 2048,
+            "esp8266.rx"                            : "PTC16",
+            "esp8266.tx"                            : "PTC17",
+            "esp8266.rst"                           : "NC",
+            "esp8266.rts"                           : "NC",
+            "esp8266.cts"                           : "NC",
+            "esp8266.provide-default"               : true
         }
     },
     "config": {