NetworkSocketAPI / Mbed 2 deprecated LWIPInterfaceTests

Dependencies:   LWIPInterface NSAPITests NetworkSocketAPI mbed-rtos mbed

Files at this revision

API Documentation at this revision

Comitter:
bridadan
Date:
Thu Mar 03 19:14:11 2016 +0000
Child:
1:1f41e5d47771
Commit message:
Initial commit

Changed in this revision

LWIPInterface.lib Show annotated file Show diff for this revision Revisions of this file
NSAPITests.lib Show annotated file Show diff for this revision Revisions of this file
NetworkSocketAPI.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
mbed.bld Show annotated file Show diff for this revision Revisions of this file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/LWIPInterface.lib	Thu Mar 03 19:14:11 2016 +0000
@@ -0,0 +1,1 @@
+http://developer.mbed.org/teams/NetworkSocketAPI/code/LWIPInterface/#2c7d2186543c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/NSAPITests.lib	Thu Mar 03 19:14:11 2016 +0000
@@ -0,0 +1,1 @@
+http://developer.mbed.org/teams/NetworkSocketAPI/code/NSAPITests/#d847da0dbf4f
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/NetworkSocketAPI.lib	Thu Mar 03 19:14:11 2016 +0000
@@ -0,0 +1,1 @@
+http://developer.mbed.org/teams/NetworkSocketAPI/code/NetworkSocketAPI/#168d22423ed0
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Thu Mar 03 19:14:11 2016 +0000
@@ -0,0 +1,35 @@
+/* NetworkSocketAPI Example Program
+ * Copyright (c) 2015 ARM Limited
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "mbed.h"
+#include "LWIPInterface.h"
+#include "NSAPITests.h"
+ 
+LWIPInterface iface;
+ 
+int main()
+{
+    int32_t result = iface.connect();
+    
+    if (result) {
+        printf("Interface failed to connect with code %d\r\n", result);    
+    } else {
+        nsapi_tests("BSDInterface Tests", &iface, "0.0.0.0", 4000);
+        iface.disconnect();
+    }
+    while(1) {   
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed-rtos.lib	Thu Mar 03 19:14:11 2016 +0000
@@ -0,0 +1,1 @@
+http://developer.mbed.org/users/mbed_official/code/mbed-rtos/#dfc27975e193
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Thu Mar 03 19:14:11 2016 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/87f2f5183dfb
\ No newline at end of file