Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
en:device_api [2019/05/27 16:19]
yjjung [Device API]
en:device_api [2019/05/27 16:25]
yjjung
Line 196: Line 196:
 |BS2_SUPPORT_CARDEX ​ |0x00000002 ​ |Whether iClass SEOS card is used  | |BS2_SUPPORT_CARDEX ​ |0x00000002 ​ |Whether iClass SEOS card is used  |
 |BS2_SUPPORT_DST ​ |0x00000004 ​ |Whether daylight savings time is used | |BS2_SUPPORT_DST ​ |0x00000004 ​ |Whether daylight savings time is used |
-|BS2_SUPPORT_ALL ​ |0x00000007 ​ |Whether to provide additional full information +|BS2_SUPPORT_ALL ​ |0x00000007 ​ |Whether to provide additional full information |
-  ​|+
 </​WRAP>​ </​WRAP>​
  
Line 235: Line 234:
 Binary resource data. \\ \\ Binary resource data. \\ \\
  
 +
 +==== BS2IPv6DeviceInfo ====
 +<code cpp>
 +enum {
 +    BS2_MAX_IPV6_ALLOCATED_ADDR = 8,
 +};
 +
 +typedef struct
 +{
 +    BS2_DEVICE_ID id;
 +    uint8_t reserved[1];​
 +    uint8_t bIPv6Mode;
 +    char ipv6Address[BS2_IPV6_ADDR_SIZE];​
 +    uint16_t portV6;
 +    char connectedIPV6[BS2_IPV6_ADDR_SIZE];​
 +    uint8_t numOfAllocatedAddressV6;​
 +    char allocatedIpAddressV6[BS2_IPV6_ADDR_SIZE][BS2_MAX_IPV6_ALLOCATED_ADDR];​
 +}BS2IPv6DeviceInfo;​
 +</​code>​
 +1. //id// \\ 
 +Device ID \\ \\ 
 +2. //​reserved//​ \\ 
 +Reserved space \\ \\ 
 +3. //​bIPv6Mode//​ \\ 
 +현 장치가 IP V6로 동작하는지 여부를 나타내는 flag입니다. \\ \\ 
 +4. //​ipv6Address//​ \\ 
 +현재 장치의 IP V6 주소입니다. \\ \\ 
 +5. //portV6// \\ 
 +현재 장치의 IP V6 포트 번호입니다. \\ \\ 
 +6. //​connectedIPV6//​ \\ 
 +장치가 연결된 서버의 IP V6 주소입니다. \\ \\ 
 +7. //​numOfAllocatedAddressV6//​ \\ 
 +현재 장치에 할당되어진 IP V6 주소의 갯수를 나타냅니다. \\ \\ 
 +8. //​allocatedIpAddressV6//​ \\ 
 +현재 장치에 할당되어진 IP V6 주소입니다. numOfAllocatedAddressV6는 할당되어진 주소의 갯수를 나타냅니다. \\ \\
 +
 +==== BS2AuthOperatorLevel ====
 +<code cpp>
 +typedef struct {
 +    char userID[BS2_USER_ID_SIZE];​
 +    uint8_t level;
 +    uint8_t reserved[3];​
 +} BS2Operator;​
 +
 +typedef BS2Operator BS2AuthOperatorLevel;​
 +</​code>​
 +1. //userID// \\ 
 +사용자 식별자입니다. \\ \\ 
 +2. //level// \\ 
 +사용자가 인증되었을 때 식별자에 해당하는 권한을 지정합니다. \\ 
 +<WRAP group 50%>
 +^값  ^설명 ​ ^
 +|0  |권한 없음 ​ |
 +|1  |관리자 권한 ​ |
 +|2  |시스템 구성을 변경할 수 있는 권한 ​ |
 +|3  |사용자 정보를 변경할 수 있는 권한 ​ |
 +</​WRAP>​
 +3. //​reserved//​ \\ 
 +예약된 공간입니다. \\