This demonstrates the process of communicating through ethernet to a SEL-2431 Voltage Regulator Control Panel using SEL Fast Message. Basic device commands and data cna be requested and displayed over a connected serial port. This is a basic version and full testing and documentation has yet to be completed.
Dependencies: BufferedSerial analogAverager voltageRegulator netStatReg analogMinMax CounterMinMax
netdevices.h
- Committer:
- masterkookus
- Date:
- 2019-10-11
- Revision:
- 15:9ad261a27883
- Parent:
- 14:3d437acb92e3
File content as of revision 15:9ad261a27883:
#ifndef MYNETDEVICES_H #define MYNETDEVICES_H #include "TCPServer.h" #include "TCPSocket.h" void confignetdevices(EthernetInterface *eth); struct netsys { TCPServer srv; TCPSocket clt_sock; SocketAddress clt_addr; unsigned int srvPort; TCPSocket srv_sock; unsigned int cltPort; char* srv_addr; unsigned int sendState; unsigned int serMsgTimeout; unsigned int sendRetryCount; unsigned int messageFailCount; char sendString[256]; char sendLen; }; #endif