Context

Overview

The Context API will allow the user to store and read information in the context memory device, where spdecific vehicle information is stored of the equipment. The aim of this API is to supply functions and give an easy access to the context memory devices of an equipment, independent of the context device type.

A general outline of the Context API can be observed in the following figure:

Context_api.svg
Context API Diagram

Main functionalities

The Context API provides the following functionalities:

  • Get Devices : It allows to get all the context memory devices availables of the machine. Context memory devices information received: device id.

  • Get Memory Values : It allows to get the values stored in a context device. Possible parameters to modify: device id, position and length.

  • Set Memory Values : It allows to set the values in a context device. Possible parameters to modify: device id, position and data.

  • Get Memory Type : It allows to get the memory type of a context device. Possible parameters to modify: device id.

  • Get Context Size : It allows to get the memory size of a context device. Possible parameters to modify: device id.

  • Dump Context : It allows to get all the values stored in a context device. Possible parameters to modify: device id.