Communication API > 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.
#include "BS_API.h" int BS2_GetDefaultLongResponseTimeout(void* context, long* out);
context : Contextout : Timeout (milliseconds)
Returns BS_SDK_SUCCESS when performed successfully, and returns the corresponding error code when an error occurs.