Minimalistischer Remote Procedure Call (RPC) HTTP Server V2

Dependencies:   EthernetInterface HttpServer OLEDDisplay mbed-rtos mbed

Fork of RPCHTTPServerSimple by smd.iotkit2.ch

Files at this revision

API Documentation at this revision

Comitter:
stefan1691
Date:
Sat Sep 10 07:01:44 2016 +0000
Parent:
13:b7380bc60ad2
Commit message:
Minimalistischer Remote Procedure Call (RPC) HTTP Server V2

Changed in this revision

EthernetInterface.lib Show annotated file Show diff for this revision Revisions of this file
OLEDDisplay.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/EthernetInterface.lib	Wed May 27 12:08:18 2015 +0000
+++ b/EthernetInterface.lib	Sat Sep 10 07:01:44 2016 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/mbed_official/code/EthernetInterface/#65b0d840274c
+http://mbed.org/users/mbed_official/code/EthernetInterface/#4d7bff17a592
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/OLEDDisplay.lib	Sat Sep 10 07:01:44 2016 +0000
@@ -0,0 +1,1 @@
+http://developer.mbed.org/teams/smdiotkitch/code/OLEDDisplay/#1dee22d82bd2
--- a/main.cpp	Wed May 27 12:08:18 2015 +0000
+++ b/main.cpp	Sat Sep 10 07:01:44 2016 +0000
@@ -1,19 +1,27 @@
-/** Minimalistischer Remote Procedure Call (RPC) HTTP Server
+/** Minimalistischer Remote Procedure Call (RPC) HTTP Server V2
 */
 #include "mbed.h"
 #include "rtos.h"
 #include "EthernetInterface.h"
 #include "HTTPServer.h"
 #include "mbed_rpc.h"
+#include "OLEDDisplay.h"
 
 EthernetInterface eth;
 
+OLEDDisplay oled;
+
 int main()
 {
+    // OLED Display
+    oled.clear();
+    oled.printf( "Sensoren Demo\r\n" );
+    
     printf("RPC HTTP Server\n");
     eth.init(); //Use DHCP
     eth.connect();
     printf("IP Address is %s\n\r", eth.getIPAddress());
+    oled.printf("IP Address is %s\n\r", eth.getIPAddress());
         
     // Klassen
     RPC::add_rpc_class<RpcDigitalOut>();
--- a/mbed-rtos.lib	Wed May 27 12:08:18 2015 +0000
+++ b/mbed-rtos.lib	Sat Sep 10 07:01:44 2016 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/mbed_official/code/mbed-rtos/#63988a2238f7
+http://mbed.org/users/mbed_official/code/mbed-rtos/#bdd541595fc5