Pixels Plugin for Unity
Enable communications with Pixels dice using Bluetooth Low Energy.
|
Classes | |
class | BleUuid |
Helper class for Bluetooth UUIDs. More... | |
struct | ManufacturerData |
Represents the manufacturer data of an advertisement packet. More... | |
class | NativeInterface |
A static class that abstracts each platform specific BLE support and offers a unified interface to the Unity programmer. More... | |
struct | NativePeripheralHandle |
Opaque and read only class storing the native peripheral handle as used by the platform specific INativeInterfaceImpl implementation. More... | |
class | RequestEnumerator |
Enumerator handling a request to a BLE peripheral. Instances are meant to be run as coroutines. More... | |
class | ScannedPeripheral |
The advertisement data of a peripheral received during a BLE scan. More... | |
struct | ServiceData |
Represents the service data of an advertisement packet. More... | |
class | ValueRequestEnumerator |
Enumerator handling a request for reading a value from a BLE peripheral. Instances are meant to be run as coroutines. More... | |
Functions | |
delegate void | NativeBluetoothCallback (BluetoothStatus status) |
Delegate for Bluetooth radio status event. | |
delegate void | NativeConnectionEventCallback (ConnectionEvent connectionEvent, ConnectionEventReason reason) |
Delegate for BLE peripheral connection event, with the reason. | |
delegate void | NativeRequestResultCallback (RequestStatus result) |
Delegate for BLE peripheral requests result. | |
delegate void | NativeValueRequestResultCallback< T > (T value, RequestStatus status) |
Delegate for returning a value and a status. | |
Bluetooth radio status.
enum Systemic.Unity.BluetoothLE.CharacteristicProperties : ulong |
Standard BLE values for characteristic properties.
Peripheral connection events.
Matches C++ enum Systemic::BluetoothLE::ConnectionEvent and Objective-C SGBleConnectionEvent.
Peripheral connection event reasons.
Matches C++ enum Systemic::BluetoothLE::ConnectionEventReason and Objective-C SGBleConnectionEventReason.
List of asynchronous BLE operations handled though requests.
Peripheral requests statuses.
Matches C++ enum Systemic::BluetoothLE::BleRequestStatus.
delegate void Systemic.Unity.BluetoothLE.NativeBluetoothCallback | ( | BluetoothStatus | status | ) |
Delegate for Bluetooth radio status event.
status | The new status. |
delegate void Systemic.Unity.BluetoothLE.NativeConnectionEventCallback | ( | ConnectionEvent | connectionEvent, |
ConnectionEventReason | reason | ||
) |
Delegate for BLE peripheral connection event, with the reason.
connectionEvent | The peripheral event. |
reason | The reason of the event. |
delegate void Systemic.Unity.BluetoothLE.NativeRequestResultCallback | ( | RequestStatus | result | ) |
Delegate for BLE peripheral requests result.
result | The request status. |
delegate void Systemic.Unity.BluetoothLE.NativeValueRequestResultCallback< T > | ( | T | value, |
RequestStatus | status | ||
) |
Delegate for returning a value and a status.
T | The type of the returned value. |
value | The returned value. |
result | The request status. |