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.

OTA Linking Problem

Other Parts Discussed in Thread: Z-STACK

Hi everyone,

When I follow the instruction of Z-Stack OTA Upgrade User's Guid.pdf step by step, adding the  OTA  Client Functionality to a project like sampleApp or simpleApp(EndDevice), I have found several linking problems as following:

Error[e46]: Undefined external "zcl_registerPlugin::?relay" referred in zcl_ota ( C:\Texas Instruments\ZStack-CC2530-2.5.0\Projects\zstack\Samples\SampleApp\CC2530DB\EndDeviceEB\Obj\zcl_ota.r51 )

Error[e46]: Undefined external "zcl_registerAttrList::?relay" referred in zcl_ota ( C:\Texas Instruments\ZStack-CC2530-2.5.0\Projects\zstack\Samples\SampleApp\CC2530DB\EndDeviceEB\Obj\zcl_ota.r51 )

Error[e46]: Undefined external "zcl_SendCommand::?relay" referred in zcl_ota ( C:\Texas Instruments\ZStack-CC2530-2.5.0\Projects\zstack\Samples\SampleApp\CC2530DB\EndDeviceEB\Obj\zcl_ota.r51 )

Error[e46]: Undefined external "HalOTAWrite::?relay" referred in zcl_ota ( C:\Texas Instruments\ZStack-CC2530-2.5.0\Projects\zstack\Samples\SampleApp\CC2530DB\EndDeviceEB\Obj\zcl_ota.r51 )

Error[e46]: Undefined external "HalOTAChkDL::?relay" referred in zcl_ota ( C:\Texas Instruments\ZStack-CC2530-2.5.0\Projects\zstack\Samples\SampleApp\CC2530DB\EndDeviceEB\Obj\zcl_ota.r51 )

Error[e46]: Undefined external "zcl_TaskID" referred in zcl_ota ( C:\Texas Instruments\ZStack-CC2530-2.5.0\Projects\zstack\Samples\SampleApp\CC2530DB\EndDeviceEB\Obj\zcl_ota.r51 )

I notice that when I add #include "zcl_ota.h" in the header of OSAL_SampleApp.c, zclOTA_event_loop in tasksArr[] and  zclOTA_Init ( taskID ) in osalInitTasks, this linking problem will occur.But this problem will not happen in the project of SampleSwitchOta.

If who know how to fix this up, please help me. Thanks in advance.