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
  • Hi Karthik,

    You will need to implement an Immediate Alert Service (IAS) Server on the phone (Master). Once that is done, the nRF8002 will act the IAS client and will write to the 'Alert Level' characteristic present within the IAS on the phone on button presses (as configured in the nRFgo Studio). That way you get your button presses signaled to the phone.

    Hope this is clear.

    Cheers, Balaji

Reply
  • Hi Karthik,

    You will need to implement an Immediate Alert Service (IAS) Server on the phone (Master). Once that is done, the nRF8002 will act the IAS client and will write to the 'Alert Level' characteristic present within the IAS on the phone on button presses (as configured in the nRFgo Studio). That way you get your button presses signaled to the phone.

    Hope this is clear.

    Cheers, Balaji

Children
No Data
Related