ares_lora.find_ports
¶
Finds valid ports that match the description given by the valid targets tuple.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
targets
|
tuple[str, ...] | None
|
The valid targets for ports. This is a tuple of strings described as such: |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, list[str]]
|
A dictionary where the key is a valid target and the value is a list of ports associated with that target. |