ble-0.3.4.0: Bluetooth Low Energy (BLE) peripherals

Safe HaskellSafe
LanguageHaskell2010

Bluetooth.Internal.Lenses

Documentation

class HasPath s a | s -> a where Source #

Minimal complete definition

path

Methods

path :: Lens' s a Source #

Returns the ObjectPath of an entity.

class HasValue s a | s -> a where Source #

Minimal complete definition

value

Methods

value :: Lens' s a Source #

Returns the actual value of an entity that is wrapped in an

Instances

class HasOffset s a | s -> a where Source #

Minimal complete definition

offset

Methods

offset :: Lens' s a Source #

A Word16 data offset.

class HasProperties s a | s -> a where Source #

Minimal complete definition

properties

Methods

properties :: Lens' s a Source #

The properties of e.g. a characteristic.

class HasReadValue s a | s -> a where Source #

Minimal complete definition

readValue

Methods

readValue :: Lens' s a Source #

Access the handler for reading a value, if there is one.

Instances

class HasWriteValue s a | s -> a where Source #

Minimal complete definition

writeValue

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

class HasUuid s a | s -> a where Source #

Minimal complete definition

uuid

Methods

uuid :: Lens' s a Source #

The UUID of an entity

class HasCharacteristics s a | s -> a where Source #

Minimal complete definition

characteristics

Methods

characteristics :: Lens' s a Source #

An access for the list of characteristics.

class HasServices s a | s -> a where Source #

Minimal complete definition

services

Methods

services :: Lens' s a Source #

An access for the list of services.

class HasIncludeTxPower s a | s -> a where Source #

Minimal complete definition

includeTxPower

Methods

includeTxPower :: Lens' s a Source #

Accessor for indicating whether an Advertisement announces TX power (transmission power).

class HasManufacturerData s a | s -> a where Source #

Minimal complete definition

manufacturerData

Methods

manufacturerData :: Lens' s a Source #

Accessor for manufacting data.

class HasServiceData s a | s -> a where Source #

Minimal complete definition

serviceData

Methods

serviceData :: Lens' s a Source #

Accessor for manufacting data.

class HasServiceUUIDs s a | s -> a where Source #

Minimal complete definition

serviceUUIDs

Methods

serviceUUIDs :: Lens' s a Source #

Accessor for service UUIDs

class HasSolicitUUIDs s a | s -> a where Source #

Minimal complete definition

solicitUUIDs

Methods

solicitUUIDs :: Lens' s a Source #

Accessor for solicit UUIDs. These are UUIDs that an application or service expects to be available.

class HasType_ s a | s -> a where Source #

Minimal complete definition

type_

Methods

type_ :: Lens' s a Source #