What are the steps to establishing a Bluetooth connection to the Development Boarad in Python? I used:
where COM7 is the Bluetooth wireless port.
This works the first time but when the program ends, and I try running another program with the same command, the Bluetooth port doesn't get established. The only solution I have found is to go to the Bosch Development Desktop software package, establish a connection in Bluetooth, then close Bosch Development Desktop, and then run my program. I am guessing that somehow the Bluetooth connection needs to be reset or disconnected but I don't see an API to do that. I have tried connecting to USB first with the same statement, then connecting via Bluetooth, but that didn't solve this problem. Any ideas?
Disconnecting/resetting seems to be the problem - I was wondering if anyone had uncovered any commands in the Bosch python library that were needed to reset the port