Our Nrf51822 will disconnect the connection with timeout reason when it is sending a large amount of data (about 20-70 KB) to our central device which is TI cc2540. This disconnection problem occurs occasionally and it is really fatal for our system. How can we avoid this?
Another problem is in this case, the TI cc2540 will be aware of disconnection after 1 minute. I don't know why? Actually, this time is ~ 10 seconds when I removed the battery from Nrf51822. I mean I see two different values of timeout (~10s and 60s) on TI cc2540 while in both cases the reason of disconnection is 'Timeout'?
Here are the connection parameters I have on Nrf51822.
- Supervision timeout: 1000 ms
- Slave latency: 0
- Min con. interval: 25 ms
- Max con.interval: 25 ms
- Con. bandwidth: TX = RX = Low