Options
All
  • Public
  • Public/Protected
  • All
Menu

radiod-ts

Index

Type aliases

CmdWifiWhiteListParam: string[]

List of BSSIDs in form "XX:XX:XX:XX:XX:XX".

Functions

  • NatsCmdSubject(name: string, platform?: Platform): string
  • NatsConfigGetSubject(name: string): string
  • Generates the nats subject for:

    acu.NAME.radiod.config

    Request the current configuration for the vehicle NAME

    Parameters

    • name: string

      Vehicle name

    Returns string

    Nats subject

  • NatsConfigSetDefaultSubject(name: string): string
  • Generates the nats subject for:

    acu.NAME.radiod.config.set.default

    Reset the configuration to the default value for the vehicle NAME

    Parameters

    • name: string

      Vehicle name

    Returns string

    Nats subject

  • NatsConfigSetSubject(name: string): string
  • Generates the nats subject for:

    acu.NAME.radiod.config.set

    Set a new configuration for the vehicle NAME

    Parameters

    • name: string

      Vehicle name

    Returns string

    Nats subject

  • NatsGetSubject(name: string, platform?: Platform): string
  • NatsHeartbeatSubject(name: string): string
  • Generates the nats subject for:

    acu.NAME.radiod.heartbeat

    Listen to heartbeat messages

    Expected to yield 1 heartbeat message / second

    Parameters

    • name: string

      Vehicle name

    Returns string

    Nats subject

  • NatsKeyAddSubject(name: string, platform?: Platform): string
  • Generates the nats subject for:

    PLATFORM.NAME.radiod.key.add

    Add private or public key to vehicle Name

    Parameters

    • name: string

      Vehicle name

    • platform: Platform = Platform.ACU

    Returns string

    Nats subject

  • NatsKeyListSubject(name: string, platform?: Platform): string
  • NatsKeyRemoveSubject(name: string, platform?: Platform): string
  • Generates the nats subject for:

    PLATFORM.NAME.radiod.key.remove

    Remove private or public key from vehicle Name

    Parameters

    • name: string

      Vehicle name

    • platform: Platform = Platform.ACU

    Returns string

    Nats subject

  • NatsMetricSubject(name: string, topic: MetricTopic, metric: string, platform?: Platform): string
  • NatsPartSubject(name: string, platform?: Platform): string
  • Generates the nats subject for:

    PLATFORM.NAME.radiod.part

    Get Radiod part info. Make an empty request to this endpoint to get the response.

    Parameters

    • name: string

      Vehicle name

    • platform: Platform = Platform.ACU

    Returns string

    Nats subject

Generated using TypeDoc