This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF8002 notifying host on change in input pin

Hello I am using the nRF8002 kit. I would like to inform the host (Android app) when there is a long button press on the input pin.

Is this possible and if so which BLE profile / service should I be using for this ? I tried to use the "Immediate Alert" service but that service can only send data from the phone to the nRF device.

Thank You

Parents Reply
  • prabhudurai, i am not sure if i understood your question well. All you will need to do (when you are working with an 8002 chip), is to set up the 8002 chip as desired using the nrfgo studio and then build app for the android phone that will construct an IAS service (with Alert Level characteristic) in it. Doing this, will make the long press at 8002 side trigger a 'write' on the Alert Level characteristic and that can be used to ring the phone by the android app. (I am not an android developer, so I may be missing something in your question)

    P.S: If you are building an end product using 8002, may I recommend you to take a look at the new nRF52832 chip here -> www.nordicsemi.com/.../nRF52832 . This is certainly more flexible and powerful than the 8002.

Children
No Data
Related