RemoteHardwarePin: Message<"meshtastic.RemoteHardwarePin"> & {
    gpioPin: number;
    name: string;
    type: RemoteHardwarePinType;
}

A GPIO pin definition for remote hardware module

Type declaration

  • gpioPin: number

    GPIO Pin number (must match Arduino)

    from field: uint32 gpio_pin = 1;

  • name: string

    Name for the GPIO pin (i.e. Front gate, mailbox, etc)

    from field: string name = 2;

  • type: RemoteHardwarePinType

    Type of GPIO access available to consumers on the mesh

    from field: meshtastic.RemoteHardwarePinType type = 3;

from message meshtastic.RemoteHardwarePin