This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

SLM HTTP client hangs with large payload

I recently switched  from 1.5.1 to 1.6.1 and I'm now finding the SLM is misbehaving.

When I try to send a large payload such as 933 bytes of data, I find the CTS signal goes low after 274 bytes of data were sent.  (There is some buffering in my mcu so probably less received at SLM uart) 

It seems like the SLM data mode uses a ring buffer that is only 256 lines and the datamode cannot handle payloads longer than this.  

Please confirm large payloads work in 1.6.1.  

Also any advice on how to get debug logging from SLM_AT_HOST and SLM_AT_HTTPC ?  I'm running from SES with stock SLM example...

Parents Reply
  • CTS at my external MCU is driven by the nrf9160 SLM.  The signal indicates the external mcu should stop sending data.

    Regarding the debug logs... (my apologies for basic questions, I'm new to NCS and there are a lot of docs to search through)

    1) After changing prj.conf do I need to run cmake from Project..Run cmake.. ?

    2) Is it correct for me to put this in the prj.conf:

    CONIG_SLM_LOG_LEVEL=4

    3) What does CONFIG_SLM_LOG_LEVEL_INF=y  do?

Children
Related