~~NOTOC~~
[[configuration_api]] > [[BS2_GetRelayActionConfig]]
----
===== BS2_GetRelayActionConfig =====
[+ 2.8.1] ''IM-120'' Retrieves RelayAction Settings.
==== Declaration ====
#include "BS_API.h"
int BS2_GetRelayActionConfig(void* context, uint32_t deviceId, BS2RelayActionConfig* config);
[[configuration api#BS2RelayActionConfig|BS2RelayActionConfig Structure]]
==== Parameters ====
* [In] ''//context//'' : Context
* [In] ''//deviceId//'' : Device Identifier
* [Out] ''//config//'' : Pointer where Input Expandable Setting Information will be saved
==== Return Values ====
Return ''BS_SDK_SUCCESS'' when successful, and return an appropriate error code when an error occurs.