cancel
Showing results for 
Search instead for 
Did you mean: 

aci_gatt_update_char_value_ext issue

APort
Associate III

Hello,

We are trying to use MTU larger than 24X bytes.

The characteristic size set to 483 bytes (CFG_BLE_MAX_ATT_MTU).

We tried to use aci_gatt_update_char_value_ext to set the value (as the HCI layer is limited to 255 bytes transfer).

aci_gatt_update_char_value_ext called twice (for both MPSs) , first part with 0 offset, and 2nd with 240.

First, Update_Type=GATT_CHAR_UPDATE_LOCAL_ONLY;  2nd call with GATT_CHAR_UPDATE_SEND_NOTIFICATION.

What happens is that random? number of bytes is sent (80).

 

If we always use GATT_CHAR_UPDATE_SEND_NOTIFICATION proper 480 bytes are sent, but twice (for both offset updates) ...

 

Thanks in advance

 

 

0 REPLIES 0