BS2_GetDefaultResponseTimeout
+ v2.6.3 Gets default response timeout between device and server. It defines timeout of API except some APIs such as connection(hardcoded 3s) and BS2_GetFilteredLog(300s).
Declaration
#include "BS_API.h"
int BS2_GetDefaultResponseTimeout(void* context, long* poMs);
Parameter
-
[In]
context: Context -
[Out]
poMs: Respond waiting time (milli seconds)
Return Value
If successfully done, BS_SDK_SUCCESS will be returned.
If there is an error, the corresponding error code will be returned.