Category
A layer of the Mcu Manager library.
Each layer logs using a separate category, allowing log output to be filtered by the area of the library involved. The layers are declared bottom-up, from the raw transport to the firmware upgrade process built on top of it:
DFU the firmware upgrade process
TRANSFER chunked upload and download
COMMAND a single Mcu Manager command and its response
PROTOCOL SMP framing: sequence numbers, matching responses to requests
TRANSPORT the connection carrying the SMP packetsContent copied to clipboard
Example
val sink = Log.Sink.Default { category, level ->
// Follow the upgrade, but only complain about the layers below it.
category == Category.DFU || level >= Log.Level.WARN
}Content copied to clipboard
Entries
Link copied to clipboard
The transport layer, that is implementations of McuMgrTransport.
Link copied to clipboard
A single Mcu Manager command and its response, as sent by a McuManager.
Link copied to clipboard
The firmware upgrade process, handled by FirmwareUpgradeManager and SUITUpgradeManager.