Platforms to show: All Mac Windows Linux Cross-Platform
Back to CBATTRequestMBS class.
CBATTRequestMBS.central as CBCentralMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Bluetooth | MBS Bluetooth Plugin | 18.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
(Read only property)
CBATTRequestMBS.characteristic as CBCharacteristicMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Bluetooth | MBS Bluetooth Plugin | 18.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
(Read only property)
CBATTRequestMBS.Handle as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Bluetooth | MBS Bluetooth Plugin | 18.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
(Read and Write property)
CBATTRequestMBS.offset as UInt64
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Bluetooth | MBS Bluetooth Plugin | 18.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
You can use the value of this property to ensure that the ATT request is attempting to read or write within the proper bounds of the characteristic’s value. For an example of how to take a request’s offset property into account when responding to a read or write request, see Responding to Read and Write Requests from a Central in Apple documentation.
(Read only property)
CBATTRequestMBS.value as MemoryBlock
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Bluetooth | MBS Bluetooth Plugin | 18.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The value of this property differs according to the type of request. For read requests, the property of this value is nil and should be set before responding to the remote central through the respondToRequest method. For write requests, the value of this property is the data that is to be written to the characteristic’s value.
(Read and Write property)
The items on this page are in the following plugins: MBS Bluetooth Plugin.