Spezi currently has the limitation that a Module of the same type can only be loaded once. Trying to load duplicates results in a runtime crash. This is currently a limitation for SpeziBluetooth to support connecting with multiple typed BluetoothDevices at the same time.
Reproduction
Declare your BluetoothDevice class
Connect first device
Connect second device
Expected behavior
Multiple devices should be capable of being connected. SpeziBluetooth itself has the necessary infrastructure to support that. Also all APIs suggest that this is possible.
Additional context
No response
Code of Conduct
[X] I agree to follow this project's Code of Conduct and Contributing Guidelines
Description
Spezi currently has the limitation that a Module of the same type can only be loaded once. Trying to load duplicates results in a runtime crash. This is currently a limitation for SpeziBluetooth to support connecting with multiple typed BluetoothDevices at the same time.
Reproduction
Expected behavior
Multiple devices should be capable of being connected. SpeziBluetooth itself has the necessary infrastructure to support that. Also all APIs suggest that this is possible.
Additional context
No response
Code of Conduct