Hi
We are using today nRF52832 and communicate through Nordic UART service (NUS).
Sometimes we would like to transfer files from our device to the app. This is going very slow.
Our default setup is:
- connection interval 50ms
- MTU size 23 bytes
We are currently using SDK 12.3.0 and S132 ver. 3.00.
Our device can be both Central and Pheripheral depending if communicate with Phone or with other Pheripherals.
This is what we see with Wireshark and nRF Sniffer (hope the screen dump is readable...):
So my questions are:
1) What is the reason why our device (slave) respond with an Empty PDU first, after received a write request?
2) We have now set wr_auth=1. If we set this to 0, will we get higher transfer rate? And if so what kind of pitfalls can there be?
3) Should we increase the MTU size from 23? Is this a good choice? If increasing the MTU size will this mean higher current consumption?
4) Is it possible within the same software, since our device can both act like Central and Pheripheral, to have two different MTU sizes?
E.g when Master runs with 23 bytes and Slave with 128 bytes.
4) Are there other ways we can improve the transfer with NUS?
5) Should we look into another service, e.g. Object Transfer Service?
Please advice
Peder Olav