IAnt ConfigurationSet Network Key Method
Sets the network key.
Definition
Namespace: SmallEarthTech.AntRadioInterface
Assembly: SmallEarthTech.AntRadioInterface (in SmallEarthTech.AntRadioInterface.dll) Version: 5.0.2+3bc433b476ad11fc6896cfd0bd783d60504dc315
true if successful
Assembly: SmallEarthTech.AntRadioInterface (in SmallEarthTech.AntRadioInterface.dll) Version: 5.0.2+3bc433b476ad11fc6896cfd0bd783d60504dc315
C#
bool SetNetworkKey(
byte netNumber,
byte[] networkKey,
uint responseWaitTime = 0
)VB
Function SetNetworkKey (
netNumber As Byte,
networkKey As Byte(),
Optional responseWaitTime As UInteger = 0
) As BooleanC++
bool SetNetworkKey(
unsigned char netNumber,
array<unsigned char>^ networkKey,
unsigned int responseWaitTime = 0
)F#
abstract SetNetworkKey :
netNumber : byte *
networkKey : byte[] *
?responseWaitTime : uint32
(* Defaults:
let _responseWaitTime = defaultArg responseWaitTime 0
*)
-> bool Parameters
- netNumber Byte
- The network number.
- networkKey Byte
- The network key.
- responseWaitTime UInt32 (Optional)
- The response wait time in milliseconds. The default is 0ms.
Return Value
Booleantrue if successful