Find Jobs
Hire Freelancers

Help converting a small piece of code to Javascript

$10-30 USD

Fermé
Publié il y a environ 7 ans

$10-30 USD

Payé lors de la livraison
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.
N° de projet : 13226336

Concernant le projet

5 propositions
Projet à distance
Actif à il y a 7 ans

Cherchez-vous à gagner de l'argent ?

Avantages de faire une offre sur Freelancer

Fixez votre budget et vos délais
Soyez payé pour votre travail
Surlignez votre proposition
Il est gratuit de s'inscrire et de faire des offres sur des travaux
5 freelances proposent en moyenne $38 USD pour ce travail
Avatar de l'utilisateur
can you send me code? lua is interpreted language which complete the code u pass n return the output. let's discuss.
$55 USD en 1 jour
5,0 (3 commentaires)
3,0
3,0
Avatar de l'utilisateur
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 en 0 jour
5,0 (2 commentaires)
1,8
1,8
Avatar de l'utilisateur
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 en 1 jour
0,0 (0 commentaires)
0,0
0,0

À propos du client

Drapeau de UNITED STATES
Maricopa, United States
5,0
22
Méthode de paiement vérifiée
Membre depuis avr. 2, 2007

Vérification du client

Merci ! Nous vous avons envoyé un lien par e-mail afin de réclamer votre crédit gratuit.
Une erreur a eu lieu lors de l'envoi de votre e-mail. Veuillez réessayer.
Utilisateurs enregistrés Total des travaux publiés
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Chargement de l'aperçu
Permission donnée pour la géolocalisation.
Votre session de connexion a expiré et vous avez été déconnecté. Veuillez vous connecter à nouveau.