Hi,
I use fastract supreme 20, firmware 663g. I apply dota feature on modem. I can successfully download the application file from ftp, write it into A&D space and install it. There is almost no problem. The new application starts when modem resets after adl_adinstall.
But when i follow the flow of code, i see that downloading operation gets interrupted by WIP_CEV_DONE event as explaint below.
- Connect to ftp server
- After getting WIP_CEV_OPEN event, start getting file by wip_getFile
- After getting WIP_CEV_READ event, start reading file and write AD space
4. Reading, Reading, Reading and strangly WIP_CEV_DONE event triggered! But it doesnt stop reading. - It continous reading file inspide of WIP_CEV_DONE event
- After reading all file, WIP_CEV_PEER_CLOSE event triggered and download completed
- Install the new application
I read that WIP_CEV_DONE triggered when you close the connection but i am sure i dont close connection untill reading completed. Although this event doesnt prevent successfull dota, i wonder why. Do you have any idea?
Thanks.