Function NatsIodTransitionSub

  • Generates the Iod low level transition subject:

    io.[sn].iod.transition.[chain].[module].[channel].[value]

    Subscribe to this NATS subject to be notified when state of I/O changes. No payload.

    Returns

    Nats subject.

    Parameters

    • sn: string

      Serial number of Toggle.

    • chain: IodChain | "*"
    • module: number | "*"
    • channel: number | "*"
    • value: 0 | 1 | "*"

      New state of the peripheral 0 | 1.

    Returns string

Generated using TypeDoc