Tags: microbit-foundation/microbit-connection
Tags
Add deviceSelectionMode to MicrobitWebUSBConnectionOptions (#60) Added a new configuration (`deviceSelectionMode`) for how a device should be selected. `DeviceSelectionMode.AlwaysAsk` - Attempts to connect to known device, otherwise asks which device to connect with. `DeviceSelectionMode.UseAnyAllowed` - Attempts to connect to known device, otherwise attempts to connect with any allowed devices. If that fails, asks which device to connect with.
Fix WebUSB serial (#55) Reinstate serial after flashing to fix starting of serial after flashing (main issue and related issue 1) Don't start serial when flashing to fix flashing issues (related issue 2) Fixes microbit-foundation/python-editor-v3#1209
Added connection-specific interfaces and factory functions for export… …ing instead (#50) * Added specific interfaces for different connection types. This is helpful for mocking. * Exported new factory functions for creating the connections instead of the class. * Updated demo and docs to match changes.
PreviousNext