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+01fc5ca24e8f030354f28ec9cef320bc5cbb0ef6
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)