문서의 이전 판입니다!


SDK API > BS2_SetDeviceSearchingTimeout


장치 찾는 시간을 명시합니다.

Declaration

#include "BS_API.h"
 
int BS2_SetDeviceSearchingTimeout(void* context, uint32_t second);

Parameter

  • [In] context : Context
  • [Out] second : Device searching timeout

NOTE
Timeout 기본 값은 5초 입니다.

Return Value

If successfully done, BS_SDK_SUCCESS will be returned.
If there is an error, the corresponding error code will be returned.