Sending Sensor Data Via Xbee Series 2

i compile the sketch above but compilation,,,sorry this is my first time use xbee

and i want to send data with frame,,how about it?
i set coordinator API and router API

and i want to send data with frame

Get over it, until you KNOW that your two XBees are talking to each other.