Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:bs2_getdstconfig [2018/03/14 14:37]
yjjung created
en:bs2_getdstconfig [2021/09/01 17:06]
Line 1: Line 1:
-~~NOTOC~~ 
-[[configuration_api]] > [[BS2_GetDstConfig]] 
  
----- 
- 
-===== BS2_GetDstConfig ===== 
-[+ V2.6.0] Retrieves DST information of device. 
-==== Declaration ==== 
-<code cpp> 
-#include "​BS_API.h"​ 
- 
-int BS2_GetDstConfig(void* context, uint32_t deviceId, BS2DstConfig* config); 
-</​code>​ 
- 
-<callout type="​info">​ 
-[[See configuration api#​BS2DstConfig|BS2DstConfig Structure]] 
-</​callout>​ 
-==== Parameter ==== 
-  * [In] ''//​context//''​ : Context 
-  * [In] ''//​deviceId//''​ : Device ID 
-  * [Out] ''//​config//''​ : DST settings pointer 
-==== Return Value ==== 
-If successfully done, ''​BS_SDK_SUCCESS''​ will be returned. \\ 
-If there is an error, the corresponding error code will be returned.