Old revisions Add to book Export to PDF Book Creator Add this page to your book Book Creator Remove this page from your book Manage book (0 page(s)) Help Communication API > BS2_SetDefaultResponseTimeout BS2_SetDefaultResponseTimeout [+ 2.6.3] Sets default response timeout between device and server. Default is set as 10sec. It defines timeout of API except some APIs such as connection(hardcoded 3s), BS2_UpdateResource and BS2_GetFilteredLog(300s) etc. Declaration #include "BS_API.h" int BS2_SetDefaultResponseTimeout(void* context, long ms); Parameter [In] context : Context [In] ms : 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. See Also BS2_GetDefaultResponseTimeout