Other Parts Discussed in Thread: CC3120
Hi, I'm setting up a SimpleLink application that includes downloading files over HTTP that may be multiple GB (from an SD card).
I have code that's working okay, but a couple of issues with the details.
1. If the user aborts the download (which closes the connection), is there some way the firmware can detect that? I don't get a non-zero result from the sl_NetAppSend() calls, and sl_DeviceGet(SL_DEVICE_STATUS) (not very well documented) returns zero status and zero device_status whether the data is going out or getting discarded. None of the event callbacks seem to be invoked when the connection is dropped.
2. Setting CONTENT_LENGTH in the metadata to a 64-bit value doesn't seem to work, even though I specify a size of 8 bytes. For files over 2GB, it looks like I have just leave off CONTENT_LENGTH and the user can't monitor progress very well.
Any suggestions would be much appreciated.