Skip to content

Releases: Nik89/CanOverhead

v1.2.0

03 Apr 14:06
Compare
Choose a tag to compare

Bitrates, transfer time and overheads.

Added

  • Bitrates list available: 1 Mbit/s, 800, 500, 250, 125, 50, 20, 10, 5 kbit/s.
  • Calculation of gross transfer time.
  • Calculation of overhead percentage and effective bitrate.
  • Add question mark icon with popup for extra info about the fields on mouseover
    for some input and some output fields.

Fixed

  • Indentation of nested lists in Markdown files was not maintained after
    conversion to HTML.
  • Added missing title to v1.1.0 release in this Changelog.
  • Fix minified directory to be "docs" instead of "minified" so it can be
    deployed with GitHub pages easily.

v1.1.0

03 Apr 12:16
Compare
Choose a tag to compare

Added 29 bits CAN ID, RTR frames, highlight stuff bits, and complete graphical overhaul

Added

  • Support for extended frames (29-bit CAN ID) and Remote Transmission Request
    (RTR frames). The frame type can be selected as first field of the form,
    impacting the input form itself (to ask for payload or DLC field)
    and obviously the resulting output.
  • Dropdown menu to select the base of the CAN ID to avoid the user typing
    "0x" or "0b". Defaults to hex. If the user also types the prefix "0x" or "0b"
    and it matches with the selected base, then the prefix is ignored.
  • Run computation when pressing Enter keyboard key.
  • Highlight incorrect input fields with a red border when the computation is
    run.
  • Highlight stuff bits in the output: underlined and with a different color.
  • Minifying instructions and privacy notice included in Readme file.

Changed

  • Improved style of the following parts into a more modern look-and-feel
    • input form
    • computing button
    • whole-frame bit sequence section
    • frame fields, now provided as a table. Includes alternating row colors,
      mouseover effects and hex format column
  • More verbose and detailed error messages for the various incorrect inputs.
  • Improved description of input form's payload field, clarifying what is ignored
    in the user input.
  • Autofocus on CAN ID input field.
  • Input text fields contain examples for the user input.
  • Renamed Pause-after-frame field to Inter-Frame Space for clarity
    and to match with other descriptions of the CAN frames found online.
  • Moved error messages to one location underneath the input form.
  • Deployment script merges HTML, CSS and JS files into one HTML file, making
    it much easier to deploy. Removed deployment into gh-pages branch, as
    now it can be done directly from the main branch, minified sub-folder.

Fixed

  • Broken links in readme to the deployed web page (missing "/" at URL end).
  • Display error msg in case of empty CAN ID instead of assuming the ID == 0.
  • Handle empty or whitespace-only payloads as valid input (no data).
  • Footer's too small bottom margin.
  • Typo in footer disclaimer.
  • noscript-message about JavaScript being required is not all-h2 anymore.
    Additional styling is added for it to make it at least slightly decent
    looking.
  • Display a generic error message in case of unknown and uncaught errors
    at any level in the execution of the code instead of silently doing nothing
    and crashing the app.
  • Fixed non-hex payload chars being parsed into a 0 value.
  • Some fields of the CAN frame did not have space separators every 4 bits.
  • Fully reset the input form, clearing its content on page reload/refresh.

v1.0.0

31 Jan 17:49
Compare
Choose a tag to compare

Classic CAN 11-bit ID supported, listing all fields, whole frame as bits pre
and post-stuffing, max worst-case theoretical frame length.

Added

  • Classic CAN with 11-bit IDs with the CAN ID and payload content known:
    • CAN ID input accepted in binary, hex and decimal format, e.g. 0b0010010,
      0xAA, 42.
    • Payload content input accepted in hex format, e.g. AA, 0x0C....
    • Compute and display the whole frame as bits (header, payload, trailer)
      with format 0110 1011 1001 1000 ... without stuff bits.
      The computation of the
      CRC-15
      is included in the computation of the trailer.
    • Same as previous point but with stuff bits included.
    • Compute and display the exact amount of added stuff bits.
    • Compute the size in bits of the whole frame (header, payload, trailer)
      without stuff bits.
    • Compute the size range in bits of the whole frame when taking also
      stuff bits into account (min = no stuff bits applied, max = max stuff
      bits applied for CAN ID and payload).
    • Deployment script that prepares and minifies all the files and compresses
      them in .gz format