2022-10-21 01:55 AM
I want 120bytes per notification,
I want 120bytes per notification, but I can only reach 20bytes with stm32cubemonitor-rf monitoring.
The following picture is what I mainly modified in the program:
Am I going wrong somewhere?
2022-10-28 08:18 AM
Hello,
The maximum payload per notification is 251 bytes without fragmentation and you can reach 512 bytes with fragmentation mechanism.
After the connection you should use aci_gatt_exchange_config command to perform an ATT MTU exchange procedure in order to be able to send notification with size near to ATT MTU value set in app_conf.h
Best Regards
2022-10-28 07:16 PM
Thanks for your help.I can transmit notifications of 120 bytes. Now I have a new problem, when I try to notify of 240 bytes, I can see the data with nrf connect on the mobile phone, but not with stm32cubemonitor-rf. In the program of BLE_TransparentModeVCP, I only changed ATT_MTU_MAX (245), do I need to do anything else?