Silvain Jewoh wrote:
I'm not entirely clear on what you're actually asking but I'll give it a shot.I write some Application to read a chip Card with a chip card reader for palm. I must send the commans to the reader in Hex (e.g. Char com [] = {0x00, 0x33, 0x34, 0x34,0x00}).The user must give some parameter on the palm and i dont know how i can change the format Char com [] = {"test"} to this Char com [] = {0x00, 0x00......
0x00 format is just a byte. one hex digits represents 4 bits, so 2 hex digits represents 8 bits or a byte.
char com[] = { "test" } = char com[] = { 0x74, 0x65, 0x73, 0x74, 0x00 }
so, you might already have it in the right format.
hope that helps
Matt
--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
