Re: Unsuccessfull serial communication with CF 2.0
- From: "<ctacke/>" <ctacke_AT_OpenNETCF_com>
- Date: Tue, 17 Jan 2006 08:42:09 -0500
Your device requires voltage on RTS or DTR. I'm saying that the UART used
for the serial port on your device may not support them, and the
manuafacturer therefore would not have run any signals. The port could
still send and receive data, it just can't support the handshaking lines.
You have to check with the OEM.
-Chris
"Lonifasiko" <mloichate@xxxxxxxxx> wrote in message
news:1137503277.857846.147960@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Hi Chris,
>
> Thanks for your interest. What do you mean by UART? This is what I can
> tell you:
>
> "supports asynchronous, RS-232 communications via the data port at 9600
> baud only.
> Data are transferred as 8-bit characters with no parity and one stop
> bit. Communication is via three-wire (RS-232
> designations of BA, BB, AB) cable."
>
> and.....
>
> "The following conditions must be met:
> 1. The computer must assert (apply a positive RS-232 voltage to) RTS
> and/or DTR. Either or
> both of these signals supply power to the cable circuitry.
> 2. The computer may leave RTS "open" but may not drive it to a negative
> RS-232 level.
> 3. The computer communications port must be set to 9600 baud, 8 data
> bits, no parity, and one
> stop bit."
>
> Therefore you mean that after knowing RTS or DTR, I would be able with
> CF 2.0 SerialPort class to send and receive data via serial port?
> I'm using event driven communication like this:
>
> sp.DataReceived += new
> SerialDataReceivedEventHandler(this.ReceiveData);
>
> I understand that after sending the specific command I need with Write
> or WriteLine(), if device sends me back something, ReceiveData method
> should be called.
>
> Thanks very much.
>
.
- Follow-Ups:
- Re: Unsuccessfull serial communication with CF 2.0
- From: Lonifasiko
- Re: Unsuccessfull serial communication with CF 2.0
- References:
- Unsuccessfull serial communication with CF 2.0
- From: Lonifasiko
- Re: Unsuccessfull serial communication with CF 2.0
- From: <ctacke/>
- Re: Unsuccessfull serial communication with CF 2.0
- From: Lonifasiko
- Unsuccessfull serial communication with CF 2.0
- Prev by Date: Date sql2000 e sqlce
- Next by Date: treeview contextmenu afterselect
- Previous by thread: Re: Unsuccessfull serial communication with CF 2.0
- Next by thread: Re: Unsuccessfull serial communication with CF 2.0
- Index(es):
Relevant Pages
|