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.

CC3235SF: HTTGetHandler: can't find handler for URI=/netlist.txt

Part Number: CC3235SF

Tool/software:

I am porting the local ota to provisioning example in SDK7.1. After finishing provisioning, I cannot access those GET API.

I was trying to use GET to get the netlist and find it reply 404

[HTTPSRV::WARN] HTTGetHandler: can't find handler for URI=/netlist.txt
[HTTPSRV::WARN] HTTGetHandler: can't find handler for URI=/param_device_name.txt

However, I am able to use POST action for adding said and password to the device

192.168.50.246/.../profile_add
__SL_P_P.B=3&__SL_P_P.A=ThisisaTest&__SL_P_P.C=0123456789&__SL_P_P.D=5

I am porting the local ota to provisioning example in SDK7.1

What do i miss? I can access /settings.html to config ssid and pasword

The only different in the init section, that I didn't use SSL and only HTTP port

#if OTA_SUPPORT
HTTPSRV_IF_params_t *pHttpSrvParams = NULL;
#if LOCAL_OTA_SUPPORT
HTTPSRV_IF_params_t httpsSrvParams;
httpsSrvParams.pClientRootCa = NULL;
httpsSrvParams.pServerCert = NULL;
httpsSrvParams.pServerKey = NULL;
httpsSrvParams.primaryPort = 80;
httpsSrvParams.secondaryPort = 0;
pHttpSrvParams = &httpsSrvParams;
#endif
ret = OTA_IF_init(pHttpSrvParams, OtaCallback, 0, NULL);

I can also use post action correctly

I can access the settings.html page with correct information

  • Hi,

    The settings.html does exist as a separate page in the file system so you can reach it.

    How about netlist.txt that does not exist?

    Can you open some more debug levels in the code (by default it is set to E_INFO. Can you change to E_TRACE to get more messages?

    I want to see if with the settings.html it gets to the function that throws the error.

    Regards,

    Shlomi