AntChannelSendExtAcknowledgedDataAsync Method
Sends the given data as an extended acknowledged transmission.
Throws exception if data > 8-bytes in length
Namespace: SmallEarthTech.AntUsbStickAssembly: SmallEarthTech.AntUsbStick (in SmallEarthTech.AntUsbStick.dll) Version: 3.0.0.0+4009252dff1e4f6bcda36b6b0041486552134bc5
public Task<MessagingReturnCode> SendExtAcknowledgedDataAsync(
ChannelId channelId,
byte[] data,
uint ackWaitTime
)
Public Function SendExtAcknowledgedDataAsync (
channelId As ChannelId,
data As Byte(),
ackWaitTime As UInteger
) As Task(Of MessagingReturnCode)
public:
virtual Task<MessagingReturnCode>^ SendExtAcknowledgedDataAsync(
ChannelId^ channelId,
array<unsigned char>^ data,
unsigned int ackWaitTime
) sealed
abstract SendExtAcknowledgedDataAsync :
channelId : ChannelId *
data : byte[] *
ackWaitTime : uint32 -> Task<MessagingReturnCode>
override SendExtAcknowledgedDataAsync :
channelId : ChannelId *
data : byte[] *
ackWaitTime : uint32 -> Task<MessagingReturnCode>
- 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
TaskMessagingReturnCode0=fail, 1=pass, 2=timeout, 3=cancelled
IAntChannelSendExtAcknowledgedDataAsync(ChannelId, Byte, UInt32)