kkonteh97 / SwiftOBD2

The versatile OBD2 toolkit for Swift developers. Diagnose, explore, and build custom vehicle apps with ease. Includes an emulator for streamlined prototyping.
MIT License
45 stars 8 forks source link

Can I see the list of available OBD2 Device or a way to pass parameter to connect specific OBD2 device? #12

Open dhavalsoni2001 opened 5 months ago

dhavalsoni2001 commented 5 months ago

Is your feature request related to a problem? Please describe. When I try to run the BLE OBD2 device I have a couple of devices in range and it gets one of them automatically if I have a way to give a name (Bluetooth Name) so my app tries to connect that specific OBD2 device only.

Describe the solution you'd like It would be great we can get list of OBD2 devices which is available to connect and I select the one which I want to connect.

kkonteh97 commented 5 months ago

Definitely I would get on that today. the ability to return a list of of devices

kkonteh97 commented 5 months ago

I've added the ability to return list of devices have not had the chance to test it yet but I could put it on the dev branch if you want to test it out.

dhavalsoni2001 commented 5 months ago

Sure please push it to the dev branch so I can check that out, Do we have a feature to pass a list of OBDII names or specify which OBDII I want to connect?

kkonteh97 commented 5 months ago

Sure please push it to the dev branch so I can check that out, Do we have a feature to pass a list of OBDII names or specify which OBDII I want to connect?

I will push it later today I just checked it out lots of issues.