Skip to main content
Jean DEMBEGA
Associate II
June 12, 2017
Question

What can I do to solve Data mistake on SPWF01SA.11?

  • June 12, 2017
  • 1 reply
  • 501 views
Posted on June 12, 2017 at 17:05

none

#tls-spwf01sa.11 #data-lost #large-data #spwf01sa.11
    This topic has been closed for replies.

    1 reply

    Gerardo GALLUCCI
    ST Employee
    June 12, 2017
    Posted on June 12, 2017 at 17:40

    Hi Jean,

    problem is that, if you want to receive X bytes, you need to store (in worst case) 2X bytes. Record is not decrypted if it's not fully received. There is an alloc/realloc mechanism inside.

    Module has 64KB RAM to run everything, including filesystem (if any), TLS (if used), webserver (if clients are in), etc. Check 'AT+S.STS=free_heap' after WIND:24.

    Basically, using a standard SPWF01S FW, cannot receive all of this amount of data over TLS. Use HTTP1.1 header capability to ask for smaller chuncks (Content-Length / Content-Range). Ask for a customization to your ST distributor/reference.

    Alternative option: move to SPWF04S

    jerry