6 Replies Latest reply on May 22, 2017 9:49 PM by niemirowski.grzegorz

    Delete a BlueNRG service

    Julien Quéré



      In order to have more than 6 services on my BlueNRG-MS device, I wanted to create a service that will add/remove the other ones.

      At the beginning, it worked well, I could choose the services I wanted to activate but quickly, a problem appear. Indeed, it seems that the memory is not freed after deleting characteristics and services : after few adding/removing, I can't anymore add service because of a out of memory error.

      I use the aci_gatt_del_char and aci_gatt_del_service functions to remove a service but is there something more to do ?