WiFi Framework C++ Edition

◆ SetChannel()

int SetChannel ( const unsigned long Channel)

Sets the current channel.

Parameters
ChannelThe new RF channel number.

Not all adapters allow to change the channel number.

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