Class: Flic::Protocol::Primitives::BluetoothControllerState

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

Overview

The server software detects when the bluetooth controller is removed or is made unavailable. It will then repeatedly retry to re-established a connection to the same bluetooth controller.

:detached

The server software has lost the HCI socket to the bluetooth controller and is trying to reconnect.

:resetting

The server software has just got connected to the HCI socket and initiated a reset of the bluetooth controller.

:attached

The bluetooth controller has done initialization and is up and running.

Method Summary

Methods inherited from Enum

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