DlmsProtocolCreateAssociation(DlmsApplicationNameContextId, CancellationToken, Boolean) Method

Creates DLMS association according to current data security settings, using specified app context id. If more than one association is creted by this protocol object, all must negotiate the same parameters, all must use the sme referencing and all must be with or without ciphering. Because it is supposed that more than one crated associations will be used for broadcast.

Definition

Namespace: OddPrg.Protocols.DLMS
Assembly: OddPrg.Protocols.Dlms (in OddPrg.Protocols.Dlms.dll) Version: 2.0.0.13 (2.0.0.13)
C#
public void CreateAssociation(
	DlmsApplicationNameContextId appContextId,
	CancellationToken cancellationToken,
	bool broadcast = false
)

Parameters

appContextId  DlmsApplicationNameContextId
cancellationToken  CancellationToken
broadcast  Boolean  (Optional)
Determinest if association will be used for broadcast communication or not.

See Also