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

Public Member Functions

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

Member Function Documentation

◆ set() [1/3]

String set ( int  ,
String   
)
Description
This api tests the reachability of a host on an Internet protocol network.
Syntax
bg77.qping.set(contextID,host)
Parameters
contextIDint Integer type. Context ID. Range: 1–16.
hostString String type. Host address. It is a domain name or a dotted decimal IP address.
Returns
String response

◆ set() [2/3]

String set ( int  ,
String  ,
int   
)
Description
This api tests the reachability of a host on an Internet protocol network.
Syntax
bg77.qping.set(contextID,host,timeout)
Parameters
contextIDint Integer type. Context ID. Range: 1–16.
hostString String type. Host address. It is a domain name or a dotted decimal IP address.
timeoutint Integer type. Maximum time to wait for the response of each ping request. Range: 1–255. Default value: 4. Unit: second.
Returns
String response

◆ set() [3/3]

String set ( int  ,
String  ,
int  ,
int   
)
Description
This api tests the reachability of a host on an Internet protocol network.
Syntax
bg77.qping.set(contextID,host,timeout,pingnum)
Parameters
contextIDint Integer type. Context ID. Range: 1–16.
hostString String type. Host address. It is a domain name or a dotted decimal IP address.
timeoutint Integer type. Maximum time to wait for the response of each ping request. Range: 1–255. Default value: 4. Unit: second.
pingnumint Integer type. Maximum number of ping requests. Range: 1–10. Default value: 4.
Returns
String response