is there an example set of code/ble schematic for a simple custom profile?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

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[0].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?

0 Likes
1 Solution
1 Reply