DlmsModemConfiguration Class

Modem configuration (class_id = 27, version = 1). This IC allows modelling the configuration and initialisation of modems used for data transfer from/to a device.

Definition

Namespace: OddPrg.Protocols.DLMS
Assembly: OddPrg.Frames.Dlms (in OddPrg.Frames.Dlms.dll) Version: 2.0.0.24 (2.0.0.24)
C#
public class DlmsModemConfiguration : DlmsObject
Inheritance
Object    DlmsObject    DlmsModemConfiguration

Constructors

DlmsModemConfiguration Creates new instance of class DlmsModemConfiguration. This constructor is used by XmlSerializer.
DlmsModemConfiguration(DlmsTypeOctetString) Creates new instance of class DlmsModemConfiguration using its logical name. This constructor is used for create DlmsAssociationSN after object_list is read using LN referencing.
DlmsModemConfiguration(DlmsTypeLong, DlmsTypeOctetString) Creates new instance of class DlmsModemConfiguration. This constructor is used for create DlmsAssociationSN after object_list is read using SN referencing.

Properties

AttributeAccess Stored access rights to all attributes. this property is filled after this object is created during reading object list.
(Inherited from DlmsObject)
BaseName Base name of the object used for SN referencing.
(Inherited from DlmsObject)
ClassId Returns 45 as class id of COSEM Data object.
(Overrides DlmsObjectClassId)
CommSpeed The communication speed between the device and the modem, not necessarily the communication speed on the WAN.
DisplayDescription Description of GPRS setup object.
(Overrides DlmsObjectDisplayDescription)
InitializationString Contains all the necessary initialization commands to be sent to the modem in order to configure it properly.
LastAttributeId ID of last defined attribute.
(Overrides DlmsObjectLastAttributeId)
LogicalName Logical name of the object used for LN refernecing. It corresponds to logical_name attribute defined in BB 4.2
(Inherited from DlmsObject)
MethodAccess Stored access rights to all methods. This property is filled after this object is created during reading object list.
(Inherited from DlmsObject)
ModemProfile Defines the mapping from Hayes standard commands/responses to modem specific strings.

Methods

AddProprietaryAttribute Guarantees that the DLMS object will have a proprietary attribute with attributeIndex or attributeName
(Inherited from DlmsObject)
ClassVersionSupported Checks if this object implements particular class version. Versions 0 and 1 differ only in class name.
(Overrides DlmsObjectClassVersionSupported(Byte))
GetAttributeAccess Returns attribute access rights of attribute with given id. It uses AttributeAccess property which is filled during reading an object list.
(Inherited from DlmsObject)
GetAttributeId Gets the attribute index from the short name used in SN referencing
(Overrides DlmsObjectGetAttributeId(UInt16))
GetAttributeIds Returns a list of COSEM attribute IDs this object contains and are implemented.
(Inherited from DlmsObject)
GetAttributeName Gets name of the attribute.
(Overrides DlmsObjectGetAttributeName(SByte))
GetAttributeValue Gets a value of COSEM attribute with specified name.
(Overrides DlmsObjectGetAttributeValue(SByte))
GetAttributeVariableName Returns a variable name used in SN referencing of a given attribute. Attribute short name offsets are defined in BB.
(Overrides DlmsObjectGetAttributeVariableName(SByte))
GetMethodIds Gets list of method IDs that are defined for the DLMS object.
(Inherited from DlmsObject)
GetMethodName Gets name of a method with a ID.
(Inherited from DlmsObject)
SetAttributeValue Sets a value to COSEM attribute of specified name.
(Overrides DlmsObjectSetAttributeValue(SByte, DlmsType))
ToString Returns string representation of the object.
(Inherited from DlmsObject)

Fields

CLASS_ID COSEM class id.
COMM_SPEED_ATTR_ID 
INITIALIZATION_STRING_ATTR_ID 
MODEM_PROFILE_ATTR_ID 
ProprietaryAttributes List of user defined attributes.
(Inherited from DlmsObject)

See Also