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.
Part Number: SIMPLELINK-CC13X2-26X2-SDK
We try to update advertising packets periodically and we wanted to use HCI_EXT_AdvEventNoticeCmd command to achieve it. After we added the command to the code we got
unresolved symbol HCI_EXT_AdvEventNoticeCmd, first referenced in <whole-program>
error. HCI_EXT_AdvEventNoticeCmd exists in included hci.h header file as
extern hciStatus_t HCI_EXT_AdvEventNoticeCmd( uint8 taskID, uint16 taskEvent );
but it goes nowhere when we try to open declaration. We checked icall_ble_api.h header file and there is either no HCI_EXT_AdvEventNoticeCmd or HCI_EXT_ConnEventNoticeCmd defined. We use the latest SimpleLink CC13X2 CC26X2 SDK 3_40_00_02. Is there any other similar commands?
The specific command is not supported on the BLE5 stack.
Please refer to the GAP callbacks:
You can enable events with
Then the event is received from the stack through the callback registered with GapAdv_create.
Eventually the event is handles in xxx_processAdvEvent in the example projects.
/* Sent after each advertisement. (Note that this event is not enabled* by default, see GapAdv_setEventMask). */case GAP_EVT_ADV_END:break;
Best Regards, Eirik Please refer to the resources and abbreviations below for explanations and answers to many questions.
SLA - Simplelink Academy, SCS - Sensor Controller Studio, SC - Sensor Controller, TI Cloud Tools, Resource Explorer, Bluetooth low energy software stack, Bluetooth low energy software stack archive, TI BLE Wiki (OLD), BLE Getting Started and FAQ, CC1352R and CC26x2R Intro, Bluetooth SIG Core Spec, CC2640R2F SDG, CC26X2 SDG, CC2650/CC2640 SDG, BLE PACKET SNIFFER
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to Eirik V:
Thank you for the reply. Your reply solved our problem. Just want to correct this: we used
and it goes into GAP_EVT_ADV_END case into x_processAdvEvent.
In reply to GOHM ELECTRONICS:
Thanks for the correction!
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.