Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Swaping from TCP to serial port protocol.

Reply
Thread Tools

Swaping from TCP to serial port protocol.

 
 
k2
Guest
Posts: n/a
 
      04-24-2007
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
--
*****************************************
Please remove the killspam portion of
my return address if replying directly
*****************************************
 
Reply With Quote
 
 
 
 
Knute Johnson
Guest
Posts: n/a
 
      04-24-2007
k2 wrote:
> 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


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?

--

Knute Johnson
email s/nospam/knute/
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Swaping? Andry C++ 49 01-15-2008 12:21 PM
Hard drive copying & swaping JJ Computer Information 14 07-03-2006 05:58 PM
swaping disks with acronis trueimage? j_slobo@hotmail.com Computer Support 3 10-03-2005 08:35 PM
NAT two outside TCP ports to one inside TCP port Kevin Cisco 1 11-10-2004 08:15 AM
swaping vectors & arrays J. Campbell C++ 2 09-30-2003 09:20 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57