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.

CC2640R2F: Location of software revision of the following program

Part Number: CC2640R2F
Other Parts Discussed in Thread: CC2650, CC2640, CC1350, BLE-STACK

Hi Sir / Madam,

I am porting the following files from     tirtos_cc13xx_cc26xx_2_20_01_08 folder,

to simple_peripheral project inside simplelink_cc2640r2_sdk_1_00_00_22. 

And, I need to check these files version against the version in Bluetooth SIG 

( https://www.bluetooth.com/specifications/adopted-specifications ).

Inside the description of these file, I only get the Release Name and release date, but not the revision.

May I know where should I get the version of the following files ?

(1) battservice.c , battservice.h

 Release Name: ble_sdk_2_02_01_18
 Release Date: 2016-10-26 15:20:04

//-----------------------------------------------

(2) hiddev.c, hiddev.h

 Release Name: ble_sdk_2_02_01_18
 Release Date: 2016-10-26 15:20:04

//------------------------------------------------

(3) accelerometer.c,  accelerometer.h

 Release Name: ble_sdk_2_02_01_18
 Release Date: 2016-10-26 15:20:04

//-----------------------------------------------

(4) find_me_target.c,  find_me_target.h

 Release Name: ble_sdk_2_02_01_18
 Release Date: 2016-10-26 15:20:04

//------------------------------------------------

(5) proxreporter.c,  proxreporter.h

 Release Name: ble_sdk_2_02_01_18
 Release Date: 2016-10-26 15:20:04

//-----------------------------------------------

(6) audio_profile.c, audio_profile.h

 Release Name: ble_sdk_2_02_01_18
 Release Date: 2016-10-26 15:20:04

//----------------------------------------------

Thank you very much.

Your help is very much appreciated.

Cheers,

KF

  • You can install BLE stack v2.2.1 and find them under C:\ti\simplelink\ble_sdk_2_02_01_18\
  • Hi YK Chen,

    When I click on the file, example accelerometer.c , inside folder D:\Software\ble_sdk_2_02_01_18\src\profiles\accelerometer, I still unable to get the revision.

    /******************************************************************************

    @file accelerometer.c

    @brief Accelerometer Profile

    Group: WCS, BTS
    Target Device: CC2650, CC2640, CC1350

    ******************************************************************************

    Copyright (c) 2009-2016, Texas Instruments Incorporated
    All rights reserved.

    Redistribution and use in source and binary forms, with or without
    modification, are permitted provided that the following conditions
    are met:

    * Redistributions of source code must retain the above copyright
    notice, this list of conditions and the following disclaimer.

    * Redistributions in binary form must reproduce the above copyright
    notice, this list of conditions and the following disclaimer in the
    documentation and/or other materials provided with the distribution.

    * Neither the name of Texas Instruments Incorporated nor the names of
    its contributors may be used to endorse or promote products derived
    from this software without specific prior written permission.

    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
    AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
    THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
    PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
    CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
    EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
    PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
    OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
    WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
    OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
    EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

    ******************************************************************************
    Release Name: ble_sdk_2_02_01_18
    Release Date: 2016-10-26 15:20:04
    *****************************************************************************/

    /*********************************************************************



    Please help.

    Thank you and your help is very much appreciated.

    Cheers,
    KF
  • Alright, I see 1 file call .revision inside the ble_sdk_2_02_01_18. May I know how can I open a .REVISION file ?

    Please write soon.

    Thank you.

    Cheers,
    KF
  • Try to use Notepad++
  • Hi F Chng,

    Here are the contents of the .revision file.

    ble_examples bd92a02655c434ff9df43062bd5cac6a979a1720
    ble_core d0286c017c7d75d5ea992185c59f3582dbb8710b
    ble_docs 2a442f5c9b463362cf2b3fec7a302423bb5746c9
    lprf-sd-common-components b8f6de83f7e3c5dc03a54d7b11bc09fd16a186cc
    lprf-sd-rom c5365cf0ca5cdfa76fc4d1689784e41031714e04

    Yikai, I work with F Chng.

    - kel
  • Hi YK Chen,

    Me and kel from the same company. We are doing Bluetooth device.

    I have open it in Notepad++, but not able to interpret all the HEX code :
    ble_examples bd92a02655c434ff9df43062bd5cac6a979a1720
    ble_core d0286c017c7d75d5ea992185c59f3582dbb8710b
    ble_docs 2a442f5c9b463362cf2b3fec7a302423bb5746c9
    lprf-sd-common-components b8f6de83f7e3c5dc03a54d7b11bc09fd16a186cc
    lprf-sd-rom c5365cf0ca5cdfa76fc4d1689784e41031714e04

    Would you please advice me on this ?

    Millions of thanks.
    Xin Nian Kuai Ler !


    Cheers,
    KF
  • I am not sure about what those hex value mean I suppose they are like the commit number in github.
  • Hi Yikai,

        My colleague is checking revision to see if this service file below for example is latest revision and comply with what is in the https://www.bluetooth.com/specifications/adopted-specifications. We are porting this file from C:\ti\simplelink\ble_sdk_2_02_01_18\src\profiles\batt\cc26xx to CC2640R2 SDK profiles folder. This revision checking is to know if it is okay to use this file for CC2640R2 BLE Product Development.

    (1) battservice.c , battservice.h 

    Release Name: ble_sdk_2_02_01_18

    Release Date: 2016-10-26 15:20:04

    file location: C:\ti\simplelink\ble_sdk_2_02_01_18\src\profiles\batt\cc26xx

    - kel

  • Hi YK Chen,

    Actually, one question comes to my mind.
    Why Bluetooth 5 SDK ( simplelink_cc2640r2_sdk_1_00_00_22 ) do not have battery service and other services included in the package ?

    Thank you very much.

    Cheers,
    KF
  • Actually, I have no idea why Bluetooth 5 SDK ( simplelink_cc2640r2_sdk_1_00_00_22 ) does not have battery service but I think you can add it to your application by yourself.
  • YiKai Chen said:
    Actually, I have no idea why Bluetooth 5 SDK ( simplelink_cc2640r2_sdk_1_00_00_22 ) does not have battery service but I think you can add it to your application by yourself.

    I think you are right. Also, at CC2640R2 SDK Docs "Porting Guide from cc2640 to cc2640r2" mention this below, hinting that you can add the files to CC2640R2 SDK profiles folder.

    2. Transfer all modified application files into the example project

    Place modified profile and application files the existing files in the Simplelink CC2640R2 SDK to match those in BLE-Stack 2.2.1 project.

    - kel

  • Hi kel and YK Chen,

    Alright, thank you very much.

    Cheers,
    KF