Example program for the BSDInterface

Dependencies:   BSDInterface NetworkSocketAPI

Fork of HelloLWIPInterface by NetworkSocketAPI

Files at this revision

API Documentation at this revision

Comitter:
geky
Date:
Fri Feb 26 17:30:00 2016 +0000
Parent:
42:d8ea089e5606
Child:
44:d7c5a56450a1
Commit message:
Initial commit

Changed in this revision

ESP8266Interface.lib Show diff for this revision Revisions of this file
LWIPInterface.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed-rtos.lib Show annotated file Show diff for this revision Revisions of this file
--- a/ESP8266Interface.lib	Thu Feb 25 04:19:15 2016 -0600
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-https://developer.mbed.org/teams/NetworkSocketAPI/code/ESP8266Interface/#70f16502253b
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/LWIPInterface.lib	Fri Feb 26 17:30:00 2016 +0000
@@ -0,0 +1,1 @@
+LWIPInterface#3795160dfeac
--- a/main.cpp	Thu Feb 25 04:19:15 2016 -0600
+++ b/main.cpp	Fri Feb 26 17:30:00 2016 +0000
@@ -21,8 +21,8 @@
 DigitalOut myled(LED_GREEN);
 void flash(){ myled = !myled; }
 
-ESP8266Interface wifi(D1, D0);
-TCPSocket socket(&wifi);
+//LWIPInterface wifi(D1, D0);
+TCPSocket socket(0); // TODO
 
 int main()
 {
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed-rtos.lib	Fri Feb 26 17:30:00 2016 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed-rtos/#b4c5542476ba