8 years, 3 months ago.

Changing Service and Characteristic Handles

Hello, I was wondering if there is a way to use the BLE_API to change the handles of the services and characteristics I have programmed on my nrf51. I'm not referring to the data within the handles of the characteristics, but the displayed handle values when using something like gatttool. For example change handle "0x000b" to "0x0015". Thank you for any help you can give in advance.

After some research, I found that handles are essentially pointers to the services and characteristics. They are allocated, by the OS on the device, sequentially in memory and cannot be allocated with a manual address. The function setHandle() in the BLE_API made me believe that this could be otherwise done but now I understand that this is really a system call to allocate memory.

posted by Nathan Earley 28 Jan 2016
Be the first to answer this question.