Device API > BS2_SetKeepAliveTimeout
Sets the keep-alive timeout.
#include "BS_API.h" int BS2_SetKeepAliveTimeout(void* context, long ms);
context
: Contextms
: Keep-alive timeout (ms)
NOTE
The default timeout is 30,000(30sec)
If successfully done, BS_SDK_SUCCESS
will be returned.
If there is an error, the corresponding error code will be returned.