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

8.4 Self Device function set


8.4.1 Overview


The Self Device function set provides an interface for servers to publish general information about themselves (e.g., SFDI, LFDI, software version numbers).


8.4.2 List ordering


This resource does not contain any lists, so no ordering is specified.


8.4.3 Application guidelines/behavior


If a server hosts resources pointed to from a SelfDevice instance (e.g., DeviceInformation via DeviceInformationLink, PowerStatus via PowerStatusLink), those resources SHOULD be restricted to read-only access. That is, even if the IEEE 2030.5 WADL allows PUT, POST, or DELETE access, those HTTP methods SHOULD be blocked (or restricted to access by the server itself, i.e., through a loop-back interface).


Exceptions to the above recommendation are as follows:


Self Device servers MAY allow read/write access to the resource pointed to by ConfigurationLink.


8.4.4 LogEvents


Table 20 —Self Device LogEvents


LogEvent name

LogEvent code

LogEvent description

SE_INVALID_WRITE_TO_SELF

0x00

MAY be generated in response to PUT, POST, or DELETE attempts on the

SelfDevice instance or any of its write- protected sub-resources