DefaultManagerKtx
A manager of the OS (default) group of Mcu Manager, with suspending methods. It wraps DefaultManager.
Every method suspends until the response is received, and throws a McuMgrException if the request fails, or a McuMgrErrorException if the device responds with an error, that is with a non-zero return code. Cancelling the calling coroutine stops waiting for the response, but does not cancel the request, which has already been sent.
Use the manager to set a logger, the upload MTU, etc.
Properties
Functions
Reads the application info.
Reads the bootloader info.
Enables or disables the console echo on the device.
Sends an echo request. The device responds with the same string.
Reads the statistics of the memory pools of the device.
Reads the parameters of Mcu Manager on the device, such as the buffer size and count.
Reads the date and time on the device.
Resets the device.
Resets the device in the given boot mode.
Reads the statistics of the tasks (threads) running on the device.
Sets the date and time on the device.