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

Public Member Functions

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

Member Function Documentation

◆ set() [1/3]

String set ( int  ,
String   
)
Description
This api is used when a client requests a connection to MQTT server.
Syntax
bg77.qmtconn.set(tcpid,clientID)
Parameters
tcpconnectIDint MQTT socket identifier. The range is 0-5.
clientidString The client identifier string.
Returns
String response

◆ set() [2/3]

String set ( int  ,
String  ,
String   
)
Description
This api is used when a client requests a connection to MQTT server.
Syntax
bg77.qmtconn.set(tcpid,clientID,username)
Parameters
tcpconnectIDint MQTT socket identifier. The range is 0-5.
clientidString The client identifier string.
usernameString User name of the client. It can be used for authentication.
Returns
String response

◆ set() [3/3]

String set ( int  ,
String  ,
String  ,
String   
)
Description
This api is used when a client requests a connection to MQTT server.
Syntax
bg77.qmtconn.set(tcpid,clientID,username,password)
Parameters
tcpconnectIDint MQTT socket identifier. The range is 0-5.
clientidString The client identifier string.
usernameString User name of the client. It can be used for authentication.
passwordString Password corresponding to the user name of the client. It can be used for authentication.
Returns
String response

◆ get()

String get ( )
Description
This api is used when a client requests a connection to MQTT server.
Syntax
bg77.qmtconn.get()
Returns
String response