Skip to main content

Module attention

Module attention 

Source
Expand description

Attention numbers (SML_Attention.Res, TR-03109-1 Anlage IV Tab. 2 and 3).

A device answers a request it will not or cannot execute with an attention number, an OBIS-like six-byte code. 81 81 c7 c7 fd xx are hints, 81 81 c7 c7 fe xx are errors, and e0 00 to fc ff in the last two bytes are application specific.

use sml_kit::attention;

assert_eq!(attention::describe(&attention::AUTHENTICATION), Some("insufficient authentication"));

Constants§

AUTHENTICATION
Insufficient authentication (user name or password).
BROADCAST_UNSUPPORTED
Broadcast not supported.
CHECKSUM
Checksum faulty.
END_BEFORE_BEGIN
End limit before start limit in a load profile request.
ERROR
Error not covered by another number.
LATER
The order will be executed later; its result follows as a response without request.
MEASURING_POINT_DISTURBED
Communication with the measuring point is disturbed.
NOT_EXECUTED
Request not executed (e.g. tree path invalid).
NOT_READABLE
One or more destination attributes cannot be read.
NOT_WRITABLE
One or more destination attributes cannot be written.
NO_CLOSE
The file ended without a close request.
OK
Positive acknowledgement.
OPTIONAL_UNSUPPORTED
Optional element not supported.
OUT_OF_RANGE
Value out of permitted range.
PROFILE_EMPTY
The requested load profile has no entry.
PROFILE_UNAVAILABLE
The load profile is temporarily unavailable.
RAW_DATA_UNINTERPRETABLE
Raw data cannot be interpreted.
REQ_FILE_ID_UNAVAILABLE
Request (reqFileId) not available.
SERVER_ID_UNAVAILABLE
Destination address (serverId) not available.
UNEXPECTED_MESSAGE
Unexpected SML message.
UNKNOWN_IDENTIFIER
Unknown SML identifier.
UNKNOWN_PROFILE_OBJECT
Unknown object in the load profile.
UNSUPPORTED_TYPE
Data type not supported in a set request.

Functions§

describe
What a standard attention number means. Application-specific and unknown numbers have no description.