Configuration API > BS2_GetRelayActionConfig
[+ 2.8.1] IM-120 RelayAction 설정을 가져옵니다.
#include "BS_API.h" int BS2_GetRelayActionConfig(void* context, uint32_t deviceId, BS2RelayActionConfig* config);
context : ContextdeviceId : 장치 식별자config : RelayAction 설정 정보를 저장할 포인터
성공적으로 수행될 경우 BS_SDK_SUCCESS를 반환하고, 에러가 발생할 경우 상응하는 에러 코드를 반환합니다.