Skip to main content
HCohe.1
Associate III
September 19, 2024
Question

BLE notifications from STM32WB to Android are truncated

  • September 19, 2024
  • 1 reply
  • 659 views

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

STTwo-32
Technical Moderator
October 4, 2024

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