Skip to content

Latest commit

 

History

History
31 lines (16 loc) · 3.52 KB

level_i_events.md

File metadata and controls

31 lines (16 loc) · 3.52 KB

Level I Events

Here you can find all the level I events defined by VSCP. A level I event is classes described by a number between 0-511.

Instead of writing numbere a class can be described as CLASS1.XXXX indicate a specific (XXXX in this case) Level II class. Also the form CLASS2.XXXX=yy can be seen where yy is the numerical form.


Class definitions can be found in the header file vscp_class.h which is located located in the src/vscp/common folder of the VSCP project repository. In the same folder the file vscp_type.h can be found which contains defines for all types. Note that both of these files is auto generated.

Auto generated support files

VSCP event documentation and support files are auto generated. The full documentation and source for the scripts that generate misc. files is here if you are interested.

Current files is available here https://www.vscp.org/events/ The docs sub-folder here contains event documentation in markdown and also a zip and a tar of all content. This information is used to generate the VSCP specification document.

All files generated contains version information which is the date and time when the docs was generated. This information is embedded in the generated files (if possible) and is also available in JSON form here (version.json) and in JSONP form here (version.jsonp). In automated processes compare the on-site version information in one of there file with the downloaded version and download a new version if a newer one is available.

C header files are are here for event classes (vscp_class.h) and here for event types (vscp_type.h). The files are automatically included in the vscp and the vscp-firmware packages.

Python VSCP event include files are here for VSCP classes (vscp_class.py) and here for vscp types (vscp_type.py). The files are automatically included in the pyvscp package.

The vscp_hashclass.h and vscp_hashtype.h files are headers for the vscp helper class.

For JavaScript VSCP events are available in JSON format (vscp_events.json) and in JSONP format (vscp_events.jsonp). Furthermore vscp_class.js and vscp_type.js holds VSCP class and VSCP type information suitable for JavaScript.

XML format is available here (vscp_events.xml).

SQL format is available here (vscp_events.sql).

filename