Can't connect to Puck on Windows 7 #1846
Replies: 26 comments
-
Posted at 2016-12-15 by @gfwilliams Are you using the Web IDE that installed with the installer? The one you install from the Chrome Web Store won't work (yet). Please can you try totally disconnecting from it via the Windows Bluetooth dialog, and trying again? There's an annoying situation where:
I think I need to update the getting started guide a bit! |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-12-15 by user71255 Yup, I've downloaded the installer and used that IDE. I tried both paired and not paired in Windows, on both PCs, to no avail. I wouldn't be opposed to running a join.me or a TeamViewer session at this point! |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-12-15 by @gfwilliams Do you have and Android/iOS phone you could use to test that the Pucks are available on Bluetooth? And just to check - the PCs are both running 64 bit Windows 7, not 32 bit? |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-12-15 by user71255 Yup, I connected to the Puck using my Android. And I can pair with the PCs too. Both PCs are running Windows 7 64-bit. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-12-15 by @gfwilliams If you look in settings->console on the Web IDE. Is there anything that looks like an error to do with You could also try installing the command-line tools and seeing if you have any luck with those? I'm afraid I can't start remote-desktopping into other people's PCs though - I just don't have the free time. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-12-15 by bosscube I attached a picture of the console. The console states:
I know you're busy but I took a shot with the remote help :) I have command-line tools installed; I'll try those soon.Attachments: |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-12-15 by @gfwilliams If you scroll up, are there any errors earlier on? Just a stab in the dark: but when you ran Zadig, did you actually click the If you just run it, I think it says |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-12-15 by bosscube I do see another error that I missed previously:
I've also attached another screenshot that shows Puck is listed in the Windows Add Device UI, but the Espruino Web IDE cannot find it.Attachments: |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-12-15 by bosscube
Yes, I did click the Replace Driver button. I tried again several times afterwards too. Sometimes it would take so long it would time out, so I would need to restart the PC and try again before it worked. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-12-15 by @gfwilliams You can ignore the If you google Are you're a node.js developer? If so it'd be worth trying to get any node.js application using the edit: Also the timing out sounds like it's not working. When I did it on Windows 7 it was pretty much instant. Someone mentioned:
Any chance you've disabled Windows Update? |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-12-15 by bosscube After many, many, many re-scans, the Puck showed up in the dialog. Pairing failed of course, but at least I could check the console after:
I also noticed that running I'm at a loss about why the Puck seems to appear and drop intermittently. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-12-15 by bosscube I can retry Zadig, sure. When it worked, it worked instantly. But if I tried to reinstall again, it sometimes timed out and I'd have to restart. I've written a couple Node apps yeah, I'll try that suggestion next. Windows Update is enabled. Thanks for all the help so far Gordon. If/when this is finally resolved I think we'll both take a big sigh of relief :) |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-12-15 by @gfwilliams Could one of your PCs attempting to connect to the Puck automatically? It could even be the Android phone if you left some Bluetooth running in the background. Also, have you updated the firmware on Puck.js from your Android phone? That could possibly help with connection issues. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-12-15 by @gfwilliams Also, I'd be pretty sure that BTLE stuff is completely different, so a lot of your basic Bluetooth stuff just won't show it at all. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-12-15 by dklinkman I have a similar setup (Win 7 x64) and I am seeing very similar results where windows can see the puck via BLE but the native application does not. The console log shows these errors at the beginning: We have chrome.serial - not using 'serialport' module And then later:
|
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-12-15 by @gfwilliams Did you run zadig? As in the last post, it looks like that hasn't worked for some reason. If the Web IDE is giving you the 'Web Bluetooth' option - which it looks like you clicked - it's because it hasn't been able to access the Bluetooth dongle properly. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-12-15 by dklinkman I'm unfamiliar with zadig or what it does for us here exactly. I downloaded it and I see where I can apply or reinstall a generic driver WinUSB for the BLE dongle USB device. Is that what's needed? |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-12-15 by dklinkman Well it worked, which is good, but I'm still confused, which is normal. After I ran zadig and replaced the driver on the BLE USB device, the bluetooth radio devices in device manager disappeared to be replaced by a generic USB serial bus device. Ran the native web IDE and was able to list all my pucks and connect to a few of them and run commands. As far as Windows bluetooth it still appears to be working, though all Windows can see on bluetooth is a Samsung TV in the other room. It does not list the pucks. On android the pucks do show up on a bluetooth scan. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-12-16 by @gfwilliams The problem is that Windows will install the manufacturer-supplied drivers for BLE - however there's no 'standard' for accessing BLE in versions of Windows below 8.1, so even though the manufacturer's driver has claimed BLE, there's not really much any application can do with it. Zadig installs a general purpose driver which lets an application access the BLE device directly - in this case the Web IDE. However that means that the original driver no longer works (unless you run Zadig again and put it back). Having said that, it's fiddling with the Bluetooth LE driver, not the Bluetooth driver (they're effectively different bits of hardware) - so you can still see and use normal Bluetooth devices as before, just not Bluetooth LE ones. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-12-16 by @gfwilliams Just to add - if you're uncomfortable with that, you can always put it back and then use a $5 external Bluetooth 4 dongle which you use Zadig with, while leaving internal Bluetooth hardware alone. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-12-16 by bosscube Well I finally got it solved by moving the Bluetooth dongle over to my 2nd PC, which previously I was just using the built-in Bluetooth adapter. I dunno why the dongle didn't work in the first PC and the built-in 4.0 adapter doesn't work in the 2nd PC, but at least I know the Puck isn't somehow defective. If I get it working in the first PC (which is ideal since the 2nd is my work laptop), I'll post back with how and why. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-12-16 by @gfwilliams Great, thanks! And thanks for letting us know. Sorry it's been a bit of a faff. For some reason known only to themselves, Microsoft never back-ported the Bluetooth APIs to earlier versions of Windows, so it makes life way more painful than it should really be on Pre-Windows 8.1 machines :( |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-12-23 by bosscube UPDATE 12/23/2016: I tried reinstalling via Windows Update but it still didn't work after using Zadig to change to WinUSB. Finally, I found the Intel Driver Update Utility Installer here: https://downloadmirror.intel.com/24345/a08/Intel%20Driver%20Update%20Utility%20Installer.exe Doing a scan, nothing was found, but when I clicked Older Drivers, I found 2 downloads for Bluetooth. I grabbed both of them since I didn't know which one to use. The first one installed but Windows reported that 2 things failed. The 2nd installation started and then reported that a newer version was already installed. Just out of curiousity, without opening Zadig yet, I opened the Web IDE and lo and behold.. puck.js was in the list! It connected and I have been messing around with it for over an hour, so I'd say I'm in the clear! |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-12-23 by bosscube Whoops.. updated in two places by mistake :) |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-01-04 by @gfwilliams Interesting - thanks for letting us know! |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-01-05 by dklinkman Yes! I actually did this [post] and the internal bluetooth and external dongle changed with Zadig are both happy and working properly. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-12-15 by user71255
I just received my Puck today. I have 2 PCs, both with Windows 7. One of the PCs has a Bluetooth 4.0 dongle. Every time I try to connect to the Puck, I either get a "no devices found" or it'll find the Puck but when I click Pair on the desktop IDe it'll fail every time. I installed Zidag and verified that the dongle is using WinUSB, and I can add the Puck using the Windows UI, and I see under services it has GATT Server. Just can't connect with the desktop Espruino IDE. Anyone else on Windows 7 having this issue? Any way to resolve it?
Beta Was this translation helpful? Give feedback.
All reactions