Mavlink data transfer error

Hi,
i was trying to transfer mavlink data from companion to another raspberry Pi which is connected to UART port of companion using the command ’ sudo mavproxy.py --master=udpout:0.0.0.0:9000 --out /dev/ttyS0’
a receiver code is running on the second raspberry pi . revc.txt (201 Bytes)
while running this file, i am getting an error like *{‘mavpackettype’: ‘BAD_DATA’, ‘reason’ : u’Bad prefix’ …}
can anyone help me to solve this?

Thank you.