Package com.codename1.bluetooth.gatt
package com.codename1.bluetooth.gatt
The client-side GATT model discovered on a remote peripheral:
GattService, GattCharacteristic (read/write/subscribe),
GattDescriptor, notification listeners and ATT status codes.
Instances are constructed by the active port during
BlePeripheral.discoverServices(); application code navigates the
model and issues operations, which route through the owning
peripheral's serialized operation queue.
-
ClassDescriptionA characteristic of a remote
GattService-- the unit of data exchange with a BLE peripheral.A descriptor of a remoteGattCharacteristic.Receives characteristic value changes (notifications and indications) after subscribing viaGattCharacteristic.subscribe(GattNotificationListener).A service discovered on a remote GATT server viaBlePeripheral.discoverServices().ATT protocol status codes, used both to interpret remote GATT failures and to respond to requests when acting as a GATT server.