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.

unresolved symbol SimpleLinkHttpServerCallback

Other Parts Discussed in Thread: CC3200, CC3200SDK

Hi,

I am trying to develop the code for email application. The tool is CCS. Device is CC3200.

I am getting the below error messages when compiling my code.

Description Resource Path Location Type
unresolved symbol SimpleLinkHttpServerCallback, first referenced in C:/ti/CC3200SDK_1.0.0/cc3200-sdk/simplelink/ccs/NON_OS/simplelink.a<netapp.obj> TestM4 C/C++ Problem

Description Resource Path Location Type
unresolved symbol SimpleLinkNetAppEventHandler, first referenced in C:/ti/CC3200SDK_1.0.0/cc3200-sdk/simplelink/ccs/NON_OS/simplelink.a<driver.obj> TestM4 C/C++ Problem

Description Resource Path Location Type
unresolved symbol SimpleLinkSockEventHandler, first referenced in C:/ti/CC3200SDK_1.0.0/cc3200-sdk/simplelink/ccs/NON_OS/simplelink.a<driver.obj> TestM4 C/C++ Problem

Description Resource Path Location Type
unresolved symbol SimpleLinkWlanEventHandler, first referenced in C:/ti/CC3200SDK_1.0.0/cc3200-sdk/simplelink/ccs/NON_OS/simplelink.a<driver.obj> TestM4 C/C++ Problem

the code till now is as below

#include "simplelink.h"
#include "wlan.h"
#include "protocol.h"
#include "driver.h"
#include "netapp.h"

#include "common.h"

SlSecParams_t wifiparams;

unsigned char *macaddr;

main()
{
wifiparams.Type = SL_SEC_TYPE_WPA_WPA2; //SL_SEC_TYPE_OPEN,SL_SEC_TYPE_WEP
wifiparams.Key = (signed char *) APPWD_R;
wifiparams.KeyLen = strlen(APPWD_R);

sl_WlanConnect((signed char*)SSID_R, strlen(SSID_R), macaddr, &wifiparams, 0);

while(1)
{
_SlNonOsMainLoopTask();
}

}

Please help me in getting out of this error.

Thanks,

Rajesh

  • Hi Rajesh,

    I suggest you execute and debug any of the existing examples in the SDK to understand the working of the networking APIs. Looks like you prefer the non-OS version - you may refer to example\connection_policy or example\mdns.

    Specifically, in your case, the error is seen as the networking engine expects some event handlers to be available (mandatory, also configurable) in the application and you dont have them.

    Best regards,

    Naveen

  • Naveen,

    You are correct. I have added the event handlers blocks(left empty) taken from the examples and the issues got resolved.

    Thanks,

    Rajesh