This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Soft Device received data handling

Hi,

I am having some issues transferring data from an iPhone to the nRF51822. Actually, I write block of 16 of my data from the iPhone on a specific characteristic on the nRF51822 and on each write event, I transfer the written data to another microcontroller which handles it. When dealing with "huge" amounts of data (around 5kB), it happens sometimes that the data rate slows down drastically (like 4kB/s to a few bytes per second) and I receive the error on the iPhone that some blocks could not be written.

As I haven't clearly identified the issue yet, I would like to know more about how the soft device handles the data written on a characteristic (to give me a hint to debug properly). Is it cached while not handled by the on_write event? What are the buffer sizes?...

Related