public interface Debug extends MetaWearBoard.Module
Modifier and Type | Method and Description |
---|---|
bolts.Task<java.lang.Void> |
disconnectAsync()
Commands the board to terminate the BLE link
|
boolean |
enablePowersave()
Places the board in a powered down state after the next reset.
|
bolts.Task<java.lang.Void> |
jumpToBootloaderAsync()
Restarts the board in MetaBoot mode.
|
bolts.Task<java.lang.Integer> |
readTmpValueAsync()
Reads the temp value written by
writeTmpValue(int) |
void |
resetAfterGc()
Tells the board to reset after performing garbage collection.
|
bolts.Task<java.lang.Void> |
resetAsync()
Issues a firmware reset command to the board
|
void |
writeTmpValue(int value)
Writes a 4 byte value that persists until a reset, can be later retrieved with
readTmpValueAsync() |
bolts.Task<java.lang.Void> resetAsync()
CodeBlock.program()
or RouteComponent.Action.execute(DataToken)
methodsbolts.Task<java.lang.Void> disconnectAsync()
CodeBlock.program()
or RouteComponent.Action.execute(DataToken)
methodsbolts.Task<java.lang.Void> jumpToBootloaderAsync()
CodeBlock.program()
or RouteComponent.Action.execute(DataToken)
methodsvoid resetAfterGc()
resetAsync()
to reset the board after erasing macros or log data.void writeTmpValue(int value)
readTmpValueAsync()
value
- Value to writebolts.Task<java.lang.Integer> readTmpValueAsync()
writeTmpValue(int)
boolean enablePowersave()