Communication API > BS2_GetDefaultLongResponseTimeout


BS2_GetDefaultLongResponseTimeout

[+ 2.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

Return Value

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

See Also

BS2_SetDefaultLongResponseTimeout