xbee whith vex cortes and robotc 4

hello my friends

I need of your help, I want to conect a xbee pro at vex cortex I would like if someone can to give me a example of program of how send receive data for the uart 1 or 2

I have looked information but the information is of old robotc and I think that in the new versions is different

I have the xbee 51 pro
I work whith robotc 4.x

sorry for my bad English, I hope that someone understand me

thank for your help and your time

Had mixed luck with the XBee pro. The communication was not nearly as constant as I would have liked.

You have a ton of set up to do on the XBee devices to get them to talk in the first place. Use the XBee configuration app and some test terminals. Then use the serial communication for the XBees to talk.

https://vexforum.com/t/vexnet-and-arudino/30077/1

While not an XBee, this was able to work a bit more reliably. A bluetooth connection.

https://vexforum.com/t/bnsbluetooth-robotc-library-for-the-hc-05/29982/1