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

Bluetooth connection not working #85

Open
octavmarius opened this issue Apr 29, 2019 · 9 comments
Open

Bluetooth connection not working #85

octavmarius opened this issue Apr 29, 2019 · 9 comments
Labels

Comments

@octavmarius
Copy link

Describe the bug
I cannot connect from vs code to ev3 brick - device is not listed.

To Reproduce
Steps to reproduce the behavior:

  1. start vs code
  2. boot up ev3 brick from sd card
  3. enable bluetooth (check "Powered")
  4. pear the brick with the computer
  5. in vs code - ev3dev device browser - click on "Click here to connect to a device"

Expected behavior
expected to have my ev3 brick listed

Desktop (please complete the following information):

  • Windows 7 Proffesional 7601 SP1

Additional context
i can pear the device (ev3 brick) with my computer.
i also removed (uninstalled) the ev3 brick from my computer and paired the device again with success.

image

@haiyongsong1921
Copy link

@dlech Hi David, I have the same bluetooth connection issue in Mac OS. Does the ev3-browser extensions of the VSCode support for bluetooth connection. Because when I try to connect my ev3dev brick via bluetooth in VSCode, it will always throw out the handshake timeout error: "Failed to connect to ev3: Timed out while waiting for handshake." But the connection works fine via usb cable. Would you mind to share some info for this? thanks a lot

@netanelbardavid
Copy link

@dlech Hi David, having the same issue with windows 10. Pairing works fine but the EV3 does not appear on the device list. Tried to connect it also by its IP address but VS Code shows the "Failed to connect to ev3: Timed out while waiting for handshake" error.
Thanks man

@dlech dlech added the support label Feb 13, 2020
@jaffarspace
Copy link

@dlech Hi David, having the same issue with windows 10. Pairing works fine but the EV3 does not appear on the device list. Tried to connect it also by its IP address but VS Code shows the "Failed to connect to ev3: Timed out while waiting for handshake" error.
Thanks man

Same here. Windows 10, Paired without any issue. but the device is not listing when I try to do ">ev3dev:Connect to a device" in Command Pallet. Any updates on this issue?

@dlech
Copy link
Member

dlech commented Feb 17, 2020

macOS and Windows 10 are not the same as the original issue (Windows 7), so please open a new issue with the exact steps to reproduce the problem and we will see if we can figure it out. Windows 10 and macOS are both working for me, so I need to know all of the details to see what is different.

@jyouturner
Copy link

FYI, I had the same problem on my Mac, but after I restarting Visual Code, I was able to connect to ev3dev from the extension/device list.

@jaffarspace
Copy link

macOS and Windows 10 are not the same as the original issue (Windows 7), so please open a new issue with the exact steps to reproduce the problem and we will see if we can figure it out. Windows 10 and macOS are both working for me, so I need to know all of the details to see what is different.

Thanks! reported as new issue as you suggested >> #97

@dlech
Copy link
Member

dlech commented Mar 8, 2020

Because when I try to connect my ev3dev brick via bluetooth in VSCode, it will always throw out the handshake timeout error: "Failed to connect to ev3: Timed out while waiting for handshake." But the connection works fine via usb cable.

In v1.1.0, the timeout is increased from 20 to 30 seconds. It is also now configurable via a setting if that is not long enough.

@vincentmohiuddin
Copy link

Hi, I was having the same issue. Pairing worked but the device would not show up in VSCode. It showed up in VSCode after I went to Wireless and Networks > All Network Connections > {PC-Name} > Connect on the brick.

@crucialfelix
Copy link

crucialfelix commented May 19, 2023

I am able to pair from Mac (Ventura) to ev3dev, and ev3dev shows that it's connected to my mac.

But still VSCode EV3DEV DEVICE BROWSER shows it can't connect.

Oh wait ... I tried to reconnect (for like the 20th time today) and mysteriously it found a newly labelled ev3dev and it works!

Oh I wish I could tell you why it works now and didn't before. Bluetooth is a mess

solved: it was because I also had the USB connected. That always works.

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

No branches or pull requests

8 participants