TwclWiFiInterface.GetRadioState(TwclWiFiPhyRadioStates) Method

Reads the interface's radio states for each supported PHY.

Namespace: wclWiFi
public
 function GetRadioState(out States: TwclWiFiPhyRadioStates): Integer;

Parameters

States
Type: TwclWiFiPhyRadioStates

The array of radios states.

Return Value

Type: Integer

If the function succeed the return value is wclErrors.WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.

The caller is responsible for clear memory allocated for the States dynamic array.