ok...so, then am I to do something like this? ..or is there an easier way?
(or would this compile..havn't tried it.) ..perhaps someone can see what I'm failing miserably at trying to accomplish..hehe
Code:
//somewhere before we defined 'char buf[2]' as the word "ale"
unsigned char cData[] =
{ SNIFF_PACKET_H1,SNIFF_PACKET_H2,
SNIFF_PACKET_XYZxyzHh,17,
(unsigned char)(iX >> 8),(unsigned char)(iX),
(unsigned char)(iY >> 8),(unsigned char)(iY),
(unsigned char)(iZ >> 8),(unsigned char)(iZ),
0,0,0,0,0,0,
(unsigned char)(iH),0,buf[0], buf[1], buf[2]
};