Skip to main content

BS2_GetDefaultLongResponseTimeout

+ v2.9.12 Directly modify the packet response timeout for APIs with long response times from the device, such as BS2_ScanCard, BS2_WriteCard, BS2_EraseCard.

The default value is 30 seconds.

Declaration​

#include "BS_API.h"

int BS2_GetDefaultLongResponseTimeout(void* context, long* out);

Parameters​

  • [In] context : Context

  • [Out] out : Timeout (milliseconds)

Return Value​

Returns BS_SDK_SUCCESS when performed successfully, and returns the corresponding error code when an error occurs.

See Also​

BS2_SetDefaultLongResponseTimeout

Was this page helpful?