Presently I was working on serial communication between Raspberry Pi and PC via XBee Pros. I was able to send serial data correctly from Raspberry Pi. I confirmed this by minicom program
minicom -b 9600 -o -D /dev/ttyAMA0
command. But when I connect other XBee Pro to PC and start putty with same baud rate and all the settings same, I was reading garbage values when I sent any data from Raspberry Pi.
Sample python script to send data through serial port
import serial
serr= serial.Serial("/dev/ttyAMA0", baudrate=9600)
serr.open()
serr.write("test")
But whenever I read data from XBee via putty in my PC I am getting garbage values(like latin)
What am I doing wrong?