LogManager
Log command group manager.
Types
Functions
Link copied to clipboard
Link copied to clipboard
Clear the logs on a device (synchronous).
Clear the logs on a device (asynchronous).
Link copied to clipboard
@NotNull
Format a Date and a TimeZone into a String which McuManager will accept.
Link copied to clipboard
Get all log entries from all logs on the device (synchronous).
Link copied to clipboard
@NotNull
Get logs from a state (synchronous).
Link copied to clipboard
Get the group ID for this manager.
Link copied to clipboard
Get the transporter's scheme.
Link copied to clipboard
Get the transporter.
Link copied to clipboard
List the log levels on a device (synchronous).
List the log levels on a device (asynchronous).
Link copied to clipboard
List the log names on a device (synchronous).
List the log names on a device (asynchronous).
Link copied to clipboard
List the log modules on a device (synchronous).
List the log modules on a device (asynchronous).
Link copied to clipboard
@NotNull
@NotNull
Send data synchronously using the transporter.
open fun <T : McuMgrResponse?> send(data: @NotNull Array<Byte>, @NotNull respType: @NotNull Class<T>, @NotNull callback: @NotNull McuMgrCallback<T>)
open fun <T : McuMgrResponse?> send(data: @NotNull Array<Byte>, timeout: Long, @NotNull respType: @NotNull Class<T>, @NotNull callback: @NotNull McuMgrCallback<T>)
Send data asynchronously using the transporter.
@NotNull
@NotNull
@NotNull
@NotNull
Send synchronous Mcu Manager command.
open fun <T : McuMgrResponse?> send(op: Int, commandId: Int, @Nullable payloadMap: @Nullable Map<String, Any>, @NotNull respType: @NotNull Class<T>, @NotNull callback: @NotNull McuMgrCallback<T>)
open fun <T : McuMgrResponse?> send(op: Int, commandId: Int, @Nullable payloadMap: @Nullable Map<String, Any>, timeout: Long, @NotNull respType: @NotNull Class<T>, @NotNull callback: @NotNull McuMgrCallback<T>)
open fun <T : McuMgrResponse?> send(op: Int, flags: Int, sequenceNum: Int, commandId: Int, @Nullable payloadMap: @Nullable Map<String, Any>, @NotNull respType: @NotNull Class<T>, @NotNull callback: @NotNull McuMgrCallback<T>)
open fun <T : McuMgrResponse?> send(op: Int, flags: Int, sequenceNum: Int, commandId: Int, @Nullable payloadMap: @Nullable Map<String, Any>, timeout: Long, @NotNull respType: @NotNull Class<T>, @NotNull callback: @NotNull McuMgrCallback<T>)
Send an asynchronous Mcu Manager command.
Link copied to clipboard
Sets the upload MTU.
Link copied to clipboard
@NotNull
Show logs from a device (synchronous).
open fun show(@Nullable logName: @Nullable String, @Nullable minIndex: @Nullable Long, @Nullable minTimestamp: @Nullable Date, @NotNull callback: @NotNull McuMgrCallback<McuMgrLogResponse>)
Show logs from a device (asynchronous).
Link copied to clipboard
Get the next set of logs from a log state and return the response (synchronous).
Link copied to clipboard
Parse a date string returned by a McuMgr response.