├── .ghci ├── .gitignore ├── .travis.yml ├── CHANGELOG.yaml ├── LICENSE ├── README.md ├── Setup.hs ├── ble.cabal ├── cabal.project.local ├── examples ├── Auth.hs ├── HeartRate.hs ├── HeartRateClient.hs └── README.lhs ├── notes.txt ├── package.yaml ├── src ├── Bluetooth.hs └── Bluetooth │ └── Internal │ ├── DBus.hs │ ├── Device.hs │ ├── Errors.hs │ ├── HasInterface.hs │ ├── Interfaces.hs │ ├── Lenses.hs │ ├── Serialize.hs │ ├── Types.hs │ └── Utils.hs ├── stack-7.10.yaml ├── stack-8.0.yaml ├── stack.yaml └── test ├── Bluetooth └── TypesSpec.hs ├── BluetoothSpec.hs ├── Doctest.hs ├── Main.hs ├── Mock.hs ├── Mock ├── dbus-permissions.sh ├── requirements.txt └── start_mock.sh └── Spec.hs /.ghci: -------------------------------------------------------------------------------- 1 | :set -pgmL markdown-unlit 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plow-technologies/ble/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plow-technologies/ble/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGELOG.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plow-technologies/ble/HEAD/CHANGELOG.yaml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plow-technologies/ble/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plow-technologies/ble/HEAD/README.md -------------------------------------------------------------------------------- /Setup.hs: -------------------------------------------------------------------------------- 1 | import Distribution.Simple 2 | main = defaultMain 3 | -------------------------------------------------------------------------------- /ble.cabal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plow-technologies/ble/HEAD/ble.cabal -------------------------------------------------------------------------------- /cabal.project.local: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/Auth.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plow-technologies/ble/HEAD/examples/Auth.hs -------------------------------------------------------------------------------- /examples/HeartRate.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plow-technologies/ble/HEAD/examples/HeartRate.hs -------------------------------------------------------------------------------- /examples/HeartRateClient.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plow-technologies/ble/HEAD/examples/HeartRateClient.hs -------------------------------------------------------------------------------- /examples/README.lhs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plow-technologies/ble/HEAD/examples/README.lhs -------------------------------------------------------------------------------- /notes.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plow-technologies/ble/HEAD/notes.txt -------------------------------------------------------------------------------- /package.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plow-technologies/ble/HEAD/package.yaml -------------------------------------------------------------------------------- /src/Bluetooth.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plow-technologies/ble/HEAD/src/Bluetooth.hs -------------------------------------------------------------------------------- /src/Bluetooth/Internal/DBus.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plow-technologies/ble/HEAD/src/Bluetooth/Internal/DBus.hs -------------------------------------------------------------------------------- /src/Bluetooth/Internal/Device.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plow-technologies/ble/HEAD/src/Bluetooth/Internal/Device.hs -------------------------------------------------------------------------------- /src/Bluetooth/Internal/Errors.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plow-technologies/ble/HEAD/src/Bluetooth/Internal/Errors.hs -------------------------------------------------------------------------------- /src/Bluetooth/Internal/HasInterface.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plow-technologies/ble/HEAD/src/Bluetooth/Internal/HasInterface.hs -------------------------------------------------------------------------------- /src/Bluetooth/Internal/Interfaces.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plow-technologies/ble/HEAD/src/Bluetooth/Internal/Interfaces.hs -------------------------------------------------------------------------------- /src/Bluetooth/Internal/Lenses.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plow-technologies/ble/HEAD/src/Bluetooth/Internal/Lenses.hs -------------------------------------------------------------------------------- /src/Bluetooth/Internal/Serialize.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plow-technologies/ble/HEAD/src/Bluetooth/Internal/Serialize.hs -------------------------------------------------------------------------------- /src/Bluetooth/Internal/Types.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plow-technologies/ble/HEAD/src/Bluetooth/Internal/Types.hs -------------------------------------------------------------------------------- /src/Bluetooth/Internal/Utils.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plow-technologies/ble/HEAD/src/Bluetooth/Internal/Utils.hs -------------------------------------------------------------------------------- /stack-7.10.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plow-technologies/ble/HEAD/stack-7.10.yaml -------------------------------------------------------------------------------- /stack-8.0.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plow-technologies/ble/HEAD/stack-8.0.yaml -------------------------------------------------------------------------------- /stack.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plow-technologies/ble/HEAD/stack.yaml -------------------------------------------------------------------------------- /test/Bluetooth/TypesSpec.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plow-technologies/ble/HEAD/test/Bluetooth/TypesSpec.hs -------------------------------------------------------------------------------- /test/BluetoothSpec.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plow-technologies/ble/HEAD/test/BluetoothSpec.hs -------------------------------------------------------------------------------- /test/Doctest.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plow-technologies/ble/HEAD/test/Doctest.hs -------------------------------------------------------------------------------- /test/Main.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plow-technologies/ble/HEAD/test/Main.hs -------------------------------------------------------------------------------- /test/Mock.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plow-technologies/ble/HEAD/test/Mock.hs -------------------------------------------------------------------------------- /test/Mock/dbus-permissions.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plow-technologies/ble/HEAD/test/Mock/dbus-permissions.sh -------------------------------------------------------------------------------- /test/Mock/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plow-technologies/ble/HEAD/test/Mock/requirements.txt -------------------------------------------------------------------------------- /test/Mock/start_mock.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plow-technologies/ble/HEAD/test/Mock/start_mock.sh -------------------------------------------------------------------------------- /test/Spec.hs: -------------------------------------------------------------------------------- 1 | {-# OPTIONS_GHC -F -pgmF hspec-discover -optF --module-name=Spec #-} 2 | --------------------------------------------------------------------------------