Find Jobs
Hire Freelancers

Make a PHP Function for HEX to JSON conversion of IoT data, per a variable data-formatting definition

$10-30 USD

Terminado
Publicado hace casi 6 años

$10-30 USD

Pagado a la entrega
a PHP function will take the first two characters to identify the nature of the data and use the rest of the data to parse values per the specific definition. Given HEX data values (like 02000a670867350000010000 ), *and* given an array definition of currently 17 different data types. the format to hold this information is TBD (currently on paper), but they will be something similar to this one example element: 02= [name="messageName", typedef = [ byte = ID, byte = status, int16 = value1, int16 = value2, int8 = other1, int8 = other2, int8 = other3, uint8 = other4, uint8 = other5, uint8 = other6, ] ] take the first 2 digits to determine the message type, then take the typedef of the data to cut the data into pieces which are then translated from HEX to decimal/text, which gets returned as a simple, flat JSON (the above will translate as follows): { "ID": "messageName", "status: "0", "value1": "102663", "value2": "21.51", "other1": "53", "other2": "0", "other3": "0", "other4": "1", "other5": "0", "other6": "0" } Looking for a simple function which takes the data and returns the JSON will do. Important is that at any time new data definitions and data types may be added and error messages are generated in case the data does not satisfy the format. Testing: a data set and a REST webservice is available to check the outcome of each value. Ie. the values should match the outcome of the REST service.
ID del proyecto: 17236230

Información sobre el proyecto

6 propuestas
Proyecto remoto
Activo hace 6 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
You will receive a class that can take the definitions as config at initiation, and will have the method responsible for parsing the incoming data. Relevant Skills and Experience Please refer to my profile for detailed experience overview.
$35 USD en 1 día
5,0 (4 comentarios)
3,1
3,1
6 freelancers están ofertando un promedio de $30 USD por este trabajo
Avatar del usuario
I can work for you. I'm interested in your project. I've an experience of works with PHP. Ping me any time to discuss about this project.
$25 USD en 1 día
4,9 (262 comentarios)
7,9
7,9
Avatar del usuario
Hello, I can start work on your project immediately once you confirm me and i am also open for further discussion if you want. I have 8+ years in web designing & development with good experience in following skills ... HTML5 CSS, CSS3 & LESS JS ( AngularJS, React JS, node.js, expresss JS, Gulf JS, Backbone JS ) MySQL, Ms-Sql, Mongo DB, Oracle Java ( Servlet, JNDI, JDBC, J2SE + J2EE with JSP ) Twitter BootStrap, Foundation Media JQuery to make responsive design PHP, ASP.net, Codeigniter, C#, YII, Cakephp CMS - Wordpress, OpenCart, PrestaShop, Drupal, Magento Cross Platform ( Lonic, PhoneGap ) JavaScript & JQuery Ajax JSON, XML
$55 USD en 1 día
4,8 (9 comentarios)
4,9
4,9

Sobre este cliente

Bandera de NETHERLANDS
Utrecht, Netherlands
5,0
3
Miembro desde jun 27, 2016

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.