ZBTxRequest XBEE

Hello,

In my first post i put all the sender code.

The receiver works because i receive from other xbees.

After some research i found that the problem is with variables.

ZBTxRequest ZBTx (XBeeAddress64 x, char y, char t)

Here i define chars, but i have to put them in an array of uint8_t - z.
And here i have problems. I think it's a conversion problem.

How can i convert a variable from char to uint8_t??