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

Suoritettu
Julkaistu lähes 6 vuotta sitten

$10-30 USD

Maksettu toimituksen yhteydessä
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.
Projektin tunnus (ID): 17236230

Tietoa projektista

6 ehdotukset
Etäprojekti
Aktiivinen 6 vuotta sitten

Haluatko ansaita rahaa?

Freelancerin tarjouskilpailun edut

Aseta budjettisi ja aikataulu
Saa maksu työstäsi
Kuvaile ehdotustasi
Rekisteröinti ja töihin tarjoaminen on ilmaista
Myönnetty käyttäjälle:
Käyttäjän avatar
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 1 päivässä
5,0 (4 arvostelua)
3,1
3,1
6 freelancerit tarjoavat keskimäärin $30 USD tätä projektia
Käyttäjän avatar
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 1 päivässä
4,9 (262 arvostelua)
7,9
7,9
Käyttäjän avatar
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 1 päivässä
4,8 (9 arvostelua)
4,9
4,9

Tietoja asiakkaasta

Maan NETHERLANDS lippu
Utrecht, Netherlands
5,0
3
Liittynyt kesäk. 27, 2016

Asiakkaan vahvistus

Kiitos! Olemme lähettäneet sinulle sähköpostitse linkin, jolla voit lunastaa ilmaisen krediittisi.
Jotain meni pieleen lähetettäessä sähköpostiasi. Yritä uudelleen.
Rekisteröitynyttä käyttäjää Ilmoitettua työtä yhteensä
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Ladataan esikatselua
Lupa myönnetty Geolocation.
Kirjautumisistuntosi on vanhentunut ja sinut on kirjattu ulos. Kirjaudu uudelleen sisään.