diff --git a/examples/example-ios/polarBleSdkTestApp/ViewController.swift b/examples/example-ios/polarBleSdkTestApp/ViewController.swift index 8158caf0..aa8b46b0 100644 --- a/examples/example-ios/polarBleSdkTestApp/ViewController.swift +++ b/examples/example-ios/polarBleSdkTestApp/ViewController.swift @@ -10,7 +10,8 @@ class ViewController: UIViewController, PolarBleApiDeviceHrObserver, PolarBleApiDeviceInfoObserver, PolarBleApiDeviceFeaturesObserver, - PolarBleApiLogger { + PolarBleApiLogger, + PolarBleApiCCCWriteObserver { // NOTICE this example utilizes all available features var api = PolarBleApiDefaultImpl.polarImplementation(DispatchQueue.main, features: Features.allFeatures.rawValue) @@ -339,4 +340,9 @@ class ViewController: UIViewController, func message(_ str: String) { NSLog(str) } + + /// ccc write observer + func cccWrite(_ address: UUID, characteristic: CBUUID) { + NSLog("ccc write: \(address) chr: \(characteristic)") + } }