Skip to main content

BS2_SetRelayActionConfig

+ v2.8.1 IM-120 Stores Configuration related to the RelayAction.

Declaration​

#include "BS_API.h"

int BS2_SetRelayActionConfig(void* context, uint32_t deviceId, const BS2RelayActionConfig* config);

Parameters​

  • [In] context : Context

  • [In] deviceId : Device Identifier

  • [In] config : RelayAction Setting Information Pointer

Return Values​

Return BS_SDK_SUCCESS when successful, and return an appropriate error code when an error occurs.

Was this page helpful?