Site Information

 Loading... Please wait...

Blog

CAN-over-IP Gateway With JSON Interface For Integration Into IoT Environments

Posted by Industry News on

PCAN-Gateway product family from Peak-System

The PCAN-Gateway product family by Peak-System enables the connection of CAN Bus networks via Ethernet  IP connection. The CAN Bus messages are packed as data in TCP or UDP messages and transmitted via IP network, allowing CAN Bus systems to be integrated into IoT environments plus having an alternative access point for remote diagnostics. 

The configuration of the PCAN-Gateways is accomplished via online connection (i.e. a website), which may be time-consuming for multiple devices. However, the JSON interface, released in combination with the software package version 2.7, offers developers an alternative way to access the devices. A JSON-formatted request is sent to the PCAN-Gateway as a GET parameter of a URL.

Requested information or the status of a configuration request is returned as a JSON-formatted response. This makes it possible to develop software for automated monitoring and configuration of all PCAN-Gateways connected to the IP network. The software package 2.7 is now available free-of-charge. The JSON interface and its use is described in detail in the PCAN-Gateway developer documentation.

More Information...


Introduction to JavaScript Object Notation: A To-the-Point Guide to JSON

What is JavaScript Object Notation (JSON) and how can you put it to work? This concise guide helps busy IT professionals get up and running quickly with this popular data interchange format, and provides a deep understanding of how JSON works. Author Lindsay Bassett begins with an overview of JSON syntax, data types, formatting, and security concerns before exploring the many ways you can apply JSON today.

From Web APIs and server-side language libraries to NoSQL databases and client-side frameworks, JSON has emerged as a viable alternative to XML for exchanging data between different platforms. If you have some programming experience and understand HTML and JavaScript, this is your book.

  • Learn why JSON syntax represents data in name-value pairs
  • Explore JSON data types, including object, string, number, and array
  • Find out how you can combat common security concerns
  • Learn how the JSON schema verifies that data is formatted correctly
  • Examine the relationship between browsers, web APIs, and JSON
  • Understand how web servers can both request and create data
  • Discover how jQuery and other client-side frameworks use JSON
  • Learn why the CouchDB NoSQL database uses JSON to store data

More Information...