packages feed

ble 0.1.2.0 → 0.1.3.0

raw patch · 4 files changed

+13/−3 lines, 4 files

Files

ble.cabal view
@@ -3,7 +3,7 @@ -- see: https://github.com/sol/hpack  name:           ble-version:        0.1.2.0+version:        0.1.3.0 synopsis:       Bluetooth Low Energy (BLE) peripherals description:    This package provides a Haskell API for writing Bluetooth Low Energy peripherals. stability:      alpha
package.yaml view
@@ -1,5 +1,5 @@ name:                ble-version:             0.1.2.0+version:             0.1.3.0 synopsis:            Bluetooth Low Energy (BLE) peripherals description:         >     This package provides a Haskell API for writing Bluetooth Low Energy
src/Bluetooth.hs view
@@ -68,6 +68,7 @@   , manufacturerData   , serviceData   , includeTxPower+  , connectionName    -- * Updating values with notification   , writeChrc
src/Bluetooth/Internal/Types.hs view
@@ -24,7 +24,7 @@                                DBusValue (..), MethodError, Object, ObjectPath,                                Representable (..), connectBus, objectPath,                                objectRoot)-import DBus.Types             (root)+import DBus.Types             (dBusConnectionName, root) import GHC.Generics           (Generic) import Lens.Micro import Lens.Micro.TH          (makeFields)@@ -380,6 +380,15 @@   -- Should it be possible to remove objects?   , addObject :: ObjectPath -> Object -> IO ()   }++-- | The unique DBus connection name, Useful for monitoring activity with+-- 'dbus-monitor'. For information on how to setup dbus-monitor for debugging,+-- see <https://wiki.ubuntu.com/DebuggingDBus DebuggingDBus>.+--+-- @since 0.1.3.0+connectionName :: Connection -> T.Text+connectionName = dBusConnectionName . dbusConn+  -- | Creates a connection to DBus. This does *not* represent Bluetooth -- connection.