Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / April 2007

Tip: Looking for answers? Try searching our database.

Swaping from TCP to serial port protocol.

Thread view: 
k2 - 24 Apr 2007 22:36 GMT
Hello, I'm in a rather sticky situation here. Project is in real
jeopardy because hardware device my java module is interfacing with is
having a difficult time with onboard ethernet services, bringing up a
question on feasibility of moving my socket based protocol interface
which serves and receives xml documents to and from this device to a
more primitive, but direct, serial port protocol directly to this
device. I'm googling around and finding javax.comm.* information on how
to wire it up, but not sure of the extent of pitfalls and problems doing
this may encounter. I'm assuming part of my pain will be in handling
response context including retry transmissions on missed data, etc. Any
chance anyone here has had experience with this, ideally in Java?

Appreciate any information, insights,

k2
Signature

*****************************************
 Please remove the killspam portion of
 my return address if replying directly
*****************************************

Knute Johnson - 25 Apr 2007 00:49 GMT
> Hello, I'm in a rather sticky situation here. Project is in real
> jeopardy because hardware device my java module is interfacing with is
[quoted text clipped - 11 lines]
>
> k2

I've done a fair amount of data over serial port but most of it has not
required serious error checking.  What error checking we have done has
been limited to some sort of checksum on the data.  That is really easy
to implement and is probably good enough in many instances.  It should
be easy enough to write a more sophisticated protocol but you would have
to decide if it was worth the investment for the reliability increase.

Just for my curiosity what sort of problem is your device having with
the ethernet connection?

Signature

Knute Johnson
email s/nospam/knute/



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.