MetaWear C# SDK
1.2.0
C# API for MbientLab's sensor platform
|
Auxiliary functions, for advanced use only More...
Public Member Functions | |
Task | ResetAsync () |
Issues a firmware reset command to the board. More... | |
void | ResetAfterGc () |
Commands the board to reset after performing garbage collection. Use this function in lieu of ResetAsync to reset the board after erasing macros or log data. More... | |
Task | DisconnectAsync () |
Commands the board to terminate the BLE link. More... | |
Task | JumpToBootloaderAsync () |
Restarts the board in MetaBoot mode which enables firmware updates. More... | |
bool | EnablePowerSave () |
Places the board in a powered down state after the next reset. More... | |
void | WriteTmpValue (int value) |
Writes a signed int that persists until a reset, can be later retrieved with ReadTmpValueAsync More... | |
Task< int > | ReadTmpValueAsync () |
Reads the temp value written by WriteTmpValue(int) More... | |
Auxiliary functions, for advanced use only
Task MbientLab.MetaWear.Core.IDebug.DisconnectAsync | ( | ) |
Commands the board to terminate the BLE link.
This task will be immediately cancelled if called within the context of a reaction
bool MbientLab.MetaWear.Core.IDebug.EnablePowerSave | ( | ) |
Places the board in a powered down state after the next reset.
When in power save mode, press the switch to wake the board up.
Task MbientLab.MetaWear.Core.IDebug.JumpToBootloaderAsync | ( | ) |
Restarts the board in MetaBoot mode which enables firmware updates.
This task will be immediately cancelled if called within the context of a reaction
Task<int> MbientLab.MetaWear.Core.IDebug.ReadTmpValueAsync | ( | ) |
Reads the temp value written by WriteTmpValue(int)
void MbientLab.MetaWear.Core.IDebug.ResetAfterGc | ( | ) |
Commands the board to reset after performing garbage collection. Use this function in lieu of ResetAsync to reset the board after erasing macros or log data.
Task MbientLab.MetaWear.Core.IDebug.ResetAsync | ( | ) |
Issues a firmware reset command to the board.
This task will be immediately cancelled if called within the context of a reaction
void MbientLab.MetaWear.Core.IDebug.WriteTmpValue | ( | int | value | ) |
Writes a signed int that persists until a reset, can be later retrieved with ReadTmpValueAsync
value | Value to write |