cancel
Showing results for 
Search instead for 
Did you mean: 

BLE notifications from STM32WB to Android are truncated

HCohe.1
Associate III

I'm executing the P2P Server on an STM32WB.  I have a custom client that can be ported to different platforms.  When I build the client for Windows-11, message exchanges greater than 20 bytes work okay.  When I build and run on Android, the P2P response messages transmitted by the STM32WB as BLE notifications are received by the client truncated to 20 bytes. The aci_gatt_update_char_value() call to generate the notifications from the server returns successfully.

I have CFG_BLE_MAX_ATT_MTU set to 300 and the P2P Notify GATT characteristic has a fixed length of 244.

Any insight into what appears to be a negotiation problem between BLE stacks?

1 REPLY 1
STTwo-32
ST Employee

Hello @HCohe.1 

Could you please provide a full description of the issue (your exact config, if there is any change, ...).

Best Regards.

STTwo-32

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.