v3 Solution

Dependencies:   EthernetInterface QEI_hw QEIx4 mbed-rtos mbed realtimeMMLib

MMini.h

Committer:
GTNicholson
Date:
23 months ago
Revision:
5:4499a802a7a3
Parent:
0:70c9f7c6844b

File content as of revision 5:4499a802a7a3:

#include <string> 
using namespace std;

struct iniSensor
{
    char ID[32];
    char SensorType[32];
    char Enabled[32];
    char SampleTime[32];
    char DataSampleQty[32];
    char Pins[32];
    char SensorOptions[32];

};

struct iniServer {
    char IPAddress[32];
    char Port[32];
};

struct iniStation
{
    char ID[32];
    char Name[32];
    char ComsType[32];
    char IPAddress[32];
    char NetworkMask[32];
    char DefaultGateway[32];
    char DataSendTime[32];
};

class iniFile
{
public:
    iniFile();

    iniStation Station;

    iniServer Server;

    iniSensor Sensor1;
    iniSensor Sensor2;
    iniSensor Sensor3;
    iniSensor Sensor4;
    iniSensor Sensor5;
    iniSensor Sensor6;
    iniSensor Sensor7;
    iniSensor Sensor8;
    iniSensor Sensor9;
    iniSensor Sensor10;

};