RUI3 (RAK Unified Interface 3) - RAK4631
bg77::qmtopen

Public Member Functions

String set (int, String, int)
 
String get ()
 

Member Function Documentation

◆ set()

String set ( int  ,
String  ,
int   
)
Description
This api is used to open a network for MQTT client
Syntax
bg77.qmtopen.set(tcpconnectID,host_name,port)
Parameters
tcpconnectIDint MQTT socket identifier. The range is 0-5.
host_nameString The address of the server. It could be an IP address or a domain name. The maximum length is 100 bytes.
portint The port number of the server. The range is 0-65535.
Returns
String response

◆ get()

String get ( )
Description
This api is used to open a network for MQTT client
Syntax
bg77.qmtopen.get()
Returns
String response