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.