TODO: REPLACE

from enum meshtastic.HardwareMessage.Type

Enumeration Members

GPIOS_CHANGED

The gpios listed in gpio_mask have changed, the new values are listed in gpio_value

from enum value: GPIOS_CHANGED = 3;

READ_GPIOS

Read the gpios specified in gpio_mask, send back a READ_GPIOS_REPLY reply with gpio_value populated

from enum value: READ_GPIOS = 4;

READ_GPIOS_REPLY

A reply to READ_GPIOS. gpio_mask and gpio_value will be populated

from enum value: READ_GPIOS_REPLY = 5;

UNSET

Unset/unused

from enum value: UNSET = 0;

WATCH_GPIOS

We are now interested in watching the gpio_mask gpios. If the selected gpios change, please broadcast GPIOS_CHANGED. Will implicitly change the gpios requested to be INPUT gpios.

from enum value: WATCH_GPIOS = 2;

WRITE_GPIOS

Set gpio gpios based on gpio_mask/gpio_value

from enum value: WRITE_GPIOS = 1;