Question about MTU size for very large characteristics

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

As a follow-on to this thread: Question about MTU size for very large characteristics

I'm sorry, I'm a little confused. Isn't LEATT_ATT_MTU == 23? How do you cram more bytes in there without a buffer overrun? Do you make your own BLEPROFILE_DB_PDU struct with more space and cast it?

0 Likes
1 Solution
Anonymous
Not applicable

Hello Tyler

See long_characteristic sample app in SDK 2.2.x. MTU is still 23 bytes.

The data is written by the client as a set of prepare writes followed by a commit.

Have you seen this post:

BCM20736S - change ATT_MTU

Defined here:

pastedImage_0.png

Let me know if this helps

Thanks

JT

View solution in original post

0 Likes
1 Reply
Anonymous
Not applicable

Hello Tyler

See long_characteristic sample app in SDK 2.2.x. MTU is still 23 bytes.

The data is written by the client as a set of prepare writes followed by a commit.

Have you seen this post:

BCM20736S - change ATT_MTU

Defined here:

pastedImage_0.png

Let me know if this helps

Thanks

JT

0 Likes