Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > C - C++ Learning > hex values to s...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 4 Topic 4267 of 4370
Post > Topic >>

hex values to string

by Gerhard Wolf <quisquiliae@[EMAIL PROTECTED] > Sep 10, 2008 at 04:25 PM

Hi,

the do***entation of a serial devices explains how to communicate.
I have to send the sequence:

Device adress: 0x01
Function: 0x03
Register adress: 0x0000
....
....
to a serial ****t. I use the  sio_write(int ****t, char *buf, int len) 
API-232 function

but how do i convert the this hex values (0x01, 0x03, 0x000...)
to a char *buf ?

please help
 




 4 Posts in Topic:
hex values to string
Gerhard Wolf <quisquil  2008-09-10 16:25:43 
Re: hex values to string
"Alf P. Steinbach&qu  2008-09-10 16:37:03 
Re: hex values to string
"Alf P. Steinbach&qu  2008-09-10 16:38:18 
Re: hex values to string
Barry Schwarz <schwarz  2008-09-10 17:11:16 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Nov 21 16:19:58 CST 2008.