Old revisions Add to book Export to PDF Book Creator Add this page to your book Book Creator Remove this page from your book Manage book (0 page(s)) Help Communication API > BS2_IsAutoConnection BS2_IsAutoConnection Check whether automatic connection is configured. If auto-connect is enabled, it automatically calls the connected callback function specified in BS2_SetDeviceEventListener after the socket connection from the device is accepted. Declaration #include "BS_API.h" int BS2_IsAutoConnection(void* context, int* enable); Parameter [In] context : Context [Out] enable : Weather auto connection is enabled Return Value If successfully done, BS_SDK_SUCCESS will be returned. If there is an error, the corresponding error code will be returned. See Also BS2_SetAutoConnection