I watched the video on adding a battery service and I completed the exercise and code.
Now I've added a custom service and want to write data to it.
If the battery service is accessed like this: locHandleValuePair.attrHandle = cyBle_bass.batteryLevelHandle;
I see the syntax for accessing my custom service is cyBle_custom. But that variable does not contain the handle for the service i added. Why?
Is there an example simple custom BLE with code I can look at?