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:communication_api [2018/03/20 16:07]
yjjung
en:communication_api [2019/06/03 09:27]
yjjung [Callback Function]
Line 12: Line 12:
      * [[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] Gets the Server Port. 
 +     * [[BS2_GetSSLServerPort]]:​ [+ 2.6.3] Gets the SSL server port. 
 +     * [[BS2_IsConnected]]:​ Checks device connection status. 
 +     * [[BS2_IsAutoConnection]]:​ Checks auto connection status. 
 +     * [[BS2_SetAutoConnection]]:​ Sets auto connection. 
 +     * [[BS2_GetEnableIPV4]]:​ [+ 2.6.3] Gets IPv4 connection mode. 
 +     * [[BS2_SetEnableIPV4]]:​ [+ 2.6.3] Sets IPv4 connection mode. 
 +     * [[BS2_GetEnableIPV6]]:​ [+ 2.6.3] Gets IPv6 connection mode. 
 +     * [[BS2_SetEnableIPV6]]:​ [+ 2.6.3] Sets IPv6 connection mode. 
 +     * [[BS2_SetServerPortIPV6]]:​ [+ 2.6.3] Sets server port when connecting IPv6 server mode. 
 +     * [[BS2_GetServerPortIPV6]]:​ [+ 2.6.3] Gets server port when connecting IPv6 server mode. 
 +     * [[BS2_SetSSLServerPortIPV6]]:​ [+ 2.6.3] Sets server port when connecting IPv6 server mode using SSL.  
 +     * [[BS2_GetSSLServerPortIPV6]]:​ [+ 2.6.3] Gets server port when connecting IPv6 server mode using SSL.  
 +     * [[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
 ===== Callback Function ===== ===== Callback Function =====
 <code cpp> <code cpp>
Line 33: Line 48:
 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. \\