WindowsBlueToothLEMBS class
Online Documentation - Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchy
New in Version
22.2
22.3
22.4
22.5
23.0
23.1
23.2
23.3
23.4
23.5
24.0
24.1
The list of the topics,
classes,
interfaces,
controls,
modules,
global methods by category,
global methods by name,
screenshots,
licenses
and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
WindowsBlueToothLEMBS class
The class for using Bluetooth LE functions on Windows 8 or newer.
- event ChangeEvent(ChangedAttributeHandle as Integer, CharacteristicValue as MemoryBlock)
- 4 properties
- 13 methods
- method AbortReliableWrite(ReliableWriteContextID as UInt64)
- method BeginReliableWrite as UInt64
- method Characteristics(ParentService as WindowsBlueToothLEServiceMBS, Flags as Integer = 0) as WindowsBlueToothLECharacteristicMBS()
- method Constructor(DevicePath as String)
- method Descriptors(Characteristic as WindowsBlueToothLECharacteristicMBS, Flags as Integer = 0) as WindowsBlueToothLEDescriptorMBS()
- method EndReliableWrite(ReliableWriteContextID as UInt64)
- method GetCharacteristicValue(Characteristic as WindowsBlueToothLECharacteristicMBS, Flags as Integer = 0) as MemoryBlock
- method GetDescriptorValue(Descriptor as WindowsBlueToothLEDescriptorMBS, Flags as Integer = 0) as WindowsBlueToothLEDescriptorValueMBS
- method IncludedServices(ParentService as WindowsBlueToothLEServiceMBS, Flags as Integer = 0) as WindowsBlueToothLEServiceMBS()
- method RegisterChangeEvent(Characteristics() as WindowsBlueToothLECharacteristicMBS)
- method Services(Flags as Integer = 0) as WindowsBlueToothLEServiceMBS()
- method SetCharacteristicValue(Characteristic as WindowsBlueToothLECharacteristicMBS, data as MemoryBlock, ReliableWriteContextID as UInt64, Flags as Integer = 0) as Boolean
- method SetDescriptorValue(Descriptor as WindowsBlueToothLEDescriptorMBS, DescriptorValue as WindowsBlueToothLEDescriptorValueMBS, Flags as Integer = 0) as Boolean
- 2 shared methods
- 8 constants
Flags
Constant |
Value |
Description |
kFlagConnectionAuthenticated
|
&h00000002 |
The client requests the data to be transmitted over an authenticated channel.
|
kFlagConnectionEncrypted
|
&h00000001 |
The client requests the data to be transmitted over an encrypted channel.
|
kFlagForceReadFromCache
|
&h00000008 |
The descriptor value is to be read from the cache (regardless of whether it is present in the cache or not).
|
kFlagForceReadFromDevice
|
&h00000004 |
The descriptor value is to be read directly from the device. This overwrites the one in the cache if one is already present.
|
kFlagNone
|
&h00000000 |
No flag.
|
kFlagReturnAll
|
&h00000040 |
|
kFlagSignedWrite
|
&h00000010 |
Signed write. Profile drivers must use with kFlagWriteWithoutResponse in order to produce signed write without a response.
|
kFlagWriteWithoutResponse
|
&h00000020 |
Write without response.
|
This class has no sub classes.
Some examples using this class:
Blog Entries
Release notes
- Version 22.1
- Fixed buffer passing in SetCharacteristicValue method for WindowsBlueToothLEMBS class.
- Fixed potential problem that SetCharacteristicValue method could crash in WindowsBlueToothLEMBS class on low memory situation.
- Version 18.3
The items on this page are in the following plugins: MBS Bluetooth Plugin.
WindowsBluetoothLEManufacturerDataMBS
-
WindowsBlueToothLEServiceMBS