Synchronize
Checks the status of synchronization with AP.
■
Syntax
[VB]
Public Shared Function Synchronize(ByVal TimeOut As Integer) _
As Integer
[C#]
public static int Synchronize(int TimeOut)
Parameters
■
TimeOut
[in] time-out value until synchronization is established.
If RF.SYNC_CHECK is specified, the synchronization status is immediately checked and
a result returned.
If RF.SYNC_INFINITE is specified, processing continues until synchronization is
established.
Parameter values: RF.SYNC_CHECK, RF.SYNC_INFINITE, 1~Int32.MaxValue
Return value
■
0: Synchronization has been established.
-1: Synchronization has not been established (time-out).
Exceptions
■
Name of Exception
DeviceNotFoundException
DeviceLoadException
ArgumentException
Note
■
Before calling this method, ensure that wireless communication has been established using
the Open property. If this method is called before establishing wireless communication,
DeviceLoadException will be thrown.
Meaning
There is no NIC (Network Interface Card).
The NIC device is not ready.
The specified time-out value is invalid.
- 187 -