spotny-sdk 0.2.2 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of spotny-sdk might be problematic. Click here for more details.
- package/SpotnySdk.podspec +9 -3
- package/ios/Frameworks/CBORCoding.xcframework/Info.plist +44 -0
- package/ios/Frameworks/CBORCoding.xcframework/ios-arm64/CBORCoding.framework/CBORCoding +0 -0
- package/ios/Frameworks/CBORCoding.xcframework/ios-arm64/CBORCoding.framework/Headers/CBORCoding-Swift.h +317 -0
- package/ios/Frameworks/CBORCoding.xcframework/ios-arm64/CBORCoding.framework/Info.plist +0 -0
- package/ios/Frameworks/CBORCoding.xcframework/ios-arm64/CBORCoding.framework/Modules/CBORCoding.swiftmodule/arm64-apple-ios.abi.json +7021 -0
- package/ios/Frameworks/CBORCoding.xcframework/ios-arm64/CBORCoding.framework/Modules/CBORCoding.swiftmodule/arm64-apple-ios.private.swiftinterface +193 -0
- package/ios/Frameworks/CBORCoding.xcframework/ios-arm64/CBORCoding.framework/Modules/CBORCoding.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/Frameworks/CBORCoding.xcframework/ios-arm64/CBORCoding.framework/Modules/CBORCoding.swiftmodule/arm64-apple-ios.swiftinterface +193 -0
- package/ios/Frameworks/CBORCoding.xcframework/ios-arm64/CBORCoding.framework/Modules/module.modulemap +4 -0
- package/ios/Frameworks/CBORCoding.xcframework/ios-arm64_x86_64-simulator/CBORCoding.framework/CBORCoding +0 -0
- package/ios/Frameworks/CBORCoding.xcframework/ios-arm64_x86_64-simulator/CBORCoding.framework/Headers/CBORCoding-Swift.h +630 -0
- package/ios/Frameworks/CBORCoding.xcframework/ios-arm64_x86_64-simulator/CBORCoding.framework/Info.plist +0 -0
- package/ios/Frameworks/CBORCoding.xcframework/ios-arm64_x86_64-simulator/CBORCoding.framework/Modules/CBORCoding.swiftmodule/arm64-apple-ios-simulator.abi.json +7021 -0
- package/ios/Frameworks/CBORCoding.xcframework/ios-arm64_x86_64-simulator/CBORCoding.framework/Modules/CBORCoding.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +193 -0
- package/ios/Frameworks/CBORCoding.xcframework/ios-arm64_x86_64-simulator/CBORCoding.framework/Modules/CBORCoding.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/Frameworks/CBORCoding.xcframework/ios-arm64_x86_64-simulator/CBORCoding.framework/Modules/CBORCoding.swiftmodule/arm64-apple-ios-simulator.swiftinterface +193 -0
- package/ios/Frameworks/CBORCoding.xcframework/ios-arm64_x86_64-simulator/CBORCoding.framework/Modules/CBORCoding.swiftmodule/x86_64-apple-ios-simulator.abi.json +7021 -0
- package/ios/Frameworks/CBORCoding.xcframework/ios-arm64_x86_64-simulator/CBORCoding.framework/Modules/CBORCoding.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +193 -0
- package/ios/Frameworks/CBORCoding.xcframework/ios-arm64_x86_64-simulator/CBORCoding.framework/Modules/CBORCoding.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/Frameworks/CBORCoding.xcframework/ios-arm64_x86_64-simulator/CBORCoding.framework/Modules/CBORCoding.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +193 -0
- package/ios/Frameworks/CBORCoding.xcframework/ios-arm64_x86_64-simulator/CBORCoding.framework/Modules/module.modulemap +4 -0
- package/ios/Frameworks/CBORCoding.xcframework/ios-arm64_x86_64-simulator/CBORCoding.framework/_CodeSignature/CodeResources +267 -0
- package/ios/Frameworks/Half.xcframework/Info.plist +44 -0
- package/ios/Frameworks/Half.xcframework/ios-arm64/Half.framework/Half +0 -0
- package/ios/Frameworks/Half.xcframework/ios-arm64/Half.framework/Headers/Half-Swift.h +317 -0
- package/ios/Frameworks/Half.xcframework/ios-arm64/Half.framework/Headers/half.h +95 -0
- package/ios/Frameworks/Half.xcframework/ios-arm64/Half.framework/Info.plist +0 -0
- package/ios/Frameworks/Half.xcframework/ios-arm64/Half.framework/Modules/Half.swiftmodule/arm64-apple-ios.abi.json +4942 -0
- package/ios/Frameworks/Half.xcframework/ios-arm64/Half.framework/Modules/Half.swiftmodule/arm64-apple-ios.private.swiftinterface +650 -0
- package/ios/Frameworks/Half.xcframework/ios-arm64/Half.framework/Modules/Half.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/Frameworks/Half.xcframework/ios-arm64/Half.framework/Modules/Half.swiftmodule/arm64-apple-ios.swiftinterface +650 -0
- package/ios/Frameworks/Half.xcframework/ios-arm64/Half.framework/Modules/module.modulemap +11 -0
- package/ios/Frameworks/Half.xcframework/ios-arm64_x86_64-simulator/Half.framework/Half +0 -0
- package/ios/Frameworks/Half.xcframework/ios-arm64_x86_64-simulator/Half.framework/Headers/Half-Swift.h +630 -0
- package/ios/Frameworks/Half.xcframework/ios-arm64_x86_64-simulator/Half.framework/Headers/half.h +95 -0
- package/ios/Frameworks/Half.xcframework/ios-arm64_x86_64-simulator/Half.framework/Info.plist +0 -0
- package/ios/Frameworks/Half.xcframework/ios-arm64_x86_64-simulator/Half.framework/Modules/Half.swiftmodule/arm64-apple-ios-simulator.abi.json +4942 -0
- package/ios/Frameworks/Half.xcframework/ios-arm64_x86_64-simulator/Half.framework/Modules/Half.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +650 -0
- package/ios/Frameworks/Half.xcframework/ios-arm64_x86_64-simulator/Half.framework/Modules/Half.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/Frameworks/Half.xcframework/ios-arm64_x86_64-simulator/Half.framework/Modules/Half.swiftmodule/arm64-apple-ios-simulator.swiftinterface +650 -0
- package/ios/Frameworks/Half.xcframework/ios-arm64_x86_64-simulator/Half.framework/Modules/Half.swiftmodule/x86_64-apple-ios-simulator.abi.json +4973 -0
- package/ios/Frameworks/Half.xcframework/ios-arm64_x86_64-simulator/Half.framework/Modules/Half.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +660 -0
- package/ios/Frameworks/Half.xcframework/ios-arm64_x86_64-simulator/Half.framework/Modules/Half.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/Frameworks/Half.xcframework/ios-arm64_x86_64-simulator/Half.framework/Modules/Half.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +660 -0
- package/ios/Frameworks/Half.xcframework/ios-arm64_x86_64-simulator/Half.framework/Modules/module.modulemap +11 -0
- package/ios/Frameworks/Half.xcframework/ios-arm64_x86_64-simulator/Half.framework/_CodeSignature/CodeResources +245 -0
- package/ios/Frameworks/KontaktSDK.xcframework/Info.plist +44 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Base.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/CLBeacon+Kontakt.h +37 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKAction.h +90 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKActionContent.h +80 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKBeaconManager.h +326 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKBeaconRegion.h +102 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKCloudClient.h +241 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKCloudClientJSONResponseSerializer.h +20 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKCloudClientResponseSerializer.h +35 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKCloudClientSessionManager.h +207 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKCloudDefinitions.h +13 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKCloudModel.h +36 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKDevice.h +179 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKDeviceCCOperationDelegate.h +13 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKDeviceConfiguration.h +329 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKDeviceConfigurationGPIO.h +24 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKDeviceConnection.h +379 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKDeviceConnectionOperation.h +65 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKDeviceDataLoggerConnection.h +56 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKDeviceDataLoggerReading.h +49 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKDeviceDefinitions.h +853 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKDeviceGATTDefinitions.h +106 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKDeviceGATTOperation.h +68 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKDeviceGatewayConfigurationType.h +43 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKDeviceGatewayConnection.h +101 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKDeviceGatewayDiagnostic.h +61 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKDeviceGatewayWiFiNetwork.h +76 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKDeviceKontaktRecognitionBox.h +26 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKDeviceListenOperation.h +20 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKDeviceNotifyOperation.h +34 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKDevicePowerSaving.h +86 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKDeviceWriteOperation.h +51 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKDevicesManager.h +182 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKEddystone.h +101 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKEddystoneFrame.h +47 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKEddystoneManager.h +160 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKEddystoneRegion.h +85 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKEddystoneTLM.h +49 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKEddystoneUID.h +55 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKEddystoneURL.h +33 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKEddystoneURLValueTransformer.h +13 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKFirmware.h +98 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKGroupOperation.h +100 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKKontaktResponse.h +85 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKManager.h +121 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKNearbyDevice.h +135 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKNearbyDeviceTelemetry.h +513 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKOperation.h +116 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKPersonPosition.h +22 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKSecureBeaconRegion.h +86 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKSecureEddystoneRegion.h +59 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKTrigger.h +94 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKTriggerContext.h +79 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKVenue.h +105 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/Kontakt.h +187 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KontaktSDK-Swift.h +668 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KontaktSDK.h +43 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/NSData+Kontakt.h +115 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/NSError+Kontakt.h +26 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/NSString+Kontakt.h +25 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/NSURLRequest+Kontakt.h +44 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Info.plist +0 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/KontaktSDK +0 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Modules/KontaktSDK.swiftmodule/arm64-apple-ios.abi.json +14106 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Modules/KontaktSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +428 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Modules/KontaktSDK.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Modules/KontaktSDK.swiftmodule/arm64-apple-ios.swiftinterface +428 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Modules/module.modulemap +11 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/strip-frameworks.sh +72 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Base.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/CLBeacon+Kontakt.h +37 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKAction.h +90 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKActionContent.h +80 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKBeaconManager.h +326 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKBeaconRegion.h +102 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKCloudClient.h +241 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKCloudClientJSONResponseSerializer.h +20 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKCloudClientResponseSerializer.h +35 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKCloudClientSessionManager.h +207 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKCloudDefinitions.h +13 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKCloudModel.h +36 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKDevice.h +179 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKDeviceCCOperationDelegate.h +13 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKDeviceConfiguration.h +329 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKDeviceConfigurationGPIO.h +24 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKDeviceConnection.h +379 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKDeviceConnectionOperation.h +65 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKDeviceDataLoggerConnection.h +56 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKDeviceDataLoggerReading.h +49 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKDeviceDefinitions.h +853 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKDeviceGATTDefinitions.h +106 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKDeviceGATTOperation.h +68 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKDeviceGatewayConfigurationType.h +43 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKDeviceGatewayConnection.h +101 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKDeviceGatewayDiagnostic.h +61 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKDeviceGatewayWiFiNetwork.h +76 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKDeviceKontaktRecognitionBox.h +26 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKDeviceListenOperation.h +20 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKDeviceNotifyOperation.h +34 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKDevicePowerSaving.h +86 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKDeviceWriteOperation.h +51 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKDevicesManager.h +182 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKEddystone.h +101 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKEddystoneFrame.h +47 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKEddystoneManager.h +160 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKEddystoneRegion.h +85 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKEddystoneTLM.h +49 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKEddystoneUID.h +55 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKEddystoneURL.h +33 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKEddystoneURLValueTransformer.h +13 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKFirmware.h +98 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKGroupOperation.h +100 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKKontaktResponse.h +85 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKManager.h +121 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKNearbyDevice.h +135 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKNearbyDeviceTelemetry.h +513 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKOperation.h +116 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKPersonPosition.h +22 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKSecureBeaconRegion.h +86 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKSecureEddystoneRegion.h +59 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKTrigger.h +94 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKTriggerContext.h +79 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKVenue.h +105 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/Kontakt.h +187 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KontaktSDK-Swift.h +1332 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KontaktSDK.h +43 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/NSData+Kontakt.h +115 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/NSError+Kontakt.h +26 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/NSString+Kontakt.h +25 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/NSURLRequest+Kontakt.h +44 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Info.plist +0 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/KontaktSDK +0 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Modules/KontaktSDK.swiftmodule/arm64-apple-ios-simulator.abi.json +14106 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Modules/KontaktSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +428 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Modules/KontaktSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Modules/KontaktSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface +428 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Modules/KontaktSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +14106 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Modules/KontaktSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +428 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Modules/KontaktSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Modules/KontaktSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +428 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Modules/module.modulemap +11 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/_CodeSignature/CodeResources +894 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/strip-frameworks.sh +72 -0
- package/package.json +1 -1
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
//
|
|
2
|
+
// KontaktSDK
|
|
3
|
+
// Version: 6.2.1
|
|
4
|
+
//
|
|
5
|
+
// Copyright © 2015 Kontakt.io. All rights reserved.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
@import Foundation;
|
|
9
|
+
|
|
10
|
+
// Config Service
|
|
11
|
+
static NSString * const KTKDeviceServiceConfig = @"A1EA81F0-0E1B-D4A1-B840-63F88C8DA1EA";
|
|
12
|
+
static NSString * const KTKDeviceCharacteristicConfigRequest = @"A1EA81F1-0E1B-D4A1-B840-63F88C8DA1EA";
|
|
13
|
+
static NSString * const KTKDeviceCharacteristicConfigResponse = @"A1EA81F2-0E1B-D4A1-B840-63F88C8DA1EA";
|
|
14
|
+
static NSString * const KTKDeviceCharacteristicConfigToken = @"A1EA81F3-0E1B-D4A1-B840-63F88C8DA1EA";
|
|
15
|
+
static NSString * const KTKDeviceCharacteristicConfigControlPoint = @"A1EA81F4-0E1B-D4A1-B840-63F88C8DA1EA";
|
|
16
|
+
static NSString * const KTKDeviceCharacteristicConfigStream = @"A1EA81F5-0E1B-D4A1-B840-63F88C8DA1EA";
|
|
17
|
+
|
|
18
|
+
// Kontakt.io DFU Profile
|
|
19
|
+
static NSString * const KTKDeviceServiceDFUProfile = @"1B314D70-6C97-43FC-B5DD-3D0E125E15FB";
|
|
20
|
+
static NSString * const KTKDeviceCharacteristicDFUCommand = @"1B314D71-6C97-43FC-B5DD-3D0E125E15FB";
|
|
21
|
+
static NSString * const KTKDeviceCharacteristicDFUResponse = @"1B314D72-6C97-43FC-B5DD-3D0E125E15FB";
|
|
22
|
+
static NSString * const KTKDeviceCharacteristicDFUData = @"1B314D73-6C97-43FC-B5DD-3D0E125E15FB";
|
|
23
|
+
|
|
24
|
+
// Proximity Service
|
|
25
|
+
static NSString * const KTKDeviceServiceProximity = @"A1EA8110-0E1B-D4A1-B840-63F88C8DA1EA";
|
|
26
|
+
static NSString * const KTKDeviceCharacteristicProximityUUID = @"A1EA8111-0E1B-D4A1-B840-63F88C8DA1EA";
|
|
27
|
+
static NSString * const KTKDeviceCharacteristicMajor = @"A1EA8112-0E1B-D4A1-B840-63F88C8DA1EA";
|
|
28
|
+
static NSString * const KTKDeviceCharacteristicMinor = @"A1EA8113-0E1B-D4A1-B840-63F88C8DA1EA";
|
|
29
|
+
static NSString * const KTKDeviceCharacteristicName = @"A1EA8114-0E1B-D4A1-B840-63F88C8DA1EA";
|
|
30
|
+
static NSString * const KTKDeviceCharacteristicUniqueID = @"A1EA8115-0E1B-D4A1-B840-63F88C8DA1EA";
|
|
31
|
+
static NSString * const KTKDeviceCharacteristicTXPower1m = @"A1EA8116-0E1B-D4A1-B840-63F88C8DA1EA";
|
|
32
|
+
static NSString * const KTKDeviceCharacteristicNamespaceID = @"A1EA8117-0E1B-D4A1-B840-63F88C8DA1EA";
|
|
33
|
+
static NSString * const KTKDeviceCharacteristicInstanceID = @"A1EA8118-0E1B-D4A1-B840-63F88C8DA1EA";
|
|
34
|
+
static NSString * const KTKDeviceCharacteristicURL = @"A1EA8119-0E1B-D4A1-B840-63F88C8DA1EA";
|
|
35
|
+
static NSString * const KTKDeviceCharacteristicTXPower0m = @"A1EA811A-0E1B-D4A1-B840-63F88C8DA1EA";
|
|
36
|
+
|
|
37
|
+
// Timing Service
|
|
38
|
+
static NSString * const KTKDeviceServiceTiming = @"A1EA8120-0E1B-D4A1-B840-63F88C8DA1EA";
|
|
39
|
+
static NSString * const KTKDeviceCharacteristicAdvertisingInterval = @"A1EA8121-0E1B-D4A1-B840-63F88C8DA1EA";
|
|
40
|
+
|
|
41
|
+
// Control Service
|
|
42
|
+
static NSString * const KTKDeviceServiceControl = @"A1EA8130-0E1B-D4A1-B840-63F88C8DA1EA";
|
|
43
|
+
static NSString * const KTKDeviceCharacteristicPassword = @"A1EA8131-0E1B-D4A1-B840-63F88C8DA1EA";
|
|
44
|
+
static NSString * const KTKDeviceCharacteristicSetPassword = @"A1EA8132-0E1B-D4A1-B840-63F88C8DA1EA";
|
|
45
|
+
static NSString * const KTKDeviceCharacteristicReset = @"A1EA8133-0E1B-D4A1-B840-63F88C8DA1EA";
|
|
46
|
+
static NSString * const KTKDeviceCharacteristicDefaults = @"A1EA8134-0E1B-D4A1-B840-63F88C8DA1EA";
|
|
47
|
+
static NSString * const KTKDeviceCharacteristicBootloader = @"A1EA8135-0E1B-D4A1-B840-63F88C8DA1EA";
|
|
48
|
+
static NSString * const KTKDeviceCharacteristicNonConnectable = @"A1EA8136-0E1B-D4A1-B840-63F88C8DA1EA";
|
|
49
|
+
static NSString * const KTKDeviceCharacteristicMasterPassword = @"A1EA8137-0E1B-D4A1-B840-63F88C8DA1EA";
|
|
50
|
+
static NSString * const KTKDeviceCharacteristicShuffleInterval = @"A1EA8138-0E1B-D4A1-B840-63F88C8DA1EA";
|
|
51
|
+
static NSString * const KTKDeviceCharacteristicShufflePassword = @"A1EA8139-0E1B-D4A1-B840-63F88C8DA1EA";
|
|
52
|
+
static NSString * const KTKDeviceCharacteristicActiveProfile = @"A1EA813A-0E1B-D4A1-B840-63F88C8DA1EA";
|
|
53
|
+
static NSString * const KTKDeviceCharacteristicShuffleVector = @"A1EA813B-0E1B-D4A1-B840-63F88C8DA1EA";
|
|
54
|
+
|
|
55
|
+
static NSString * const KTKDeviceCharacteristicMotionDetectMode = @"A1EA913B-0E1B-D4A1-B840-63F88C8DA1EA";
|
|
56
|
+
static NSString * const KTKDeviceCharacteristicMotionDetectThreshold = @"A1EA913C-0E1B-D4A1-B840-63F88C8DA1EA";
|
|
57
|
+
static NSString * const KTKDeviceCharacteristicMotionCounter = @"A1EA913D-0E1B-D4A1-B840-63F88C8DA1EA";
|
|
58
|
+
|
|
59
|
+
// TX Power Service
|
|
60
|
+
static NSString * const KTKDeviceServiceTXPower = @"1804";
|
|
61
|
+
static NSString * const KTKDeviceCharacteristicTXPowerLevel = @"2A07";
|
|
62
|
+
|
|
63
|
+
// Device Information Service
|
|
64
|
+
static NSString * const KTKDeviceServiceDeviceInformation = @"180A";
|
|
65
|
+
static NSString * const KTKDeviceCharacteristicManufacturer = @"2A29";
|
|
66
|
+
static NSString * const KTKDeviceCharacteristicHardware = @"2A27";
|
|
67
|
+
static NSString * const KTKDeviceCharacteristicFirmware = @"2A26";
|
|
68
|
+
static NSString * const KTKDeviceCharacteristicMAC = @"2A25";
|
|
69
|
+
|
|
70
|
+
// Diagnostic service description
|
|
71
|
+
static NSString * const KTKDeviceServiceDeviceDiagnostic = @"469DCA90-0C88-019F-1A4B-595F74CAA04F";
|
|
72
|
+
static NSString * const KTKDeviceCharacteristicDeviceDiagnostic = @"469DCA91-0C88-019F-1A4B-595F74CAA04F";
|
|
73
|
+
static NSString * const KTKDeviceCharacteristicUserDescription = @"0x2901";
|
|
74
|
+
static NSString * const KTKDeviceCharacteristicCommandAndControl = @"469DCA93-0C88-019F-1A4B-595F74CAA04F";
|
|
75
|
+
|
|
76
|
+
// Battery Service
|
|
77
|
+
static NSString * const KTKDeviceServiceBattery = @"180F";
|
|
78
|
+
static NSString * const KTKDeviceCharacteristicBatteryLevel = @"2A19";
|
|
79
|
+
|
|
80
|
+
// Time Service
|
|
81
|
+
static NSString * const KTKDeviceServiceTime = @"1805";
|
|
82
|
+
static NSString * const KTKDeviceCharacteristicCurrentTime = @"2A2B";
|
|
83
|
+
|
|
84
|
+
// Seen Networks Service
|
|
85
|
+
static NSString * const KTKDeviceServiceWiFiNetworks = @"F533EF57-7ED3-4098-A926-A7F86024F0E4";
|
|
86
|
+
static NSString * const KTKDeviceCharacteristicWiFiNetworksCount = @"F533EF58-7ED3-4098-A926-A7F86024F0E4";
|
|
87
|
+
static NSString * const KTKDeviceCharacteristicWiFiNetworksIndex = @"F533EF59-7ED3-4098-A926-A7F86024F0E4";
|
|
88
|
+
static NSString * const KTKDeviceCharacteristicWiFiNetworksDetails = @"F533EF5A-7ED3-4098-A926-A7F86024F0E4";
|
|
89
|
+
|
|
90
|
+
// Sensors Service
|
|
91
|
+
static NSString * const KTKDeviceServiceSensors = @"E04A8F70-D020-FC8E-4F45-C2E225FCAF89";
|
|
92
|
+
static NSString * const KTKDeviceCharacteristicSensorData = @"E04A8F73-D020-FC8E-4F45-C2E225FCAF89";
|
|
93
|
+
// DEPRECATED
|
|
94
|
+
static NSString * const KTKDeviceCharacteristicSensorLight = @"E04A8F71-D020-FC8E-4F45-C2E225FCAF89";
|
|
95
|
+
static NSString * const KTKDeviceCharacteristicSensorTemperature = @"E04A8F72-D020-FC8E-4F45-C2E225FCAF89";
|
|
96
|
+
static NSString * const KTKDeviceCharacteristicSensorLoggerData = @"E04A8F73-D020-FC8E-4F45-C2E225FCAF89";
|
|
97
|
+
static NSString * const KTKDeviceCharacteristicSensorLoggerCommand = @"E04A8F74-D020-FC8E-4F45-C2E225FCAF89";
|
|
98
|
+
static NSString * const KTKDeviceCharacteristicSensorGPIOState = @"E04A8F75-D020-FC8E-4F45-C2E225FCAF89";
|
|
99
|
+
|
|
100
|
+
// Downlading pictures
|
|
101
|
+
static NSString * const KTKDeviceServiceImage = @"E04A8F70-D020-FC8E-4F45-C2E225FCAF89";
|
|
102
|
+
static NSString * const KTKDeviceCharacteristicImage = @"E04A8F73-D020-FC8E-4F45-C2E225FCAF89";
|
|
103
|
+
|
|
104
|
+
// Accident Service
|
|
105
|
+
static NSString * const KTKDeviceServiceAccident = @"D03E2019-3F42-C596-AC46-53759AB7CE80";
|
|
106
|
+
static NSString * const KTKDeviceCharacteristicAccidentData = @"D03E2020-3F42-C596-AC46-53759AB7CE80";
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
//
|
|
2
|
+
// KontaktSDK
|
|
3
|
+
// Version: 6.2.1
|
|
4
|
+
//
|
|
5
|
+
// Copyright (c) 2015 Kontakt.io. All rights reserved.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
@import CoreBluetooth;
|
|
9
|
+
|
|
10
|
+
#import "KTKOperation.h"
|
|
11
|
+
#import "KTKDeviceGATTDefinitions.h"
|
|
12
|
+
|
|
13
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
14
|
+
|
|
15
|
+
@protocol KTKDeviceGATTOperationDelegate;
|
|
16
|
+
|
|
17
|
+
#pragma mark - KTKDeviceCharacteristicOperation (Interface)
|
|
18
|
+
@interface KTKDeviceGATTOperation : KTKOperation
|
|
19
|
+
|
|
20
|
+
#pragma mark - Operation Properties
|
|
21
|
+
///--------------------------------------------------------------------
|
|
22
|
+
/// @name Operation Properties
|
|
23
|
+
///--------------------------------------------------------------------
|
|
24
|
+
|
|
25
|
+
@property (nonatomic, strong, readonly) CBUUID *serviceUUID;
|
|
26
|
+
|
|
27
|
+
@property (nonatomic, strong, readonly) CBUUID *characteristicUUID;
|
|
28
|
+
|
|
29
|
+
@property (nonatomic, weak, readwrite) CBCharacteristic * _Nullable characteristic;
|
|
30
|
+
|
|
31
|
+
@property (nonatomic, weak, readwrite) id<KTKDeviceGATTOperationDelegate> delegate;
|
|
32
|
+
|
|
33
|
+
@property (nonatomic, assign, readwrite, getter=isVerified) BOOL verified;
|
|
34
|
+
|
|
35
|
+
@property (nonatomic, strong, readwrite) id payload;
|
|
36
|
+
|
|
37
|
+
@property (nonatomic, assign, readwrite) BOOL shouldTransform;
|
|
38
|
+
|
|
39
|
+
@property (nonatomic, assign, readwrite) NSUInteger mtu;
|
|
40
|
+
|
|
41
|
+
#pragma mark - Initialization Methods
|
|
42
|
+
///--------------------------------------------------------------------
|
|
43
|
+
/// @name Initialization Methods
|
|
44
|
+
///--------------------------------------------------------------------
|
|
45
|
+
|
|
46
|
+
- (instancetype)initWithService:(NSString*)service characteristic:(NSString*)characteristic;
|
|
47
|
+
|
|
48
|
+
#pragma mark - Other Methods
|
|
49
|
+
///--------------------------------------------------------------------
|
|
50
|
+
/// @name Other Methods
|
|
51
|
+
///--------------------------------------------------------------------
|
|
52
|
+
|
|
53
|
+
- (NSValueTransformer* _Nullable)valueTransformer;
|
|
54
|
+
|
|
55
|
+
#pragma mark - Unavailable
|
|
56
|
+
- (instancetype)init __attribute__((unavailable("-init is not a valid initializer for the class KTKDeviceCharacteristicOperation")));
|
|
57
|
+
|
|
58
|
+
@end
|
|
59
|
+
|
|
60
|
+
#pragma mark - KTKDeviceGATTOperationDelegate
|
|
61
|
+
@protocol KTKDeviceGATTOperationDelegate <NSObject>
|
|
62
|
+
|
|
63
|
+
@optional
|
|
64
|
+
- (void)operationDidFinish:(__kindof KTKDeviceGATTOperation *)operation errors:(NSArray <NSError*> * _Nullable)errors;
|
|
65
|
+
|
|
66
|
+
@end
|
|
67
|
+
|
|
68
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
// Copyright © 2024 Kontakt.io
|
|
2
|
+
|
|
3
|
+
@import Foundation;
|
|
4
|
+
|
|
5
|
+
typedef NS_ENUM(NSInteger, KTKGatewayWiFiProtocol) {
|
|
6
|
+
/**
|
|
7
|
+
* WPA_PSK Wifi protocol type.
|
|
8
|
+
*/
|
|
9
|
+
KTKGatewayWifiProtocolWPAPSK = 10,
|
|
10
|
+
/**
|
|
11
|
+
* WPA_EAP WiFi protocol type.
|
|
12
|
+
*/
|
|
13
|
+
KTKGatewayWifiProtocolWPAEAP = 11
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
@protocol KTKDeviceGatewayConfigurationType <NSObject>
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* WiFi SSID.
|
|
20
|
+
*/
|
|
21
|
+
@property (nonatomic, copy) NSString * _Nullable wifiSSID;
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* WiFi login.
|
|
25
|
+
*/
|
|
26
|
+
@property (nonatomic, copy) NSString * _Nullable wifiLogin;
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* WiFi password.
|
|
30
|
+
*/
|
|
31
|
+
@property (nonatomic, copy) NSString * _Nullable wifiPassword;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* WiFi protocol.
|
|
35
|
+
*/
|
|
36
|
+
@property (nonatomic, assign) KTKGatewayWiFiProtocol wifiProtocol;
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Gateway's API Key.
|
|
40
|
+
*/
|
|
41
|
+
@property (nonatomic, copy) NSString * _Nullable apiKey;
|
|
42
|
+
|
|
43
|
+
@end
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
//
|
|
2
|
+
// KontaktSDK
|
|
3
|
+
// Version: 6.2.1
|
|
4
|
+
//
|
|
5
|
+
// Copyright © 2017 Kontakt.io. All rights reserved.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
#import "KTKDeviceConnection.h"
|
|
9
|
+
#import "KTKDeviceGatewayWiFiNetwork.h"
|
|
10
|
+
#import "KTKDeviceConfiguration.h"
|
|
11
|
+
#import "KTKDeviceGatewayDiagnostic.h"
|
|
12
|
+
#import "KTKDeviceCCOperationDelegate.h"
|
|
13
|
+
|
|
14
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
15
|
+
|
|
16
|
+
#pragma mark - Completion Blocks
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* A completion block object to be executed when the reading WiFi networks operation finishes.
|
|
20
|
+
*
|
|
21
|
+
* @param networks Set of WiFi networks visible by the Gateway.
|
|
22
|
+
* @param configuration The configuration object. Result of the read operation.
|
|
23
|
+
* @param error An error object containing the error that indicates why the operation failed.
|
|
24
|
+
*/
|
|
25
|
+
typedef void (^KTKDeviceGatewayConnectionGetWiFiBlock)(NSSet <KTKDeviceGatewayWiFiNetwork *>* _Nullable networks, __kindof KTKDeviceConfiguration * _Nullable configuration, NSError * _Nullable error);
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* A completion block object to be executed when the reading mac networks operation finishes.
|
|
29
|
+
*
|
|
30
|
+
* @param networks Set of mac networks visible by the Gateway.
|
|
31
|
+
* @param configuration The configuration object. Result of the read operation.
|
|
32
|
+
* @param error An error object containing the error that indicates why the operation failed.
|
|
33
|
+
*/
|
|
34
|
+
typedef void (^KTKDeviceGatewayConnectionGetMACBlock)(NSString * _Nullable mac, NSError * _Nullable error);
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* A completion block object to be executed when the reading diagnostic networks operation finishes.
|
|
38
|
+
*
|
|
39
|
+
* @param networks Set of diagnostic networks visible by the Gateway.
|
|
40
|
+
* @param configuration The configuration object. Result of the read operation.
|
|
41
|
+
* @param error An error object containing the error that indicates why the operation failed.
|
|
42
|
+
*/
|
|
43
|
+
typedef void (^KTKDeviceGatewayConnectionGetDiagnosticBlock)(KTKDeviceGatewayDiagnostic * _Nullable gatewayDiagnostic, NSError * _Nullable error);
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* A handler block object executed when a log message is received from the device.
|
|
47
|
+
*
|
|
48
|
+
* @param logsMessage A message receviced from the Gateway device.
|
|
49
|
+
* @param error An error object containing the error that indicates why the operation failed.
|
|
50
|
+
* @param stop Set to @c true to stop the operation.
|
|
51
|
+
*/
|
|
52
|
+
typedef void (^KTKDeviceGatewayConnectionBLELogsHandlerBlock)(NSString* _Nullable logsMessage, NSError* _Nullable, BOOL* _Nullable stop);
|
|
53
|
+
|
|
54
|
+
#pragma mark - KTKDeviceGatewayConnection (Interface)
|
|
55
|
+
@interface KTKDeviceGatewayConnection : KTKDeviceConnection
|
|
56
|
+
|
|
57
|
+
#pragma mark - Connection Methods
|
|
58
|
+
///--------------------------------------------------------------------
|
|
59
|
+
/// @name Connection Methods
|
|
60
|
+
///--------------------------------------------------------------------
|
|
61
|
+
|
|
62
|
+
- (void)writeUsingCloudConfiguration:(KTKDeviceConfiguration *)configuration completion:(KTKDeviceConnectionWriteCompletion)completion;
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Reads the configuration from the connection device.
|
|
66
|
+
*
|
|
67
|
+
* @param completion A block object to be executed when the read operation finishes.
|
|
68
|
+
*/
|
|
69
|
+
- (void)getWiFiNetworks:(KTKDeviceGatewayConnectionGetWiFiBlock)completion;
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Reads the configuration from the connection device using MAC.
|
|
73
|
+
*
|
|
74
|
+
* @param completion A block object to be executed when the read operation finishes.
|
|
75
|
+
*/
|
|
76
|
+
- (void)getMacDevice:(KTKDeviceGatewayConnectionGetMACBlock)completion;
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Reads the configuration from the connection device using MAC.
|
|
80
|
+
*
|
|
81
|
+
* @param completion A block object to be executed when the read operation finishes.
|
|
82
|
+
*/
|
|
83
|
+
- (void)getDiagnosticDevice:(KTKDeviceGatewayConnectionGetDiagnosticBlock)completion;
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* Starts BLE logging mode in the device and delegates all events to provided delegate object.
|
|
87
|
+
*
|
|
88
|
+
* @param delegate A delegate object responsible for receiving log messages and stopping logging mode.
|
|
89
|
+
*/
|
|
90
|
+
- (void)startBLEDeviceLogging:(id<KTKDeviceCCOperationDelegate>)delegate;
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* Reboot the device.
|
|
94
|
+
*
|
|
95
|
+
* @param completion A block object to be executed when write operation finishes.
|
|
96
|
+
*/
|
|
97
|
+
- (void)rebootDevice:(void (^)(NSError * _Nullable error))completion;
|
|
98
|
+
|
|
99
|
+
@end
|
|
100
|
+
|
|
101
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
//
|
|
2
|
+
// KontaktSDK
|
|
3
|
+
// Version: 6.2.1
|
|
4
|
+
//
|
|
5
|
+
// Copyright © 2021 Kontakt.io. All rights reserved.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
@import Foundation;
|
|
9
|
+
#import "KTKDeviceConfiguration.h"
|
|
10
|
+
|
|
11
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
12
|
+
|
|
13
|
+
typedef NS_ENUM(uint8_t, KTKKontaktGatewayDiagnosticCommand) {
|
|
14
|
+
KTKKontaktGatewayDiagnosticCommandDiagnostinc = 0x01,
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
#pragma mark - KTKDeviceGatewayDiagnostic (Interface)
|
|
19
|
+
@interface KTKDeviceGatewayDiagnostic : NSObject <NSCopying>
|
|
20
|
+
|
|
21
|
+
#pragma mark - Initialization Methods
|
|
22
|
+
///--------------------------------------------------------------------
|
|
23
|
+
/// @name Initialization Methods
|
|
24
|
+
///--------------------------------------------------------------------
|
|
25
|
+
|
|
26
|
+
- (void)updateDiagnosticData:(NSData *)serviceData;
|
|
27
|
+
|
|
28
|
+
#pragma mark - Diagnostic Properties
|
|
29
|
+
///--------------------------------------------------------------------
|
|
30
|
+
/// @name Diagnostic
|
|
31
|
+
///--------------------------------------------------------------------
|
|
32
|
+
|
|
33
|
+
@property (nonatomic, readonly, assign, getter=isAPIConnection) BOOL aPIConnection;
|
|
34
|
+
|
|
35
|
+
@property (nonatomic, readonly, assign, getter=isEventCollectConnection) BOOL eventCollectConnection;
|
|
36
|
+
|
|
37
|
+
@property (nonatomic, readonly, copy) NSString * iPAddress;
|
|
38
|
+
|
|
39
|
+
@property (nonatomic, readonly, assign, getter=isTimeSynchronization) BOOL timeSynchronization;
|
|
40
|
+
|
|
41
|
+
@property (nonatomic, readonly, assign, getter=isConnectedToWiFi) BOOL connectedToWiFi;
|
|
42
|
+
|
|
43
|
+
@property (nonatomic, readonly, assign, getter=isFallbackNetworkConnected) BOOL fallbackNetworkConnected;
|
|
44
|
+
|
|
45
|
+
@property (nonatomic, readonly, assign, getter=isMainNetworkVisible) BOOL mainNetworkVisible;
|
|
46
|
+
|
|
47
|
+
@property (nonatomic, readonly, assign) NSInteger mainNetworkRSSI;
|
|
48
|
+
|
|
49
|
+
@property (nonatomic, readonly, assign, getter=isFallbackNetworkVisible) BOOL fallbackNetworkVisible;
|
|
50
|
+
|
|
51
|
+
@property (nonatomic, readonly, assign) NSInteger fallbackNetworkRSSI;
|
|
52
|
+
|
|
53
|
+
@property (nonatomic, readonly, assign, getter=isNearbyNetworks) BOOL nearbyNetworks;
|
|
54
|
+
|
|
55
|
+
@property (nonatomic, readonly, assign, getter=isProvision) BOOL provision;
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
@end
|
|
59
|
+
|
|
60
|
+
NS_ASSUME_NONNULL_END
|
|
61
|
+
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
//
|
|
2
|
+
// KontaktSDK
|
|
3
|
+
// Version: 6.2.1
|
|
4
|
+
//
|
|
5
|
+
// Copyright © 2017 Kontakt.io. All rights reserved.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
@import Foundation;
|
|
9
|
+
#import "KTKDeviceGatewayConfigurationType.h"
|
|
10
|
+
|
|
11
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
12
|
+
|
|
13
|
+
#pragma mark -
|
|
14
|
+
typedef NS_OPTIONS(NSInteger, KTKDeviceGatewayWiFiNetworkType) {
|
|
15
|
+
KTKDeviceGatewayWiFiNetworkTypeUnknown = 0,
|
|
16
|
+
KTKDeviceGatewayWiFiNetworkTypeOpen = 1 << 0,
|
|
17
|
+
KTKDeviceGatewayWiFiNetworkTypeWEP = 1 << 1,
|
|
18
|
+
KTKDeviceGatewayWiFiNetworkTypePersonalWPA = 1 << 2,
|
|
19
|
+
KTKDeviceGatewayWiFiNetworkTypeEnterpriseWPA = 1 << 3,
|
|
20
|
+
KTKDeviceGatewayWiFiNetworkTypePersonalWPA2 = 1 << 4,
|
|
21
|
+
KTKDeviceGatewayWiFiNetworkTypeEnterpriseWPA2 = 1 << 5,
|
|
22
|
+
KTKDeviceGatewayWiFiNetworkTypePersonalWPA3 = 1 << 6,
|
|
23
|
+
KTKDeviceGatewayWiFiNetworkTypeEnterpriseWPA3 = 1 << 7,
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
typedef NS_ENUM(uint8_t, KTKDeviceGatewayWiFiNetworkCommand) {
|
|
27
|
+
KTKKontaktGatewayDiagnosticCommandWIFI = 0x00
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
#pragma mark - KTKDeviceGatewayWiFiNetwork (Interface)
|
|
32
|
+
@interface KTKDeviceGatewayWiFiNetwork : NSObject <NSCopying>
|
|
33
|
+
|
|
34
|
+
#pragma mark - Initialization Methods
|
|
35
|
+
///--------------------------------------------------------------------
|
|
36
|
+
/// @name Initialization Methods
|
|
37
|
+
///--------------------------------------------------------------------
|
|
38
|
+
|
|
39
|
+
- (instancetype)initWithName:(NSString*)name;
|
|
40
|
+
|
|
41
|
+
- (BOOL)updateData:(NSData *)serviceData;
|
|
42
|
+
|
|
43
|
+
#pragma mark - Network Properties
|
|
44
|
+
///--------------------------------------------------------------------
|
|
45
|
+
/// @name Network Properties
|
|
46
|
+
///--------------------------------------------------------------------
|
|
47
|
+
|
|
48
|
+
@property (nonatomic, readonly, strong) NSString *networkSSID;
|
|
49
|
+
|
|
50
|
+
@property (nonatomic, readonly, assign) NSInteger signalStrength;
|
|
51
|
+
|
|
52
|
+
@property (nonatomic, readonly, assign) KTKDeviceGatewayWiFiNetworkType type;
|
|
53
|
+
|
|
54
|
+
@property (nonatomic, readonly, assign, getter=isSecure) BOOL secure;
|
|
55
|
+
|
|
56
|
+
@property (nonatomic, readonly, assign, getter=isEnterprise) BOOL enterprise;
|
|
57
|
+
|
|
58
|
+
#pragma mark - Authorization Properties
|
|
59
|
+
///--------------------------------------------------------------------
|
|
60
|
+
/// @name Authorization Properties
|
|
61
|
+
///--------------------------------------------------------------------
|
|
62
|
+
|
|
63
|
+
@property (nonatomic, readwrite, copy) NSString * _Nullable login;
|
|
64
|
+
|
|
65
|
+
@property (nonatomic, readwrite, copy) NSString * _Nullable password;
|
|
66
|
+
|
|
67
|
+
#pragma mark - Helper Methods
|
|
68
|
+
///--------------------------------------------------------------------
|
|
69
|
+
/// @name Helper Methods
|
|
70
|
+
///--------------------------------------------------------------------
|
|
71
|
+
|
|
72
|
+
- (id<KTKDeviceGatewayConfigurationType>_Nullable)configuration;
|
|
73
|
+
|
|
74
|
+
@end
|
|
75
|
+
|
|
76
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
//
|
|
2
|
+
// KontaktSDK-iOS
|
|
3
|
+
//
|
|
4
|
+
// Copyright © 2021 Kontakt.io. All rights reserved.
|
|
5
|
+
//
|
|
6
|
+
|
|
7
|
+
#import <Foundation/Foundation.h>
|
|
8
|
+
|
|
9
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
10
|
+
|
|
11
|
+
#pragma mark -
|
|
12
|
+
|
|
13
|
+
#pragma mark - KTKDeviceKontaktRecognitionBox (Interface)
|
|
14
|
+
@interface KTKDeviceKontaktRecognitionBox : NSObject <NSCopying>
|
|
15
|
+
|
|
16
|
+
@property (nonatomic, assign, readonly) NSUInteger score;
|
|
17
|
+
@property (nonatomic, assign, readonly) NSUInteger x;
|
|
18
|
+
@property (nonatomic, assign, readonly) NSUInteger y;
|
|
19
|
+
@property (nonatomic, assign, readonly) NSUInteger width;
|
|
20
|
+
@property (nonatomic, assign, readonly) NSUInteger height;
|
|
21
|
+
|
|
22
|
+
- (nullable instancetype)initWithData:(NSData * _Nullable)data;
|
|
23
|
+
|
|
24
|
+
@end
|
|
25
|
+
|
|
26
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
//
|
|
2
|
+
// KontaktSDK
|
|
3
|
+
// Version: 6.2.1
|
|
4
|
+
//
|
|
5
|
+
// Copyright © 2018 Kontakt.io. All rights reserved.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
#import "KTKDeviceGATTOperation.h"
|
|
9
|
+
|
|
10
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
11
|
+
|
|
12
|
+
#pragma mark - KTKDeviceListenOperation (Interface)
|
|
13
|
+
@interface KTKDeviceListenOperation : KTKDeviceGATTOperation
|
|
14
|
+
|
|
15
|
+
@property (nonatomic, assign) NSTimeInterval listenUntilPayloadTimeout;
|
|
16
|
+
@property (nonatomic, copy) void (^listeningBlock)(id _Nullable payload, BOOL * _Nonnull stop);
|
|
17
|
+
|
|
18
|
+
@end
|
|
19
|
+
|
|
20
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
//
|
|
2
|
+
// KontaktSDK
|
|
3
|
+
// Version: 6.2.1
|
|
4
|
+
//
|
|
5
|
+
// Copyright © 2017 Kontakt.io. All rights reserved.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
#import "KTKDeviceGATTOperation.h"
|
|
9
|
+
|
|
10
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
11
|
+
|
|
12
|
+
#pragma mark - KTKDeviceReadOperation (Interface)
|
|
13
|
+
@interface KTKDeviceNotifyOperation : KTKDeviceGATTOperation
|
|
14
|
+
|
|
15
|
+
#pragma mark - Initialization Methods
|
|
16
|
+
///--------------------------------------------------------------------
|
|
17
|
+
/// @name Initialization Methods
|
|
18
|
+
///--------------------------------------------------------------------
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Initializes and returns GATT notify operation with the specified service UUID string, characteristic UUID string and value.
|
|
22
|
+
*
|
|
23
|
+
* @param service A service UUID string object.
|
|
24
|
+
* @param characteristic A characteristic UUID string object.
|
|
25
|
+
* @param value A notify value to be set.
|
|
26
|
+
*
|
|
27
|
+
* @return An initialized GATT notify operation.
|
|
28
|
+
*/
|
|
29
|
+
- (instancetype)initWithService:(NSString *)service characteristic:(NSString *)characteristic value:(BOOL)value;
|
|
30
|
+
|
|
31
|
+
@end
|
|
32
|
+
|
|
33
|
+
NS_ASSUME_NONNULL_END
|
|
34
|
+
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
//
|
|
2
|
+
// KontaktSDK
|
|
3
|
+
// Version: 6.2.1
|
|
4
|
+
//
|
|
5
|
+
// Copyright © 2016 Kontakt.io. All rights reserved.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
@import Foundation;
|
|
9
|
+
|
|
10
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Power saving features.
|
|
14
|
+
*/
|
|
15
|
+
typedef NS_ENUM(NSInteger, KTKDevicePowerSavingMode) {
|
|
16
|
+
|
|
17
|
+
KTKDevicePowerSavingModeUnknown = -1,
|
|
18
|
+
/**
|
|
19
|
+
* Power saving turned Off.
|
|
20
|
+
*/
|
|
21
|
+
KTKDevicePowerSavingModeOff = 0,
|
|
22
|
+
/**
|
|
23
|
+
* Power saving based on motion sensor.
|
|
24
|
+
*/
|
|
25
|
+
KTKDevicePowerSavingModeMotion = 1,
|
|
26
|
+
/**
|
|
27
|
+
* Power saving based on light sensor.
|
|
28
|
+
*/
|
|
29
|
+
KTKDevicePowerSavingModeLight = 2,
|
|
30
|
+
/**
|
|
31
|
+
* Power saving based on real time clock.
|
|
32
|
+
*/
|
|
33
|
+
KTKDevicePowerSavingModeRTC = 3,
|
|
34
|
+
/**
|
|
35
|
+
* Burst mode Power Saving.
|
|
36
|
+
*
|
|
37
|
+
* Beacon by default advertises continuously.
|
|
38
|
+
* When `Burst Mode` is enabled Beacon periodically advertises all configured frames for set amount seconds, then it sleeps.
|
|
39
|
+
*/
|
|
40
|
+
KTKDevicePowerSavingModeBurst = 5,
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
#pragma mark - KTKDevicePowerSaving (Interface)
|
|
44
|
+
@interface KTKDevicePowerSaving : NSObject <NSObject, NSCopying, NSSecureCoding>
|
|
45
|
+
|
|
46
|
+
#pragma mark - General Properties
|
|
47
|
+
///--------------------------------------------------------------------
|
|
48
|
+
/// @name General Properties
|
|
49
|
+
///--------------------------------------------------------------------
|
|
50
|
+
|
|
51
|
+
@property (nonatomic, assign, readwrite) KTKDevicePowerSavingMode mode;
|
|
52
|
+
|
|
53
|
+
#pragma mark - Light Sensor Properties
|
|
54
|
+
///--------------------------------------------------------------------
|
|
55
|
+
/// @name Light Sensor Properties
|
|
56
|
+
///--------------------------------------------------------------------
|
|
57
|
+
|
|
58
|
+
@property (nonatomic, assign, readwrite) NSInteger lightBrightnessLevel;
|
|
59
|
+
|
|
60
|
+
#pragma mark - RTC Properties
|
|
61
|
+
///--------------------------------------------------------------------
|
|
62
|
+
/// @name RTC Properties
|
|
63
|
+
///--------------------------------------------------------------------
|
|
64
|
+
|
|
65
|
+
@property (nonatomic, copy, readwrite) NSDictionary<NSNumber *, NSIndexSet *> * _Nullable rtcHours;
|
|
66
|
+
|
|
67
|
+
#pragma mark - Burst Mode Properties
|
|
68
|
+
///--------------------------------------------------------------------
|
|
69
|
+
/// @name Burst Mode Properties
|
|
70
|
+
///--------------------------------------------------------------------
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Time interval in which the beacon will be in advertising mode.
|
|
74
|
+
*/
|
|
75
|
+
@property (nonatomic, assign, readwrite) NSTimeInterval burstOn;
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* Time interval in which the beacon will be in sleep mode.
|
|
79
|
+
*
|
|
80
|
+
* This value will be rounded to full minutes.
|
|
81
|
+
*/
|
|
82
|
+
@property (nonatomic, assign, readwrite) NSTimeInterval burstOff;
|
|
83
|
+
|
|
84
|
+
@end
|
|
85
|
+
|
|
86
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
//
|
|
2
|
+
// KontaktSDK
|
|
3
|
+
// Version: 6.2.1
|
|
4
|
+
//
|
|
5
|
+
// Copyright (c) 2015 Kontakt.io. All rights reserved.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
#import "KTKDeviceGATTOperation.h"
|
|
9
|
+
|
|
10
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
11
|
+
|
|
12
|
+
#pragma mark - KTKDeviceWriteOperation (Interface)
|
|
13
|
+
@interface KTKDeviceWriteOperation : KTKDeviceGATTOperation
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* When set to `true` and when payload size is bigger than MTU, the payload will be written in multiple chunks instead of a single queued write.
|
|
17
|
+
* This flag is ignored when `withoutResponse` is set to `false`.
|
|
18
|
+
*/
|
|
19
|
+
@property (nonatomic, assign, readwrite) BOOL allowWriteInChunks;
|
|
20
|
+
|
|
21
|
+
#pragma mark - Initialization Methods
|
|
22
|
+
///--------------------------------------------------------------------
|
|
23
|
+
/// @name Initialization Methods
|
|
24
|
+
///--------------------------------------------------------------------
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Initializes and returns GATT write operation with the specified service UUID string, characteristic UUID string and payload object.
|
|
28
|
+
*
|
|
29
|
+
* @param service A service UUID string object.
|
|
30
|
+
* @param characteristic A characteristic UUID string object.
|
|
31
|
+
* @param payload A payload object to be written.
|
|
32
|
+
*
|
|
33
|
+
* @return An initialized GATT write operation.
|
|
34
|
+
*/
|
|
35
|
+
- (instancetype)initWithService:(NSString *)service characteristic:(NSString *)characteristic payload:(id)payload;
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Initializes and returns GATT write operation with the specified service UUID string, characteristic UUID string and payload object.
|
|
39
|
+
*
|
|
40
|
+
* @param service A service UUID string object.
|
|
41
|
+
* @param characteristic A characteristic UUID string object.
|
|
42
|
+
* @param payload A payload object to be written.
|
|
43
|
+
* @param withoutResponse When set to `true` the operation will be marked as verified right after writing payload.
|
|
44
|
+
*
|
|
45
|
+
* @return An initialized GATT write operation.
|
|
46
|
+
*/
|
|
47
|
+
- (instancetype)initWithService:(NSString *)service characteristic:(NSString *)characteristic payload:(id)payload withoutResponse:(BOOL)withoutResponse;
|
|
48
|
+
|
|
49
|
+
@end
|
|
50
|
+
|
|
51
|
+
NS_ASSUME_NONNULL_END
|