AntChannelSendExtAcknowledgedDataAsync Method

Sends the given data as an extended acknowledged transmission. Throws exception if data > 8-bytes in length

Definition

Namespace: SmallEarthTech.AntUsbStick
Assembly: SmallEarthTech.AntUsbStick (in SmallEarthTech.AntUsbStick.dll) Version: 3.0.0.0+01fc5ca24e8f030354f28ec9cef320bc5cbb0ef6
C#
public Task<MessagingReturnCode> SendExtAcknowledgedDataAsync(
	ChannelId channelId,
	byte[] data,
	uint ackWaitTime
)

Parameters

channelId  ChannelId
Channel ID assigned to a device
data  Byte
Data to send (length 8 or less)
ackWaitTime  UInt32
Time in ms to wait for acknowledgement

Return Value

TaskMessagingReturnCode
0=fail, 1=pass, 2=timeout, 3=cancelled

Implements

IAntChannelSendExtAcknowledgedDataAsync(ChannelId, Byte, UInt32)

See Also