Giter VIP home page Giter VIP logo

demo-app's People

Contributors

activelook-dev avatar sylvainromillon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

demo-app's Issues

"connection to glasses timed out" error

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

Outdated SDK

The following code no longer works:

private var activeLook: ActiveLookSDK = ActiveLookSDK.shared

The code now is:

    public static func shared(token: String? = nil,
                              onUpdateStartCallback: StartClosureSignature? = nil,
                              onUpdateAvailableCallback: UpdateAvailableClosureSignature? = nil,
                              onUpdateProgressCallback: ProgressClosureSignature? = nil,
                              onUpdateSuccessCallback: SuccessClosureSignature? = nil,
                              onUpdateFailureCallback: FailureClosureSignature? = nil) throws -> ActiveLookSDK

and if you call it without parameters you get a

ActiveLookError.sdkInitMissingParameters

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.