Closed snhirsch closed 6 months ago
Hey @snhirsch, I see the run from cmd was without --port
argument, that means it uses the default BLE
internal port. To make it work simply change your autoconnect.ini to port = BLE
or completely remove the port lines.
It needs to be always the other side of a port pair, so if your app connects to COM7 then specifying the same is wrong. You can see this in com0com configuration.
It's different on Linux/macOS, where any valid path works and ports get dynamically created by ble-serial the need of additional tools.
Oh, ouch... You are of course correct . I must have looked at that ini file a dozen times and never put it together.
Working fine now. Thanks so much for your efforts on this! Your code solved a major problem for me. Keep up the great work.
Describe the bug A clear and concise description of what the bug is.
When I start ble-serial at the command line my application is able to open the COM7 port and communicate properly with the remote device. However, if I let autoconnect handle it the application claims the port is in use and cannot open it.
Log messages
When started manually at command prompt:
When started from autoconnect:
Setup (please complete the following information):
python3 -V
] 3.8.6 (newest that will run on Win 7)pip3 list
]Additional Context Tricks for reproducing the issue? Results from other things you have already tried? Ideas what might be the cause, etc.