IConfigurationCallback Delegates
This interface invokes callback functions to receive data and/or a detailed response. To register for the event(s), call the subscribeAll() function with the name of a class that implements the IConfigurationCallback Delegates interface.
OnCalculateMAC
This event is called when certain asynchronous IDeviceConfiguration operations need to have a MAC included with the request.
IResult OnCalculateMAC(
byte macType,
byte[] data);Parameter
Description
macType
Type of Mac algorithm. For DynaFlex, use 0.
data
Contains the data of the payload to MAC.
Return Value:
Returns an IResult that contains the calculated MAC.
OnProgress
This event is called to update the host on the progress of an asynchronous IDeviceConfiguration operation.
public void OnProgres(int progress);Parameter
Description
progress
The progress of the configuration operation. Range:
0 - 100
Return Value: None
OnResult
This event is called to update the host when an asynchronous IDeviceConfiguration operation is completed.
Parameter
Description
status
An enumerated Library Status Codes.
data
Contains the data for the event.
Return Value: None
C# Example:
Last updated

