Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-24-2009, 06:22 AM
Member
 
Join Date: Mar 2009
Posts: 2
Rep Power: 0
ajordanneve is on a distinguished road
Default Losing Packets/Bytes using DataInputStream and socket
I have a serial to wifi bridge/device server that hosts a webpage with an applet running. The applet opens a socket with the device that uses tunneling to get the bytes through the UART and then stores them in a byte array. If we keep the speed to a minimum, ie 115200kbps or below, we can generally get all 80000 bytes. However, we need to run at around 900+, and we are loosing anywhere up 36000. Obviously, we have done all the usual hardware debugging, and we have quadruple checked the baud rates to make sure they are the same. Is there any method that I can employ that will stop my byte-loss?

Also, we are sending images in an attempt to do some streaming video from a cell camera, so the source is bytes streaming from the DMA on our microcontroller

Last edited by ajordanneve; 03-24-2009 at 06:26 AM.
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with JFrame losing the Design view chris@gaiag.net NetBeans 7 07-23-2008 08:35 AM
Regarding UDP Datagram packets Raghavendra Networking 1 06-11-2008 12:12 AM
Encrypting packets bugger Networking 2 02-04-2008 11:24 AM
Help with BufferedInputstream and/or DataInputStream barney New To Java 1 08-07-2007 08:16 AM
How to capture IP packets Hasan Networking 1 05-31-2007 06:44 PM


All times are GMT +2. The time now is 02:47 PM.



VBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org