Hi.
I am using Evothings to make an ble App. and I need to transfer 100 bytes using BLE. How can I change "MTU Size" in my JavaScript code.
Tha
Android BLE MTU Size
Re: Android BLE MTU Size
The Maximum Transmission Unit in BLE/GATT is 20 bytes. This is determined by the official Bluetooth specification and cannot be changed.
To transfer 100 bytes, you will have to make 5 sequential transfers of 20 bytes each.
To transfer 100 bytes, you will have to make 5 sequential transfers of 20 bytes each.
Re: Android BLE MTU Size
yes I know. but if you change the MTU size of Central(for example Phone), you can send several packets on each "Connection Event".
I need to know how can I change MTU size of Android BLE in "Evothings". thanks.
I need to know how can I change MTU size of Android BLE in "Evothings". thanks.
Re: Android BLE MTU Size
I see, you're talking about the function BluetoothGatt.requestMtu(). It is not exposed by the Evothings BLE plugin, so changing MTU size will not be possible.
Return to “Questions and answers”
Who is online
Users browsing this forum: No registered users and 2 guests