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.

How to create iPhone alert when CC2540/CC2541 keyfob button is pressed

At 1min20sec of the following TI video, the iPhone displays a "Hello World" alert when one of the keyfob buttons is pressed. I already downloaded the two (2) demos available on the TI BLE Wiki page but when I built them and downloaded them onto my iPhone 4S, none of them behaved as such. My questions are:

1. Does anyone know where the source code of the application in the video can be downloaded from?

2. If no, how can I enhance the existing Rev2 source code from TI's BLE Wiki page to add the iPhone alert capability when one of the keyfob buttons is pressed?

Thank you all for your help.

Peman Montazemi

  • Hey Peman,
    In iOS 5, the notifications where automatically triggered within Core Bluetooth as soon as something had changed. In the later releases of iOS, this has be done manually within the application (or in the background). I'm not sure on how you do it but I'm sure that the iOS developer forum can guide you through that.

    Best Regards
    Joakim