
Originally Posted by
jjakes24
Well, I program c# for a living. I have done a lot of interactions with machines through TCP and UDP. Now 0x33 is just a hex number that would fill one byte. I Imagine you would be sending a command set that is a certain number of bytes, this might just be one.
byte [] tmp = new byte[1];
tmp[0] = 0x33;
All you would have to do is send off that byte. I haven't done much with RS232 but it can't be far off. I would have to look at the RS232 libraries which i think are available with .net 2.0 which is still being developed. How are you connecting to the RS232 port? What is the data structure the libraries want you to send across the device?
I imagine you are going to have to work with bytes because the ELM device from what I understand converts to ASCII and thats probably where the delay comes in. If you use a non ELM device, the only way would be to convert the Hex that comes in, which is probably stored in bytes.
Bookmarks