Find Jobs
Hire Freelancers

C/C++ App for serial port communication

$10-30 USD

Preklicano
Objavljeno pred več kot 6 leti

$10-30 USD

Plačilo ob dostavi
I need a C/C++ app to receive/forward commands to serial port (rs232) in 9 data bit mode. The project was tested in node.js and works fine by switching parity mark/space for the 9th data bit (works with windows only). There are two main problems with node.js serial port communication that we want to solve in C. 1. high CPU load 2. missing parity mark/space on linux 3. closing the port in middle of data transmission to switch parity. The data structure is: for the first byte start bit - 8 data bits - wake bit (1) - stop bit for the remaining part of the message/data start bit - 8 data bits - clear wake bit (0) - stop bit I need the C app to receive/forward all data to/from node.js. To function like proxy for the serial port communication. It has to be compiled on raspberry pi. Teamviewer access to connected device will be provided. sample code: private void generalpoll() { Byte[] GenPoll = { 0x80, 0x81 }; [login to view URL] = [login to view URL]; [login to view URL](GenPoll, 0, 1); // sends 0x80 gen pol to all machines they wake up and listen for their address OR'ed with 0x80 [login to view URL](20); gives the machine time to clear responses from its buffer (prevents duplicate responses) [login to view URL](GenPoll, 1, 1); // sends out poll to mahne with address of 1 [login to view URL] = [login to view URL]; } private void sendcommand (Byte[] commandbyte) // no delay needed if sending specific bytes to machine as a command, long poll, etc. { [login to view URL] = [login to view URL]; [login to view URL](commandbyte, 0, 1); [login to view URL] = [login to view URL]; [login to view URL](commandbyte, 1, commandbyte.Length-1) }
ID projekta: 15213913

Več o projektu

4 ponudb
Projekt na daljavo
Aktivno pred 7 leti

Želite zaslužiti?

Prednosti oddajanja ponudb na Freelancerju

Nastavite svoj proračun in časovni okvir
Prejmite plačilo za svoje delo
Povzetek predloga
Registracija in oddajanje ponudb sta brezplačna
4 freelancerjev je oddalo ponudbo s povprečno vrednostjo $55 USD za to delo
Avatar uporabnika
I am very proficient in c and c++. I have 16 years c++ developing experience now, and have worked for more than 6 years. My work is online game developing, and mainly focus on client side, using c++ under windows environment. I used c++ to make many great projects, for example, I made the tools which can convert java files into c++ scripts, of course garbage collection included, this job is very similar to a compiler, and is very complex. I also made our own mobile game using c++, I can show you the demo of client, if you like. I am very proficient in java also. I have a very good review on Freelancer.com, I never miss a project once I accept the job, you can check my review. Trust me, please let expert help you.
$80 USD v 1 dnevu
4,9 (88 ocen)
6,6
6,6
Avatar uporabnika
Hi, I have worked on similar project on Raspberry pi to communicate with a vending machine (I couldn't recall it is 8 bit or 9 bit communication). I wrote a native app on PI to communicate with serial Relevant Skills and Experience c programming, raspberry pi, web app Proposed Milestones $70 USD - Project Milestone BTW, I have been working with Raspberry pi/Arduino for the past 4+ years.
$70 USD v 5 dneh
4,9 (25 ocen)
5,4
5,4
Avatar uporabnika
I can implement for you
$40 USD v 1 dnevu
0,0 (0 ocen)
0,0
0,0
Avatar uporabnika
As worked on automation industry having good knowledge in serial communication Relevant Skills and Experience strong in c++ serial communication Proposed Milestones $30 USD - complete
$30 USD v 1 dnevu
0,0 (0 ocen)
0,0
0,0

O stranki

Zastava UNITED KINGDOM
WATFORD, United Kingdom
5,0
16
Plačilna metoda je verificirana
Član(ica) od avg. 3, 2011

Verifikacija stranke

Hvala! Po e-pošti smo vam poslali povezavo za prevzem brezplačnega dobropisa.
Pri pošiljanju vašega e-sporočila je šlo nekaj narobe. Poskusite znova.
Registrirani uporabniki Skupaj objavljenih del
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Nalaganje predogleda
Geolociranje je bilo dovoljeno.
Vaša prijavna seja je potekla, zato ste bili odjavljeni. Prosimo, da se znova prijavite.