what are the rules in choosing handles when adding elements to my GATT database structure???
other BLE stacks that i have worked with never gave me the choice of designating a handle ID when adding a service or characteristic, so i'm seeking guidance on how to make the choice....
in many of these sample apps, it would appear that there are "gaps" (no pun intended) between the handles of consecutive items in the GATT database....
if i have a legacy custom profile (implemented on another platform) whose handle values i know, can i essentially force the same assignments here???
- No duplicate handles.
- All handles should be in ascending order.
1, 2, 3, 4 is ok. 100, 200, 300, 400. is ok.
You can force existing handles as long as they follow the rules (and I am pretty sure they should).