Platforms to show: All Mac Windows Linux Cross-Platform
Back to WindowsGattSessionMBS class.
WindowsGattSessionMBS.CanMaintainConnection as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Bluetooth | MBS WinFrameworks Plugin | 23.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
(Read only property)
WindowsGattSessionMBS.DeviceId as WindowsBluetoothDeviceIdMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Bluetooth | MBS WinFrameworks Plugin | 23.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
(Read only property)
WindowsGattSessionMBS.Handle as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Bluetooth | MBS WinFrameworks Plugin | 23.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
(Read only property)
WindowsGattSessionMBS.MaintainConnection as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Bluetooth | MBS WinFrameworks Plugin | 23.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
Value is true if the connection should be maintained, otherwise false. false by default.
If GattSession.MaintainConnection is set to true, then the system waits indefinitely for a connection, and it will connect when the device is available. There's nothing for your application to wait on, since GattSession.MaintainConnection is a property.
(Read and Write property)
WindowsGattSessionMBS.MaxPduSize as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Bluetooth | MBS WinFrameworks Plugin | 23.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
This metric is also known as the maximum transmission unit (MTU) size.
The Windows operating system automatically fragments down larger protocol data unit (PDU) sizes sent to a remote device (wherever supported by the Bluetooth GATT/ATT spec). So under normal circumstances, there's no need for you to know the maximum transmission unit (MTU) size at the application layer if your application's goal is just to send data efficiently.
You can send large amounts of data, and it will be fragmented automatically by the OS using the MTU. Your application is not limited by the MTU size as to the data transfer of each packet.
If you want your application to customize the data sent based on the MTU (for example, encoding/codec), or to communicate the MTU size information out-of-band, then you can access the the MTU value using MaxPduSize and GattSession.MaxPduSizeChanged.
(Read only property)
WindowsGattSessionMBS.SessionStatus as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Bluetooth | MBS WinFrameworks Plugin | 23.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
(Read only property)
The items on this page are in the following plugins: MBS WinFrameworks Plugin.