OpenRoberta / openroberta-lab

The programming environment »Open Roberta Lab« by Fraunhofer IAIS enables children and adolescents to program robots. A variety of different programming blocks are provided to program motors and sensors of the robot. Open Roberta Lab uses an approach of graphical programming so that beginners can seamlessly start coding. As a cloud-based application, the platform can be used without prior installation of specific software but runs in any popular browser, independent of operating system and device.
Apache License 2.0
124 stars 121 forks source link

VendorId problems with WebUSB when using Microbit devices #1601

Closed rbudde closed 2 months ago

rbudde commented 9 months ago

when connecting a Microbit device to the lab the vendorId is used to filter devices. Currently one vendorId is defined in the plugin property files. But there are more than one. Currently an exhaustive list is unknown to me.

in the Microbit v1 plugin: robot.vendor = 0x1366 v2: robot.vendor = 0xd28

but my v1 has the same vendorId robot.vendor = 0xd28 as the v2. Consequently the device is not recognized.

  1. use a better name as robot.vendor, e.g. robot.vendorid.webusb
  2. allow a list of ids
  3. try to assemble as much ids as possible. Inform the community to deliver their ids, if connection problems occur.
rbudde commented 2 months ago

solved with commit 57fa4f18a51aed8a1b2960f086612a41f8b1b113 pr closed

bjost2s commented 2 months ago

works as expected