ble api update
This commit is contained in:
parent
2d8ec33c6c
commit
0b8599dafa
|
|
@ -95,7 +95,7 @@ fun readHostHistory(
|
|||
var tableSize = value.get2byteUIntAt(0)
|
||||
|
||||
//Чтение без удаления
|
||||
characteristic.write(DataByteArray.from(1, 0, 0, -2, -1))
|
||||
characteristic.write(DataByteArray.from(1, 0, 0, -1, -1))
|
||||
val firstTableHeader = characteristic.read().value.asList()
|
||||
firstTablePackage.addAll(firstTableHeader.subList(4, firstTableHeader.size))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue