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

nettime.cpp

Committer:
masterkookus
Date:
2019-10-07
Revision:
12:4bb088c27838
Parent:
3:ac1f2af8bd0f

File content as of revision 12:4bb088c27838:

#include "nettime.h"

static volatile bool polltickflag = false;
static volatile bool sendtickflag = false;

bool getPollTick(void)
{
    return polltickflag;
}

void setPollTick(bool tickval)
{
    polltickflag = tickval;
}

bool getSendTick(void)
{
    return sendtickflag;
}

void setSendTick(bool tickval)
{
    sendtickflag = tickval;
}