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.

Types

class GattCharacteristicA characteristic of a remote GattService – the unit of data exchange with a BLE peripheral.
class GattDescriptorA descriptor of a remote GattCharacteristic.
interface GattNotificationListenerReceives characteristic value changes (notifications and indications) after subscribing via GattCharacteristic.subscribe(GattNotificationListener).
class GattServiceA service discovered on a remote GATT server via BlePeripheral.discoverServices().
enum GattStatusATT protocol status codes, used both to interpret remote GATT failures and to respond to requests when acting as a GATT server.