This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC3235MODSF: Making HTTP Header Larger

Part Number: CC3235MODSF

Using a device authentication token in our API.  The size of the token is around 1200 bytes.

Here are some results when attempting to make the HTTP header larger for the device authentication token:

 

  1. copy http.h, httpclient.c, httpclient.h, httpclient_internal.h to CCS project as recommended.

HTTPClient_connect2 returns error code -370

 

  1. modify HTTPClient_BUF_LEN to 2048 in httpclient_internal.h and rebuild library

HTTPClient_connect2 does not return and program there is a NMI crash.  Possible stack overflow?

 

  1. modify HTTPClient_BUF_LEN to 1408 in httpclient_internal.h and rebuild library

HTTPClient_connect2 returns error code -2006

 

  1. modify HTTPClient_BUF_LEN back to the original value of 256 in httpclient_internal.h and rebuild library

HTTPClient_connect2 returns error code 0 and successful connection to BD host application (Gateway)