This is an old revision of the document!


FIXME This page is not fully translated, yet. Please help completing the translation.
(remove this paragraph once the translation is finished)

Configuration API > BS2_SetRelayActionConfig


[+ 2.8.1] IM-120 Save RelayAction Setting.

API

#include "BS_API.h"
 
int BS2_SetRelayActionConfig(void* context, uint32_t deviceId, const BS2RelayActionConfig* config);

Parameter

  • [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.