nova proba

Revision:
7:7ea932eb31f6
Parent:
5:c9a908749d4c
Child:
8:c0f54b381346
diff -r 5cf50f29a81f -r 7ea932eb31f6 DataFlash/dataFlash.h
--- a/DataFlash/dataFlash.h	Tue Apr 14 13:32:02 2020 +0000
+++ b/DataFlash/dataFlash.h	Sat Apr 18 22:32:13 2020 +0000
@@ -4,18 +4,36 @@
 #include "EthernetSetup.h"
 #include "doHTML.h"
 
+//struct S_FlashData
+//{
+//    struct S_EthernetAddress s_EthAdd;
+//    char serverPortUdp[6];
+//    char serverPortTcp[6];
+//    struct S_EthernetAddress_Remote s_EthAddRemUdp[3];
+////    struct S_EthernetAddress_RangeRemote s_EthAddRangeRemUDP;
+//    struct S_EthernetAddress_Remote s_EthAddRemTcp[3];
+////    struct S_EthernetAddress_RangeRemote s_EthAddRangeRemTcp;
+//    char baud_rate[7], parity[6], data_bits[2], stop_bits[4];
+//};
+
+
 struct S_FlashData
 {
-    struct S_EthernetAddress s_EthAdd;
-    char serverPortUdp[6];
-    char serverPortTcp[6];
-    struct S_EthernetAddress_Remote s_EthAddRemUdp[3];
-//    struct S_EthernetAddress_RangeRemote s_EthAddRangeRemUDP;
-    struct S_EthernetAddress_Remote s_EthAddRemTcp[3];
-//    struct S_EthernetAddress_RangeRemote s_EthAddRangeRemTcp;
-    int baudRate, parity, dataBits, stopBits;
+    char myIP[16];
+    char myMask[16];
+    char myGate[16];
+    char myUdpPort[6];
+    char myTcpPort[6];
+    char UdpIP[5][16];
+    char UdpPort[4][6];
+    char TcpIP[5][16];
+    char TcpPort[4][6];
+    char baud_rate[7], parity[6], data_bits[2], stop_bits[4];
 };
 
+
+
+
 union U_FlashData
 {
     struct S_FlashData s_flashData;