Find Jobs
Hire Freelancers

Help converting a small piece of code to Javascript

$10-30 USD

Closed
Posted about 7 years ago

$10-30 USD

Paid on delivery
I am writing a piece of code that is going to interface with a serial gateway for my home audio equipment. I found an example online which appears to be written in lua that is interacting with the response and I do not understand what it is doing. I need to some to help me convert this code into JavaScript so it works the same way, just in a language I understand. The code is attached. I need each of the functions to be their own JS function. They should be as follows, based on what I am reading in the attached file. -- Build full hex strings -- Generate array from buffer -- Parse hex strings -- Return state status -- Return source status -- Display source string -- Determine which zones are set to strings source - Display keypad messages This is a response I got back from the system in HEX format which should be the same thing that is being passed through the provided code: Receive HEX: 0x2 0x0 0x0 0x6 0x0 0x3f 0x3f 0x0 0x0 0x0 0x0 0x0 0x0 0x86 0x2 0x0 0x2 0x5 0x80 0x1 0xc1 0x0 0x0 0xcd 0x0 0x4 0x0 0x1c Let me know if you understand what I am asking here. I know nothing about Lua so I need that code converted into a JavaScript equivalent.
Project ID: 13226336

About the project

6 proposals
Remote project
Active 7 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
6 freelancers are bidding on average $42 USD for this job
User Avatar
can you send me code? lua is interpreted language which complete the code u pass n return the output. let's discuss.
$55 USD in 1 day
5.0 (2 reviews)
3.0
3.0
User Avatar
Hi Thshadow, I am competitive to this kind of task, can take good care of this project. In fact, I already done related to this job before. Let me know the best of your time so we can discuss further based on your requirements and we can move forward to the next step. Thanks, Joseph C Ocero
$49 USD in 0 day
5.0 (2 reviews)
1.8
1.8
User Avatar
I am an expert web developer. I can any kinds of simple or complex website development tasks. You can chat with me now in freelancer about your project. I am an expert web developer. I can complete your project very quickly with very cheap price.
$25 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Dear Client, Greeting of the day ahead !!! Thanks for providing us opportunity to place bid over the project and communicate with you. I am a serious bidder here and i have already worked on a similar project before and can deliver as u have mentioned .I have checked your requirements.i have right skills to work on this assignmentWe find our expertise, skills and capabilities are perfectly blends with your project requirements because we have already worked on many projects. You'll love the whole layout, interface design , cross-browser compatibility and mobile-device-friendly interfaces that we design Our team has created over dozen of windows, and web based appliations iPhone/iPad games and apps, and over 10 Windows and Linux server APIs and security tools Don't waste any more time in your development We take care of all these things for you . Advanced custom coding for our clients. Anytime. can u provide your email or sky-pe etc for further discussion about the project. plz add me to discus I am ready to discuss with you Looking forward to hear from you. with best Regards
$24 USD in 6 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Dear Prospect Hiring Manager. Thank you for giving me a chance to bid on your project. i am a serious bidder here and i have already worked on a similar project before and can deliver as u have mentioned I have checked your requirements. We have right skills to work on this assignment. We are a team of professionals including experienced analysts, designers, project managers, developers and QA people having great expertise in web applications development mainly on core PHP, PHP with open sources (Joomla, Wordpress, Codeigniter, Cake PHP), .NET, Asp.NET, Vb.NET, HTML 5 etc. and mobile applications on ios and Android platform. Our award = superb result = happy client. In a good partnership, good results happen. Good cooking makes good eating!BWe consider our client as our partner. I am ready to discuss with you with best Regards
$24 USD in 6 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Gilbert, United States
5.0
19
Payment method verified
Member since Apr 2, 2007

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.