2 Replies Latest reply on Jul 8, 2015 10:41 AM by bratwurst

    Problems with custom characteristic notification

    bratwurst

      Hey folks,

         

      I am working on a project where I am using a custom Service which includes 4 custom characteristics.

         

      Everything works fine but I can't get the code to notify the CySmart Programm (on windows).

         

      I wanted it to actualize itself every second, which I am using a timer interrupt for.

         

       

         

      So I though I could simply update the Gatt Database calling

         

      CyBle_GattsWriteAttributeValue(&handle_val_pair_adc,0,NULL,0);

         

      and calling

         

      CyBle_GattsNotification(my_connection_handle, (CYBLE_GATTS_HANDLE_VALUE_NTF_T*) &handle_val_pair_adc);

         

      (Notification is enabled in Properties and a Client Characteristic Configuration is existing)

         

      But its not updating itself. Do I have to change something in CySmart?

         

       

         

      Thank you guys again for your help! :)