ble api update

This commit is contained in:
Vineyro 2024-11-16 13:45:03 +07:00
parent 2d8ec33c6c
commit 0b8599dafa
1 changed files with 1 additions and 1 deletions

View File

@ -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))