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: HOW CAN I COMBINE PROGRAMS OF BOTH BLE STACK AND PERIPHERALS .

Part Number: LAUNCHXL-CC2640R2

Tool/software: Code Composer Studio

SIR, 

I written code for the taking input  from the sensor  which is connected to the pin 15.  

Bluetooth stack simple peripheral code .

If i have input  value from the sensor which is connected to pin 15  If high value come from the pin 15 then only ble stack app start executing or advertising . 

Could you tell me how do i achieve this?

  • I suppose you can register pin 15 as GPI like other keys in simple_peripheral example and when key pressed callback is triggered, you can check if it is triggered by your pin 15 and do BLE advertising if it it.