I am using ANT-FS embedded client code to sent files to PC ANT-FS host program. I found that the time lag for retrieving data from flash may cause the burst to fail when I transfer large file, but it is okay with small files.
Probably set the beacon state to busy while retrieving data will help?
I tried to limit the burst size to 64 bytes because I am reading 64 bytes at a time from flash.
stResponseInfo.uBlockSize.ulData = 64;
but this will cause the download restart automatically.
Does anyone know what cause the download restart? How to avoid it?