ble-0.3.4.0: Bluetooth Low Energy (BLE) peripherals

Safe HaskellNone
LanguageHaskell2010

Bluetooth.Internal.DBus

Contents

Synopsis

Documentation

registerAndAdvertiseApplication :: Application -> BluetoothM ApplicationRegistered Source #

Registers an application and advertises it. If you would like to have finer-grained control of the advertisement, use registerApplication and advertise.

registerApplication :: Application -> BluetoothM ApplicationRegistered Source #

Registers an application (set of services) with Bluez.

addAllObjs :: Connection -> Application -> BluetoothM () Source #

Adds handlers for all the objects managed by the Application (plus the Application itself).

advertise :: WithObjectPath Advertisement -> BluetoothM () Source #

Advertise a set of services.

unadvertise :: WithObjectPath Advertisement -> BluetoothM () Source #

Unregister an adverstisement.

advertisementFor :: Application -> WithObjectPath Advertisement Source #

Create an advertisement for all of an application's services. The advertisement will be for peripheral (not broadcast) by default.

triggerNotification :: ApplicationRegistered -> CharacteristicBS -> BluetoothM () Source #

Triggers notifications or indications.

Constants