Xojo Conferences

Platforms to show: All Mac Windows Linux Cross-Platform

CWWiFiClientMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class Network MBS MacFrameworks Plugin 18.2 Yes No No Yes, macOS only No
Function: The interface to the Wi-Fi subsystem on OS X.
Provides access to all Wi-Fi interfaces and allows Wi-Fi clients to setup event notifications.

CWWiFiClientMBS objects are heavy objects, therefore, clients of the CoreWLAN framework should use a single, long-running instance rather than creating several short-lived instances.

The CWWiFiClientMBS object should be used to instantiate CWInterfaceMBS objects rather than using a CWInterfaceMBS initializer directly.

MBS Plugin make sure that all events are routed to main thread.

Available on MacOS 10.10 or newer.

Feedback, Comments & Corrections

Event Types

Constant Value Description
CWEventTypeBSSIDDidChange 3 Posted when the current BSSID of any Wi-Fi interface changes.
CWEventTypeCountryCodeDidChange 4 Posted when the adopted country code of any Wi-Fi interface changes.
CWEventTypeLinkDidChange 5 Posted when the link state for any Wi-Fi interface changes.
CWEventTypeLinkQualityDidChange 6 Posted when the RSSI or transmit rate for any Wi-Fi interface changes.
CWEventTypeModeDidChange 7 Posted when the operating mode of any Wi-Fi interface changes.
CWEventTypeNone 0 No event type specified.
CWEventTypePowerDidChange 1 Posted when the power state of any Wi-Fi interface changes.
CWEventTypeRangingReportEvent 10 Posted when WiFi ranging measurement completed.
CWEventTypeScanCacheUpdated 8 Posted when the scan cache of any Wi-Fi interface is updated with new scan results.
CWEventTypeSSIDDidChange 2 Posted when the current SSID of any Wi-Fi interface changes.
CWEventTypeVirtualInterfaceStateChanged 9 Posted when any state of any Wi-Fi virtual interface changes.

This class has no sub classes.

Some examples which use this class:

The items on this page are in the following plugins: MBS MacFrameworks Plugin.

CWNetworkProfileMBS   -   CWWirelessProfileMBS

MBS Xojo Plugins