Problem with setting baud rate in arduino yun

Hello everybody,

I have a porject that include a xbee 2s and arduino yun. so when I set arduino yun and xbee with 9600 baudrate, there is no a problem but when I set more that 9600, arduino and xbee is not understand so I cannot send a frame. In my arduino skectch I am using altsoftserial so set baud rate, so anyone knows what problem is?

Whats the Baud rate on your xbee? From what I have experienced with serial devices baud rate has to match on both ends. I could be wrong.

Please add your sketch using code tags ( </> )

Not quite sure if altsoftserial is compliant with the YUN ?