| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
Bluetooth.Internal.Lenses
Documentation
class HasValue s a | s -> a where Source #
Minimal complete definition
Instances
| HasValue (WithObjectPath a0) a0 Source # | |
class HasReadValue s a | s -> a where Source #
Minimal complete definition
Instances
| HasReadValue (Characteristic typ0) (Maybe (Handler typ0)) Source # | |
class HasWriteValue s a | s -> a where Source #
Minimal complete definition
Methods
writeValue :: Lens' s a Source #
Access the handler for writing a value, if there is one. The handler
should return True if the value was successfully update.
Instances
| HasWriteValue (Characteristic typ0) (Maybe (typ0 -> Handler Bool)) Source # | |
class HasIncludeTxPower s a | s -> a where Source #
Minimal complete definition
Methods
includeTxPower :: Lens' s a Source #
Accessor for indicating whether an Advertisement announces TX power
(transmission power).
Instances
class HasSolicitUUIDs s a | s -> a where Source #
Minimal complete definition
Methods
solicitUUIDs :: Lens' s a Source #
Accessor for solicit UUIDs. These are UUIDs that an application or service expects to be available.
Instances