readNotificationData

open fun readNotificationData(strDeviceAddress: String, strCharacteristicUuid: String, nMaxReadSize: Int): Array<Byte>

Read data from the buffer received by notification Execution type: synchronous

Return

byte array containing the notification data

Parameters

strDeviceAddress

Device address of ble device

strCharacteristicUuid

Characteristic Uuid, you want to get the data from

nMaxReadSize

Maximum number of bytes, which shall be read