public interface Debug extends MetaWearBoard.Module
Modifier and Type | Method and Description |
---|---|
void |
disconnect()
Have the board terminate the connection, as opposed to
MetaWearBoard.disconnect() where
the mobile device terminates the connection. |
void |
jumpToBootloader()
Restart the board in bootloader mode
|
void |
resetAfterGarbageCollect()
Restart the board after performing garbage collection.
|
void |
resetDevice()
Restart the board
|
void resetDevice()
void jumpToBootloader()
void resetAfterGarbageCollect()
resetDevice()
if a user wishes to restart the board
after erasing macros or log entries.Logging.clearEntries()
,
Macro.eraseMacros()
void disconnect()
MetaWearBoard.disconnect()
where
the mobile device terminates the connection. On devices running Lollipop or later, this will call
the ConnectionStateHandler.failure
function with a status of 19 rather than
ConnectionStateHandler.disconnected