notify

suspend fun <T> GattServer.notify(characteristicUuid: Uuid, device: Identifier?, value: T, encoder: BleEncoder<T>)

Encode a value and send it as a notification.


suspend fun <T> GattServer.notify(characteristicUuid: Uuid, device: Identifier?, value: T, encoder: BleDataEncoder<T>)

Encode a value directly to BleData and send it as a notification.