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
en:communication_api [2019/05/27 11:53]
yjjung [Communication API]
en:communication_api [2023/02/28 14:51] (current)
mwkim [Communication API]
Line 8: Line 8:
      * [[BS2_GetDevices]]:​ Gets the managed device information.      * [[BS2_GetDevices]]:​ Gets the managed device information.
      * [[BS2_ConnectDevice]]:​ Connects the device using the device identifier.      * [[BS2_ConnectDevice]]:​ Connects the device using the device identifier.
 +     * [[BS2_ConnectDeviceIPV6]]:​ Connects the device in IPv6 mode using the device identifier.
      * [[BS2_ConnectDeviceViaIP]]:​ Connect devices using IP address and Port.      * [[BS2_ConnectDeviceViaIP]]:​ Connect devices using IP address and Port.
      * [[BS2_DisconnectDevice]]:​ Disconnects from the device.      * [[BS2_DisconnectDevice]]:​ Disconnects from the device.
      * [[BS2_SetKeepAliveTimeout]]:​ Sets the keep-alive timeout.      * [[BS2_SetKeepAliveTimeout]]:​ Sets the keep-alive timeout.
      * [[BS2_SetNotificationListener]]:​ Sets the Notification listener.      * [[BS2_SetNotificationListener]]:​ Sets the Notification listener.
-     * [[BS2_SetServerPort]]: ​Set the Server ​Port. +     * [[BS2_SetServerPort]]: ​Sets the server Port. 
-     * [[BS2_GetServerPort]]:​ [+ 2.6.3] ​Get the Server ​Port. +     * [[BS2_SetSSLServerPort]]:​ Sets the SSL server ​Port. 
-     * [[BS2_GetSSLServerPort]]:​ [+ 2.6.3] ​Get the SSL server port. +     * [[BS2_GetServerPort]]:​ [+ 2.6.3] ​Gets the server ​Port. 
-     * [[BS2_IsConnected]]: ​Check device connection status. +     * [[BS2_GetSSLServerPort]]:​ [+ 2.6.3] ​Gets the SSL server port. 
-     * [[BS2_IsAutoConnection]]: ​Check auto connection status. +     * [[BS2_IsConnected]]: ​Checks ​device connection status. 
-     * [[BS2_SetAutoConnection]]: ​Set auto connection. +     * [[BS2_IsAutoConnection]]: ​Checks ​auto connection status. 
-     * [[BS2_GetEnableIPV4]]:​ [+ 2.6.3] ​Get IPv4 connection mode. +     * [[BS2_SetAutoConnection]]: ​Sets auto connection. 
-     * [[BS2_SetEnableIPV4]]:​ [+ 2.6.3] ​Set IPv4 connection mode. +     * [[BS2_GetEnableIPV4]]:​ [+ 2.6.3] ​Gets IPv4 connection mode. 
-     * [[BS2_GetEnableIPV6]]:​ [+ 2.6.3] ​Get IPv6 connection mode. +     * [[BS2_SetEnableIPV4]]:​ [+ 2.6.3] ​Sets IPv4 connection mode. 
-     * [[BS2_SetEnableIPV6]]:​ [+ 2.6.3] ​Set IPv6 connection mode. +     * [[BS2_GetEnableIPV6]]:​ [+ 2.6.3] ​Gets IPv6 connection mode. 
-     * [[BS2_SetServerPortIPV6]]:​ [+ 2.6.3] ​IP V6를 이용하여 서버모드 연결 시 연결 ​port를 정의합니다+     * [[BS2_SetEnableIPV6]]:​ [+ 2.6.3] ​Sets IPv6 connection mode. 
-     * [[BS2_GetServerPortIPV6]]:​ [+ 2.6.3] ​IP V6를 이용하여 서버모드 연결 시 연결 ​port 정보를 확인합니다+     * [[BS2_SetServerPortIPV6]]:​ [+ 2.6.3] ​Sets server ​port when connecting IPv6 server mode
-     * [[BS2_SetSSLServerPortIPV6]]:​ [+ 2.6.3] ​IP V6와 ssl을 이용하여 서버모드 연결 시 연결 ​port를 정의합니다+     * [[BS2_GetServerPortIPV6]]:​ [+ 2.6.3] ​Gets server ​port when connecting IPv6 server mode
-     * [[BS2_GetSSLServerPortIPV6]]:​ [+ 2.6.3] ​IP V6와 ssl을 이용하여 서버모드 연결 시 연결 ​port 정보를 확인합니다+     * [[BS2_SetSSLServerPortIPV6]]:​ [+ 2.6.3] ​Sets server ​port when connecting IPv6 server mode using SSL.  
-     * [[BS2_SetDefaultResponseTimeout]]:​ [+ 2.6.3] ​장치와의 패킷 응답 대기시간을 설정합니다+     * [[BS2_GetSSLServerPortIPV6]]:​ [+ 2.6.3] ​Gets server ​port when connecting IPv6 server mode using SSL.  
-     * [[BS2_GetDefaultResponseTimeout]]:​ [+ 2.6.3] ​장치와의 패킷 응답 대시시간 정보를 확인합니다.+     * [[BS2_SetDefaultResponseTimeout]]:​ [+ 2.6.3] ​Sets default response timeout between device and server.  
 +     * [[BS2_GetDefaultResponseTimeout]]:​ [+ 2.6.3] ​Gets default response timeout between device and server 
 +     * [[BS2_GetSocketRetryCount]]:​ [+ 2.9.1] Gets the setting value of the number of retries for read/write failures during Non SSL communication. 
 +     * [[BS2_SetSocketRetryCount]]:​ [+ 2.9.1] Set the number of retries for read/write failures during Non SSL communication. 
 +     * [[BS2_GetSocketSSLRetryCount]]:​ [+ 2.9.1] Gets the setting value of the number of retries for read/write failures during SSL communication. 
 +     * [[BS2_SetSocketSSLRetryCount]]:​ [+ 2.9.1] Set the number of retries for read/write failures during SSL communication. 
 ===== Callback Function ===== ===== Callback Function =====
 <code cpp> <code cpp>
Line 48: Line 55:
 5. // OnAlarmFired // \\ 5. // OnAlarmFired // \\
 Callback function that is called when an alarm set in the Zone occurs. \\ \\ Callback function that is called when an alarm set in the Zone occurs. \\ \\
-6. // OnInputDetected // //+6. // OnInputDetected // \\
 Callback function that is called when an input signal is generated. \\ \\ Callback function that is called when an input signal is generated. \\ \\
-7. // OnConfigChanged //+7. // OnConfigChanged // \\
 Callback function that is called when the configuration is changed by manipulating the terminal. \\ Callback function that is called when the configuration is changed by manipulating the terminal. \\