You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the packet with index larger than 0, the expectedSize is always larger than buffer.remaining().
The right implementation is in HeaderBasedPacketMerger.
https://github.com/NordicSemiconductor/Android-BLE-Library/blob/331fee93215c6bbc215e8471e389bfb40f3e5ed4/examples/trivia/src/main/java/no/nordicsemi/android/ble/trivia/spec/PacketMerger.kt#L29
For the packet with index larger than 0, the expectedSize is always larger than buffer.remaining().
The right implementation is in HeaderBasedPacketMerger.