 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Remy Lebeau (TeamB) Guest
|
Posted: Mon Jun 06, 2005 8:07 pm Post subject: Re: PLEASE EXPLAIN ACK/ENQ PROTOCOL |
|
|
"N. Karademir" <n.karademir (AT) smart-software (DOT) org> wrote
| Quote: | can someone give me some info about ack/enq protocol?
|
This is not a language issue. This group is for discussions related to
Borland's implementation of the C++ language itself. Please direct your
question to a more uitable group, such as the .nativeapi group which is for
Win32 API discussions.
Gambit
|
|
| Back to top |
|
 |
Bob Gonder Guest
|
Posted: Mon Jun 06, 2005 8:27 pm Post subject: Re: PLEASE EXPLAIN ACK/ENQ PROTOCOL |
|
|
N. Karademir wrote:
| Quote: | can someone give me some info about ack/enq protocol?
|
This is the wrong group as RS232 has nothing to do with C or C++.
Perhaps cppbuilder.internet, or more likely, the .nativeapi group
would be better suited.
Maybe even de.comm.protocols.misc or one of the
comp.protocols.whatever
| Quote: | i f i am right, the rs232 device sends me ENQ, then i send ACK back, then it
sends data, finally i'll sent ACK.?
|
I think that is backwards (been 20 years since I learned or use that)
My recall is that the receiver (Mainframe) is asking the sender
(Terminal) if it has any data (Enquire or ENQ), and the sender is
responding ACK (yes) or NAK (no). This is used in a polling
environment where the server has to keep tabs on many terminals, and
can only talk to one of them at a time.
| Quote: | How do i send ACK?
is this just the letters "ACK" ?
or is it a dec / hex value i have to send?
|
Same as ENQ, it is a single char
According to an old SDA II manual:
ENQ 0x05
ACK 0x06
NAK 0x15
I seem to recall seeing a frame structure around them too, but don't
recall any specifics.
Your best bet would be to find out the official name for your
protocol, and search for that.
|
|
| Back to top |
|
 |
N. Karademir Guest
|
Posted: Mon Jun 06, 2005 9:34 pm Post subject: PLEASE EXPLAIN ACK/ENQ PROTOCOL |
|
|
Hello,
can someone give me some info about ack/enq protocol?
i f i am right, the rs232 device sends me ENQ, then i send ACK back, then it
sends data, finally i'll sent ACK.?
How do i send ACK?
is this just the letters "ACK" ?
or is it a dec / hex value i have to send?
thanks
N. Karademir
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|