I am trying to set up the DA14581 to transmit data from some sensors. I want to use an ANPS profile so i can alert the client when new data is available. How (mostly where) do I add services and characteristics to do this.. I have the project set up from the template like in http://support.dialog-semiconductor.com/connectivity/product/da14580?qt-... and included the anps.h in user_profiles_config.h but I do not know where to edit the profile.
Hi Dialog Team ,
Regarding GATT profile could you please help me to understand how the pairing happens and how the services in the profile (health thermometer profile) access the hardware (say thermal sensors) and get the respective value ,which api function does this ?
I understood the basic profiles services and characteristics theoretically ,but still am confused how does these profiles reads the sensor value and where it stores ?
Also suppose if i want to develop a custom profile such that once i paired with my custom board which have a mosfet switch , how can i turn on /off the mosfet by sending a signal to the GPIO pin connected to it ? how do i test this with my USB dongle as client ?
Thanks