Send data with BlueSmirf Gold

Hi,

I have bluesmirth connected to a Robonova R-1. I can send, for example, ASCII characters to the bluesmirf and with these characters the robot can move. I do this with a RFCOMM client that I’ve programmed. The problem come when I try to send ASCII characters from the robonova via BlueSmirf to a Bluetooth RFCOMM Server.

In the robot code I do something like that:

TxOut = “T”

ETX 115200, TxOut

If I connect the bluetooth module with terminal program, like Zterm of MAC (or HyperTerminal in windows), I can see that character. But with my RFCOMM Server I can’t receive anything.

Here is the source code of my RFCOMM client and server:

mediafire.com/?tn2g2tlj012

How can I solve this?

Thanks