2020-10-25 06:25 PM
I want to change the MTU value.
As far as I checked through the manual, the mtu value is confirmed through aci_gatt_exchange_config().
I want to change the MTU value set at this time.
It seems that it can be set when the stack is initialized, but there is no BlueNRG_Stack_Initialization_t variable in the example code.
I tried changing the ATT_MTU value in bluenrg1_gatt_server.h but it didn't work.
Any help would be greatly appreciated.
2020-10-26 10:12 PM
Take the DK 3.2.1 DTM project for example,
BlueNRG_Stack_Initialization() is called in DTM_StackInit(), located at DTM_boot.c line 591.
MTU can be modified in BlueNRG_Stack_Init_params, located at DTM_config.h line 160.
2023-04-12 06:09 AM
I have run into the same problem. I cannot find BlueNRG_Stack_Init_params. I'm using a X-NUCLEO-IDB05A2 evaluation kit with Nucleo-F303ZE STM evaluation board. Ive downloaded the software pack X-CUBE-BLE1 1.6.2.4. I dont have a config.h file where I have update parameters.
Any Help will be appreciated.
2023-04-20 08:23 PM
BlueNRG-MS does not support data length extension.
Even though, i think it is possible to have a larger ATT MTU. The frames will be fragmented.
ATT_MTU is define in bluenrg_gatt_server.h
I didn't go deep into this. Not sure if modifying this is enough. But it would be a good start.