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.

Trigger event on CC2540/41 from Smartphone - like _performAlert

Other Parts Discussed in Thread: CC2540

Hello,

i implemented on the CC2540 my custum file called controlUnit.c - there exists 4 functions control_UP, control_DOWN etc.

The ports were set and it succeded.

So my question:

Where do i have to advertise the datas that these controls can be triggered from the iPhone. It must be the same way

as u can perform_Alert with the Multi BLE TOOL App for iOS. I think it is not neccessary to impement a Service therefore, cause

i didnt find a service for the alert aswell. But where do i get the change notification or something that reports that an event is

triggered from the iPHONE to the keyfob or cc2540 board ?

Im Software-Engineer not Technical Informatic Engineer - so i need a bit help :)

Greetz

Tobias

  • Hi Tobias,

    You need to ensure your characteristic has write permissions so they iOS (Client) device can write to your GATT Server. I suggest also reviewing some introductory material, such as that found on the TI BLE Wiki: www.ti.com/ble-wiki

    I think it would be best for you to study this behavior by going through an example project, such a Heart Rate Sensor, and see how this is implemented.

    Best wishes