import { type DataViewReader } from "./data-view-reader.js"; /** *
The Client Characteristic Configuration descriptor defines how the characteristic may be configured by a specific client.
*This descriptor shall be persistent across connections for bonded devices. The Client Characteristic Configuration descriptor is unique for each client. A client may read and write this descriptor to determine and set the configuration for that client. Authentication and authorization may be required by the server to write this descriptor. The default value for the Client Characteristic Configuration descriptor is 0x00. Upon connection of non-binded clients, this descriptor is set to the default value.
*/ export interface GattClientCharacteristicConfiguration { /** * | value | description | * | ----- | ---------------------- | * | 0 | Notifications disabled | * | 1 | Notifications enabled | */ bit0: number; /** * | value | description | * | ----- | -------------------- | * | 0 | Indications disabled | * | 1 | Indications enabled | */ bit1: number; /** *Format: `16bit`
*Minimum: 0
*Maximum: 3
* * Bit field: * * | index | size | name | * | ----- | ---- | ----------------------- | * | 0 | 1 | bit0 | * | 1 | 1 | bit1 | * | 0 | 0 | Reserved for future use | * */ properties: number; } /** @see {@link https://raw.githubusercontent.com/oesmith/gatt-xml/refs/heads/master/org.bluetooth.descriptor.gatt.client_characteristic_configuration.xml | Gatt Client Characteristic Configuration} */ export declare class GattClientCharacteristicConfigurationImpl implements GattClientCharacteristicConfiguration { static readonly UUID_PREFIX = 10498; static readonly TYPE_NAME = "org.bluetooth.descriptor.gatt.client_characteristic_configuration"; static readonly NAME = "Client Characteristic Configuration"; /** Parse from a DataView into {@link GattClientCharacteristicConfiguration}. */ static fromDataView(dataView: DataView | DataViewReader, indexStart?: number | undefined): GattClientCharacteristicConfigurationImpl; readonly bit0: number; readonly bit1: number; readonly properties: number; constructor(gattClientCharacteristicConfiguration: GattClientCharacteristicConfiguration); } /** Parse from a DataView into {@link GattClientCharacteristicConfiguration}. */ export declare function gattClientCharacteristicConfigurationFromDataView(dataView: DataView | DataViewReader, indexStart?: number): GattClientCharacteristicConfiguration; //# sourceMappingURL=gatt-client-characteristic-configuration.d.ts.map