public interface Debug extends MetaWearBoard.Module
| Modifier and Type | Method and Description |
|---|---|
Task<Void> |
disconnectAsync()
Commands the board to terminate the BLE link
|
boolean |
enablePowersave()
Places the board in a powered down state after the next reset.
|
Task<Void> |
jumpToBootloaderAsync()
Restarts the board in MetaBoot mode.
|
Task<Integer> |
readTmpValueAsync()
Reads the temp value written by
writeTmpValue(int) |
void |
resetAfterGc()
Tells the board to reset after performing garbage collection.
|
Task<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() |
Task<Void> resetAsync()
CodeBlock.program() or RouteComponent.Action.execute(DataToken) methodsTask<Void> disconnectAsync()
CodeBlock.program() or RouteComponent.Action.execute(DataToken) methodsTask<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 writeTask<Integer> readTmpValueAsync()
writeTmpValue(int)boolean enablePowersave()