TwclWiFiSniffer.SetPhy(TwclWiFiSnifferPhy) Method
Sets the current PHY.
public function SetPhy(const Phy: TwclWiFiSnifferPhy): Integer;
Parameters
- Phy
- Type: TwclWiFiSnifferPhy
The new PHY.
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.
Not all adapters allow to change the PHY.