AdsDeviceNotificationReq

The AdsAddDeviceNotificationReq method enables the sending of an ADS device notification to inform an ADS device. The AdsDeviceNotificationInd is called on the counterpart.

Syntax

int    AdsDeviceNotificationReq( AmsAddr& rAddr, ULONG invokeId, ULONG cbLength, AdsNotificationStream notifications[] ); 

AdsDeviceNotificationReq 1: Return value

Type: int

ADS Return Code - see AdsStatuscodes.

Parameter

Name

Type

Description

rAddr

AmsAddr&

[in] Structure with NetId and port number of the ADS server.

invokeId

ULONG

[in] Handle of the command, which was sent. The InvokeId is specified by the source device and is used for the identification of the commands.

nResult

ULONG

[in] contains the result of the device notification display.

notifications[]

AdsNotificationStream

[in] contains information about the device notification(s).