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.

GAP and GATT usecase

Other Parts Discussed in Thread: CC1350, CC2640, BLE-STACK

Hi All,

I am starting to work on the cc1350(sub1-ghz and BLE), i noticed that there is 2 methods to connect cc1350 to some device, i have few qustions about the GATT and GAP:

1- What is the use case of each one of them?

2- My system use case is: simple peripheral device(with RH sensor) the device collect data and need to transfer it to the server, Data must not be lost, i need to transfer the data and make sure for reciving acknowledge for each packet, what should i use GATT or GAP?

Thanks.

  • I forgot, also i need make sure that the device connect and unpack data with password.
  • Hello,

    GAP and GATT are part of the Bluetooth LE specification (Host). Since you are new to BLE, I suggest starting with the the sticky CC2640 Getting Started thread and reading the introduction to the BLE spec in the CC2640 SW Developer's Guide (SWRU393). You can find this in the BLE-Stack v2.2 SDK. This guide applies to CC1350 when using the sample applications in the BLE-Stack SDK.

    Best wishes
  • How is possible use the CC26xx LP libraries to work with CC1350 LP??? Im missing something because I am not able to do it.
    I already checked the CC2640 developer guide and CC2640 getting started thread and page like Jack and now I feeling unlucky.

    thanks
  • Hi Ale,

    The cc26xx and cc1350 have the same BLE hardware, i have been able to compile and run the cc1350 LP you can establish:

    1- Download code composer studio(last version) also download the TI-RTOS.

    2- Install both the CCS and TI-RTOS.

    3- After installing the TI-RTOS the CCS will till you that there is new files can import what ever you want.

    4- In CCS  File->Import-> chose CCS projects and select the project path (example i installed the TI-RTOS in c:\ti Ffolder so it : C:\ti\simplelink\ble_sdk_2_02_00_31\examples\cc1350lp)

    5- Chose what ever you want, i recommend you to start with peripheral example and you can download TI sensor tag app for android or IOS and with with each other.

    I hope o helped.

    Regards Jack.