ZBTxRequest XBEE

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

char and uint8_t are the same size, so a simple cast is all that is required.

As to why it does not work for you, who knows. And, really, if you can't post you code, who cares.