Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

connectionCallback given to DiscoveredGlasses.connect() is not called #13

Closed
pierrerougeotf opened this issue Apr 19, 2022 · 6 comments
Closed

Comments

@pierrerougeotf
Copy link
Contributor

The console displays Central Manager did connect to glasses… but the callback is not triggered

@goutallier
Copy link

goutallier commented Apr 21, 2022

Tried using both discoveredGlasses.connect(...) and sdk.connect(using...), and the connection callback is always called.
I have to try after a FW update now...

from @pierrerougeotf :

Pas sûr que je puisse forcément apporter quelque chose ou que ça se résume à ce que j’ai peut-être vu dans le code, mais ayant un peu regardé d’où pourrait venir le problème coté SDK, je suis dispo pour échanger 10/15 mn si vous le souhaitez. (En gros, si j’ai bien lu, le connectionCallback? n’est pas appelé dans tous les paths des callbacks du glassesInitializer.initialize ). Si vous êtes déjà bien au delà de ce constat, je n’apporterai probablement rien. 🙂
→ still digging...

@sw5813
Copy link

sw5813 commented Dec 10, 2022

I've run into the same issue as @pierrerougeotf- the callback is not getting triggered using the latest SDK (4.3.0)

@SylvainRomillon
Copy link
Contributor

Hi,

Thank you for your interest. In our demo app we don't see this issue : https://github.com/ActiveLook/demo-app/blob/main/ios/example/GlassesTableViewController.swift#L90

If you have sample code, could you share it with us so we could investigate further

@sw5813
Copy link

sw5813 commented Dec 16, 2022

Hi @SylvainRomillon, I tried looking at your demo app, but it looks like with the latest update an SDK token is now required. Where can I get this token from to run the demo app?

@SylvainRomillon
Copy link
Contributor

The SDK token is not mandatory to develop an app. It allow developers to update glasses firmware with their own app. You can leave it blank.

@sw5813
Copy link

sw5813 commented Jan 2, 2023

Confirming that after following the implementation example in the demo app, I'm no longer running into this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants