Constructors
constructor
Parameters
uuid: string
isRemote: boolean
Optional value: Buffer
Properties
Readonly isRemote
isRemote: boolean
Readonly uuid
uuid: string
Methods
handleRead
- handleRead(offset: number): Promise<Buffer>
Parameters
Returns Promise<Buffer>
handleWrite
- handleWrite(offset: number, data: Buffer): Promise<number>
Parameters
offset: number
data: Buffer
Returns Promise<number>
toJSON
- toJSON(): Record<string, unknown>
Returns Record<string, unknown>
Abstract write
- write(data: Buffer): Promise<void>
Parameters
Returns Promise<void>
Represents a GATT Descriptor.