This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/CC2640R2F: characteristic Indicate

Part Number: CC2640R2F

Tool/software: Code Composer Studio

Hi,

I send a packet of 80 bytes divided into two packets of 40 bytes with a characteristic indicate. 

Do I receive the ACK in response only at the end of all packet (80 bytes) or at the sending of each packet of 40 bytes?

Thanks.

Best regards.

Giuseppe

  • Hi Giuseppe,

    Can you be a little more specific about how you are using an indicate over multiple packets? What is the ATT_MTU you are using - note that this is negotiated between the two sides of the connection so there is only so much you can control with it.

    To be clear, every indication gets a confirmation. However, if you see the Bluetooth SIG spec version 4.2 [Vol 3, Part F] section 3.4.7.2 Handle Value Indication, this states that if the attribute is longer than ATT_MTU-3 then only the first ATT_MTU-3 bytes can be sent in an indication (and at that point you would get a single confirmation), and if you wanted to get the rest of the data for a long attribute you would then need to use a Read Blob Request instead. But, if you are just trying to shove data across using indications, you could set the characteristic data multiple times to send all data in multiple indications, which would mean you get a confirmation for each. This can have an impact on overall throughput however.

    Regards,
    Katie