Ant RadioSet Crypto Key Method
Sets the crypto key.
Definition
Namespace: SmallEarthTech.AntUsbStick
Assembly: SmallEarthTech.AntUsbStick (in SmallEarthTech.AntUsbStick.dll) Version: 4.1.1+3bc433b476ad11fc6896cfd0bd783d60504dc315
true if successful
Assembly: SmallEarthTech.AntUsbStick (in SmallEarthTech.AntUsbStick.dll) Version: 4.1.1+3bc433b476ad11fc6896cfd0bd783d60504dc315
C#
public bool SetCryptoKey(
byte volatileKeyIndex,
byte[] encryptionKey,
uint responseWaitTime = 0
)VB
Public Function SetCryptoKey (
volatileKeyIndex As Byte,
encryptionKey As Byte(),
Optional responseWaitTime As UInteger = 0
) As BooleanC++
public:
virtual bool SetCryptoKey(
unsigned char volatileKeyIndex,
array<unsigned char>^ encryptionKey,
unsigned int responseWaitTime = 0
) sealedF#
abstract SetCryptoKey :
volatileKeyIndex : byte *
encryptionKey : byte[] *
?responseWaitTime : uint32
(* Defaults:
let _responseWaitTime = defaultArg responseWaitTime 0
*)
-> bool
override SetCryptoKey :
volatileKeyIndex : byte *
encryptionKey : byte[] *
?responseWaitTime : uint32
(* Defaults:
let _responseWaitTime = defaultArg responseWaitTime 0
*)
-> bool 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
Booleantrue if successful