-
Notifications
You must be signed in to change notification settings - Fork 1
Description
I am implementing app functionality with connecting multiple peripherals and some case need disconnect socketMobile device.
I tried to use: (1)
captureHelper?.captureApi?.close() { result in
if result == SKTResult.E_NOERROR {
print("captureApi closed")
} else {
print("can not close captureApi: \(result)")
}
}
or (2)
captureHelper?.closeWithCompletionHandler() { result in
if result == SKTResult.E_NOERROR {
print("captureHelper closed")
} else {
print("can not close captureHelper: \(result)")
}
}
but it doesn't work. In addition, running both causes the app to print "captureHelper closed" then to crash (related to BLE).
Can only turn off mobile socket with physical button [off]. but don't know what is the cause