eklektek
eklektek

Reputation: 1173

Android BLE MTU size, has anyone sniffed it?

Doing some across platform research into the parameters around BLE on Smartphones.

I have iOS devices so have sniffed the ATT_Exchange_MTU_Req/Rsp for iOS.

Has anyone done the same for Android and got a value?

Upvotes: 1

Views: 3843

Answers (3)

Anup Lal
Anup Lal

Reputation: 57

The MTU size to transfer data always varies with the capacity of the peripheral. You can always request to increate the MTU size and transfer more bytes.

Default MTU is 23 bytes

Upvotes: 1

Vinodh
Vinodh

Reputation: 1129

ATT_MTU is defined as the maximum size of any packet sent between a client and a server.

A higher layer specification defines the default ATT_MTU value.

If the client's or server's MTU value is not the default value then the client and server exchange the maximum size of a packet that can be received using the Exchange MTU Request and Response PDUs. Both devices then use the minimum of these exchanged values for all further communication.

Upvotes: 1

Vinodh
Vinodh

Reputation: 1129

I couldnt get the MTU exchange packet while sniffing. But i have found in code :

#define GATT_MAX_MTU_SIZE 517

https://github.com/tieto/external-bluetooth-bluedroid/blob/master/stack/include/gatt_api.h

Upvotes: 3

Related Questions