Does it also tell you the other parameters, such as baud rate, data bits, stop bits ?

You might also find it useful to post your code that doesn't work.