工具与软件:
您好!
为 simple_peripheral 示例启用 PTM 和 L2CAP CoC 时、出现编译错误。 (SDK 版本:SDK_7_10_01_24)
您可以帮助解决这个问题吗? 谢谢!
C:/ti/simplelink_cc13xx_cc26xx_sdk_7_10_01_24/source/ti/ble5stack/icall/app/icall_hci_tl.c:9010:12:警告:调用未声明函数"buildHCIExtHeader";ISO C99及更高版本不支持隐式函数声明[-Wimit-function-declaration"
msgLen = buildHCIExtHeader (out_msg、(HCI_EXT_L2CAP_EVENT | L2CAP_CONNECT_IND)、
^μ A
C:/ti/simplelink_cc13xx_cc26xx_sdk_7_10_01_24/source/ti/ble5stack/icall/app/icall_hci_tl.c:9010:30:错误:使用未声明的标识符"out_msg"
msgLen = buildHCIExtHeader (out_msg、(HCI_EXT_L2CAP_EVENT | L2CAP_CONNECT_IND)、
^μ A
C:/ti/simplelink_cc13xx_cc26xx_sdk_7_10_01_24/source/ti/ble5stack/icall/app/icall_hci_tl.c:9013:3:错误:使用未声明的标识符"out_msg"
out_msg[msgLen++]= id;
^μ A
C:/ti/simplelink_cc13xx_cc26xx_sdk_7_10_01_24/source/ti/ble5stack/icall/app/icall_hci_tl.c:9014:36:错误:使用未声明的标识符"out_msg"
msgLen += L2CAP_BuildConnectReq (&out_msg[msgLen]、(uint8_t *) pReq);
^μ A
C:/ti/simplelink_cc13xx_cc26xx_sdk_7_10_01_24/source/ti/ble5stack/icall/app/icall_hci_tl.c:9017:61:错误:使用未声明的标识符"out_msg"
HCI_SendControllerToHostEvent (HCI_VE_EVENT_CODE、msgLen、out_msg);
