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

Completed Posted 2 months ago Paid on delivery
Completed Paid on delivery

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

Project ID: #37864395

About the project

38 proposals Remote project Active 1 mo ago

Awarded to:

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 More

$90 USD in 1 day
(412 Reviews)
8.0
(16 Reviews)
5.4

38 freelancers are bidding on average $168 for this job

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 More

$250 USD in 3 days
(275 Reviews)
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 More

$60 USD in 2 days
(334 Reviews)
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 More

$200 USD in 7 days
(107 Reviews)
6.9
anaya8777

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

$150 USD in 3 days
(77 Reviews)
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 More

$160 USD in 7 days
(11 Reviews)
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 More

$100 USD in 7 days
(34 Reviews)
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 More

$200 USD in 4 days
(27 Reviews)
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 More

$60 USD in 1 day
(47 Reviews)
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 More

$140 USD in 3 days
(43 Reviews)
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 in 7 days
(5 Reviews)
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 More

$140 USD in 7 days
(12 Reviews)
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 More

$140 USD in 4 days
(1 Review)
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 More

$140 USD in 7 days
(4 Reviews)
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 More

$100 USD in 7 days
(4 Reviews)
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 in 7 days
(1 Review)
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 More

$250 USD in 2 days
(1 Review)
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 More

$140 USD in 7 days
(2 Reviews)
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 More

$140 USD in 7 days
(3 Reviews)
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 More

$50 USD in 7 days
(2 Reviews)
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 More

$140 USD in 7 days
(3 Reviews)
0.8