Plymouth ELEC351 Group T / Mbed OS ELEC351_Group_T

Fork of ELEC351 by Plymouth ELEC351 Group T

Revision:
36:a0098306fc58
Parent:
35:26b0a9b55d82
Child:
37:7c4d7f206039
diff -r 26b0a9b55d82 -r a0098306fc58 NETWORK.hpp
--- a/NETWORK.hpp	Sun Jan 07 13:32:54 2018 +0000
+++ b/NETWORK.hpp	Sun Jan 07 16:17:24 2018 +0000
@@ -12,6 +12,8 @@
 #include "TCPSocket.h"
 #include <iostream>
 #include <string> 
+#include "TIME.hpp"
+
 
 #define HTTP_STATUS_LINE "HTTP/1.0 200 OK"
 #define HTTP_HEADER_FIELDS "Content-Type: text/html; charset=utf-8"
@@ -19,8 +21,8 @@
 "<html>" "\r\n"                                                  \
 "  <body style=\"display:flex;text-align:center\">" "\r\n"       \
 "    <div style=\"margin:auto\">" "\r\n"                         \
-"      <h1>Hello World</h1>" "\r\n"                              \
-"      <p>The LDR value is "                                     
+"      <h1>Data</h1>" "\r\n"                              \
+"      <p>The Date is "                                     
 
 #define HTTP_MESSAGE_BODY2 ""                                    \
        "</p>" "\r\n"                                             \
@@ -39,6 +41,6 @@
 
 
 void Network_Init();
-void Networking();
+void Networking(int network_day, int network_month, int network_year, int network_hours, int network_minute, float network_temperature, float network_pressure, float network_light);
 
 #endif
\ No newline at end of file