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

Public Member Functions

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

Member Function Documentation

◆ set() [1/2]

String set ( int  )
Description
This api closes a specified socket service.
Syntax
bg77.qiclose.set(connectID)
Parameters
connectIDint Integer type. Socket service index. Range: 0–11.
Returns
String response

◆ set() [2/2]

String set ( int  ,
int   
)
Description
This api closes a specified socket service.
Syntax
bg77.qiclose.set(connectID,timeout)
Parameters
connectIDint Integer type. Socket service index. Range: 0–11.
timeoutint Integer type. Timeout value for the response to be outputted. If the FIN ACK of the other peer is not received within <timeout>, the module will be forced to close the socket. Range: 0–65535. Default value: 10. Unit: second.
Returns
String response