< 上一个 | 内容 | 下一个 >

9.6 Log Event function set


9.6.1 Overview


The Log Event function set contains a list of time-stamped instances of LogEvents generated by the device. LogEvents are typically asynchronously generated warnings of some out-of-bounds condition or unusual significant event detected by the device. For example, the device’s battery charge falling below an operator designated low-charge threshold.


9.6.2 List ordering


Table 33 —LogEvent list ordering


Resource name

Primary key

Secondary key

Tertiary key

LogEvent

createdDateTime

(descending)

LogEventID

(descending)

N/A


9.6.3 Application guidelines/behavior


9.6.3.1 Introduction


The number of LogEvents supported within the LogEvent List SHALL be vendor dependent. LogEvent server devices SHALL be capable of internally storing and supporting at least 10 unique LogEvent instances. When a new LogEvent is issued, it SHALL be added as the first entry in the LogEvent List. If the log is full, the oldest LogEvent SHOULD be removed to make room for the latest incoming LogEvent.


LogEvent List is OPTIONAL for both servers and clients.


LogEvents SHALL be time stamped when they are added to the LogEventList. A server device therefore needs a time source, and should be using the highest quality Time resource it can obtain from the HAN.


A LogEvent SHALL be defined by this standard or vendor defined.


9.6.3.2 LogEvents


There are no LogEvents generated by this function set.


The table below presents the LogEvent codes allocated by this standard for general IEEE 2030.5 events. These codes are associated with the value of zero (General) in the functionSet field.


Table 34 —General LogEvents


LogEvent name

LogEvent code

LogEvent description

LE_GEN_HARDWARE

0x00

SHOULD be issued when an unclassified

general hardware fault occurs

LE_GEN_HARDWARE_RTN

0x01

SHOULD be issued when an unclassified

general hardware fault is corrected (return to normal)

LE_GEN_SOFTWARE

0x02

SHOULD be issued when an unclassified

general software fault occurs

LE_GEN_SOFTWARE_RTN

0x03

SHOULD be issued when an unclassified general software fault is corrected (return to

normal)


NOTE—See the function set definitions for LogEvent codes associated with each function set.