SettingsManagerKtx
A manager of the Settings group of Mcu Manager, with suspending methods. It wraps SettingsManager.
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
Link copied to clipboard
Commits the settings.
Link copied to clipboard
Deletes a setting.
Link copied to clipboard
Loads the settings from the persistent storage.
Link copied to clipboard
Reads the value of a setting.
Link copied to clipboard
Saves the settings to the persistent storage.
Link copied to clipboard
Writes the value of a setting.