Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Compact Framework / January 2006

Tip: Looking for answers? Try searching our database.

OpenNETCF.IO.Serial - SerialCSharp Example

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mader - 05 Jan 2006 17:58 GMT
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
Ginny Caughey [MVP] - 09 Jan 2006 15:29 GMT
Mader,

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

Signature

Ginny Caughey
.NET Compact Framework MVP

>I am having an issue sending and receiving data with
> OpenNETCF.IO.Serial Samples "SerialCSharp ".
[quoted text clipped - 6 lines]
>
> Thanks
Mader - 10 Jan 2006 14:52 GMT
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,
Ginny Caughey [MVP] - 10 Jan 2006 15:27 GMT
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.

Signature

Ginny Caughey
.NET Compact Framework MVP

> Ginny,
>
[quoted text clipped - 11 lines]
>
> Thanks,
<ctacke/> - 11 Jan 2006 01:38 GMT
Do you have an oscilloscope you can put on the Tx/Rx lines?  That's the best
place to start.

-Chris

> Ginny,
>
[quoted text clipped - 11 lines]
>
> Thanks,
Mader - 11 Jan 2006 14:20 GMT
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
Ginny Caughey [MVP] - 11 Jan 2006 15:34 GMT
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.

Signature

Ginny Caughey
.NET Compact Framework MVP

> Chris,
>
[quoted text clipped - 8 lines]
> Thanks,
> Mader
Markus Humm - 11 Jan 2006 18:52 GMT
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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.