by MikeyD » Tue Aug 14, 2007 7:17 pm
by MikeyD
Tue Aug 14, 2007 7:17 pm
Hey all,
I'm having an issue with my bluetooth that I was hoping someone could provide some guidance on. I have my BlueSMiRF all wired up and connecting to my pc via com7 (on the computer). Great.
The problem, however, is that my bluetooth dongle will support only one virtual serial connection at a time. So in other words, I can only communicate with one robot at a time. Additionally, I don't know how to set up the bluetooth connection via java. I can initialize the input/output stream for the COM port, but I can't actually handshake the two bluetooth devices to make the COM port active.
So I'm looking for one of several solutions:
1) is there a way to set up the bluetooth connection from within robobasic? and for that matter, is there a way to change the broadcast name of the BlueSMiRF?
2) does anyone know of any affordable bluetooth dongles that will support multiple virtual serial connections simultaneously using different COM ports? In other words, I would be able to set up 3 different input/output streams in java to communicate with three different bots.
3) maybe I could set up the bluetooth communication from within java. Then I could switch between different robots as I need to. The issue is that the classes with which serial communication is done through java are no longer supported for windows, so I'm not sure if this can be done.
If anyone has any other ideas or answers to any of the above proposed solutions, please let me know, as this is a massive hurdle. I really don't want to have to connect 4 different bluetooth dongles to communicate with 4 different robots...
Thanks,
Mikey-D
Hey all,
I'm having an issue with my bluetooth that I was hoping someone could provide some guidance on. I have my BlueSMiRF all wired up and connecting to my pc via com7 (on the computer). Great.
The problem, however, is that my bluetooth dongle will support only one virtual serial connection at a time. So in other words, I can only communicate with one robot at a time. Additionally, I don't know how to set up the bluetooth connection via java. I can initialize the input/output stream for the COM port, but I can't actually handshake the two bluetooth devices to make the COM port active.
So I'm looking for one of several solutions:
1) is there a way to set up the bluetooth connection from within robobasic? and for that matter, is there a way to change the broadcast name of the BlueSMiRF?
2) does anyone know of any affordable bluetooth dongles that will support multiple virtual serial connections simultaneously using different COM ports? In other words, I would be able to set up 3 different input/output streams in java to communicate with three different bots.
3) maybe I could set up the bluetooth communication from within java. Then I could switch between different robots as I need to. The issue is that the classes with which serial communication is done through java are no longer supported for windows, so I'm not sure if this can be done.
If anyone has any other ideas or answers to any of the above proposed solutions, please let me know, as this is a massive hurdle. I really don't want to have to connect 4 different bluetooth dongles to communicate with 4 different robots...
Thanks,
Mikey-D