Fix Javascript/HTML Database Editor Tool Bugs (CAN bus DBC files)

Suoritettu Julkaistu 2 kuukautta sitten Maksettu toimituksen yhteydessä
Suoritettu Maksettu toimituksen yhteydessä

We have a HTML/Javascript based file editor. This editor allows you to edit/load/download DBC files, which is a standardized database file format used within our industry. You can read about DBC files here: [login to view URL]

For a better overview of the project, see below:

[login to view URL]

The editor both enables the creation of the DBC file itself, but it also allows users to view the logic of how signals are encoded in the DBC file via the Signal Preview section. Further, users can test how raw data bytes are going to be decoded via the DBC file using the payload decoding section.

You can find the latest source code for the editor below:

[login to view URL]

The current version of the editor has some bugs and we are looking for a person to fix these, as well as help with future development projects.

This project requires good Javascript coding skills as you’ll need to digest a bit of code to identify the right spots to fix the bugs. Further, it is necessary that you have a good understanding of INTEL/MOTOROLA byte ordering and if possible it is an advantage if you are already familiar with CAN bus and DBC files - though not a requirement.

#1: vFrameFormat should be removed if a J1939PG message is changed to Standard/Extended

The DBC files include a meta section that contains various meta fields. One of these is called ‘vFrameFormat’ and it informs about what type of message identifier each ID is.

Currently the vFrameFormat meta section line is correctly added if a user creates a new J1939PG message, i.e. a line as below is added in the DBC file:

BA_ "VFrameFormat" BO_ MESSAGE_ID 3;

Here, the value “3” means that it’s a J1939 PGN type as defined by the line below (indexing starting from 0)

BA_DEF_ BO_ "VFrameFormat" ENUM "StandardCAN","ExtendedCAN","reserved","J1939PG";

However, the value is not correctly updated if the user instead specifies that a message is Standard or Extended, in which case the vFrameFormat value should instead be 0 or 1, respectively

Task: Update the editor so that the vFrameFormat value of a given message always matches the message type as follows:

Standard: 0

Extended: 1

J1939PG: 2

#2: Intel/Motorola is currently not handled correctly for data payload decoding

Currently, the little/big endian works correctly for the ‘CAN signal preview’ section to the left. Note in particular that the byte order changes when changing between Intel and Motorola. However, in the right-side payload decoding, this is not implemented correctly.

Task 1: Replicate the byte order index column to the left of the Data column in order to make it explicit what the byte order is. This should match 1:1 the index column that is currently showing to the left of the CAN signal preview.

[see [login to view URL]]

Task 2: In the blue line at the bottom where it says “Data = [hex value] = [decimal value]”, please make it so that it says “Data = [binary value] = [hex value] = [decimal value]” using “0b” in front of the binary number.

Task 3 (correct Intel decoding): The ordering of the extracted bits must be done correctly based on whether the user is considering Intel or Motorola signals. Consider the below example using this DBC file: [login to view URL]

[see [login to view URL]]

The correct ‘raw payload’ in this example is in binary form 10111110 1000 because the signal is Intel and hence the bits from Byte 6 should be placed after the bits from Byte 7 - not before. The final value should thus become 1000 degC for BRTemp in this example.

Please update the editor so that the data payload is correctly calculated using Intel byte ordering.

As another test, this update should result in the default example with EngineSpeed ending up with the value 1090.375 RPM instead of 612.15 RPM.

Task 4 (correct Motorola decoding): Similarly, the Motorola decoding is currently not working correctly. To see this, you can load the following test DBC and insert the payload as in below example. The correct value should be as follows:

[login to view URL]

Data = 0b0100010010000100 = 0x4484 = 17540

Physical value = 1 * 17540 + 1 = 17541

In other words, the ordering of the bit chunks should be corrected for Motorola.

[see [login to view URL]]

JavaScript HTML5 HTML

Projektin tunnus: #37864395

Tietoa projektista

38 ehdotusta Etäprojekti Aktiivinen kuukausi sitten

Myönnetty käyttäjälle:

nabeelawais83

Hi there, Hope you are doing great! I am a professional web developer expert and I can do quick work of fixes on your website Wordpress is my specialty, ready to start and look forward to work with you. Thanks Nabeel Lisää

$90 USD 1 päivässä
(412 Arvostelua)
8.0
(16 Arvostelua)
5.4

38 freelanceria on tarjonnut keskimäärin $168 tähän työhön

webperfection123

Hi There, I can Fix Javascript/HTML Database Editor Tool Bugs .I have read your job description and assure you that I am a perfect fit for the job.I have over 7+ years of experience in PHP , Laravel, CodeIgniter, Angu Lisää

$250 USD 3 päivässä
(275 arvostelua)
8.0
rizwange4

Hello! I have read your job description and assure you that I can handle your project according to your expectations I have over 10 + years of experience in " PHP, WordPress, Bootstrap, Laravel, Codeigniter, Javasc Lisää

