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 Both sides next revision
en:device_api [2018/02/27 16:49]
yjjung [BS2SimpleDeviceInfo]
en:device_api [2018/03/14 13:40]
yjjung
Line 163: Line 163:
 Flag that notifies whether the device supports VoIP. \\ Flag that notifies whether the device supports VoIP. \\
  
 +==== BS2SimpleDeviceInfoEx ====
 +Retrieves BS2SimpleDeviceInfo and supported information.\\
 +<code cpp>
 +typedef struct
 +{
 +    enum
 +    {
 +        BS2_SUPPORT_RS485EX = 0x00000001,
 +        BS2_SUPPORT_CARDEX ​ = 0x00000002,
 +        BS2_SUPPORT_DST ​    = 0x00000004,
 +        BS2_SUPPORT_ALL ​    = BS2_SUPPORT_RS485EX | BS2_SUPPORT_CARDEX | BS2_SUPPORT_DST,​
 +    };
 +
 +    uint32_t supported;
 +    uint8_t ​ reserved[4];​
 +}BS2SimpleDeviceInfoEx;​
 +</​code>​
 +
 +**1. //​supported//​** \\ 
 +The current device additionally obtains information beyond the functionality provided by BS2SimpleDeviceInfo.\\
 +By bit masking with the values defined below, you can check if it is supported.
 +<WRAP group 50%>
 +^Definition ​ ^Value ​ ^Description ​ ^
 +|BS2_SUPPORT_RS485EX ​ |0x00000001 ​ |Whether RS485 extensions are supported (In case of CoreStation 40)  |
 +|BS2_SUPPORT_CARDEX ​ |0x00000002 ​ |Whether iClass SEOS card is used  |
 +|BS2_SUPPORT_DST ​ |0x00000004 ​ |Whether daylight savings time is used |
 +|BS2_SUPPORT_ALL ​ |0x00000007 ​ |Whether to provide additional full information
 +  |
 +</​WRAP>​
 +
 +**2. //​reserved//​** \\ 
 +Reserved space. \\ 
  
 ==== BS2ResourceElement ==== ==== BS2ResourceElement ====