OpenNETCF.IO.Serial - SerialCSharp Example

  • Thread starter Thread starter Mader
  • Start date Start date
M

Mader

I am having an issue sending and receiving data with
OpenNETCF.IO.Serial Samples "SerialCSharp ".

I have several devices, but when I use it on my HP iPAQ hx2490, and HP
iPAQ hx2790 it doesn't send any data. And when it receives data all
it displays is question marks. '?'.

Any ideas?

Thanks
 
Mader,

Are you sure that you have the serial protocol right for the serial device
you're using?
 
Ginny,

I am not sure on the serial protocol. I am using the example for
Serial communication from OpenNETCF. The application works fine on the
following models. (HP rx1945, rx1950, rz1710, Dell Axim x50, x51,
x51v, & Symbol SPT8800.) So I have 7 models that work. And 3 models
that don't (HP hx2190, hx2490, & hx2790)

Does each of these models have different serial protocol?

How can I tell?

Could there be different drivers installed?

Thanks,
 
Mader,

I meant the protocol for the serial device - the GPS, printer, or whatever
you're connecting to from the CE device, and you should have documentation
for those devices from the manufacturer. That your code works fine on some
CE devices and not others would imply something different about those
devices.
 
Do you have an oscilloscope you can put on the Tx/Rx lines? That's the best
place to start.

-Chris
 
Chris,

Yes I can try an oscilloscope. But I don't know what I will gain. The
HP devices are able to send contacts and files to other PDA's. It just
isn't working with 'OpenNETCF.IO.Serial - SerialCSharp Example'.

Would the HP models need different port setting?

I have tried COM1 - COM8. I believe that the correct port is COM2.

Thanks,
Mader
 
Mader,

Unless your HP models are connected to other devices using serial
communications, I'm not sure what difference that would make. And if they
are using serial communication, then perhaps the port you need is not
available to your app.
 
Hello,

sometimes (as on MDA III) the RS232 port is blocked by another one.
In my case it was the IrDa, which could be disabled by temporarily
switching off "accept incomming connections".

Another thing: there is a utility similar to windows device manager for
free and for PDAs available. PHM Device manager I think it is called. It
might tell you more about these PDAs.

For the Dell Axim x51: can you confirm that it has a serial port? Which
cable are you using and what are you doing with that port? Only Rx/Tx or
more pins? Dell won't tell me (or can't) - a real shame!

Greetings

Markus
 
Back
Top