Skip to content

Centralize port management state and use connectionId for device distinction #4699

@coderabbitai

Description

@coderabbitai

Context

As discussed in PR #4698 (#4698 (comment)), the current CapacitorSerial implementation uses a hardcoded "serial" path for all devices.

Proposed Solution

The intention is to use connectionId to distinguish between multiple connected devices. Port management states should be centralized to properly handle multiple devices.

Related Discussion

This task is planned for a future PR to improve the architecture of serial port handling across different protocols.

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions