Hi Guys, Please realize I consider this a better group to ask than any other. This is not about a PIC, but still a weird COM port question.
I am working on a VB.NET program to communicate with COM port to talk to a RS232 to Bluetooth adaptor. This is the equipment given, so no room to change it. Here is what is happening:
I can't seem to get the device to respond. I can talk to a modem, and I can use a loop back plug and see what I send. So I assume I am actually talking through the port.
Using TeraTerm I can talk to the device. So I am sure it is working. Here is the strange part:
If I send the command BAUD=?, the device should respond with BAUD=9600bps. When I send it from my software I get nothing. If I then close mine and open teraterm, I will see my query (BAUD=?) and then also see the response (BAUD=9600bps).
I have even changed the baud rate in my app, and teraterm will show garbage.
I am sure you guys will need more info, but I am at a loss here. It is almost like my stuff is stuck in a buffer then when Teraterm connects it is sent out. BTW, all my settings are the same as in TeraTerm, 9600, 8N1, no flow control. TeraTerm is setup as VT100 terminal if that makes any difference. There is a switch on the device for DTE/DCE, could this be it?