~~NOTOC~~
[[configuration_api]] > [[BS2_SetConfig]]
----
===== BS2_SetConfig =====
Configuration blob을 저장합니다.
==== 함수 ====
#include "BS_API.h"
int BS2_SetConfig(void* context, uint32_t deviceId, BS2Configs* configs);
[[configuration api#BS2Configs|BS2Configs 구조체 보기]]
==== 파라미터 ====
* [In] ''//context//'' : Context
* [In] ''//deviceId//'' : 장치 식별자
* [In] ''//configs//'' : configuration blob
**참고**\\
장치에서 지원하지 않는 설정 정보가 존재하면 에러를 반환합니다.
==== 반환값 ====
성공적으로 수행될 경우 ''BS_SDK_SUCCESS''를 반환하고, 에러가 발생할 경우 상응하는 에러 코드를 반환합니다.