2021-11-16 02:15 AM
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.
2021-11-16 05:56 AM
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
2021-11-17 09:14 PM
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!