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.

CCS/LAUNCHXL-CC2640R2: Help using Log_info function in CCS

Part Number: LAUNCHXL-CC2640R2

Tool/software: Code Composer Studio

Hello, 

I am currently using project_zero and its given services and characteristics for applications on the LAUNCHXL-CC2640R2. I also use puTTY in order to use Log_info to help keep track during debugging.

I am now attempting to add new services to the project for various applications (such as key generation). Using the example service generator given here: http://dev.ti.com/tirex/content/simplelink_academy_cc2640r2sdk_1_12_01_16/modules/ble_01_custom_profile/ble_01_custom_profile.html I generated a key_generation.c and key_generation.h file. 

According to the link above, my new key_generation service has "no log statements". I want to know if there is any way for me to enable log statements so that I can use it in my key_generation service.

Thanks, 

Arrenan

 

 

 

  • Hello Arrenan,

    I would suggest looking at how LogX statements are added to the existing Project Zero services, e.g., button_service.c. You can add them to your generated code in the same manner.

    Best wishes