Not working yet, but closer. Sending what looks like the right data, but still no response from the XBee. Sending identical data from a terminal works though :|