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: CC2640R2F
Tool/software: Code Composer Studio
We have a product based on the Simple_Broadcaster example from Ti-REX.We would like to add a pairing functionnality to this product. To do so, i have inspired myself from the Simple_Peripheral example : and that's where my problem is.To add the connexion functionnality, i have just added the following line to the Simple_Broadcast code ( at line 372 exactly ) and a definition for the function SimplePeripheral_connEvtCB
GAP_RegisterConnEventCb(SimplePeripheral_connEvtCB, GAP_CB_REGISTER, LINKDB_CONNHANDLE_ALL);
When building, i get the following linker error :
undefined first referenced symbol in file --------- ---------------- GAP_RegisterConnEventCb <whole-program>
I don't understand how i can get this error while the original code uses : GAP_SetParamValue which is defined in the same file ("icall_ble_api.h") as the GAP_RegisterConnEventCb function
You can easily reproduce this problem on the CCS Cloud with the originale Simple_Broadcaster project and by adding the faulty line ( plus a function definition for SimplePeripheral_connEvtCB)
Any help is greately appreciated
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 J Lindh:
In reply to Hugo ESQUIBET:
--PS. Thank you for clicking Verify Answer below if this answered your question!
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.