Pixels Plugin for Unity
Enable communications with Pixels dice using Bluetooth Low Energy.
Loading...
Searching...
No Matches
Package com.systemic.bluetoothle

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...
 

Detailed Description

An Android Java package that provides a simplified access to Bluetooth Low Energy peripherals.

Note
Some knowledge with Bluetooth Low Energy semantics is recommended for reading this documentation.

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.

Classes diagram