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.

CC254x Libraries

Other Parts Discussed in Thread: CC2540

I've created an Observer sending output to the USB port while running on a BLE USB dongle by replacing the app files in the HostTestApp with the simpleBLEObserver app files and adding code to send data to the USB port.  This seems to work ok, but I don't understand why I still have to use the libraries used by the HostTestApp.

HostTestApp uses CC2540_BLE.lib & CC254x_BLE_HCI_TL_Full.lib 

simpleBLEObserver uses CC2540_BLE_observ.lib & CC254x_BLE_HCI_TL_None.lib 

But when I try to just use the libraries used by simpleBLEObserver, I get the following errors:

Error[e46]: Undefined external "SM_InitiatorInit::?relay" referred in gap ( C:\Projects\svn_repository\Software\Third Party\Texas Instruments\BLE-CC254x-1.4.0\Projects\ble\BLEReceiver\CC2540\
CC2540SPI\Obj\gap.r51 )
Error[e46]: Undefined external "GAP_PeriDevMgrInit::?relay" referred in gap ( C:\Projects\svn_repository\Software\Third Party\Texas Instruments\BLE-CC254x-1.4.0\Projects\ble\BLEReceiver\CC2540\
CC2540SPI\Obj\gap.r51 )
Error[e46]: Undefined external "SM_ResponderInit::?relay" referred in gap ( C:\Projects\svn_repository\Software\Third Party\Texas Instruments\BLE-CC254x-1.4.0\Projects\ble\BLEReceiver\CC2540\
CC2540SPI\Obj\gap.r51 )
Error[e46]: Undefined external "gapRegisterCentralConn::?relay" referred in gap_centdevmgr ( C:\Projects\svn_repository\Software\Third Party\Texas Instruments\BLE-CC254x-1.4.0\Projects\ble\
Libraries\CC2540DB\bin\CC2540_BLE_observ.lib )
Error[e46]: Undefined external "gapTerminateConnComplete::?relay" referred in gap_centdevmgr ( C:\Projects\svn_repository\Software\Third Party\Texas Instruments\BLE-CC254x-1.4.0\Projects\ble\
Libraries\CC2540DB\bin\CC2540_BLE_observ.lib )
Error[e46]: Undefined external "gapProcessCreateLLConnCmdStatus::?relay" referred in gap_centdevmgr ( C:\Projects\svn_repository\Software\Third Party\Texas Instruments\BLE-CC254x-1.4.0\
Projects\ble\Libraries\CC2540DB\bin\CC2540_BLE_observ.lib )
Error[e46]: Undefined external "gapProcessConnUpdateCmdStatus::?relay" referred in gap_centdevmgr ( C:\Projects\svn_repository\Software\Third Party\Texas Instruments\BLE-CC254x-1.4.0\
Projects\ble\Libraries\CC2540DB\bin\CC2540_BLE_observ.lib )
Error[e46]: Undefined external "gapProcessL2CAPSignalEvt::?relay" referred in gap_centdevmgr ( C:\Projects\svn_repository\Software\Third Party\Texas Instruments\BLE-CC254x-1.4.0\Projects\ble\
Libraries\CC2540DB\bin\CC2540_BLE_observ.lib )
Error[e46]: Undefined external "gapCancelLinkReq::?relay" referred in gap_centdevmgr ( C:\Projects\svn_repository\Software\Third Party\Texas Instruments\BLE-CC254x-1.4.0\Projects\ble\Libraries\
CC2540DB\bin\CC2540_BLE_observ.lib )

How should I determine which libraries I need in order to successfully build and also minimize the code size?

Thanks, Richard