RS232 problem

I need to write a program to connect a eTrex Legend GPS device from Garmin (device manufacturer) to a PC through the RS232 port. I'm using the Windows API. I need to send a packet and recieve an acknowledgement. I used WriteFile and then ReadFile but I got junk. Should I use an event or something to wait before reading or wat. Please let me know the correct sequence of how to communicate (need it badly). The windows API help is absolutely useless.


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!