Skip to content

Merged view of usb and bluetooth devices#81

Merged
MouradLachhab merged 8 commits intomasterfrom
unified-device
Nov 19, 2020
Merged

Merged view of usb and bluetooth devices#81
MouradLachhab merged 8 commits intomasterfrom
unified-device

Conversation

@MouradLachhab
Copy link
Copy Markdown
Contributor

Showing Usb and Bluetooth devices in the same view. Also fixed a bug where plugging in a Usb device after opening the page wouldn't show it.

Comment thread mobile/lib/src/presentation/pages/device_selector/device_selector_page.dart Outdated
@@ -20,14 +21,21 @@ class SerialRepository implements IAcquisitionDeviceRepository {
void initializeRepository() {
Copy link
Copy Markdown
Contributor

@WilliamHarvey97 WilliamHarvey97 Nov 15, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pourquoi ne pas nommer cela scan()? Même si ce n'est pas un scan bluetooth comme tel, je trouve que cela explique plus ce que c'est. Si on le nomme comme ça, on pourrait retourner Stream<List<AcquisitionDevice>> à la place de void. On aurait plus besoin de IAcquisitionDeviceRepository::watch() si on procédait ainsi.

Comment thread mobile/lib/src/infrastructure/connection_repositories/bluetooth_repository.dart Outdated
Comment thread mobile/lib/src/services/device_locator_service.dart Outdated
Comment thread mobile/lib/src/services/device_locator_service.dart Outdated
Comment thread mobile/lib/src/application/device/device_selector_cubit.dart Outdated
Comment thread mobile/lib/src/application/device/device_selector_cubit.dart Outdated
Comment thread mobile/lib/src/domain/acquisition_device/device_locator_service.dart Outdated
Comment thread mobile/lib/src/application/device/device_selector_cubit.dart Outdated
Comment thread mobile/lib/src/infrastructure/connection_repositories/bluetooth_repository.dart Outdated
Comment thread mobile/lib/src/infrastructure/connection_repositories/bluetooth_repository.dart Outdated
@MouradLachhab MouradLachhab merged commit 1330252 into master Nov 19, 2020
@MouradLachhab MouradLachhab deleted the unified-device branch November 19, 2020 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants