title: Android BLE: knowing MTU on the GattServer side
body: <p>I have implemented BLE communications on Android. I'm negotiating the MTU on the client side using <a href="https://developer.android.com/reference/android/bluetooth/BluetoothGatt.html#requestMtu(int)" rel="noreferrer">requestMtu</a>. This works well, as the client gets the MTU change on <a href="https://developer.android.com/reference/android/bluetooth/BluetoothGattCallback.html#onMtuChanged" rel="noreferrer">onMtuChanged</a>. However, I still don't have the means to know the MTU on the server side, only the client. I implement my own mechanism for fragmentation/segmentation as sometimes I'm sending reasonable amounts of data. I'd like to segment the data according to MTU size for faster communications. I'm currently sending 20 bytes at a time on the server side, which works but is slower. Is there a way to get the MTU on the server?</p>