ActiveLook / demo-app

ActiveLook demo app using SDK
https://www.activelook.net/
7 stars 5 forks source link

"connection to glasses timed out" error #3

Open tkunschner opened 1 year ago

tkunschner commented 1 year ago

When running the demo app on an iPhone SE the timer in the table view delegate fires resulting in a "connection to glasses timed out" message although my Engo 2 gets connected. I assume I do have the same issue with the Activelook app from the store which also does not work on this phone. I am using a kind of aged iPhone SE 1st gen for testing purposes. To make sure it is not an issue with the iPhone I wrote a simple app without using the SDK. With this simple app I can connect and send commands to the Engo 2 without any problems so I would assume it might be an issue with the SDK. Output from debug:

central manager did update state: 5 starting scan In GlassesTableViewController: tableView line 90 connecting to glasses ENGO 2 021644 glass connected ENGO 2 021644 Stop Scan ... initializing glasses After initializing glasses After centralManager discovered service: Device Information discovered service: Battery discovered service: 0783B03E-8535-B5A0-7140-A304D2495CB7 central manager did connect to glasses ENGO 2 021644 In fixInDeviceCmdStack After glasses.fixInDeviceCmdStack In poll interval timer connection to glasses timed out disconnected from unknown glasses onUpdateFailureCallback

SylvainRomillon commented 1 year ago

Hi,

Oh, I didn't release a new demo app version with the latest SDK...

Could you try to change the sdk version in the podfile with v4.4.2 ? https://github.com/ActiveLook/demo-app/blob/main/ios/Podfile#LL6C1-L6C94 It will solve your issue.

I will release a new demo version soon.

Thank you, Sylvain