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

Cannot read property 'requestDevice" of undefined #3

Open
nicoleflloyd opened this issue Jul 10, 2019 · 1 comment
Open

Cannot read property 'requestDevice" of undefined #3

nicoleflloyd opened this issue Jul 10, 2019 · 1 comment

Comments

@nicoleflloyd
Copy link

I'm working on a project where we're using the sensor data from the glasses and sending that information to a server. The current setup is that there is a script running with a raspberry pi paired with the glasses and is listening to the sensor data for certain events. Your example works flawlessly on a Chrome browser on a laptop computer, however, issues are occurring when trying to use the same example on Chromium on a Raspberry Pi.

When the button with the icon is pressed, the error below pops up.
Screen Shot 2019-07-10 at 6 27 15 PM

Any help around this? It'd be great to get details on the script that pairs the devices and a way to override that step if a device automatically pairs when the Pi boots up.

@zakaton
Copy link
Owner

zakaton commented Nov 9, 2019

hey - I'm so sorry I haven't responded in months - I don't get notifications when people post issues so I didn't notice this until today.

I'm not familiar with Chromium on Raspberry Pi and whether it supports Web Bluetooth, but if you'd like to see the part of the script that deals with connecting to the device you can check out this link:

https://github.com/zakaton/Bose-Frames-Web-SDK/blob/master/script/BoseARDevice.js

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

2 participants