dash ble: remove unused class
This commit is contained in:
parent
eda52857e5
commit
eff6247f77
1 changed files with 0 additions and 18 deletions
|
@ -1,18 +0,0 @@
|
||||||
package info.nightscout.androidaps.plugins.pump.omnipod.dash.driver.comm.session
|
|
||||||
|
|
||||||
import java.nio.ByteBuffer
|
|
||||||
|
|
||||||
/***
|
|
||||||
* Eap-Aka start session sequence.
|
|
||||||
* Incremented for each new session
|
|
||||||
*/
|
|
||||||
class EapSqn(var sqn: Long) {
|
|
||||||
|
|
||||||
fun increment(): ByteArray {
|
|
||||||
sqn++
|
|
||||||
return ByteBuffer.allocate(8)
|
|
||||||
.putLong(sqn)
|
|
||||||
.array()
|
|
||||||
.copyOfRange(2, 8)
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in a new issue