Dialog Semiconductor customer support - GATT profiles https://support.dialog-semiconductor.com/resource-keywords/gatt-profiles en Setting up ANPS profile https://support.dialog-semiconductor.com/setting-anps-profile < div class = "字段field-name-taxonomy-forums字段-type-taxonomy-term-reference field-label-above">
Forums: 

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.

Device: 
Sun, 29 May 2016 17:44:39 +0000 alkna13 3480 at https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/setting-anps-profile#comments
GATT profiles https://support.dialog-semiconductor.com/gatt-profiles < div class = "字段field-name-taxonomy-forums字段-type-taxonomy-term-reference field-label-above">
Forums: 

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

Keywords: 
Device: 
Thu, 07 May 2015 05:36:45 +0000 hrg 1530 at https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/gatt-profiles#comments