AntRadioSetCryptoKey Method

Sets the crypto key.

Definition

Namespace: SmallEarthTech.AntUsbStick
Assembly: SmallEarthTech.AntUsbStick (in SmallEarthTech.AntUsbStick.dll) Version: 3.0.0.0+01fc5ca24e8f030354f28ec9cef320bc5cbb0ef6
C#
public bool SetCryptoKey(
	byte volatileKeyIndex,
	byte[] encryptionKey,
	uint responseWaitTime = 0
)

Parameters

volatileKeyIndex  Byte
Index of the volatile key.
encryptionKey  Byte
The encryption key.
responseWaitTime  UInt32  (Optional)
The response wait time in milliseconds. The default is 0ms.

Return Value

Boolean
true if successful

Implements

ICryptoSetCryptoKey(Byte, Byte, UInt32)

See Also