ev3duder icon indicating copy to clipboard operation
ev3duder copied to clipboard

Bluetooth does not seem to work with EV3

Open fcarsten opened this issue 5 years ago • 5 comments

I run ev3duder on Windows 10 64Bit which is connected via Bluetooth to an EV3 HW: 0.60, FW: 1.09H .

The Bluetooth connection works fine with the Mindstorm software. If I run ev3duder however, it hangs at "Checking reply":

PS C:\Users\carsten> C:\ev3\uploader\ev3duder.exe --serial=COM7 ls 00 08 00 00 00 01 99 00 04 2f 00 Checking reply:

fcarsten avatar Apr 03 '19 06:04 fcarsten

Consider using the new ev3 firmware(the one which is available on the microsoft make code website) and the new windows driver, which enables uploading files directily via the file explorer.

WingSMC avatar Apr 03 '19 13:04 WingSMC

It hangs inside HIDAPI, which is doubly strange, because we specify a 2 second timeout, so it should've just failed if nothing happens..

As for the actual issue, sorry, no idea. Maybe newer firmware versions speak a different protocol? I didn't know about the Windows driver, but it sounds like the better alternative. You can always trace the USB/HID messages exchanged between the EV3 and the Windows driver if you want ev3duder to support them..

a3f avatar Apr 08 '19 02:04 a3f

I am too unable to use Bluetooth on Linux. I don't know if the issue is with the protocol, but from the EV3 sources it seems it should still behave the same. ev3duder was only able to read() two bytes from the /dev/rfcommN device. This was the case for both separate and combined reading of the length field.

I think using rfcomm sockets instead may help with this, but that is linux-specific.

JakubVanek avatar Aug 25 '20 06:08 JakubVanek

The Linux issue is likely different, opening #27 for it.

JakubVanek avatar Aug 25 '20 07:08 JakubVanek

@fcarsten, this issue has most likely been fixed with #40.

germanicianus avatar Apr 07 '21 23:04 germanicianus