找過許多資料夾也無法理解GATTServApp_SendServiceChangedInd的位置,
Google後只能在 TI官方的 GATT API 看到有這個function卻還是無法知道要怎麼修正這個錯誤
Building configuration: CC2640Stack – FlashROMUpdating build tree…24 file(s) deleted.Updating build tree…Performing Pre-Build ActionbleUserConfig.cCommonROM_Init.cbleDispatch.cgap.cgattservapp_util.chal_assert.cgapbondmgr.chal_trng_wrapper.chal_flash_wrapper.cICall_startup.cmb_PATCH.cnpi.cOnBoard.cosal_bufmgr.cOSAL.cosal_cbtimer.cOSAL_Clock.cOSAL_MemoryICall.cOSAL_ICallBle.cOSAL_PwrMgr.cosal_snv_wrapper.cOSAL_Timers.cROM_Init.cLinkingWarning[Lt009]: Inconsistent wchar_t size att_server.o(CC2640Stack.a) and 39 other objects in 7 different libraries have wchar_t size 16bits bleDispatch.o and 33 other objects, some of them in rt7M_tl.a and 3 other libraries havewchar_t size 32 bitsError[Li005]: no definition for "GATTServApp_SendServiceChangedInd" [referenced from C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Stack\CC2640\FlashROM\Obj\bleDispatch.o]Error while running LinkerTotal number of errors: 1Total number of warnings: 1
Viki Shi:
未定义错误,你的协议栈及编译器版本分别是什么?
user5346918:
回复 Viki Shi:
協議棧 用的是Stack 2.1.0 編譯器版本要從哪邊知道