Skip to main content
SKuma.24
Associate II
November 16, 2021
Question

How to transmit the 247 data in stm32wb?

  • November 16, 2021
  • 2 replies
  • 930 views

I have configured the stm32wb with 247 data transmission but in the receiver side the buffer seems like it transferred only 20 bytes in the notification.

For note: The values are updated in the 255 sized cmd_buffer in the aci_gatt_update_char_value() function. But it notified only 20 bytes of data in the mobile application.

Can anyone help me according to the proper configuration of the stm32wb for transmit 249 data at a time.

Thanks! in advance.

This topic has been closed for replies.

2 replies

jro
Associate III
November 16, 2021

Have you called aci_gatt_exchange_config() after the connection is established? Note you might not get an MTU of 247 bytes, depending on the client - I believe iOS limits you to 185 bytes

SKuma.24
SKuma.24Author
Associate II
November 18, 2021

Thanks jro!

Especially the problem was in the client side(android application) it shows only 20 values on its notification but when we read that it gives 247 bytes of data. we just confirmed that one by receiving the notification data in python script. Once again thank you!