cancel
Showing results for 
Search instead for 
Did you mean: 

BLE_SensorDemo increase audio GATT Char value MTU size

PRiva
Associate

I have an STM Blue Tile and I want to send the data picked up by the microphone over BLE at a rate of 16KByte/second without using the Codec. The out of box code in BLE_SensorDemo seems to pick up the audio using MEMS microphone at a rate of 8KByte/s, encode that using a codec, then send the data over BLE at a rate of around 4KByte/s. The MTU size of the audio Char value in the GATT Database is 20 Bytes. If I want to send data at a faster rate (16KByte/s instead of 4KByte/s), I'm assuming I'd need to increase the MTU size. When I try to increase the MTU size in gatt_db.c and bluevoice_adpcm_bnrg1.c (in the send data function), the entire notification system for BLE seems to break. Is there a place in the code where I can increase MTU size from 20 to a larger number?

Thanks very much for the help.

0 REPLIES 0