farmbot v6.0.1-alpha Farmbot.Firmware.UartHandler.AutoDetector View Source

Init module for configuring a UART handler. Here’s what it does:

  • Enumerates Serial devices
  • Scrubs devices that should be ignored.
  • If there is ONE device:

    • Configures Farmbot.Behaviour.FirmwareHandler -> UartHandler
    • Configures the device to be used.
  • If there are zero or more than one device:

    • Configures Farmbot.Behaviour.FirmwareHandler -> StubHandler

Link to this section Summary

Functions

Autodetect relevent UART Devs

Link to this section Functions

Autodetect relevent UART Devs.