Safe Haskell | None |
---|---|
Language | Haskell2010 |
- (</>) :: Text -> Text -> Text
- parentPath :: Text -> Text
- data UUID = UUID UUID
- baseUUID :: String
- data Any where
- MkAny :: forall a. Representable a => a -> Any
- data WithObjectPath a = WOP {}
- class HasPath s a | s -> a where
- class HasValue s a | s -> a where
- type AnyDBusDict = TypeDict TypeString TypeVariant
- data Descriptor = Descriptor {}
- data AdvertisingPacketType
- data CharacteristicProperty
- chrPropPairs :: [(CharacteristicProperty, Text)]
- data CharacteristicOptions = CharacteristicOptions {}
- class HasOffset s a | s -> a where
- type CharacteristicBS = Characteristic ByteString
- data Characteristic typ = Characteristic {}
- class HasNotifying s a | s -> a where
- class HasProperties s a | s -> a where
- class HasReadValue s a | s -> a where
- class HasUuid s a | s -> a where
- class HasWriteValue s a | s -> a where
- characteristicObjectPath :: ObjectPath -> Int -> ObjectPath
- data Service = Service {}
- class HasCharacteristics s a | s -> a where
- data Application = Application {}
- class HasServices s a | s -> a where
- serviceObjectPath :: ObjectPath -> Int -> ObjectPath
- data AdvertisementType
- data Advertisement = Advertisement {}
- class HasIncludeTxPower s a | s -> a where
- class HasManufacturerData s a | s -> a where
- class HasServiceData s a | s -> a where
- class HasServiceUUIDs s a | s -> a where
- class HasSolicitUUIDs s a | s -> a where
- class HasType_ s a | s -> a where
- data Connection = Connection {
- dbusConn :: DBusConnection
- addObject :: ObjectPath -> Object -> IO ()
- connect :: IO Connection
- newtype BluetoothM a = BluetoothM (ReaderT Connection (ExceptT MethodError IO) a)
- runBluetoothM :: BluetoothM a -> Connection -> IO (Either MethodError a)
- toBluetoothM :: (Connection -> IO (Either MethodError a)) -> BluetoothM a
Documentation
parentPath :: Text -> Text Source #
UUID
UUIDs, used for services and characteristics.
Unofficial UUIDs will have 128-bits, and will look this:
d45e83fb-c772-459e-91a8-43cbf1443af4
Official UUIDs will have either 32 or 16 bits.
See ITU-T Rec. X.677 for more information on the format and generation of these UUIDs. You can use the Online UUID Generator to generate UUIDs.
Eq UUID Source # | |
Ord UUID Source # | |
Show UUID Source # | |
IsString UUID Source # | |
Generic UUID Source # | |
Representable UUID Source # | |
Random UUID Source # | |
HasUuid Service UUID Source # | |
HasSolicitUUIDs Advertisement [UUID] Source # | |
HasServiceUUIDs Advertisement [UUID] Source # | |
HasServiceData Advertisement (Map UUID ByteString) Source # | |
HasUuid (Characteristic typ0) UUID Source # | |
type Rep UUID Source # | |
type RepType UUID Source # | |
Any
A Haskell existential type corresponding to DBus' Variant
.
MkAny :: forall a. Representable a => a -> Any |
data WithObjectPath a Source #