Platforms to show: All Mac Windows Linux Cross-Platform
Back to IOBluetoothDeviceMBS class.
IOBluetoothDeviceMBS.addressString as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Bluetooth | MBS Bluetooth Plugin | 18.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
(Read only property)
IOBluetoothDeviceMBS.classOfDevice as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Bluetooth | MBS Bluetooth Plugin | 18.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
This value is only meaningful if the target device has been seen during an inquiry. This can be by checking the result of LastInquiryUpdate. If nil is returned, then the device hasn't been seen.
(Read only property)
IOBluetoothDeviceMBS.ClockOffset as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Bluetooth | MBS Bluetooth Plugin | 18.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
This value is only meaningful if the target device has been seen during an inquiry. This can be by checking the result of LastInquiryUpdate. If nil is returned, then the device hasn't been seen.
(Read only property)
IOBluetoothDeviceMBS.deviceClassMajor as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Bluetooth | MBS Bluetooth Plugin | 18.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
This value is only meaningful if the target device has been seen during an inquiry. This can be by checking the result of LastInquiryUpdate. If nil is returned, then the device hasn't been seen.
(Read only property)
IOBluetoothDeviceMBS.deviceClassMinor as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Bluetooth | MBS Bluetooth Plugin | 18.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
This value is only meaningful if the target device has been seen during an inquiry. This can be by checking the result of LastInquiryUpdate. If nil is returned, then the device hasn't been seen.
(Read only property)
IOBluetoothDeviceMBS.EncryptionMode as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Bluetooth | MBS Bluetooth Plugin | 18.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Returns the encryption mode for the baseband connection. If no baseband connection is present, kEncryptionDisabled is returned.
This method only returns a valid result if a baseband connection is present (isConnected returns true).
(Read only property)
IOBluetoothDeviceMBS.Handle as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Bluetooth | MBS Bluetooth Plugin | 18.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
(Read and Write property)
IOBluetoothDeviceMBS.isConnected as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Bluetooth | MBS Bluetooth Plugin | 18.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Returns true if a baseband connection to the device exists.
(Read only property)
IOBluetoothDeviceMBS.isFavorite as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Bluetooth | MBS Bluetooth Plugin | 18.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Returns true if the target device is a favorite for the user, false if not.
(Read only property)
IOBluetoothDeviceMBS.isIncoming as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Bluetooth | MBS Bluetooth Plugin | 18.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Returns true if the device connection was generated by the remote host. False if the connection was generated by some other device that connected to the local host.
(Read only property)
IOBluetoothDeviceMBS.isPaired as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Bluetooth | MBS Bluetooth Plugin | 18.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Returns true if the target device is paired, false if not.
(Read only property)
IOBluetoothDeviceMBS.Lasterror as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Bluetooth | MBS Bluetooth Plugin | 18.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
(Read and Write property)
IOBluetoothDeviceMBS.LastInquiryUpdate as Date
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Bluetooth | MBS Bluetooth Plugin | 18.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Returns the date/time of the last time the device was seen during an inquiry. If the device has never been seen during an inquiry, nil is returned.
(Read only property)
IOBluetoothDeviceMBS.LastInquiryUpdateDateTime as DateTime
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Bluetooth | MBS Bluetooth Plugin | 20.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Returns the date/time of the last time the device was seen during an inquiry. If the device has never been seen during an inquiry, nil is returned.
(Read only property)
IOBluetoothDeviceMBS.lastNameUpdate as Date
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Bluetooth | MBS Bluetooth Plugin | 18.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
(Read only property)
IOBluetoothDeviceMBS.lastNameUpdateDateTime as DateTime
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Bluetooth | MBS Bluetooth Plugin | 20.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
(Read only property)
IOBluetoothDeviceMBS.LastServicesUpdate as Date
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Bluetooth | MBS Bluetooth Plugin | 18.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Returns the date/time of the last SDP query. If an SDP query has never been performed on the device, nil is returned.
(Read only property)
IOBluetoothDeviceMBS.LastServicesUpdateDateTime as DateTime
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Bluetooth | MBS Bluetooth Plugin | 20.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Returns the date/time of the last SDP query. If an SDP query has never been performed on the device, nil is returned.
(Read only property)
IOBluetoothDeviceMBS.LinkType as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Bluetooth | MBS Bluetooth Plugin | 18.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Returns the link type for the baseband connection. If no baseband connection is present, kBluetoothLinkTypeNone is returned.
(Read only property)
IOBluetoothDeviceMBS.name as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Bluetooth | MBS Bluetooth Plugin | 18.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
This only returns a value if a remote name request has been performed on the target device. If a successful remote name request has not been completed, nil is returned. To perform a remote name request, call remoteNameRequest. If a remote name request has been successfully completed, the method LastNameUpdate will return the date/time of the last successful request.
(Read only property)
IOBluetoothDeviceMBS.nameOrAddress as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Bluetooth | MBS Bluetooth Plugin | 18.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
If the name is not present, it will return a string containing the device's address.
If a remote name request has been successfully completed, the device name will be returned. If not, a string containg the device address in the format of "XX-XX-XX-XX-XX-XX" will be returned.
(Read only property)
Some examples using this property:
IOBluetoothDeviceMBS.PageScanMode as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Bluetooth | MBS Bluetooth Plugin | 18.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Returns the value for the page scan mode for the device.
This value is only meaningful if the target device has been seen during an inquiry. This can be by checking the result of LastInquiryUpdate. If nil is returned, then the device hasn't been seen.
(Read only property)
IOBluetoothDeviceMBS.PageScanPeriodMode as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Bluetooth | MBS Bluetooth Plugin | 18.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Returns page scan period mode value for the device.
This value is only meaningful if the target device has been seen during an inquiry. This can be by checking the result of getLastInquiryUpdate. If nil is returned, then the device hasn't been seen.
(Read only property)
IOBluetoothDeviceMBS.PageScanRepetitionMode as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Bluetooth | MBS Bluetooth Plugin | 18.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Returns the page scan repetition mode value for this device.
This value is only meaningful if the target device has been seen during an inquiry. This can be by checking the result of LastInquiryUpdate. If nil is returned, then the device hasn't been seen.
(Read only property)
IOBluetoothDeviceMBS.rawRSSI as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Bluetooth | MBS Bluetooth Plugin | 18.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
This value is the perceived RSSI value, not relative the the golden range (see RSSI for that value). This value will not available on all Bluetooth modules. If the value cannot be read (e.g. the device is disconnected) or is not available on a module, a value of +127 will be returned.
(Read only property)
IOBluetoothDeviceMBS.RecentAccessDate as Date
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Bluetooth | MBS Bluetooth Plugin | 18.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Returns the date/time of the most recent access of the target device. If the device has not been accessed, nil is returned.
This is the date that recentDevices uses to sort its list of the most recently accessed devices.
This method is only available in macOS 10.2.4 (Bluetooth v1.1) or later.
(Read only property)
IOBluetoothDeviceMBS.RecentAccessDateTime as DateTime
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Bluetooth | MBS Bluetooth Plugin | 20.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Returns the date/time of the most recent access of the target device. If the device has not been accessed, nil is returned.
This is the date that recentDevices uses to sort its list of the most recently accessed devices.
This method is only available in macOS 10.2.4 (Bluetooth v1.1) or later.
(Read only property)
IOBluetoothDeviceMBS.RSSI as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Bluetooth | MBS Bluetooth Plugin | 18.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
If the RSSI is within the golden range, a value of 0 is returned. For the actual RSSI value, use getRawRSSI. For more information, see the Bluetooth 4.0 Core Specification.
Returns the RSSI of the device. If the value cannot be read (e.g. the device is disconnected), a value of +127 will be returned.
(Read only property)
IOBluetoothDeviceMBS.serviceClassMajor as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Bluetooth | MBS Bluetooth Plugin | 18.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
This value is only meaningful if the target device has been seen during an inquiry. This can be by checking the result of LastInquiryUpdate. If nil is returned, then the device hasn't been seen.
(Read only property)
The items on this page are in the following plugins: MBS Bluetooth Plugin.