A simple CIoT message protocol, used in the Water Meter Demos.

Embed: (wiki syntax)

« Back to documentation index

GpioStateTag_t Struct Reference

GpioStateTag_t Struct Reference

GpioState_t. Data concerning how a GPIO is set up. More...

#include <IotMeterMsgs.hpp>

Data Fields

uint8_t gpio
 The GPIO in question: 0 for D0, 1 for D1, etc.
bool inputNotOutput
 true if this is an input, else it is an output.
bool onNotOff
 If the GPIO is an output then this gives its state.

Detailed Description

GpioState_t. Data concerning how a GPIO is set up.

Definition at line 163 of file IotMeterMsgs.hpp.


Field Documentation

uint8_t gpio

The GPIO in question: 0 for D0, 1 for D1, etc.

Definition at line 165 of file IotMeterMsgs.hpp.

true if this is an input, else it is an output.

Definition at line 166 of file IotMeterMsgs.hpp.

bool onNotOff

If the GPIO is an output then this gives its state.

If the GPIO is an input this is not set.

Definition at line 167 of file IotMeterMsgs.hpp.