Re: [android-developers] Re: Android how to send the hex code out?

2012-03-08 Thread Robert Young
Serial port by definition is a string protocol, characters above 128 like ( 0xFA ) are [control codes]. Examine the difference between binary and string representation 2012/3/7 Todd Grigsby > "0x" implies that the characters that follow are byte data in hex > notation. The "0x" is not part

Re: [android-developers] Re: Android how to send the hex code out?

2012-03-07 Thread Todd Grigsby
"0x" implies that the characters that follow are byte data in hex notation. The "0x" is not part of the data.But if you don't know that, you're frankly on the wrong list. You need to learn basic programming before you ask any further questions. On Mar 6, 2012 5:16 AM, "mark2011" wrote: > De

[android-developers] Re: Android how to send the hex code out?

2012-03-06 Thread mark2011
Dear Todd : Thanks for your kindly hint. Could you give me a more detail? Thanks. BR, Mark On 3月6日, 下午6時57分, Todd Grigsby wrote: > Google "hex notation" and "hexadecimal". > On Mar 6, 2012 12:34 AM, "mark2011" wrote: > > > > > Dear All : > > > I want to send out the hex code like 0xfa th

[android-developers] Re: Android how to send the hex code out?

2012-03-06 Thread Remote Red
0xfa? If you tell me how you send out the f and the a then I tell you how to do that with the 0 and the x. ;-). -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To uns