SwitchToWifi

data class SwitchToWifi(val ssid: String, val wifiPassword: String, val brokerIpAddress: String) : Command.Response

Constructors

Link copied to clipboard
constructor(ssid: String, wifiPassword: String, brokerIpAddress: String)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun serialize(): ByteArray

Method to serialize the given command into a ByteArray. The serialization logic needs to be in sync with the de-serialization logic in the parseCommand method.

Link copied to clipboard
open override fun toString(): String