Configuration API > BS2_SetRelayActionConfig
[+ 2.8.1] IM-120 Save RelayAction Settings.
#include "BS_API.h" int BS2_SetRelayActionConfig(void* context, uint32_t deviceId, const BS2RelayActionConfig* config);
context : ContextdeviceId : Device Identifierconfig : RelayAction Setting Information Pointer
Return BS_SDK_SUCCESS when successful, and return an appropriate error code when an error occurs.