Expand description
Modules§
- ble
- Calling the Android BLE APIs.
- bluetooth
- The Android BLE APIs, reached through JNI.
- dex
- A DEX writer, for classes that do not exist until we make them.
- jni
- JNI, spoken directly.
- l2cap
- L2CAP channels over
BluetoothSocket. - peripheral_
backend - The Android peripheral engine:
BluetoothGattServerandBluetoothLeAdvertiser. - runtime
- Turning a generated DEX into a live class.
Constants§
- PACKAGE
- The package the generated classes live in.
Functions§
- advertise_
callback_ dex AdvertiseCallback— advertising.- dex_
classes - Every callback class this crate synthesises, as
(name, dex). - gatt_
callback_ dex BluetoothGattCallback— the GATT client.- gatt_
server_ callback_ dex BluetoothGattServerCallback— the peripheral role.- scan_
callback_ dex ScanCallback— LE discovery.