• OctoMY API
  • OctoMY API Reference
  • C++ Classes
  • OctoMY
  • ChannelStatus
  • ChannelStatus Struct

    The actual state of one discovery channel: available, active, attempting. More...

    Header: #include <ChannelStatus>

    Detailed Description

    DiscoveryStatus keeps one ChannelStatus for each discovery channel and emits it when it changes. Next to the three flags, the struct holds the times of the last activity and the last attempt, in milliseconds since the epoch, the last error, and the reason the hardware is unavailable.

    Two values compare equal when the three flags are equal. The times and the texts do not count, so a new activity time alone is not a change.

    See also DiscoveryStatus and DiscoveryWidget.