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

Public Member Functions

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

Member Function Documentation

◆ set()

String set ( int  ,
String  ,
int   
)
Description
This api creates a CoAP session
Syntax
bg77.qcoapopen.set(clientID,CoAP_server,port)
Parameters
clientIDint Integer type. CoAP client identifier. Range: 0–5.
CoAP_serverString String type. Address of CoAP server. It can be an IP address or a domain name. Maximum size: 255 bytes.
portint Integer type. Port of CoAP server. Range: 1–65535.
Returns
String response

◆ get()

String get ( )
Description
This api creates a CoAP session
Syntax
bg77.qcoapopen.get()
Returns
String response