Pixels Plugin for Unity
Enable communications with Pixels dice using Bluetooth Low Energy.
|
An Android Java package that provides a simplified access to Bluetooth Low Energy peripherals. More...
Classes | |
class | BluetoothState |
Static class that notifies off Bluetooth adapter state changes. More... | |
class | Peripheral |
Represents a Bluetooth Low Energy (BLE) peripheral. More... | |
class | Scanner |
Static class with methods for running a Bluetooth Low Energy (BLE) scan. More... | |
An Android Java package that provides a simplified access to Bluetooth Low Energy peripherals.
The Scanner class is used for discovering available Bluetooth peripherals. The latter are identified by an Android BluetoothDevice object. The BluetoothLeScannerCompat class from Nordic is used to perform the scanning.
The Peripheral class allows for connecting to Bluetooth Low Energy peripherals and perform operations with them. Most of those operations are asynchronous and queued using Nordic's BleManager class from their Android-BLE-Library package.