connect

fun connect()

Start the MQTT client. The host and port of the message broker are provided as parameters.