$60 USD 2 päivässä
(334 arvostelua)
7.1
webpixxelshikha

As an experienced UI/UX Designer, it's my passion to create designs that are both visually stunning and meticulously functional. And that's precisely what your unique project needs! Your HTML/Javascript database editor Lisää

$200 USD 7 päivässä
(107 arvostelua)
6.9
anaya8777

I can fix Javascript/HTML Database Editor Tool Bugs. Please initiate a message for further discussion.

$150 USD 3 päivässä
(77 arvostelua)
6.7
hirewordpress

Hi, With over 9 years of experience in HTML, HTML5 and JavaScript, I am confident that I possess the necessary skills to tackle any bugs in your Javascript/HTML based database editor tool. I have an intricate understan Lisää

$160 USD 7 päivässä
(11 arvostelua)
6.1
jayprakashyadav

Hi, I have more then 15 year’ experienced in Development with full stack . As i am expert, I can build it according to your requirements. Because I have a lot of the experiences about these fields, I can build you Lisää

$100 USD 7 päivässä
(34 arvostelua)
5.9
Apurva510

Hi, Hope you are doing great today. > Please read it carefully, this is not a generic proposal < I would like to take this opportunity to share with you that I possess a variety of WordPress, PHP, Website Design, Grap Lisää

$200 USD 4 päivässä
(27 arvostelua)
6.0
atifuiux

Hey! It is good that my skills match your project. I have 9+ years of experience as a web developer. My skills include PHP, WordPress, HTML, HTML5, CSS, Web Design, JavaScript, Laravel, Bootstrap, MySQL, Woocommerce, C Lisää

$60 USD 1 päivässä
(47 arvostelua)
4.9
usamasohail91

Greetings, I'm excited to offer my expertise in fixing bugs and enhancing the functionality of your HTML/JavaScript-based DBC file editor. With strong JavaScript skills and experience in byte ordering, I'm well-equipp Lisää

$140 USD 3 päivässä
(43 arvostelua)
4.9
dillonmarszal

Hello. I am a SR. WEB DEVELOPER who can certainly make your idea into real! I have enough experience in HTML, JavaScript and HTML5. I am waiting your reply here, please don't hesitate contact me anytime. Thanks.

$200 USD 7 päivässä
(5 arvostelua)
4.2
kbtechno

With over six years of expertise in full-stack development, I'm confident that I can effectively contribute to your project. My strong command over HTML5 and Javascript will ensure that I proficiently identify and rect Lisää

$140 USD 7 päivässä
(12 arvostelua)
4.2
topgan1994

Hello, Martin F. I am very interested in your project "Fix Javascript/HTML Database Editor Tool Bugs (CAN bus DBC files)" and I believe that my skills and experience make me a strong candidate for this job. I am prof Lisää

$140 USD 4 päivässä
(1 arvostelu)
2.8
danylomiakushch4

Hello, I hope you are doing well. I am a seasoned full-stack developer, I’m confident that my extensive experience in HTML, HTML5, and JavaScript will be invaluable in effectively fixing the bugs within your Javascript Lisää

$140 USD 7 päivässä
(4 arvostelua)
2.7
udyam1

As an experienced web developer versed in HTML and JavaScript, I possess the skills needed to tackle your project head-on. I have a keen eye for spotting and resolving bugs, and I'm no stranger to dealing with complex Lisää

$100 USD 7 päivässä
(4 arvostelua)
2.4
Fahembaig

Hello! I've worked on a similar projects to what you're looking for, Come on chat so we can discuss the details. Regards, Faheem.

$200 USD 7 päivässä
(1 arvostelu)
2.4
chornyiartur0451

Hi, I am writing to express my interest in the opportunity to work on fixing bugs and contributing to the development of your HTML/Javascript based DBC file editor. With a strong background in Javascript coding and ex Lisää

$250 USD 2 päivässä
(1 arvostelu)
2.0
KrashITServices

Hi there, We can develop your mobile app for iOS as well as Android, as per your desire. We have developed many applications, including e-commerce, education, service providers, Bible, appointment booking, doctor book Lisää

$140 USD 7 päivässä
(2 arvostelua)
1.4
mayurigolakiya

As a full-stack developer and JavaScript expert with over 5 years of experience, I'm confident I can provide the best solution to your database editor tool. My expertise in JavaScript and HTML will allow me to navigate Lisää

$140 USD 7 päivässä
(3 arvostelua)
1.3
masterraju686

Hello, We're well-equipped to handle your task efficiently and can begin working on it immediately. Let's engage in a chat to explore further insights together. Portfolio:- https://www.freelancer.com/u/masterraju686 Lisää

$50 USD 7 päivässä
(2 arvostelua)
1.2
rajeevnewnetlink

As an experienced software developer with a specialization in JavaScript, I have the technical skills and expertise necessary to tackle the challenges of this project head-on. In over 5 years of my career, I have succe Lisää

$140 USD 7 päivässä
(3 arvostelua)
0.8