Class: Flic::Protocol::Primitives::LatencyMode

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

Overview

This specifies the accepted latency mode for the corresponding connection channel. The physical bluetooth connection will use the lowest mode set by any connection channel. The battery usage for the Flic button is normally about the same for all modes if the connection is stable. However lower modes will have higher battery usage if the connection is unstable. Lower modes also consumes more power for the client, which is normally not a problem since most computers run on wall power or have large batteries.

:normal

Up to 100 ms latency.

:low

Up to 17.5 ms latency.

:high

Up to 275 ms latency.

Method Summary

Methods inherited from Enum

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