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.

Error [-6] at line [1253] in function [Network_IF_startHttpServer]

Other Parts Discussed in Thread: CC3100, CC3200

http server is turned off , then it's turned on after power off/power on, but no success.

any hint? Thanks

  • Hi Vincent,

    We will require more information to assist.

    What call is being made on line 1253?
    What platform are you using CC3200 or CC3100?
    What is the Network_IF_startHttoServer function, I could not find this in the network_if.c. Is this your custom code?

    The meaning to the error number can sometimes be found in the SimpleLink API Header, but with out knowing what is being called, I cannot say which API is being used.

    Glenn.
  • sorry Glenn, you are right, Network_IF_startHttoServer is custom code which just call sl_NetAppStart(SL_NET_APP_HTTP_SERVER_ID)

    trace to its code:

    _i16 sl_NetAppStart(_u32 AppBitMap)
    {
    _SlNetAppStartStopMsg_u Msg;
    Msg.Cmd.appId = AppBitMap;
    VERIFY_RET_OK(_SlDrvCmdOp((_SlCmdCtrl_t *)&_SlNetAppStartCtrl, &Msg, NULL));

    return Msg.Rsp.status;
    }
    #endif

    but cannot figure out what's the meaning of error code -6

  • Still cannot see anything in there, as I cannot see what your defines are. But I can guess that this is related to the netapp module, which means you need to look into the netapp.h file for the error number. Unfortunately -6 is not detailed, so cannot explain what your issue is.

    You will need to trouble shoot this issue as per normal, use break points, look at variables, traces etc. until you narrow down the exact line the error occurs. Knowing which specific API is returning the error would be a good start.

    Glenn.