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.

Long Post-Processing Period when writing multiple Charactersitics



Hi,

I was doing some tests and I wrote 4 characteristics with the simpleBLEPeripheral application and got the below signal when I checked it with the oscilloscope

Can anyone explain why is the post-processing in this case takes much longer than when sending the simple packets when devices are connected and not writing any data ?

Thanks a lot,

Hafiz

  • Hi, Hafiz

    It would help if you explain what it is, how did you manage to write a characteristic via Peripheral app and what is post-processing.

    BR,

    Oleg

  • I suspect the processing is from the GATTServApp locating the CB's for each characteristic.  Internally I suspect TI has a linked list of all attributes.  For each characteristic write they search the entire list of attribute tables and then call the authorization and read/write callbacks.

    To test my theory I would suggest you modify your read/write/authorization CB's to toggle a debug I/O signal when entering and exiting.  You can then look with a logic analyzer to see when they are called and what the timing is between them and how much time your CB's take.