cancel
Showing results for 
Search instead for 
Did you mean: 

How to transmit the 247 data in stm32wb?

SKuma.24
Associate II

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.

2 REPLIES 2
jro
Associate III

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
Associate II

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!