cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 4 MCU

TeCh_3034126
New Contributor II

Hi,

I am using CYBLE-014008-EVAL for my development.

I have created a custom BLE service (Fields: 9x4 bytes == 36 bytes, Properties: Notify).

After linked with CySmart 1.2 and 'Enable All Notifications', I cannot get the notified data.

However, if I set the size of the 'Fields' data from 36 bytes to 12 bytes, I can get the notified data.

Is there any limitation on the data size of the notification?

Thanks!

Terry

0 Likes
1 Solution
Anonymous
Not applicable

Hello Terry,

Increase the MTU size to 39 and try again. Make sure that the MTU size is exchanged.

Please see Bluetooth 4.0 specification Vol 3 Part F 3.4.7.1. (Attribute Value size for notifications should be between 0 and MTU - 3)

Regards,

View solution in original post

4 Replies
Anonymous
Not applicable

Hello Terry,

Increase the MTU size to 39 and try again. Make sure that the MTU size is exchanged.

Please see Bluetooth 4.0 specification Vol 3 Part F 3.4.7.1. (Attribute Value size for notifications should be between 0 and MTU - 3)

Regards,

View solution in original post

TeCh_3034126
New Contributor II

Hi cfmm,

Just want to confirm that is it ok for just to change the MTU in 'GAP settings'?

Do I need to change the 'L2CAP MTU' also?

Thanks,

Terry

0 Likes
Anonymous
Not applicable

Hello Terry,

Yes in the GAP Settings tab.

0 Likes
Anonymous
Not applicable