1 Reply Latest reply on Nov 14, 2017 10:29 AM by mark.scovel_2701041

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

    mark.scovel_2701041

      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?