System.Bluetooth.TBluetoothLEDevice.RequestMtu
Delphi
function RequestMTU(AMTU: Integer): Boolean;
C++
bool __fastcall RequestMTU(int AMTU);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Bluetooth.pas System.Bluetooth.hpp |
System.Bluetooth | TBluetoothLEDevice |
Description
Method used to request a specific MTU size from the connected BLE device.
The MTU defines the largest packet size (in bytes) that can be sent during a single BLE operation. Calling RequestMtu allows the application to negotiate a larger MTU size with the peripheral.