The Communication Port does not exist or it is Already Being Used

For problems with the OpenSignals software
PGoncalves
Posts: 48
Joined: Wed Mar 12, 2014 2:13 pm

The Communication Port does not exist or it is Already Being Used

Postby PGoncalves » Thu Jul 30, 2015 1:52 pm

This exception usually means that the device to which you are trying to connect is already connected somewhere else. To solve it, you can either shutdown the software that is connecting to the device or try turning off and on the device itself, since this action will close the connection.

If you keep having this issue multiple times, it may be due to a problem with the Bluetooth adapter when it comes to closing the connection to the device. Please try the instructions in the Bluetooth Troubleshoot (Windows) - Checking Bluetooth Adapter or Bluetooth Troubleshoot (Windows) - Changing to Microsoft Bluetooth Stack threads:
http://forum.bitalino.com/viewtopic.php?f=17&t=331
http://forum.bitalino.com/viewtopic.php?f=17&t=332

If the issue is still not resolved, you have to manually force the disconnection of your software with the device after each interaction. To do so, follow the instruction found in the Bluetooth Troubleshoot (Windows) - Removing Paired Device thread:
http://forum.bitalino.com/viewtopic.php?f=17&t=334

jtvilm
Posts: 4
Joined: Tue Aug 30, 2016 11:31 am

Re: The Communication Port does not exist or it is Already Being Used

Postby jtvilm » Tue Aug 30, 2016 2:55 pm

Hi,

I am using a recently ordered Bitalino BLE plugged on Windows 10 and cannot resolve this exception, despite following all provided suggestions.

I've tried connecting and disconnecting as well as removing and re-adding the device to no avail. Also, installing the newest device drivers for my Bluetooth module (Intel Wireless Bluetooth) has no effect.

Open Signals can detect the paired Bitalino after some long delay (> 5min after pairing) but shows this exception. Likewise, the error occurs when running the test program delivered with the C#.Net library. When instantiating the Bitalino device using its device ID the same exception is thrown.

What may be the cause and how can it be solved? I am unable to downgrade to Windows 7 so any help in being able to connect my Bitalino with Windows 10 is greatly appreciated.

Thank you very much!

cazevedo
Posts: 18
Joined: Tue Feb 25, 2014 2:17 pm

Re: The Communication Port does not exist or it is Already Being Used

Postby cazevedo » Wed Aug 31, 2016 9:24 am

Hi jtvilm,

The PLUX API and consequently the OpenSignals BLE communication implementation requires the use of a specific BLE dongle.
So in order to use the BITalino BLE with OpenSignals you need to use this BLE dongle:
https://store.plux.info/accessories/207 ... 21502.html

At the present moment the BITalino API's (http://bitalino.com/index.php/development/apis) only have Bluetooth Classic communication implemented so even with this dongle you will not be able to communicate with the BITalino BLE using these API's.

Best regards,
Carlos Azevedo

jtvilm
Posts: 4
Joined: Tue Aug 30, 2016 11:31 am

Re: The Communication Port does not exist or it is Already Being Used

Postby jtvilm » Wed Aug 31, 2016 10:11 am

Ok, thank you very much for this info!

Can you give an estimate when the APIs will be able to use BLE for communication? I would need that most and rather soon.

Best,
Jan

BITalino
Site Admin
Posts: 561
Joined: Tue Aug 27, 2013 3:47 pm

Re: The Communication Port does not exist or it is Already Being Used

Postby BITalino » Wed Aug 31, 2016 10:26 am

Hi Jan,

If you are using iOS or Mac OS you should be able to interface with BITalino using the APIs made available by Jasmin Nisic:
https://github.com/jasminnisic/BITalinoBLE-iOS
https://github.com/jasminnisic/BITalinoBLE-Mac

Best regards,
The BITalino Team

jtvilm
Posts: 4
Joined: Tue Aug 30, 2016 11:31 am

Re: The Communication Port does not exist or it is Already Being Used

Postby jtvilm » Wed Aug 31, 2016 10:40 am

Hi,

thanks, but I don't have or use any Apple devices, Windows and possibly Linux are preferred platforms.

Best,
Jan

jtvilm
Posts: 4
Joined: Tue Aug 30, 2016 11:31 am

Re: The Communication Port does not exist or it is Already Being Used

Postby jtvilm » Thu Sep 01, 2016 11:04 am

Ok,

I think I was not too precise in my question, but is there a chance that you would update at least the Windows C++ API in the near future so that a Bitalino BLE can work with it (assuming one has the special dongle)?

We would really need a programmatic access to Bitalino, and if this is not possible with the BLE version then it is, given our time frame, unfortunately useless to us and we would want to change it to a normal Bluetooth version then.

Best,
Jan


Return to “Troubleshooting”




cron