nova verzija tcp+udp->serial com

Committer:
bosko001
Date:
Sun Apr 12 17:59:57 2020 +0000
Revision:
5:c9a908749d4c
Parent:
dataFlash.h@4:7abcf4543282
Child:
7:7ea932eb31f6
12.04.2020; napravljena class C_HTMLparse; treba napraviti obradu POST upita

Who changed what in which revision?

UserRevisionLine numberNew contents of line
bosko001 3:1196befeace0 1 #ifndef dataFlash_h
bosko001 3:1196befeace0 2 #define dataFlash_h
bosko001 3:1196befeace0 3
bosko001 3:1196befeace0 4 #include "EthernetSetup.h"
bosko001 5:c9a908749d4c 5 #include "doHTML.h"
bosko001 3:1196befeace0 6
bosko001 3:1196befeace0 7 struct S_FlashData
bosko001 3:1196befeace0 8 {
bosko001 3:1196befeace0 9 struct S_EthernetAddress s_EthAdd;
bosko001 3:1196befeace0 10 char serverPortUdp[6];
bosko001 3:1196befeace0 11 char serverPortTcp[6];
bosko001 3:1196befeace0 12 struct S_EthernetAddress_Remote s_EthAddRemUdp[3];
bosko001 3:1196befeace0 13 // struct S_EthernetAddress_RangeRemote s_EthAddRangeRemUDP;
bosko001 3:1196befeace0 14 struct S_EthernetAddress_Remote s_EthAddRemTcp[3];
bosko001 3:1196befeace0 15 // struct S_EthernetAddress_RangeRemote s_EthAddRangeRemTcp;
bosko001 3:1196befeace0 16 int baudRate, parity, dataBits, stopBits;
bosko001 3:1196befeace0 17 };
bosko001 3:1196befeace0 18
bosko001 3:1196befeace0 19 union U_FlashData
bosko001 3:1196befeace0 20 {
bosko001 3:1196befeace0 21 struct S_FlashData s_flashData;
bosko001 3:1196befeace0 22 char data[sizeof( struct S_FlashData )];
bosko001 3:1196befeace0 23 };
bosko001 3:1196befeace0 24
bosko001 3:1196befeace0 25
bosko001 3:1196befeace0 26
bosko001 3:1196befeace0 27 void progDataIntoFlash( struct S_FlashData *ps_fd );
bosko001 3:1196befeace0 28
bosko001 3:1196befeace0 29 void readDataFromFlash( struct S_FlashData *ps_fd );
bosko001 3:1196befeace0 30
bosko001 3:1196befeace0 31 void fillDataIntoFlash( void );
bosko001 3:1196befeace0 32
bosko001 3:1196befeace0 33 void refreshDataFromFlash( void );
bosko001 3:1196befeace0 34
bosko001 3:1196befeace0 35
bosko001 3:1196befeace0 36 void init_FlashData( void );
bosko001 3:1196befeace0 37
bosko001 3:1196befeace0 38 void deinit_FlashData( void );
bosko001 3:1196befeace0 39
bosko001 3:1196befeace0 40 void showFlashData( void );
bosko001 3:1196befeace0 41
bosko001 5:c9a908749d4c 42
bosko001 5:c9a908749d4c 43
bosko001 5:c9a908749d4c 44 void putHTMLintoFLASH( C_HTMLparse * );
bosko001 5:c9a908749d4c 45 void putFLASHintoHTML( C_HTMLparse * );
bosko001 5:c9a908749d4c 46
bosko001 5:c9a908749d4c 47
bosko001 5:c9a908749d4c 48
bosko001 5:c9a908749d4c 49
bosko001 3:1196befeace0 50 #endif