SELKIELogger
1.0.0
|
Macros | |
#define | SLCHAN_NAME 0x00 |
Name of source device. | |
#define | SLCHAN_MAP 0x01 |
Channel name map (excludes log channels) | |
#define | SLCHAN_TSTAMP 0x02 |
Source timestamp (milliseconds, arbitrary epoch) | |
#define | SLCHAN_RAW 0x03 |
Raw device data (Not mandatory) | |
#define | SLCHAN_LOG_INFO 0x7D |
Information messages. | |
#define | SLCHAN_LOG_WARN 0x7E |
Warning messages. | |
#define | SLCHAN_LOG_ERR 0x7F |
Error messages. | |
The protocol used for data transmission requires each message to be tagged with a channel and source ID. While source IDs are required to be unique on a given system, some channel numbers are common to all sources.
As with source IDs, channel IDs range between 0 and 127. The mandatory channels are described here, with the remaining numbers available for use as required by any given source.
The three log message types would not normally be included in a sources channel map, but are available for use by any device.