Class: Flic::Protocol::Primitives::DisconnectReason

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

Overview

:unspecified

Unknown reason

:connection_establishment_failed

The bluetooth controller established a connection, but the Flic button didn’t answer in time.

:timed_out

The connection to the Flic button was lost due to either being out of range or some radio communication problems.

:bonding_keys_mismatch

The server and the Flic button for some reason don’t agree on the previously established bonding keys.

Method Summary

Methods inherited from Enum

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