Table of Contents
For the best experience, we recommend to use one of the configuration editors below.
Config editor (offline/online)
The config editor lets you load and edit your Configuration File:Online editor Offline editor
Over-the-air editor tools
With a CANedge2, you can perform updates over-the-air by changing the device Configuration File on your server. This can be done e.g. in CANcloud or the OTA manager (see S3 server tools).
Using the config editor
Below we provide details on how to use the config editor.
We strongly recommend that you review the Configuration section of the CANedge docs. This explains how the JSON Schema concept works incl. the role of the Configuration File, Rule Schema and UIschema. Further, it provides detailed examples for some of the more advanced configuration settings like CAN ID filters.
Presentation mode - simple vs. advanced
The editor tools will by default hide advanced settings for simplicity. To show all the available settings, you can switch the Presentation Mode in the sidebar.
The editors add a number of configuration tools in the bottom toolbar:
- Encryption tool: This tool helps you encrypt passwords. For details see the CANedge Docs and the encryption tool section. For batch encryption, see the OTA batch manager section
- Filter checker: When setting up CAN ID filters, this tool can help evaluate if a given CAN ID will pass through the filter or not. It also provides guidance for setting up J1939 PGN filters
- Partial config loader: This lets you load, schema-validate and merge a partial Configuration File (e.g. a transmit list) into your active Configuration File
- Bit timing calculator: You can use the “Bit-timing (advanced)” mode to set a custom bit rate for your application and this calculator can be useful in checking your settings
- Schema & config loader: This will be open by default when using the editor and lets you load the UIschema, Rule Schema and Configuration File for use in configuration of the device
The CANedge supports encryption of passwords - see the CANedge Docs for details.
Below we outline how to easily encrypt fields using the encryption tool within the config editor.
Generating keys & encrypting plain text data
Within the config editor, click the “Encryption tool” (lock icon) to open the tool.
In the tool, paste the public key (
kpub) value from your
device.json file and click “Create keys”.
This produces two keys:
- Server public key: Should be added in the security section of the device Configuration File
- Encryption key: Used for the encryption of plain text data (e.g. passwords)
You are now able to encrypt plain text data as follows:
- Enter a plain text password and click “Encrypt”
- Copy the encrypted password to the relevant field in the Configuration File
- Set the corresponding key format to “Encrypted” in the Configuration File
Re-using an encryption key
You can securely store the encryption key for later use. This lets you use the second mode of the encryption tool to encrypt fields using an existing key.
This way you can later update/add passwords without changing the server public key or any pre-encrypted data in your Configuration File.
If you use multiple WiFi access points, their passwords must be consistently plain or encrypted
If you need to encrypt passwords on a large number of CANedge2 devices, we recommend using the OTA batch manager tool
|||The Configuration File is a JSON text file. This means you can in principle perform updates via any standard text editor. However, in doing so you will not benefit from the Rule Schema, which ensures that you perform valid edits. For most purposes, we strongly recommend to use a Schema based editor tool.|
|||The CANedge browser tools like the configuration editors (online/offline) work on modern browser like Chrome, Firefox and Internet Edge, but not Internet Explorer.|
|||You can extract the |