cancel
Showing results for 
Search instead for 
Did you mean: 

Change TX data length with BlueNRG M2 in network co processor mode

RMoc.1
Associate II

I am using BlueNRG M2 in a network co-processor mode and want to send 10 packets per second, each of 100 bytes. I have generated code through STM32CubeMX and changed the ATT_MTU value from 23 to 247 in the bluenrg1_gatt_server.h file, which was generated by STM32CubeMX.

When I call the data length function with parameters hci_le_set_data_length(251, 2120), I receive a callback in hci_le_data_length_change_event with MaxTxOctets set to 27, which seems like packet fragmentation after sending data.

I went through the DTM example and found the BlueNRG_Stack_Initialization function, which includes a parameter named MAX_ATT_MTU. However, this parameter is not available when using BlueNRG M2 in network co-processor mode. How can I send 100 bytes of data in a single packet in network co-processor mode?

0 REPLIES 0