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
Diff: netdevices.h
- Revision:
- 13:4d533751f951
- Parent:
- 12:4bb088c27838
- Child:
- 14:3d437acb92e3
--- a/netdevices.h Mon Oct 07 12:44:38 2019 +0000 +++ b/netdevices.h Mon Oct 07 17:32:01 2019 +0000 @@ -54,32 +54,23 @@ TCPSocket srv_sock; unsigned int cltPort; char* srv_addr; - + /* unsigned int fmTimeoutCount; - unsigned int serTimeoutCount; + unsigned int serTimeoutCount;*/ unsigned int sendState; - //volatile unsigned int statusReg; - - unsigned int deivceType; - unsigned int serMsgTimeout; - + /* char devMsgReq; char devMsgPos; + */ unsigned int sendRetryCount; unsigned int messageFailCount; + /* unsigned int txMessageCount; - unsigned int rxMessageCount; - unsigned int deviceConfig; - - unsigned int fmpolltimer; - unsigned int fmdpolltimer; - unsigned int fmcfgpolltimer; - unsigned int fmtimeout; - + unsigned int rxMessageCount;*/ char sendString[256]; char sendLen;