Find Jobs
Hire Freelancers

Java Serial Port Framing

$30-100 USD

Closed
Posted over 14 years ago

$30-100 USD

Paid on delivery
I get frames of data from the serial port. I'm getting a data_available event but need some help in how I can control the frame flow. I sometimes get only a portion of the frame. The frames are received with varying length but with 500ms pause before the frames are repeated up to 4 times waiting for an acknowledgment (0x06). They are framed with a simple framing protocol. Byte value 0x01 is start of frame, or SOF. The second octet is the length in bytes of the frame, excluding the SOF or the length octet. Assume that value was n for this frame. The next n - 1 octets are the framed payload. The last octet is a checksum computed by xoring a 0xff seed with all octets of the payload. The checksum includes the length field, but not the SOF byte or the checksum byte itself. Note that 0x01 frequently occurs in the frames not only as the start of the frame (sof). This auction is to deliver a class where the frame can be delivered to a method : decodeFrame(byte[] bytes) in an event driven system. I use VSPE (Virtual Serial Port Emulator). For testing the winning bidder will be able to connect to my hardware as though the com port was connected to your computer. [login to view URL]
Project ID: 3115442

About the project

3 proposals
Remote project
Active 14 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
3 freelancers are bidding on average $64 USD for this job
User Avatar
See private message.
$85 USD in 3 days
4.9 (10 reviews)
3.0
3.0
User Avatar
See private message.
$72.25 USD in 3 days
5.0 (3 reviews)
0.6
0.6
User Avatar
See private message.
$34 USD in 3 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
United States
5.0
77
Payment method verified
Member since Aug 24, 2006

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.