Class: Flic::Protocol::Primitives::ConnectionStatus

Inherits:
Enum
  • Object
show all
Defined in:
lib/flic/protocol/primitives/connection_status.rb

Overview

:disconnected

Not currently an established connection, but will connect as soon as the button is pressed and it is in range as long as the connection channel hasn’t been removed (and unless maximum number of concurrent connections has been reached or the bluetooth controller has been detached).

:connected

The physical bluetooth connection has just been established and the server and the button are currently verifying each other. As soon as this is done, it will switch to the ready status.

:ready

The verification is done and button events may now arrive.

Method Summary

Methods inherited from Enum

#get, max_octet, next_available_octet, octet_option, octets, option_octet, options, #set