summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorleonid lokhmatov, Luxoft <zaqqqqqqqq@gmail.com>2020-07-27 11:38:16 +0300
committerleonid lokhmatov, Luxoft <zaqqqqqqqq@gmail.com>2020-07-27 17:12:12 +0300
commit1d9ceecdfead0d41b198d178f0c92d6a2dd63940 (patch)
treeee8a7ba8abaec4511f289addaa6162bc6723bfc4
parentb37e87522d0768a7bef540e9c7112725cf58f189 (diff)
downloadsdl_ios-1d9ceecdfead0d41b198d178f0c92d6a2dd63940.tar.gz
sdl-0253 "New vehicle data StabilityControlsStatus": apply review comments (p2): add script generated initializers, sort imported classes & properties alphabetically
-rw-r--r--SmartDeviceLink-iOS.podspec103
-rw-r--r--SmartDeviceLink.podspec93
-rw-r--r--SmartDeviceLink/SDLGetVehicleData.h42
-rw-r--r--SmartDeviceLink/SDLGetVehicleData.m46
-rw-r--r--SmartDeviceLink/SDLGetVehicleDataResponse.h2
-rw-r--r--SmartDeviceLink/SDLOnVehicleData.h172
-rw-r--r--SmartDeviceLink/SDLOnVehicleData.m38
-rw-r--r--SmartDeviceLink/SDLStabilityControlsStatus.h2
-rw-r--r--SmartDeviceLink/SDLSubscribeVehicleData.h166
-rw-r--r--SmartDeviceLink/SDLSubscribeVehicleData.m73
-rw-r--r--SmartDeviceLink/SDLSubscribeVehicleDataResponse.h160
-rw-r--r--SmartDeviceLink/SDLSubscribeVehicleDataResponse.m37
-rw-r--r--SmartDeviceLink/SDLUnsubscribeVehicleData.h181
-rw-r--r--SmartDeviceLink/SDLUnsubscribeVehicleData.m46
-rw-r--r--SmartDeviceLink/SDLUnsubscribeVehicleDataResponse.h165
-rw-r--r--SmartDeviceLink/SDLUnsubscribeVehicleDataResponse.m37
-rw-r--r--SmartDeviceLink/SDLVehicleDataType.h136
-rw-r--r--SmartDeviceLink/SDLVehicleDataType.m48
-rw-r--r--SmartDeviceLinkTests/RPCSpecs/NotificationSpecs/SDLOnVehicleDataSpec.m10
-rw-r--r--SmartDeviceLinkTests/RPCSpecs/RequestSpecs/SDLGetVehicleDataSpec.m27
-rw-r--r--SmartDeviceLinkTests/RPCSpecs/RequestSpecs/SDLSubscribeVehicleDataSpec.m28
-rw-r--r--SmartDeviceLinkTests/RPCSpecs/RequestSpecs/SDLUnsubscribeVehicleDataSpec.m22
-rw-r--r--SmartDeviceLinkTests/RPCSpecs/ResponseSpecs/SDLSubscribeVehicleDataResponseSpec.m9
-rw-r--r--SmartDeviceLinkTests/RPCSpecs/ResponseSpecs/SDLUnsubscribeVehicleDataResponseSpec.m3
-rw-r--r--SmartDeviceLinkTests/RPCSpecs/StructSpecs/SDLStabilityControlsStatusSpec.m12
25 files changed, 1022 insertions, 636 deletions
diff --git a/SmartDeviceLink-iOS.podspec b/SmartDeviceLink-iOS.podspec
index c9a159327..5472d77ef 100644
--- a/SmartDeviceLink-iOS.podspec
+++ b/SmartDeviceLink-iOS.podspec
@@ -28,27 +28,25 @@ ss.public_header_files = [
'SmartDeviceLink/SDLAlertManeuver.h',
'SmartDeviceLink/SDLAlertManeuverResponse.h',
'SmartDeviceLink/SDLAlertResponse.h',
+'SmartDeviceLink/SDLAmbientLightStatus.h',
+'SmartDeviceLink/SDLAppHMIType.h',
+'SmartDeviceLink/SDLAppInfo.h',
+'SmartDeviceLink/SDLAppInterfaceUnregisteredReason.h',
'SmartDeviceLink/SDLAppServiceCapability.h',
'SmartDeviceLink/SDLAppServiceData.h',
'SmartDeviceLink/SDLAppServiceManifest.h',
'SmartDeviceLink/SDLAppServiceRecord.h',
-'SmartDeviceLink/SDLAppServicesCapabilities.h',
'SmartDeviceLink/SDLAppServiceType.h',
-'SmartDeviceLink/SDLButtonPressResponse.h',
-'SmartDeviceLink/SDLAmbientLightStatus.h',
-'SmartDeviceLink/SDLAppHMIType.h',
-'SmartDeviceLink/SDLAppInfo.h',
-'SmartDeviceLink/SDLAppInterfaceUnregisteredReason.h',
+'SmartDeviceLink/SDLAppServicesCapabilities.h',
'SmartDeviceLink/SDLArtwork.h',
-'SmartDeviceLink/SDLAudioControlData.h',
'SmartDeviceLink/SDLAudioControlCapabilities.h',
+'SmartDeviceLink/SDLAudioControlData.h',
'SmartDeviceLink/SDLAudioFile.h',
'SmartDeviceLink/SDLAudioPassThruCapabilities.h',
-'SmartDeviceLink/SDLAudioStreamingState.h',
-'SmartDeviceLink/SDLAudioStreamingIndicator.h',
'SmartDeviceLink/SDLAudioStreamManager.h',
'SmartDeviceLink/SDLAudioStreamManagerDelegate.h',
-'SmartDeviceLink/SDLStreamingAudioManagerType.h',
+'SmartDeviceLink/SDLAudioStreamingIndicator.h',
+'SmartDeviceLink/SDLAudioStreamingState.h',
'SmartDeviceLink/SDLAudioType.h',
'SmartDeviceLink/SDLBeltStatus.h',
'SmartDeviceLink/SDLBitsPerSample.h',
@@ -58,6 +56,7 @@ ss.public_header_files = [
'SmartDeviceLink/SDLButtonName.h',
'SmartDeviceLink/SDLButtonPress.h',
'SmartDeviceLink/SDLButtonPressMode.h',
+'SmartDeviceLink/SDLButtonPressResponse.h',
'SmartDeviceLink/SDLCancelInteraction.h',
'SmartDeviceLink/SDLCancelInteractionResponse.h',
'SmartDeviceLink/SDLCarModeStatus.h',
@@ -82,6 +81,7 @@ ss.public_header_files = [
'SmartDeviceLink/SDLCreateInteractionChoiceSetResponse.h',
'SmartDeviceLink/SDLCreateWindow.h',
'SmartDeviceLink/SDLCreateWindowResponse.h',
+'SmartDeviceLink/SDLDIDResult.h',
'SmartDeviceLink/SDLDateTime.h',
'SmartDeviceLink/SDLDefrostZone.h',
'SmartDeviceLink/SDLDeleteCommand.h',
@@ -102,27 +102,26 @@ ss.public_header_files = [
'SmartDeviceLink/SDLDiagnosticMessageResponse.h',
'SmartDeviceLink/SDLDialNumber.h',
'SmartDeviceLink/SDLDialNumberResponse.h',
-'SmartDeviceLink/SDLDIDResult.h',
'SmartDeviceLink/SDLDimension.h',
-'SmartDeviceLink/SDLDisplayCapability.h',
+'SmartDeviceLink/SDLDirection.h',
'SmartDeviceLink/SDLDisplayCapabilities.h',
+'SmartDeviceLink/SDLDisplayCapability.h',
'SmartDeviceLink/SDLDisplayMode.h',
'SmartDeviceLink/SDLDisplayType.h',
'SmartDeviceLink/SDLDistanceUnit.h',
-'SmartDeviceLink/SDLDirection.h',
'SmartDeviceLink/SDLDriverDistractionState.h',
'SmartDeviceLink/SDLECallConfirmationStatus.h',
'SmartDeviceLink/SDLECallInfo.h',
'SmartDeviceLink/SDLElectronicParkBrakeStatus.h',
-'SmartDeviceLink/SDLEncryptionConfiguration.h',
'SmartDeviceLink/SDLEmergencyEvent.h',
'SmartDeviceLink/SDLEmergencyEventType.h',
'SmartDeviceLink/SDLEncodedSyncPData.h',
'SmartDeviceLink/SDLEncodedSyncPDataResponse.h',
+'SmartDeviceLink/SDLEncryptionConfiguration.h',
'SmartDeviceLink/SDLEndAudioPassThru.h',
'SmartDeviceLink/SDLEndAudioPassThruResponse.h',
-'SmartDeviceLink/SDLEqualizerSettings.h',
'SmartDeviceLink/SDLEnum.h',
+'SmartDeviceLink/SDLEqualizerSettings.h',
'SmartDeviceLink/SDLErrorConstants.h',
'SmartDeviceLink/SDLFile.h',
'SmartDeviceLink/SDLFileManager.h',
@@ -133,11 +132,12 @@ ss.public_header_files = [
'SmartDeviceLink/SDLFuelRange.h',
'SmartDeviceLink/SDLFuelType.h',
'SmartDeviceLink/SDLFunctionID.h',
+'SmartDeviceLink/SDLGPSData.h',
'SmartDeviceLink/SDLGenericResponse.h',
-'SmartDeviceLink/SDLGetCloudAppProperties.h',
-'SmartDeviceLink/SDLGetCloudAppPropertiesResponse.h',
'SmartDeviceLink/SDLGetAppServiceData.h',
'SmartDeviceLink/SDLGetAppServiceDataResponse.h',
+'SmartDeviceLink/SDLGetCloudAppProperties.h',
+'SmartDeviceLink/SDLGetCloudAppPropertiesResponse.h',
'SmartDeviceLink/SDLGetDTCs.h',
'SmartDeviceLink/SDLGetDTCsResponse.h',
'SmartDeviceLink/SDLGetFile.h',
@@ -153,16 +153,15 @@ ss.public_header_files = [
'SmartDeviceLink/SDLGetWaypoints.h',
'SmartDeviceLink/SDLGetWaypointsResponse.h',
'SmartDeviceLink/SDLGlobalProperty.h',
-'SmartDeviceLink/SDLGPSData.h',
'SmartDeviceLink/SDLGrid.h',
-'SmartDeviceLink/SDLHapticRect.h',
-'SmartDeviceLink/SDLHeadLampStatus.h',
'SmartDeviceLink/SDLHMICapabilities.h',
'SmartDeviceLink/SDLHMILevel.h',
'SmartDeviceLink/SDLHMIPermissions.h',
'SmartDeviceLink/SDLHMISettingsControlCapabilities.h',
'SmartDeviceLink/SDLHMISettingsControlData.h',
'SmartDeviceLink/SDLHMIZoneCapabilities.h',
+'SmartDeviceLink/SDLHapticRect.h',
+'SmartDeviceLink/SDLHeadLampStatus.h',
'SmartDeviceLink/SDLHybridAppPreference.h',
'SmartDeviceLink/SDLIgnitionStableStatus.h',
'SmartDeviceLink/SDLIgnitionStatus.h',
@@ -204,15 +203,15 @@ ss.public_header_files = [
'SmartDeviceLink/SDLLogTargetAppleSystemLog.h',
'SmartDeviceLink/SDLLogTargetFile.h',
'SmartDeviceLink/SDLLogTargetOSLog.h',
-'SmartDeviceLink/SDLMassageCushionFirmness.h',
-'SmartDeviceLink/SDLMassageModeData.h',
-'SmartDeviceLink/SDLMassageCushion.h',
-'SmartDeviceLink/SDLMassageMode.h',
-'SmartDeviceLink/SDLMassageZone.h',
'SmartDeviceLink/SDLMacros.h',
'SmartDeviceLink/SDLMaintenanceModeStatus.h',
'SmartDeviceLink/SDLManager.h',
'SmartDeviceLink/SDLManagerDelegate.h',
+'SmartDeviceLink/SDLMassageCushion.h',
+'SmartDeviceLink/SDLMassageCushionFirmness.h',
+'SmartDeviceLink/SDLMassageMode.h',
+'SmartDeviceLink/SDLMassageModeData.h',
+'SmartDeviceLink/SDLMassageZone.h',
'SmartDeviceLink/SDLMediaClockFormat.h',
'SmartDeviceLink/SDLMediaServiceData.h',
'SmartDeviceLink/SDLMediaServiceManifest.h',
@@ -227,6 +226,7 @@ ss.public_header_files = [
'SmartDeviceLink/SDLModuleData.h',
'SmartDeviceLink/SDLModuleInfo.h',
'SmartDeviceLink/SDLModuleType.h',
+'SmartDeviceLink/SDLMsgVersion.h',
'SmartDeviceLink/SDLMyKey.h',
'SmartDeviceLink/SDLNavigationAction.h',
'SmartDeviceLink/SDLNavigationCapability.h',
@@ -244,9 +244,9 @@ ss.public_header_files = [
'SmartDeviceLink/SDLOnCommand.h',
'SmartDeviceLink/SDLOnDriverDistraction.h',
'SmartDeviceLink/SDLOnEncodedSyncPData.h',
+'SmartDeviceLink/SDLOnHMIStatus.h',
'SmartDeviceLink/SDLOnHashChange.h',
'SmartDeviceLink/SDLOnInteriorVehicleData.h',
-'SmartDeviceLink/SDLOnHMIStatus.h',
'SmartDeviceLink/SDLOnKeyboardInput.h',
'SmartDeviceLink/SDLOnLanguageChange.h',
'SmartDeviceLink/SDLOnLockScreenStatus.h',
@@ -259,6 +259,7 @@ ss.public_header_files = [
'SmartDeviceLink/SDLOnTouchEvent.h',
'SmartDeviceLink/SDLOnVehicleData.h',
'SmartDeviceLink/SDLOnWayPointChange.h',
+'SmartDeviceLink/SDLPRNDL.h',
'SmartDeviceLink/SDLParameterPermissions.h',
'SmartDeviceLink/SDLPerformAppServiceInteraction.h',
'SmartDeviceLink/SDLPerformAppServiceInteractionResponse.h',
@@ -279,44 +280,44 @@ ss.public_header_files = [
'SmartDeviceLink/SDLPrerecordedSpeech.h',
'SmartDeviceLink/SDLPresetBankCapabilities.h',
'SmartDeviceLink/SDLPrimaryAudioSource.h',
-'SmartDeviceLink/SDLPRNDL.h',
'SmartDeviceLink/SDLProtocolConstants.h',
'SmartDeviceLink/SDLPublishAppService.h',
'SmartDeviceLink/SDLPublishAppServiceResponse.h',
'SmartDeviceLink/SDLPutFile.h',
'SmartDeviceLink/SDLPutFileResponse.h',
+'SmartDeviceLink/SDLRDSData.h',
+'SmartDeviceLink/SDLRGBColor.h',
+'SmartDeviceLink/SDLRPCFunctionNames.h',
+'SmartDeviceLink/SDLRPCMessage.h',
+'SmartDeviceLink/SDLRPCMessageType.h',
+'SmartDeviceLink/SDLRPCNotification.h',
+'SmartDeviceLink/SDLRPCNotificationNotification.h',
+'SmartDeviceLink/SDLRPCRequest.h',
+'SmartDeviceLink/SDLRPCRequestNotification.h',
+'SmartDeviceLink/SDLRPCResponse.h',
+'SmartDeviceLink/SDLRPCResponseNotification.h',
+'SmartDeviceLink/SDLRPCStruct.h',
'SmartDeviceLink/SDLRadioBand.h',
'SmartDeviceLink/SDLRadioControlCapabilities.h',
'SmartDeviceLink/SDLRadioControlData.h',
'SmartDeviceLink/SDLRadioState.h',
-'SmartDeviceLink/SDLRDSData.h',
'SmartDeviceLink/SDLReadDID.h',
-'SmartDeviceLink/SDLRectangle.h',
'SmartDeviceLink/SDLReadDIDResponse.h',
'SmartDeviceLink/SDLRectangle.h',
+'SmartDeviceLink/SDLRectangle.h',
'SmartDeviceLink/SDLRegisterAppInterface.h',
'SmartDeviceLink/SDLRegisterAppInterfaceResponse.h',
-'SmartDeviceLink/SDLRemoteControlCapabilities.h',
'SmartDeviceLink/SDLReleaseInteriorVehicleDataModule.h',
'SmartDeviceLink/SDLReleaseInteriorVehicleDataModuleResponse.h',
+'SmartDeviceLink/SDLRemoteControlCapabilities.h',
'SmartDeviceLink/SDLRequestType.h',
'SmartDeviceLink/SDLResetGlobalProperties.h',
'SmartDeviceLink/SDLResetGlobalPropertiesResponse.h',
'SmartDeviceLink/SDLResult.h',
-'SmartDeviceLink/SDLRGBColor.h',
-'SmartDeviceLink/SDLRPCFunctionNames.h',
-'SmartDeviceLink/SDLRPCMessage.h',
-'SmartDeviceLink/SDLRPCMessageType.h',
-'SmartDeviceLink/SDLRPCNotification.h',
-'SmartDeviceLink/SDLRPCNotificationNotification.h',
-'SmartDeviceLink/SDLRPCRequest.h',
-'SmartDeviceLink/SDLRPCRequestNotification.h',
-'SmartDeviceLink/SDLRPCResponse.h',
-'SmartDeviceLink/SDLRPCResponseNotification.h',
-'SmartDeviceLink/SDLRPCStruct.h',
+'SmartDeviceLink/SDLSISData.h',
'SmartDeviceLink/SDLSamplingRate.h',
-'SmartDeviceLink/SDLScreenParams.h',
'SmartDeviceLink/SDLScreenManager.h',
+'SmartDeviceLink/SDLScreenParams.h',
'SmartDeviceLink/SDLScrollableMessage.h',
'SmartDeviceLink/SDLScrollableMessageResponse.h',
'SmartDeviceLink/SDLSeatControlCapabilities.h',
@@ -325,7 +326,6 @@ ss.public_header_files = [
'SmartDeviceLink/SDLSeatLocationCapability.h',
'SmartDeviceLink/SDLSeatMemoryAction.h',
'SmartDeviceLink/SDLSeatMemoryActionType.h',
-'SmartDeviceLink/SDLSupportedSeat.h',
'SmartDeviceLink/SDLSecurityType.h',
'SmartDeviceLink/SDLSendHapticData.h',
'SmartDeviceLink/SDLSendHapticDataResponse.h',
@@ -340,8 +340,8 @@ ss.public_header_files = [
'SmartDeviceLink/SDLSetDisplayLayout.h',
'SmartDeviceLink/SDLSetDisplayLayoutResponse.h',
'SmartDeviceLink/SDLSetGlobalProperties.h',
-'SmartDeviceLink/SDLSetInteriorVehicleData.h',
'SmartDeviceLink/SDLSetGlobalPropertiesResponse.h',
+'SmartDeviceLink/SDLSetInteriorVehicleData.h',
'SmartDeviceLink/SDLSetInteriorVehicleDataResponse.h',
'SmartDeviceLink/SDLSetMediaClockTimer.h',
'SmartDeviceLink/SDLSetMediaClockTimerResponse.h',
@@ -352,7 +352,6 @@ ss.public_header_files = [
'SmartDeviceLink/SDLShowConstantTBTResponse.h',
'SmartDeviceLink/SDLShowResponse.h',
'SmartDeviceLink/SDLSingleTireStatus.h',
-'SmartDeviceLink/SDLSISData.h',
'SmartDeviceLink/SDLSlider.h',
'SmartDeviceLink/SDLSliderResponse.h',
'SmartDeviceLink/SDLSoftButton.h',
@@ -367,6 +366,7 @@ ss.public_header_files = [
'SmartDeviceLink/SDLStartTime.h',
'SmartDeviceLink/SDLStaticIconName.h',
'SmartDeviceLink/SDLStationIDNumber.h',
+'SmartDeviceLink/SDLStreamingAudioManagerType.h',
'SmartDeviceLink/SDLStreamingMediaConfiguration.h',
'SmartDeviceLink/SDLStreamingMediaManager.h',
'SmartDeviceLink/SDLStreamingMediaManagerConstants.h',
@@ -378,8 +378,8 @@ ss.public_header_files = [
'SmartDeviceLink/SDLSubscribeVehicleDataResponse.h',
'SmartDeviceLink/SDLSubscribeWaypoints.h',
'SmartDeviceLink/SDLSubscribeWaypointsResponse.h',
+'SmartDeviceLink/SDLSupportedSeat.h',
'SmartDeviceLink/SDLSyncMsgVersion.h',
-'SmartDeviceLink/SDLMsgVersion.h',
'SmartDeviceLink/SDLSyncPData.h',
'SmartDeviceLink/SDLSyncPDataResponse.h',
'SmartDeviceLink/SDLSystemAction.h',
@@ -389,10 +389,12 @@ ss.public_header_files = [
'SmartDeviceLink/SDLSystemContext.h',
'SmartDeviceLink/SDLSystemRequest.h',
'SmartDeviceLink/SDLTBTState.h',
+'SmartDeviceLink/SDLTPMS.h',
+'SmartDeviceLink/SDLTTSChunk.h',
'SmartDeviceLink/SDLTemperature.h',
'SmartDeviceLink/SDLTemperatureUnit.h',
-'SmartDeviceLink/SDLTemplateConfiguration.h',
'SmartDeviceLink/SDLTemplateColorScheme.h',
+'SmartDeviceLink/SDLTemplateConfiguration.h',
'SmartDeviceLink/SDLTextAlignment.h',
'SmartDeviceLink/SDLTextField.h',
'SmartDeviceLink/SDLTextFieldName.h',
@@ -405,9 +407,7 @@ ss.public_header_files = [
'SmartDeviceLink/SDLTouchManager.h',
'SmartDeviceLink/SDLTouchManagerDelegate.h',
'SmartDeviceLink/SDLTouchType.h',
-'SmartDeviceLink/SDLTPMS.h',
'SmartDeviceLink/SDLTriggerSource.h',
-'SmartDeviceLink/SDLTTSChunk.h',
'SmartDeviceLink/SDLTurn.h',
'SmartDeviceLink/SDLTurnSignal.h',
'SmartDeviceLink/SDLUnpublishAppService.h',
@@ -430,8 +430,8 @@ ss.public_header_files = [
'SmartDeviceLink/SDLVehicleDataResultCode.h',
'SmartDeviceLink/SDLVehicleDataStatus.h',
'SmartDeviceLink/SDLVehicleDataType.h',
-'SmartDeviceLink/SDLVentilationMode.h',
'SmartDeviceLink/SDLVehicleType.h',
+'SmartDeviceLink/SDLVentilationMode.h',
'SmartDeviceLink/SDLVersion.h',
'SmartDeviceLink/SDLVideoStreamingCapability.h',
'SmartDeviceLink/SDLVideoStreamingCodec.h',
@@ -447,12 +447,13 @@ ss.public_header_files = [
'SmartDeviceLink/SDLWeatherData.h',
'SmartDeviceLink/SDLWeatherServiceData.h',
'SmartDeviceLink/SDLWeatherServiceManifest.h',
-'SmartDeviceLink/SDLWiperStatus.h',
'SmartDeviceLink/SDLWindowCapability.h',
'SmartDeviceLink/SDLWindowType.h',
'SmartDeviceLink/SDLWindowTypeCapabilities.h',
+'SmartDeviceLink/SDLWiperStatus.h',
'SmartDeviceLink/SmartDeviceLink.h',
]
+
end
end
diff --git a/SmartDeviceLink.podspec b/SmartDeviceLink.podspec
index d62db3aa0..1f6179568 100644
--- a/SmartDeviceLink.podspec
+++ b/SmartDeviceLink.podspec
@@ -29,27 +29,25 @@ sdefault.public_header_files = [
'SmartDeviceLink/SDLAlertManeuver.h',
'SmartDeviceLink/SDLAlertManeuverResponse.h',
'SmartDeviceLink/SDLAlertResponse.h',
+'SmartDeviceLink/SDLAmbientLightStatus.h',
+'SmartDeviceLink/SDLAppHMIType.h',
+'SmartDeviceLink/SDLAppInfo.h',
+'SmartDeviceLink/SDLAppInterfaceUnregisteredReason.h',
'SmartDeviceLink/SDLAppServiceCapability.h',
'SmartDeviceLink/SDLAppServiceData.h',
'SmartDeviceLink/SDLAppServiceManifest.h',
'SmartDeviceLink/SDLAppServiceRecord.h',
-'SmartDeviceLink/SDLAppServicesCapabilities.h',
'SmartDeviceLink/SDLAppServiceType.h',
-'SmartDeviceLink/SDLButtonPressResponse.h',
-'SmartDeviceLink/SDLAmbientLightStatus.h',
-'SmartDeviceLink/SDLAppHMIType.h',
-'SmartDeviceLink/SDLAppInfo.h',
-'SmartDeviceLink/SDLAppInterfaceUnregisteredReason.h',
+'SmartDeviceLink/SDLAppServicesCapabilities.h',
'SmartDeviceLink/SDLArtwork.h',
-'SmartDeviceLink/SDLAudioControlData.h',
'SmartDeviceLink/SDLAudioControlCapabilities.h',
-'SmartDeviceLink/SDLAudioPassThruCapabilities.h',
+'SmartDeviceLink/SDLAudioControlData.h',
'SmartDeviceLink/SDLAudioFile.h',
-'SmartDeviceLink/SDLAudioStreamingState.h',
-'SmartDeviceLink/SDLAudioStreamingIndicator.h',
+'SmartDeviceLink/SDLAudioPassThruCapabilities.h',
'SmartDeviceLink/SDLAudioStreamManager.h',
'SmartDeviceLink/SDLAudioStreamManagerDelegate.h',
-'SmartDeviceLink/SDLStreamingAudioManagerType.h',
+'SmartDeviceLink/SDLAudioStreamingIndicator.h',
+'SmartDeviceLink/SDLAudioStreamingState.h',
'SmartDeviceLink/SDLAudioType.h',
'SmartDeviceLink/SDLBeltStatus.h',
'SmartDeviceLink/SDLBitsPerSample.h',
@@ -59,6 +57,7 @@ sdefault.public_header_files = [
'SmartDeviceLink/SDLButtonName.h',
'SmartDeviceLink/SDLButtonPress.h',
'SmartDeviceLink/SDLButtonPressMode.h',
+'SmartDeviceLink/SDLButtonPressResponse.h',
'SmartDeviceLink/SDLCancelInteraction.h',
'SmartDeviceLink/SDLCancelInteractionResponse.h',
'SmartDeviceLink/SDLCarModeStatus.h',
@@ -83,6 +82,7 @@ sdefault.public_header_files = [
'SmartDeviceLink/SDLCreateInteractionChoiceSetResponse.h',
'SmartDeviceLink/SDLCreateWindow.h',
'SmartDeviceLink/SDLCreateWindowResponse.h',
+'SmartDeviceLink/SDLDIDResult.h',
'SmartDeviceLink/SDLDateTime.h',
'SmartDeviceLink/SDLDefrostZone.h',
'SmartDeviceLink/SDLDeleteCommand.h',
@@ -103,11 +103,10 @@ sdefault.public_header_files = [
'SmartDeviceLink/SDLDiagnosticMessageResponse.h',
'SmartDeviceLink/SDLDialNumber.h',
'SmartDeviceLink/SDLDialNumberResponse.h',
-'SmartDeviceLink/SDLDIDResult.h',
'SmartDeviceLink/SDLDimension.h',
'SmartDeviceLink/SDLDirection.h',
-'SmartDeviceLink/SDLDisplayCapability.h',
'SmartDeviceLink/SDLDisplayCapabilities.h',
+'SmartDeviceLink/SDLDisplayCapability.h',
'SmartDeviceLink/SDLDisplayMode.h',
'SmartDeviceLink/SDLDisplayType.h',
'SmartDeviceLink/SDLDistanceUnit.h',
@@ -115,15 +114,15 @@ sdefault.public_header_files = [
'SmartDeviceLink/SDLECallConfirmationStatus.h',
'SmartDeviceLink/SDLECallInfo.h',
'SmartDeviceLink/SDLElectronicParkBrakeStatus.h',
-'SmartDeviceLink/SDLEncryptionConfiguration.h',
'SmartDeviceLink/SDLEmergencyEvent.h',
'SmartDeviceLink/SDLEmergencyEventType.h',
'SmartDeviceLink/SDLEncodedSyncPData.h',
'SmartDeviceLink/SDLEncodedSyncPDataResponse.h',
+'SmartDeviceLink/SDLEncryptionConfiguration.h',
'SmartDeviceLink/SDLEndAudioPassThru.h',
'SmartDeviceLink/SDLEndAudioPassThruResponse.h',
-'SmartDeviceLink/SDLEqualizerSettings.h',
'SmartDeviceLink/SDLEnum.h',
+'SmartDeviceLink/SDLEqualizerSettings.h',
'SmartDeviceLink/SDLErrorConstants.h',
'SmartDeviceLink/SDLFile.h',
'SmartDeviceLink/SDLFileManager.h',
@@ -134,12 +133,13 @@ sdefault.public_header_files = [
'SmartDeviceLink/SDLFuelRange.h',
'SmartDeviceLink/SDLFuelType.h',
'SmartDeviceLink/SDLFunctionID.h',
+'SmartDeviceLink/SDLGPSData.h',
'SmartDeviceLink/SDLGenericResponse.h',
'SmartDeviceLink/SDLGetAppServiceData.h',
'SmartDeviceLink/SDLGetAppServiceDataResponse.h',
-'SmartDeviceLink/SDLGetDTCs.h',
'SmartDeviceLink/SDLGetCloudAppProperties.h',
'SmartDeviceLink/SDLGetCloudAppPropertiesResponse.h',
+'SmartDeviceLink/SDLGetDTCs.h',
'SmartDeviceLink/SDLGetDTCsResponse.h',
'SmartDeviceLink/SDLGetFile.h',
'SmartDeviceLink/SDLGetFileResponse.h',
@@ -154,16 +154,15 @@ sdefault.public_header_files = [
'SmartDeviceLink/SDLGetWaypoints.h',
'SmartDeviceLink/SDLGetWaypointsResponse.h',
'SmartDeviceLink/SDLGlobalProperty.h',
-'SmartDeviceLink/SDLGPSData.h',
'SmartDeviceLink/SDLGrid.h',
-'SmartDeviceLink/SDLHapticRect.h',
-'SmartDeviceLink/SDLHeadLampStatus.h',
'SmartDeviceLink/SDLHMICapabilities.h',
'SmartDeviceLink/SDLHMILevel.h',
'SmartDeviceLink/SDLHMIPermissions.h',
'SmartDeviceLink/SDLHMISettingsControlCapabilities.h',
'SmartDeviceLink/SDLHMISettingsControlData.h',
'SmartDeviceLink/SDLHMIZoneCapabilities.h',
+'SmartDeviceLink/SDLHapticRect.h',
+'SmartDeviceLink/SDLHeadLampStatus.h',
'SmartDeviceLink/SDLHybridAppPreference.h',
'SmartDeviceLink/SDLIgnitionStableStatus.h',
'SmartDeviceLink/SDLIgnitionStatus.h',
@@ -209,10 +208,10 @@ sdefault.public_header_files = [
'SmartDeviceLink/SDLMaintenanceModeStatus.h',
'SmartDeviceLink/SDLManager.h',
'SmartDeviceLink/SDLManagerDelegate.h',
-'SmartDeviceLink/SDLMassageCushionFirmness.h',
-'SmartDeviceLink/SDLMassageModeData.h',
'SmartDeviceLink/SDLMassageCushion.h',
+'SmartDeviceLink/SDLMassageCushionFirmness.h',
'SmartDeviceLink/SDLMassageMode.h',
+'SmartDeviceLink/SDLMassageModeData.h',
'SmartDeviceLink/SDLMassageZone.h',
'SmartDeviceLink/SDLMediaClockFormat.h',
'SmartDeviceLink/SDLMediaServiceData.h',
@@ -228,6 +227,7 @@ sdefault.public_header_files = [
'SmartDeviceLink/SDLModuleData.h',
'SmartDeviceLink/SDLModuleInfo.h',
'SmartDeviceLink/SDLModuleType.h',
+'SmartDeviceLink/SDLMsgVersion.h',
'SmartDeviceLink/SDLMyKey.h',
'SmartDeviceLink/SDLNavigationAction.h',
'SmartDeviceLink/SDLNavigationCapability.h',
@@ -245,9 +245,9 @@ sdefault.public_header_files = [
'SmartDeviceLink/SDLOnCommand.h',
'SmartDeviceLink/SDLOnDriverDistraction.h',
'SmartDeviceLink/SDLOnEncodedSyncPData.h',
+'SmartDeviceLink/SDLOnHMIStatus.h',
'SmartDeviceLink/SDLOnHashChange.h',
'SmartDeviceLink/SDLOnInteriorVehicleData.h',
-'SmartDeviceLink/SDLOnHMIStatus.h',
'SmartDeviceLink/SDLOnKeyboardInput.h',
'SmartDeviceLink/SDLOnLanguageChange.h',
'SmartDeviceLink/SDLOnLockScreenStatus.h',
@@ -260,6 +260,7 @@ sdefault.public_header_files = [
'SmartDeviceLink/SDLOnTouchEvent.h',
'SmartDeviceLink/SDLOnVehicleData.h',
'SmartDeviceLink/SDLOnWayPointChange.h',
+'SmartDeviceLink/SDLPRNDL.h',
'SmartDeviceLink/SDLParameterPermissions.h',
'SmartDeviceLink/SDLPerformAppServiceInteraction.h',
'SmartDeviceLink/SDLPerformAppServiceInteractionResponse.h',
@@ -280,44 +281,44 @@ sdefault.public_header_files = [
'SmartDeviceLink/SDLPrerecordedSpeech.h',
'SmartDeviceLink/SDLPresetBankCapabilities.h',
'SmartDeviceLink/SDLPrimaryAudioSource.h',
-'SmartDeviceLink/SDLPRNDL.h',
'SmartDeviceLink/SDLProtocolConstants.h',
'SmartDeviceLink/SDLPublishAppService.h',
'SmartDeviceLink/SDLPublishAppServiceResponse.h',
'SmartDeviceLink/SDLPutFile.h',
'SmartDeviceLink/SDLPutFileResponse.h',
+'SmartDeviceLink/SDLRDSData.h',
+'SmartDeviceLink/SDLRGBColor.h',
+'SmartDeviceLink/SDLRPCFunctionNames.h',
+'SmartDeviceLink/SDLRPCMessage.h',
+'SmartDeviceLink/SDLRPCMessageType.h',
+'SmartDeviceLink/SDLRPCNotification.h',
+'SmartDeviceLink/SDLRPCNotificationNotification.h',
+'SmartDeviceLink/SDLRPCRequest.h',
+'SmartDeviceLink/SDLRPCRequestNotification.h',
+'SmartDeviceLink/SDLRPCResponse.h',
+'SmartDeviceLink/SDLRPCResponseNotification.h',
+'SmartDeviceLink/SDLRPCStruct.h',
'SmartDeviceLink/SDLRadioBand.h',
'SmartDeviceLink/SDLRadioControlCapabilities.h',
'SmartDeviceLink/SDLRadioControlData.h',
'SmartDeviceLink/SDLRadioState.h',
-'SmartDeviceLink/SDLRDSData.h',
'SmartDeviceLink/SDLReadDID.h',
-'SmartDeviceLink/SDLRectangle.h',
'SmartDeviceLink/SDLReadDIDResponse.h',
'SmartDeviceLink/SDLRectangle.h',
+'SmartDeviceLink/SDLRectangle.h',
'SmartDeviceLink/SDLRegisterAppInterface.h',
'SmartDeviceLink/SDLRegisterAppInterfaceResponse.h',
-'SmartDeviceLink/SDLRemoteControlCapabilities.h',
'SmartDeviceLink/SDLReleaseInteriorVehicleDataModule.h',
'SmartDeviceLink/SDLReleaseInteriorVehicleDataModuleResponse.h',
+'SmartDeviceLink/SDLRemoteControlCapabilities.h',
'SmartDeviceLink/SDLRequestType.h',
'SmartDeviceLink/SDLResetGlobalProperties.h',
'SmartDeviceLink/SDLResetGlobalPropertiesResponse.h',
'SmartDeviceLink/SDLResult.h',
-'SmartDeviceLink/SDLRGBColor.h',
-'SmartDeviceLink/SDLRPCFunctionNames.h',
-'SmartDeviceLink/SDLRPCMessage.h',
-'SmartDeviceLink/SDLRPCMessageType.h',
-'SmartDeviceLink/SDLRPCNotification.h',
-'SmartDeviceLink/SDLRPCNotificationNotification.h',
-'SmartDeviceLink/SDLRPCRequest.h',
-'SmartDeviceLink/SDLRPCRequestNotification.h',
-'SmartDeviceLink/SDLRPCResponse.h',
-'SmartDeviceLink/SDLRPCResponseNotification.h',
-'SmartDeviceLink/SDLRPCStruct.h',
+'SmartDeviceLink/SDLSISData.h',
'SmartDeviceLink/SDLSamplingRate.h',
-'SmartDeviceLink/SDLScreenParams.h',
'SmartDeviceLink/SDLScreenManager.h',
+'SmartDeviceLink/SDLScreenParams.h',
'SmartDeviceLink/SDLScrollableMessage.h',
'SmartDeviceLink/SDLScrollableMessageResponse.h',
'SmartDeviceLink/SDLSeatControlCapabilities.h',
@@ -340,8 +341,8 @@ sdefault.public_header_files = [
'SmartDeviceLink/SDLSetDisplayLayout.h',
'SmartDeviceLink/SDLSetDisplayLayoutResponse.h',
'SmartDeviceLink/SDLSetGlobalProperties.h',
-'SmartDeviceLink/SDLSetInteriorVehicleData.h',
'SmartDeviceLink/SDLSetGlobalPropertiesResponse.h',
+'SmartDeviceLink/SDLSetInteriorVehicleData.h',
'SmartDeviceLink/SDLSetInteriorVehicleDataResponse.h',
'SmartDeviceLink/SDLSetMediaClockTimer.h',
'SmartDeviceLink/SDLSetMediaClockTimerResponse.h',
@@ -352,7 +353,6 @@ sdefault.public_header_files = [
'SmartDeviceLink/SDLShowConstantTBTResponse.h',
'SmartDeviceLink/SDLShowResponse.h',
'SmartDeviceLink/SDLSingleTireStatus.h',
-'SmartDeviceLink/SDLSISData.h',
'SmartDeviceLink/SDLSlider.h',
'SmartDeviceLink/SDLSliderResponse.h',
'SmartDeviceLink/SDLSoftButton.h',
@@ -367,6 +367,7 @@ sdefault.public_header_files = [
'SmartDeviceLink/SDLStartTime.h',
'SmartDeviceLink/SDLStaticIconName.h',
'SmartDeviceLink/SDLStationIDNumber.h',
+'SmartDeviceLink/SDLStreamingAudioManagerType.h',
'SmartDeviceLink/SDLStreamingMediaConfiguration.h',
'SmartDeviceLink/SDLStreamingMediaManager.h',
'SmartDeviceLink/SDLStreamingMediaManagerConstants.h',
@@ -380,7 +381,6 @@ sdefault.public_header_files = [
'SmartDeviceLink/SDLSubscribeWaypointsResponse.h',
'SmartDeviceLink/SDLSupportedSeat.h',
'SmartDeviceLink/SDLSyncMsgVersion.h',
-'SmartDeviceLink/SDLMsgVersion.h',
'SmartDeviceLink/SDLSyncPData.h',
'SmartDeviceLink/SDLSyncPDataResponse.h',
'SmartDeviceLink/SDLSystemAction.h',
@@ -390,10 +390,12 @@ sdefault.public_header_files = [
'SmartDeviceLink/SDLSystemContext.h',
'SmartDeviceLink/SDLSystemRequest.h',
'SmartDeviceLink/SDLTBTState.h',
+'SmartDeviceLink/SDLTPMS.h',
+'SmartDeviceLink/SDLTTSChunk.h',
'SmartDeviceLink/SDLTemperature.h',
'SmartDeviceLink/SDLTemperatureUnit.h',
-'SmartDeviceLink/SDLTemplateConfiguration.h',
'SmartDeviceLink/SDLTemplateColorScheme.h',
+'SmartDeviceLink/SDLTemplateConfiguration.h',
'SmartDeviceLink/SDLTextAlignment.h',
'SmartDeviceLink/SDLTextField.h',
'SmartDeviceLink/SDLTextFieldName.h',
@@ -406,9 +408,7 @@ sdefault.public_header_files = [
'SmartDeviceLink/SDLTouchManager.h',
'SmartDeviceLink/SDLTouchManagerDelegate.h',
'SmartDeviceLink/SDLTouchType.h',
-'SmartDeviceLink/SDLTPMS.h',
'SmartDeviceLink/SDLTriggerSource.h',
-'SmartDeviceLink/SDLTTSChunk.h',
'SmartDeviceLink/SDLTurn.h',
'SmartDeviceLink/SDLTurnSignal.h',
'SmartDeviceLink/SDLUnpublishAppService.h',
@@ -431,8 +431,8 @@ sdefault.public_header_files = [
'SmartDeviceLink/SDLVehicleDataResultCode.h',
'SmartDeviceLink/SDLVehicleDataStatus.h',
'SmartDeviceLink/SDLVehicleDataType.h',
-'SmartDeviceLink/SDLVentilationMode.h',
'SmartDeviceLink/SDLVehicleType.h',
+'SmartDeviceLink/SDLVentilationMode.h',
'SmartDeviceLink/SDLVersion.h',
'SmartDeviceLink/SDLVideoStreamingCapability.h',
'SmartDeviceLink/SDLVideoStreamingCodec.h',
@@ -448,12 +448,13 @@ sdefault.public_header_files = [
'SmartDeviceLink/SDLWeatherData.h',
'SmartDeviceLink/SDLWeatherServiceData.h',
'SmartDeviceLink/SDLWeatherServiceManifest.h',
-'SmartDeviceLink/SDLWiperStatus.h',
'SmartDeviceLink/SDLWindowCapability.h',
'SmartDeviceLink/SDLWindowType.h',
'SmartDeviceLink/SDLWindowTypeCapabilities.h',
+'SmartDeviceLink/SDLWiperStatus.h',
'SmartDeviceLink/SmartDeviceLink.h',
]
+
end
s.subspec 'Swift' do |sswift|
diff --git a/SmartDeviceLink/SDLGetVehicleData.h b/SmartDeviceLink/SDLGetVehicleData.h
index 296e61876..da049029d 100644
--- a/SmartDeviceLink/SDLGetVehicleData.h
+++ b/SmartDeviceLink/SDLGetVehicleData.h
@@ -174,15 +174,51 @@ NS_ASSUME_NONNULL_BEGIN
* @param prndl Get prndl data
* @param rpm Get rpm data
* @param speed Get speed data
+ * @param stabilityControlsStatus Get stabilityControlsStatus data
* @param steeringWheelAngle Get steeringWheelAngle data
* @param tirePressure Get tirePressure data
* @param turnSignal Get turnSignal data
* @param vin Get vin data
* @param wiperStatus Get wiperStatus data
- * @param stabilityControlsStatus Get stabilityControlsStatus data
* @return A SDLGetVehicleData object
*/
-- (instancetype)initWithAccelerationPedalPosition:(BOOL)accelerationPedalPosition airbagStatus:(BOOL)airbagStatus beltStatus:(BOOL)beltStatus bodyInformation:(BOOL)bodyInformation cloudAppVehicleID:(BOOL)cloudAppVehicleID clusterModeStatus:(BOOL)clusterModeStatus deviceStatus:(BOOL)deviceStatus driverBraking:(BOOL)driverBraking eCallInfo:(BOOL)eCallInfo electronicParkBrakeStatus:(BOOL)electronicParkBrakeStatus emergencyEvent:(BOOL)emergencyEvent engineOilLife:(BOOL)engineOilLife engineTorque:(BOOL)engineTorque externalTemperature:(BOOL)externalTemperature fuelLevel:(BOOL)fuelLevel fuelLevelState:(BOOL)fuelLevelState fuelRange:(BOOL)fuelRange gps:(BOOL)gps headLampStatus:(BOOL)headLampStatus instantFuelConsumption:(BOOL)instantFuelConsumption myKey:(BOOL)myKey odometer:(BOOL)odometer prndl:(BOOL)prndl rpm:(BOOL)rpm speed:(BOOL)speed steeringWheelAngle:(BOOL)steeringWheelAngle tirePressure:(BOOL)tirePressure turnSignal:(BOOL)turnSignal vin:(BOOL)vin wiperStatus:(BOOL)wiperStatus stabilityControlsStatus:(BOOL)stabilityControlsStatus;
+- (instancetype)initWithAccelerationPedalPosition:(BOOL)accelerationPedalPosition airbagStatus:(BOOL)airbagStatus beltStatus:(BOOL)beltStatus bodyInformation:(BOOL)bodyInformation cloudAppVehicleID:(BOOL)cloudAppVehicleID clusterModeStatus:(BOOL)clusterModeStatus deviceStatus:(BOOL)deviceStatus driverBraking:(BOOL)driverBraking eCallInfo:(BOOL)eCallInfo electronicParkBrakeStatus:(BOOL)electronicParkBrakeStatus emergencyEvent:(BOOL)emergencyEvent engineOilLife:(BOOL)engineOilLife engineTorque:(BOOL)engineTorque externalTemperature:(BOOL)externalTemperature fuelLevel:(BOOL)fuelLevel fuelLevelState:(BOOL)fuelLevelState fuelRange:(BOOL)fuelRange gps:(BOOL)gps headLampStatus:(BOOL)headLampStatus instantFuelConsumption:(BOOL)instantFuelConsumption myKey:(BOOL)myKey odometer:(BOOL)odometer prndl:(BOOL)prndl rpm:(BOOL)rpm speed:(BOOL)speed stabilityControlsStatus:(BOOL)stabilityControlsStatus steeringWheelAngle:(BOOL)steeringWheelAngle tirePressure:(BOOL)tirePressure turnSignal:(BOOL)turnSignal vin:(BOOL)vin wiperStatus:(BOOL)wiperStatus;
+
+/**
+ * note: RPC generator produced initializer
+ * @param gps - gps
+ * @param speed - speed
+ * @param rpm - rpm
+ * @param fuelLevel - fuelLevel
+ * @param fuelLevel_State - fuelLevel_State
+ * @param instantFuelConsumption - instantFuelConsumption
+ * @param fuelRange - fuelRange
+ * @param externalTemperature - externalTemperature
+ * @param turnSignal - turnSignal
+ * @param vin - vin
+ * @param prndl - prndl
+ * @param tirePressure - tirePressure
+ * @param odometer - odometer
+ * @param beltStatus - beltStatus
+ * @param bodyInformation - bodyInformation
+ * @param deviceStatus - deviceStatus
+ * @param driverBraking - driverBraking
+ * @param wiperStatus - wiperStatus
+ * @param headLampStatus - headLampStatus
+ * @param engineTorque - engineTorque
+ * @param accPedalPosition - accPedalPosition
+ * @param steeringWheelAngle - steeringWheelAngle
+ * @param engineOilLife - engineOilLife
+ * @param electronicParkBrakeStatus - electronicParkBrakeStatus
+ * @param cloudAppVehicleID - cloudAppVehicleID
+ * @param eCallInfo - eCallInfo
+ * @param airbagStatus - airbagStatus
+ * @param emergencyEvent - emergencyEvent
+ * @param clusterModeStatus - clusterModeStatus
+ * @param myKey - myKey
+ * @return A SDLGetVehicleData object
+ */
+- (instancetype)initWithGps:(nullable NSNumber<SDLBool> *)gps speed:(nullable NSNumber<SDLBool> *)speed rpm:(nullable NSNumber<SDLBool> *)rpm fuelLevel:(nullable NSNumber<SDLBool> *)fuelLevel fuelLevel_State:(nullable NSNumber<SDLBool> *)fuelLevel_State instantFuelConsumption:(nullable NSNumber<SDLBool> *)instantFuelConsumption fuelRange:(nullable NSNumber<SDLBool> *)fuelRange externalTemperature:(nullable NSNumber<SDLBool> *)externalTemperature turnSignal:(nullable NSNumber<SDLBool> *)turnSignal vin:(nullable NSNumber<SDLBool> *)vin prndl:(nullable NSNumber<SDLBool> *)prndl tirePressure:(nullable NSNumber<SDLBool> *)tirePressure odometer:(nullable NSNumber<SDLBool> *)odometer beltStatus:(nullable NSNumber<SDLBool> *)beltStatus bodyInformation:(nullable NSNumber<SDLBool> *)bodyInformation deviceStatus:(nullable NSNumber<SDLBool> *)deviceStatus driverBraking:(nullable NSNumber<SDLBool> *)driverBraking wiperStatus:(nullable NSNumber<SDLBool> *)wiperStatus headLampStatus:(nullable NSNumber<SDLBool> *)headLampStatus engineTorque:(nullable NSNumber<SDLBool> *)engineTorque accPedalPosition:(nullable NSNumber<SDLBool> *)accPedalPosition steeringWheelAngle:(nullable NSNumber<SDLBool> *)steeringWheelAngle engineOilLife:(nullable NSNumber<SDLBool> *)engineOilLife electronicParkBrakeStatus:(nullable NSNumber<SDLBool> *)electronicParkBrakeStatus cloudAppVehicleID:(nullable NSNumber<SDLBool> *)cloudAppVehicleID eCallInfo:(nullable NSNumber<SDLBool> *)eCallInfo airbagStatus:(nullable NSNumber<SDLBool> *)airbagStatus emergencyEvent:(nullable NSNumber<SDLBool> *)emergencyEvent clusterModeStatus:(nullable NSNumber<SDLBool> *)clusterModeStatus myKey:(nullable NSNumber<SDLBool> *)myKey;
/**
* A boolean value. If true, requests GPS data.
@@ -399,7 +435,7 @@ NS_ASSUME_NONNULL_BEGIN
*
* Optional.
*
- * @since SDL 6.2.0
+ * @since SDL 7.0.0
*/
@property (strong, nonatomic, nullable) NSNumber<SDLBool> *stabilityControlsStatus;
diff --git a/SmartDeviceLink/SDLGetVehicleData.m b/SmartDeviceLink/SDLGetVehicleData.m
index a4bc24008..b4e2e1276 100644
--- a/SmartDeviceLink/SDLGetVehicleData.m
+++ b/SmartDeviceLink/SDLGetVehicleData.m
@@ -51,18 +51,18 @@ NS_ASSUME_NONNULL_BEGIN
#pragma clang diagnostic pop
- (instancetype)initWithAccelerationPedalPosition:(BOOL)accelerationPedalPosition airbagStatus:(BOOL)airbagStatus beltStatus:(BOOL)beltStatus bodyInformation:(BOOL)bodyInformation clusterModeStatus:(BOOL)clusterModeStatus deviceStatus:(BOOL)deviceStatus driverBraking:(BOOL)driverBraking eCallInfo:(BOOL)eCallInfo emergencyEvent:(BOOL)emergencyEvent engineTorque:(BOOL)engineTorque externalTemperature:(BOOL)externalTemperature fuelLevel:(BOOL)fuelLevel fuelLevelState:(BOOL)fuelLevelState gps:(BOOL)gps headLampStatus:(BOOL)headLampStatus instantFuelConsumption:(BOOL)instantFuelConsumption myKey:(BOOL)myKey odometer:(BOOL)odometer prndl:(BOOL)prndl rpm:(BOOL)rpm speed:(BOOL)speed steeringWheelAngle:(BOOL)steeringWheelAngle tirePressure:(BOOL)tirePressure vin:(BOOL)vin wiperStatus:(BOOL)wiperStatus {
- return [self initWithAccelerationPedalPosition:accelerationPedalPosition airbagStatus:airbagStatus beltStatus:beltStatus bodyInformation:bodyInformation clusterModeStatus:clusterModeStatus deviceStatus:deviceStatus driverBraking:driverBraking eCallInfo:eCallInfo electronicParkBrakeStatus:NO emergencyEvent:emergencyEvent engineOilLife:NO engineTorque:engineTorque externalTemperature:externalTemperature fuelLevel:fuelLevel fuelLevelState:fuelLevelState fuelRange:NO gps:gps headLampStatus:headLampStatus instantFuelConsumption:instantFuelConsumption myKey:myKey odometer:odometer prndl:prndl rpm:rpm speed:speed steeringWheelAngle:steeringWheelAngle tirePressure:tirePressure turnSignal:NO vin:vin wiperStatus:wiperStatus];
+ return [self initWithAccelerationPedalPosition:accelerationPedalPosition airbagStatus:airbagStatus beltStatus:beltStatus bodyInformation:bodyInformation cloudAppVehicleID:NO clusterModeStatus:clusterModeStatus deviceStatus:deviceStatus driverBraking:driverBraking eCallInfo:eCallInfo electronicParkBrakeStatus:NO emergencyEvent:emergencyEvent engineOilLife:NO engineTorque:engineTorque externalTemperature:externalTemperature fuelLevel:fuelLevel fuelLevelState:fuelLevelState fuelRange:NO gps:gps headLampStatus:headLampStatus instantFuelConsumption:instantFuelConsumption myKey:myKey odometer:odometer prndl:prndl rpm:rpm speed:speed stabilityControlsStatus:NO steeringWheelAngle:steeringWheelAngle tirePressure:tirePressure turnSignal:NO vin:vin wiperStatus:wiperStatus];
}
- (instancetype)initWithAccelerationPedalPosition:(BOOL)accelerationPedalPosition airbagStatus:(BOOL)airbagStatus beltStatus:(BOOL)beltStatus bodyInformation:(BOOL)bodyInformation clusterModeStatus:(BOOL)clusterModeStatus deviceStatus:(BOOL)deviceStatus driverBraking:(BOOL)driverBraking eCallInfo:(BOOL)eCallInfo electronicParkBrakeStatus:(BOOL)electronicParkBrakeStatus emergencyEvent:(BOOL)emergencyEvent engineOilLife:(BOOL)engineOilLife engineTorque:(BOOL)engineTorque externalTemperature:(BOOL)externalTemperature fuelLevel:(BOOL)fuelLevel fuelLevelState:(BOOL)fuelLevelState fuelRange:(BOOL)fuelRange gps:(BOOL)gps headLampStatus:(BOOL)headLampStatus instantFuelConsumption:(BOOL)instantFuelConsumption myKey:(BOOL)myKey odometer:(BOOL)odometer prndl:(BOOL)prndl rpm:(BOOL)rpm speed:(BOOL)speed steeringWheelAngle:(BOOL)steeringWheelAngle tirePressure:(BOOL)tirePressure turnSignal:(BOOL)turnSignal vin:(BOOL)vin wiperStatus:(BOOL)wiperStatus {
- return [self initWithAccelerationPedalPosition:accelerationPedalPosition airbagStatus:airbagStatus beltStatus:beltStatus bodyInformation:bodyInformation cloudAppVehicleID:NO clusterModeStatus:clusterModeStatus deviceStatus:deviceStatus driverBraking:driverBraking eCallInfo:eCallInfo electronicParkBrakeStatus:electronicParkBrakeStatus emergencyEvent:emergencyEvent engineOilLife:engineOilLife engineTorque:engineTorque externalTemperature:externalTemperature fuelLevel:fuelLevel fuelLevelState:fuelLevelState fuelRange:fuelRange gps:gps headLampStatus:headLampStatus instantFuelConsumption:instantFuelConsumption myKey:myKey odometer:odometer prndl:prndl rpm:rpm speed:speed steeringWheelAngle:steeringWheelAngle tirePressure:tirePressure turnSignal:turnSignal vin:vin wiperStatus:wiperStatus];
+ return [self initWithAccelerationPedalPosition:accelerationPedalPosition airbagStatus:airbagStatus beltStatus:beltStatus bodyInformation:bodyInformation cloudAppVehicleID:NO clusterModeStatus:clusterModeStatus deviceStatus:deviceStatus driverBraking:driverBraking eCallInfo:eCallInfo electronicParkBrakeStatus:electronicParkBrakeStatus emergencyEvent:emergencyEvent engineOilLife:engineOilLife engineTorque:engineTorque externalTemperature:externalTemperature fuelLevel:fuelLevel fuelLevelState:fuelLevelState fuelRange:fuelRange gps:gps headLampStatus:headLampStatus instantFuelConsumption:instantFuelConsumption myKey:myKey odometer:odometer prndl:prndl rpm:rpm speed:speed stabilityControlsStatus:NO steeringWheelAngle:steeringWheelAngle tirePressure:tirePressure turnSignal:turnSignal vin:vin wiperStatus:wiperStatus];
}
- (instancetype)initWithAccelerationPedalPosition:(BOOL)accelerationPedalPosition airbagStatus:(BOOL)airbagStatus beltStatus:(BOOL)beltStatus bodyInformation:(BOOL)bodyInformation cloudAppVehicleID:(BOOL)cloudAppVehicleID clusterModeStatus:(BOOL)clusterModeStatus deviceStatus:(BOOL)deviceStatus driverBraking:(BOOL)driverBraking eCallInfo:(BOOL)eCallInfo electronicParkBrakeStatus:(BOOL)electronicParkBrakeStatus emergencyEvent:(BOOL)emergencyEvent engineOilLife:(BOOL)engineOilLife engineTorque:(BOOL)engineTorque externalTemperature:(BOOL)externalTemperature fuelLevel:(BOOL)fuelLevel fuelLevelState:(BOOL)fuelLevelState fuelRange:(BOOL)fuelRange gps:(BOOL)gps headLampStatus:(BOOL)headLampStatus instantFuelConsumption:(BOOL)instantFuelConsumption myKey:(BOOL)myKey odometer:(BOOL)odometer prndl:(BOOL)prndl rpm:(BOOL)rpm speed:(BOOL)speed steeringWheelAngle:(BOOL)steeringWheelAngle tirePressure:(BOOL)tirePressure turnSignal:(BOOL)turnSignal vin:(BOOL)vin wiperStatus:(BOOL)wiperStatus {
- return [self initWithAccelerationPedalPosition:accelerationPedalPosition airbagStatus:airbagStatus beltStatus:beltStatus bodyInformation:bodyInformation cloudAppVehicleID:cloudAppVehicleID clusterModeStatus:clusterModeStatus deviceStatus:deviceStatus driverBraking:driverBraking eCallInfo:eCallInfo electronicParkBrakeStatus:electronicParkBrakeStatus emergencyEvent:emergencyEvent engineOilLife:engineOilLife engineTorque:engineTorque externalTemperature:externalTemperature fuelLevel:fuelLevel fuelLevelState:fuelLevelState fuelRange:fuelRange gps:gps headLampStatus:headLampStatus instantFuelConsumption:instantFuelConsumption myKey:myKey odometer:odometer prndl:prndl rpm:rpm speed:speed steeringWheelAngle:steeringWheelAngle tirePressure:tirePressure turnSignal:turnSignal vin:vin wiperStatus:wiperStatus stabilityControlsStatus:NO];
+ return [self initWithAccelerationPedalPosition:accelerationPedalPosition airbagStatus:airbagStatus beltStatus:beltStatus bodyInformation:bodyInformation cloudAppVehicleID:cloudAppVehicleID clusterModeStatus:clusterModeStatus deviceStatus:deviceStatus driverBraking:driverBraking eCallInfo:eCallInfo electronicParkBrakeStatus:electronicParkBrakeStatus emergencyEvent:emergencyEvent engineOilLife:engineOilLife engineTorque:engineTorque externalTemperature:externalTemperature fuelLevel:fuelLevel fuelLevelState:fuelLevelState fuelRange:fuelRange gps:gps headLampStatus:headLampStatus instantFuelConsumption:instantFuelConsumption myKey:myKey odometer:odometer prndl:prndl rpm:rpm speed:speed stabilityControlsStatus:NO steeringWheelAngle:steeringWheelAngle tirePressure:tirePressure turnSignal:turnSignal vin:vin wiperStatus:wiperStatus];
}
-- (instancetype)initWithAccelerationPedalPosition:(BOOL)accelerationPedalPosition airbagStatus:(BOOL)airbagStatus beltStatus:(BOOL)beltStatus bodyInformation:(BOOL)bodyInformation cloudAppVehicleID:(BOOL)cloudAppVehicleID clusterModeStatus:(BOOL)clusterModeStatus deviceStatus:(BOOL)deviceStatus driverBraking:(BOOL)driverBraking eCallInfo:(BOOL)eCallInfo electronicParkBrakeStatus:(BOOL)electronicParkBrakeStatus emergencyEvent:(BOOL)emergencyEvent engineOilLife:(BOOL)engineOilLife engineTorque:(BOOL)engineTorque externalTemperature:(BOOL)externalTemperature fuelLevel:(BOOL)fuelLevel fuelLevelState:(BOOL)fuelLevelState fuelRange:(BOOL)fuelRange gps:(BOOL)gps headLampStatus:(BOOL)headLampStatus instantFuelConsumption:(BOOL)instantFuelConsumption myKey:(BOOL)myKey odometer:(BOOL)odometer prndl:(BOOL)prndl rpm:(BOOL)rpm speed:(BOOL)speed steeringWheelAngle:(BOOL)steeringWheelAngle tirePressure:(BOOL)tirePressure turnSignal:(BOOL)turnSignal vin:(BOOL)vin wiperStatus:(BOOL)wiperStatus stabilityControlsStatus:(BOOL)stabilityControlsStatus {
+- (instancetype)initWithAccelerationPedalPosition:(BOOL)accelerationPedalPosition airbagStatus:(BOOL)airbagStatus beltStatus:(BOOL)beltStatus bodyInformation:(BOOL)bodyInformation cloudAppVehicleID:(BOOL)cloudAppVehicleID clusterModeStatus:(BOOL)clusterModeStatus deviceStatus:(BOOL)deviceStatus driverBraking:(BOOL)driverBraking eCallInfo:(BOOL)eCallInfo electronicParkBrakeStatus:(BOOL)electronicParkBrakeStatus emergencyEvent:(BOOL)emergencyEvent engineOilLife:(BOOL)engineOilLife engineTorque:(BOOL)engineTorque externalTemperature:(BOOL)externalTemperature fuelLevel:(BOOL)fuelLevel fuelLevelState:(BOOL)fuelLevelState fuelRange:(BOOL)fuelRange gps:(BOOL)gps headLampStatus:(BOOL)headLampStatus instantFuelConsumption:(BOOL)instantFuelConsumption myKey:(BOOL)myKey odometer:(BOOL)odometer prndl:(BOOL)prndl rpm:(BOOL)rpm speed:(BOOL)speed stabilityControlsStatus:(BOOL)stabilityControlsStatus steeringWheelAngle:(BOOL)steeringWheelAngle tirePressure:(BOOL)tirePressure turnSignal:(BOOL)turnSignal vin:(BOOL)vin wiperStatus:(BOOL)wiperStatus {
self = [self init];
if (!self) {
return nil;
@@ -103,6 +103,44 @@ NS_ASSUME_NONNULL_BEGIN
return self;
}
+- (instancetype)initWithGps:(nullable NSNumber<SDLBool> *)gps speed:(nullable NSNumber<SDLBool> *)speed rpm:(nullable NSNumber<SDLBool> *)rpm fuelLevel:(nullable NSNumber<SDLBool> *)fuelLevel fuelLevel_State:(nullable NSNumber<SDLBool> *)fuelLevel_State instantFuelConsumption:(nullable NSNumber<SDLBool> *)instantFuelConsumption fuelRange:(nullable NSNumber<SDLBool> *)fuelRange externalTemperature:(nullable NSNumber<SDLBool> *)externalTemperature turnSignal:(nullable NSNumber<SDLBool> *)turnSignal vin:(nullable NSNumber<SDLBool> *)vin prndl:(nullable NSNumber<SDLBool> *)prndl tirePressure:(nullable NSNumber<SDLBool> *)tirePressure odometer:(nullable NSNumber<SDLBool> *)odometer beltStatus:(nullable NSNumber<SDLBool> *)beltStatus bodyInformation:(nullable NSNumber<SDLBool> *)bodyInformation deviceStatus:(nullable NSNumber<SDLBool> *)deviceStatus driverBraking:(nullable NSNumber<SDLBool> *)driverBraking wiperStatus:(nullable NSNumber<SDLBool> *)wiperStatus headLampStatus:(nullable NSNumber<SDLBool> *)headLampStatus engineTorque:(nullable NSNumber<SDLBool> *)engineTorque accPedalPosition:(nullable NSNumber<SDLBool> *)accPedalPosition steeringWheelAngle:(nullable NSNumber<SDLBool> *)steeringWheelAngle engineOilLife:(nullable NSNumber<SDLBool> *)engineOilLife electronicParkBrakeStatus:(nullable NSNumber<SDLBool> *)electronicParkBrakeStatus cloudAppVehicleID:(nullable NSNumber<SDLBool> *)cloudAppVehicleID eCallInfo:(nullable NSNumber<SDLBool> *)eCallInfo airbagStatus:(nullable NSNumber<SDLBool> *)airbagStatus emergencyEvent:(nullable NSNumber<SDLBool> *)emergencyEvent clusterModeStatus:(nullable NSNumber<SDLBool> *)clusterModeStatus myKey:(nullable NSNumber<SDLBool> *)myKey {
+ self = [self init];
+ if (!self) {
+ return nil;
+ }
+ self.gps = gps;
+ self.speed = speed;
+ self.rpm = rpm;
+ self.fuelLevel = fuelLevel;
+ self.fuelLevel_State = fuelLevel_State;
+ self.instantFuelConsumption = instantFuelConsumption;
+ self.fuelRange = fuelRange;
+ self.externalTemperature = externalTemperature;
+ self.turnSignal = turnSignal;
+ self.vin = vin;
+ self.prndl = prndl;
+ self.tirePressure = tirePressure;
+ self.odometer = odometer;
+ self.beltStatus = beltStatus;
+ self.bodyInformation = bodyInformation;
+ self.deviceStatus = deviceStatus;
+ self.driverBraking = driverBraking;
+ self.wiperStatus = wiperStatus;
+ self.headLampStatus = headLampStatus;
+ self.engineTorque = engineTorque;
+ self.accPedalPosition = accPedalPosition;
+ self.steeringWheelAngle = steeringWheelAngle;
+ self.engineOilLife = engineOilLife;
+ self.electronicParkBrakeStatus = electronicParkBrakeStatus;
+ self.cloudAppVehicleID = cloudAppVehicleID;
+ self.eCallInfo = eCallInfo;
+ self.airbagStatus = airbagStatus;
+ self.emergencyEvent = emergencyEvent;
+ self.clusterModeStatus = clusterModeStatus;
+ self.myKey = myKey;
+ return self;
+}
+
- (void)setGps:(nullable NSNumber<SDLBool> *)gps {
[self.parameters sdl_setObject:gps forName:SDLRPCParameterNameGPS];
}
diff --git a/SmartDeviceLink/SDLGetVehicleDataResponse.h b/SmartDeviceLink/SDLGetVehicleDataResponse.h
index e717e2152..c80daf9d2 100644
--- a/SmartDeviceLink/SDLGetVehicleDataResponse.h
+++ b/SmartDeviceLink/SDLGetVehicleDataResponse.h
@@ -274,7 +274,7 @@ NS_ASSUME_NONNULL_BEGIN
*
* Optional.
*
- * @since SDL 6.2.0
+ * @since SDL 7.0.0
*/
@property (strong, nonatomic, nullable) SDLStabilityControlsStatus *stabilityControlsStatus;
diff --git a/SmartDeviceLink/SDLOnVehicleData.h b/SmartDeviceLink/SDLOnVehicleData.h
index 793f7e58f..f0fd17a4e 100644
--- a/SmartDeviceLink/SDLOnVehicleData.h
+++ b/SmartDeviceLink/SDLOnVehicleData.h
@@ -62,200 +62,238 @@ NS_ASSUME_NONNULL_BEGIN
@interface SDLOnVehicleData : SDLRPCNotification
/**
- The car current GPS coordinates
+ * note: RPC generator produced initializer
+ * @param gps - gps
+ * @param speed - @(speed)
+ * @param rpm - rpm
+ * @param fuelLevel - @(fuelLevel)
+ * @param fuelLevel_State - fuelLevel_State
+ * @param instantFuelConsumption - @(instantFuelConsumption)
+ * @param fuelRange - fuelRange
+ * @param externalTemperature - @(externalTemperature)
+ * @param turnSignal - turnSignal
+ * @param vin - vin
+ * @param prndl - prndl
+ * @param tirePressure - tirePressure
+ * @param odometer - odometer
+ * @param beltStatus - beltStatus
+ * @param bodyInformation - bodyInformation
+ * @param deviceStatus - deviceStatus
+ * @param driverBraking - driverBraking
+ * @param wiperStatus - wiperStatus
+ * @param headLampStatus - headLampStatus
+ * @param engineTorque - @(engineTorque)
+ * @param accPedalPosition - @(accPedalPosition)
+ * @param steeringWheelAngle - @(steeringWheelAngle)
+ * @param engineOilLife - @(engineOilLife)
+ * @param electronicParkBrakeStatus - electronicParkBrakeStatus
+ * @param cloudAppVehicleID - cloudAppVehicleID
+ * @param eCallInfo - eCallInfo
+ * @param airbagStatus - airbagStatus
+ * @param emergencyEvent - emergencyEvent
+ * @param clusterModeStatus - clusterModeStatus
+ * @param myKey - myKey
+ * @return A SDLOnVehicleData object
+ */
+- (instancetype)initWithGps:(nullable SDLGPSData *)gps speed:(float)speed rpm:(nullable NSNumber<SDLUInt> *)rpm fuelLevel:(float)fuelLevel fuelLevel_State:(nullable SDLComponentVolumeStatus)fuelLevel_State instantFuelConsumption:(float)instantFuelConsumption fuelRange:(nullable NSArray<SDLFuelRange *> *)fuelRange externalTemperature:(float)externalTemperature turnSignal:(nullable SDLTurnSignal)turnSignal vin:(nullable NSString *)vin prndl:(nullable SDLPRNDL)prndl tirePressure:(nullable SDLTireStatus *)tirePressure odometer:(nullable NSNumber<SDLUInt> *)odometer beltStatus:(nullable SDLBeltStatus *)beltStatus bodyInformation:(nullable SDLBodyInformation *)bodyInformation deviceStatus:(nullable SDLDeviceStatus *)deviceStatus driverBraking:(nullable SDLVehicleDataEventStatus)driverBraking wiperStatus:(nullable SDLWiperStatus)wiperStatus headLampStatus:(nullable SDLHeadLampStatus *)headLampStatus engineTorque:(float)engineTorque accPedalPosition:(float)accPedalPosition steeringWheelAngle:(float)steeringWheelAngle engineOilLife:(float)engineOilLife electronicParkBrakeStatus:(nullable SDLElectronicParkBrakeStatus)electronicParkBrakeStatus cloudAppVehicleID:(nullable NSString *)cloudAppVehicleID eCallInfo:(nullable SDLECallInfo *)eCallInfo airbagStatus:(nullable SDLAirbagStatus *)airbagStatus emergencyEvent:(nullable SDLEmergencyEvent *)emergencyEvent clusterModeStatus:(nullable SDLClusterModeStatus *)clusterModeStatus myKey:(nullable SDLMyKey *)myKey;
+
+/**
+ Accelerator pedal position (percentage depressed)
Optional.
*/
-@property (strong, nonatomic, nullable) SDLGPSData *gps;
+@property (strong, nonatomic, nullable) NSNumber<SDLFloat> *accPedalPosition;
/**
- The vehicle speed in kilometers per hour
+ The status of the air bags
Optional.
*/
-@property (strong, nonatomic, nullable) NSNumber<SDLFloat> *speed;
+@property (strong, nonatomic, nullable) SDLAirbagStatus *airbagStatus;
/**
- The number of revolutions per minute of the engine.
+ The status of the seat belts
Optional.
*/
-@property (strong, nonatomic, nullable) NSNumber<SDLInt> *rpm;
+@property (strong, nonatomic, nullable) SDLBeltStatus *beltStatus;
/**
- The fuel level in the tank (percentage)
+ The body information including power modes
Optional.
*/
-@property (strong, nonatomic, nullable) NSNumber<SDLFloat> *fuelLevel;
+@property (strong, nonatomic, nullable) SDLBodyInformation *bodyInformation;
/**
- The fuel level state
+ The cloud app vehicle ID
Optional.
*/
-@property (strong, nonatomic, nullable) SDLComponentVolumeStatus fuelLevel_State;
+@property (strong, nonatomic, nullable) NSString *cloudAppVehicleID;
/**
- The estimate range in KM the vehicle can travel based on fuel level and consumption
+ The status modes of the cluster
- Optional, Array of length 0 - 100, of SDLFuelRange
+ Optional.
*/
-@property (strong, nonatomic, nullable) NSArray<SDLFuelRange *> *fuelRange;
+@property (strong, nonatomic, nullable) SDLClusterModeStatus *clusterModeStatus;
/**
- The instantaneous fuel consumption in microlitres
+ The IVI system status including signal and battery strength
Optional.
*/
-@property (strong, nonatomic, nullable) NSNumber<SDLFloat> *instantFuelConsumption;
+@property (strong, nonatomic, nullable) SDLDeviceStatus *deviceStatus;
/**
- The external temperature in degrees celsius.
+ The status of the brake pedal
Optional.
*/
-@property (strong, nonatomic, nullable) NSNumber<SDLFloat> *externalTemperature;
+@property (strong, nonatomic, nullable) SDLVehicleDataEventStatus driverBraking;
/**
- The Vehicle Identification Number
+ Emergency Call notification and confirmation data
Optional.
*/
-@property (strong, nonatomic, nullable) NSString *vin;
+@property (strong, nonatomic, nullable) SDLECallInfo *eCallInfo;
/**
- The current gear shift state of the user's vehicle
+ The status of the electronic parking brake
Optional.
*/
-@property (strong, nonatomic, nullable) SDLPRNDL prndl;
+@property (strong, nonatomic, nullable) SDLElectronicParkBrakeStatus electronicParkBrakeStatus;
/**
- The current pressure warnings for the user's vehicle
+ Information related to an emergency event (and if it occurred)
Optional.
*/
-@property (strong, nonatomic, nullable) SDLTireStatus *tirePressure;
+@property (strong, nonatomic, nullable) SDLEmergencyEvent *emergencyEvent;
/**
- Odometer reading in km
+ The estimated percentage (0% - 100%) of remaining oil life of the engine
Optional.
*/
-@property (strong, nonatomic, nullable) NSNumber<SDLInt> *odometer;
+@property (strong, nonatomic, nullable) NSNumber<SDLFloat> *engineOilLife;
/**
- The status of the seat belts
+ Torque value for engine (in Nm) on non-diesel variants
Optional.
*/
-@property (strong, nonatomic, nullable) SDLBeltStatus *beltStatus;
+@property (strong, nonatomic, nullable) NSNumber<SDLFloat> *engineTorque;
/**
- The body information including power modes
+ The external temperature in degrees celsius.
Optional.
*/
-@property (strong, nonatomic, nullable) SDLBodyInformation *bodyInformation;
+@property (strong, nonatomic, nullable) NSNumber<SDLFloat> *externalTemperature;
/**
- The IVI system status including signal and battery strength
+ The fuel level in the tank (percentage)
Optional.
*/
-@property (strong, nonatomic, nullable) SDLDeviceStatus *deviceStatus;
+@property (strong, nonatomic, nullable) NSNumber<SDLFloat> *fuelLevel;
/**
- The status of the brake pedal
+ The fuel level state
Optional.
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataEventStatus driverBraking;
+@property (strong, nonatomic, nullable) SDLComponentVolumeStatus fuelLevel_State;
/**
- The status of the wipers
+ The estimate range in KM the vehicle can travel based on fuel level and consumption
- Optional.
+ Optional, Array of length 0 - 100, of SDLFuelRange
*/
-@property (strong, nonatomic, nullable) SDLWiperStatus wiperStatus;
+@property (strong, nonatomic, nullable) NSArray<SDLFuelRange *> *fuelRange;
/**
- Status of the head lamps
+ The car current GPS coordinates
Optional.
*/
-@property (strong, nonatomic, nullable) SDLHeadLampStatus *headLampStatus;
+@property (strong, nonatomic, nullable) SDLGPSData *gps;
/**
- The estimated percentage (0% - 100%) of remaining oil life of the engine
+ Status of the head lamps
Optional.
*/
-@property (strong, nonatomic, nullable) NSNumber<SDLFloat> *engineOilLife;
+@property (strong, nonatomic, nullable) SDLHeadLampStatus *headLampStatus;
/**
- Torque value for engine (in Nm) on non-diesel variants
+ The instantaneous fuel consumption in microlitres
Optional.
*/
-@property (strong, nonatomic, nullable) NSNumber<SDLFloat> *engineTorque;
+@property (strong, nonatomic, nullable) NSNumber<SDLFloat> *instantFuelConsumption;
/**
- Accelerator pedal position (percentage depressed)
+ Information related to the MyKey feature
Optional.
*/
-@property (strong, nonatomic, nullable) NSNumber<SDLFloat> *accPedalPosition;
+@property (strong, nonatomic, nullable) SDLMyKey *myKey;
/**
- Current angle of the steering wheel (in deg)
+ Odometer reading in km
Optional.
*/
-@property (strong, nonatomic, nullable) NSNumber<SDLFloat> *steeringWheelAngle;
+@property (strong, nonatomic, nullable) NSNumber<SDLInt> *odometer;
/**
- Emergency Call notification and confirmation data
+ The current gear shift state of the user's vehicle
Optional.
*/
-@property (strong, nonatomic, nullable) SDLECallInfo *eCallInfo;
+@property (strong, nonatomic, nullable) SDLPRNDL prndl;
/**
- The status of the air bags
+ The number of revolutions per minute of the engine.
Optional.
*/
-@property (strong, nonatomic, nullable) SDLAirbagStatus *airbagStatus;
+@property (strong, nonatomic, nullable) NSNumber<SDLInt> *rpm;
/**
- Information related to an emergency event (and if it occurred)
+ The vehicle speed in kilometers per hour
Optional.
*/
-@property (strong, nonatomic, nullable) SDLEmergencyEvent *emergencyEvent;
+@property (strong, nonatomic, nullable) NSNumber<SDLFloat> *speed;
/**
- The status modes of the cluster
-
- Optional.
+ * See StabilityControlsStatus
+ *
+ * Optional.
+ *
+ * @since SDL 7.0.0
*/
-@property (strong, nonatomic, nullable) SDLClusterModeStatus *clusterModeStatus;
+@property (strong, nonatomic, nullable) SDLStabilityControlsStatus *stabilityControlsStatus;
/**
- Information related to the MyKey feature
+ Current angle of the steering wheel (in deg)
Optional.
*/
-@property (strong, nonatomic, nullable) SDLMyKey *myKey;
+@property (strong, nonatomic, nullable) NSNumber<SDLFloat> *steeringWheelAngle;
/**
- The status of the electronic parking brake
+ The current pressure warnings for the user's vehicle
Optional.
*/
-@property (strong, nonatomic, nullable) SDLElectronicParkBrakeStatus electronicParkBrakeStatus;
+@property (strong, nonatomic, nullable) SDLTireStatus *tirePressure;
/**
The status of the turn signal
@@ -265,20 +303,18 @@ NS_ASSUME_NONNULL_BEGIN
@property (strong, nonatomic, nullable) SDLTurnSignal turnSignal;
/**
- The cloud app vehicle ID
+ The Vehicle Identification Number
Optional.
*/
-@property (strong, nonatomic, nullable) NSString *cloudAppVehicleID;
+@property (strong, nonatomic, nullable) NSString *vin;
/**
- * See StabilityControlsStatus
- *
- * Optional.
- *
- * @since SDL 6.2.0
+ The status of the wipers
+
+ Optional.
*/
-@property (strong, nonatomic, nullable) SDLStabilityControlsStatus *stabilityControlsStatus;
+@property (strong, nonatomic, nullable) SDLWiperStatus wiperStatus;
/**
Sets the OEM custom vehicle data state for any given OEM custom vehicle data name.
diff --git a/SmartDeviceLink/SDLOnVehicleData.m b/SmartDeviceLink/SDLOnVehicleData.m
index e028d0ac8..2b182bf68 100644
--- a/SmartDeviceLink/SDLOnVehicleData.m
+++ b/SmartDeviceLink/SDLOnVehicleData.m
@@ -69,6 +69,44 @@ NS_ASSUME_NONNULL_BEGIN
}
#pragma clang diagnostic pop
+- (instancetype)initWithGps:(nullable SDLGPSData *)gps speed:(float)speed rpm:(nullable NSNumber<SDLUInt> *)rpm fuelLevel:(float)fuelLevel fuelLevel_State:(nullable SDLComponentVolumeStatus)fuelLevel_State instantFuelConsumption:(float)instantFuelConsumption fuelRange:(nullable NSArray<SDLFuelRange *> *)fuelRange externalTemperature:(float)externalTemperature turnSignal:(nullable SDLTurnSignal)turnSignal vin:(nullable NSString *)vin prndl:(nullable SDLPRNDL)prndl tirePressure:(nullable SDLTireStatus *)tirePressure odometer:(nullable NSNumber<SDLUInt> *)odometer beltStatus:(nullable SDLBeltStatus *)beltStatus bodyInformation:(nullable SDLBodyInformation *)bodyInformation deviceStatus:(nullable SDLDeviceStatus *)deviceStatus driverBraking:(nullable SDLVehicleDataEventStatus)driverBraking wiperStatus:(nullable SDLWiperStatus)wiperStatus headLampStatus:(nullable SDLHeadLampStatus *)headLampStatus engineTorque:(float)engineTorque accPedalPosition:(float)accPedalPosition steeringWheelAngle:(float)steeringWheelAngle engineOilLife:(float)engineOilLife electronicParkBrakeStatus:(nullable SDLElectronicParkBrakeStatus)electronicParkBrakeStatus cloudAppVehicleID:(nullable NSString *)cloudAppVehicleID eCallInfo:(nullable SDLECallInfo *)eCallInfo airbagStatus:(nullable SDLAirbagStatus *)airbagStatus emergencyEvent:(nullable SDLEmergencyEvent *)emergencyEvent clusterModeStatus:(nullable SDLClusterModeStatus *)clusterModeStatus myKey:(nullable SDLMyKey *)myKey {
+ self = [self init];
+ if (!self) {
+ return nil;
+ }
+ self.gps = gps;
+ self.speed = @(speed);
+ self.rpm = rpm;
+ self.fuelLevel = @(fuelLevel);
+ self.fuelLevel_State = fuelLevel_State;
+ self.instantFuelConsumption = @(instantFuelConsumption);
+ self.fuelRange = fuelRange;
+ self.externalTemperature = @(externalTemperature);
+ self.turnSignal = turnSignal;
+ self.vin = vin;
+ self.prndl = prndl;
+ self.tirePressure = tirePressure;
+ self.odometer = odometer;
+ self.beltStatus = beltStatus;
+ self.bodyInformation = bodyInformation;
+ self.deviceStatus = deviceStatus;
+ self.driverBraking = driverBraking;
+ self.wiperStatus = wiperStatus;
+ self.headLampStatus = headLampStatus;
+ self.engineTorque = @(engineTorque);
+ self.accPedalPosition = @(accPedalPosition);
+ self.steeringWheelAngle = @(steeringWheelAngle);
+ self.engineOilLife = @(engineOilLife);
+ self.electronicParkBrakeStatus = electronicParkBrakeStatus;
+ self.cloudAppVehicleID = cloudAppVehicleID;
+ self.eCallInfo = eCallInfo;
+ self.airbagStatus = airbagStatus;
+ self.emergencyEvent = emergencyEvent;
+ self.clusterModeStatus = clusterModeStatus;
+ self.myKey = myKey;
+ return self;
+}
+
- (void)setGps:(nullable SDLGPSData *)gps {
[self.parameters sdl_setObject:gps forName:SDLRPCParameterNameGPS];
}
diff --git a/SmartDeviceLink/SDLStabilityControlsStatus.h b/SmartDeviceLink/SDLStabilityControlsStatus.h
index b60b0b8d9..dc9d00b51 100644
--- a/SmartDeviceLink/SDLStabilityControlsStatus.h
+++ b/SmartDeviceLink/SDLStabilityControlsStatus.h
@@ -36,7 +36,7 @@
NS_ASSUME_NONNULL_BEGIN
/**
- * @since SDL 6.2.0
+ * @since SDL 7.0.0
*/
@interface SDLStabilityControlsStatus : SDLRPCStruct
diff --git a/SmartDeviceLink/SDLSubscribeVehicleData.h b/SmartDeviceLink/SDLSubscribeVehicleData.h
index a6560f0af..8cfef970e 100644
--- a/SmartDeviceLink/SDLSubscribeVehicleData.h
+++ b/SmartDeviceLink/SDLSubscribeVehicleData.h
@@ -147,6 +147,7 @@ NS_ASSUME_NONNULL_BEGIN
/**
* Convenience init for subscribing to all possible vehicle data items.
+ * @since 7.0.0
*
* @param accelerationPedalPosition Subscribe to accelerationPedalPosition
* @param airbagStatus Subscribe to airbagStatus
@@ -173,226 +174,261 @@ NS_ASSUME_NONNULL_BEGIN
* @param prndl Subscribe to prndl
* @param rpm Subscribe to rpm
* @param speed Subscribe to speed
+ * @param stabilityControlsStatus Subscribe for stabilityControlsStatus
* @param steeringWheelAngle Subscribe to steeringWheelAngle
* @param tirePressure Subscribe to tirePressure
* @param turnSignal Subscribe to turnSignal
* @param wiperStatus Subscribe to wiperStatus
- * @param stabilityControlsStatus Subscribe for stabilityControlsStatus
* @return A SDLSubscribeVehicleData object
*/
-- (instancetype)initWithAccelerationPedalPosition:(BOOL)accelerationPedalPosition airbagStatus:(BOOL)airbagStatus beltStatus:(BOOL)beltStatus bodyInformation:(BOOL)bodyInformation cloudAppVehicleID:(BOOL)cloudAppVehicleID clusterModeStatus:(BOOL)clusterModeStatus deviceStatus:(BOOL)deviceStatus driverBraking:(BOOL)driverBraking eCallInfo:(BOOL)eCallInfo electronicParkBrakeStatus:(BOOL)electronicParkBrakeStatus emergencyEvent:(BOOL)emergencyEvent engineOilLife:(BOOL)engineOilLife engineTorque:(BOOL)engineTorque externalTemperature:(BOOL)externalTemperature fuelLevel:(BOOL)fuelLevel fuelLevelState:(BOOL)fuelLevelState fuelRange:(BOOL)fuelRange gps:(BOOL)gps headLampStatus:(BOOL)headLampStatus instantFuelConsumption:(BOOL)instantFuelConsumption myKey:(BOOL)myKey odometer:(BOOL)odometer prndl:(BOOL)prndl rpm:(BOOL)rpm speed:(BOOL)speed steeringWheelAngle:(BOOL)steeringWheelAngle tirePressure:(BOOL)tirePressure turnSignal:(BOOL)turnSignal wiperStatus:(BOOL)wiperStatus stabilityControlsStatus:(BOOL)stabilityControlsStatus;
+- (instancetype)initWithAccelerationPedalPosition:(BOOL)accelerationPedalPosition airbagStatus:(BOOL)airbagStatus beltStatus:(BOOL)beltStatus bodyInformation:(BOOL)bodyInformation cloudAppVehicleID:(BOOL)cloudAppVehicleID clusterModeStatus:(BOOL)clusterModeStatus deviceStatus:(BOOL)deviceStatus driverBraking:(BOOL)driverBraking eCallInfo:(BOOL)eCallInfo electronicParkBrakeStatus:(BOOL)electronicParkBrakeStatus emergencyEvent:(BOOL)emergencyEvent engineOilLife:(BOOL)engineOilLife engineTorque:(BOOL)engineTorque externalTemperature:(BOOL)externalTemperature fuelLevel:(BOOL)fuelLevel fuelLevelState:(BOOL)fuelLevelState fuelRange:(BOOL)fuelRange gps:(BOOL)gps headLampStatus:(BOOL)headLampStatus instantFuelConsumption:(BOOL)instantFuelConsumption myKey:(BOOL)myKey odometer:(BOOL)odometer prndl:(BOOL)prndl rpm:(BOOL)rpm speed:(BOOL)speed stabilityControlsStatus:(BOOL)stabilityControlsStatus steeringWheelAngle:(BOOL)steeringWheelAngle tirePressure:(BOOL)tirePressure turnSignal:(BOOL)turnSignal wiperStatus:(BOOL)wiperStatus;
+
+/**
+ * note: RPC generator produced initializer
+ * @param gps - gps
+ * @param speed - speed
+ * @param rpm - rpm
+ * @param fuelLevel - fuelLevel
+ * @param fuelLevel_State - fuelLevel_State
+ * @param instantFuelConsumption - instantFuelConsumption
+ * @param fuelRange - fuelRange
+ * @param externalTemperature - externalTemperature
+ * @param turnSignal - turnSignal
+ * @param prndl - prndl
+ * @param tirePressure - tirePressure
+ * @param odometer - odometer
+ * @param beltStatus - beltStatus
+ * @param bodyInformation - bodyInformation
+ * @param deviceStatus - deviceStatus
+ * @param driverBraking - driverBraking
+ * @param wiperStatus - wiperStatus
+ * @param headLampStatus - headLampStatus
+ * @param engineTorque - engineTorque
+ * @param accPedalPosition - accPedalPosition
+ * @param steeringWheelAngle - steeringWheelAngle
+ * @param engineOilLife - engineOilLife
+ * @param electronicParkBrakeStatus - electronicParkBrakeStatus
+ * @param cloudAppVehicleID - cloudAppVehicleID
+ * @param eCallInfo - eCallInfo
+ * @param airbagStatus - airbagStatus
+ * @param emergencyEvent - emergencyEvent
+ * @param clusterModeStatus - clusterModeStatus
+ * @param myKey - myKey
+ * @return A SDLSubscribeVehicleData object
+ */
+- (instancetype)initWithGps:(nullable NSNumber<SDLBool> *)gps speed:(nullable NSNumber<SDLBool> *)speed rpm:(nullable NSNumber<SDLBool> *)rpm fuelLevel:(nullable NSNumber<SDLBool> *)fuelLevel fuelLevel_State:(nullable NSNumber<SDLBool> *)fuelLevel_State instantFuelConsumption:(nullable NSNumber<SDLBool> *)instantFuelConsumption fuelRange:(nullable NSNumber<SDLBool> *)fuelRange externalTemperature:(nullable NSNumber<SDLBool> *)externalTemperature turnSignal:(nullable NSNumber<SDLBool> *)turnSignal prndl:(nullable NSNumber<SDLBool> *)prndl tirePressure:(nullable NSNumber<SDLBool> *)tirePressure odometer:(nullable NSNumber<SDLBool> *)odometer beltStatus:(nullable NSNumber<SDLBool> *)beltStatus bodyInformation:(nullable NSNumber<SDLBool> *)bodyInformation deviceStatus:(nullable NSNumber<SDLBool> *)deviceStatus driverBraking:(nullable NSNumber<SDLBool> *)driverBraking wiperStatus:(nullable NSNumber<SDLBool> *)wiperStatus headLampStatus:(nullable NSNumber<SDLBool> *)headLampStatus engineTorque:(nullable NSNumber<SDLBool> *)engineTorque accPedalPosition:(nullable NSNumber<SDLBool> *)accPedalPosition steeringWheelAngle:(nullable NSNumber<SDLBool> *)steeringWheelAngle engineOilLife:(nullable NSNumber<SDLBool> *)engineOilLife electronicParkBrakeStatus:(nullable NSNumber<SDLBool> *)electronicParkBrakeStatus cloudAppVehicleID:(nullable NSNumber<SDLBool> *)cloudAppVehicleID eCallInfo:(nullable NSNumber<SDLBool> *)eCallInfo airbagStatus:(nullable NSNumber<SDLBool> *)airbagStatus emergencyEvent:(nullable NSNumber<SDLBool> *)emergencyEvent clusterModeStatus:(nullable NSNumber<SDLBool> *)clusterModeStatus myKey:(nullable NSNumber<SDLBool> *)myKey;
/**
- * A boolean value. If true, subscribes GPS data.
+ * A boolean value. If true, subscribes Acc Pedal Position data.
*
* Optional.
*/
-@property (strong, nonatomic, nullable) NSNumber<SDLBool> *gps;
+@property (strong, nonatomic, nullable) NSNumber<SDLBool> *accPedalPosition;
/**
- * A boolean value. If true, subscribes Speed data.
+ * A boolean value. If true, subscribes Airbag Status data.
*
* Optional.
*/
-@property (strong, nonatomic, nullable) NSNumber<SDLBool> *speed;
+@property (strong, nonatomic, nullable) NSNumber<SDLBool> *airbagStatus;
/**
- * A boolean value. If true, subscribes RPM data.
+ * A boolean value. If true, subscribes Belt Status data.
*
* Optional.
*/
-@property (strong, nonatomic, nullable) NSNumber<SDLBool> *rpm;
+@property (strong, nonatomic, nullable) NSNumber<SDLBool> *beltStatus;
/**
- * A boolean value. If true, subscribes Fuel Level data.
+ * A boolean value. If true, subscribes Body Information data.
*
* Optional.
*/
-@property (strong, nonatomic, nullable) NSNumber<SDLBool> *fuelLevel;
+@property (strong, nonatomic, nullable) NSNumber<SDLBool> *bodyInformation;
/**
- * A boolean value. If true, subscribes Fuel Level State data.
+ * A boolean value. If true, subscribes to the cloud app vehicle ID.
*
* Optional.
*/
-@property (strong, nonatomic, nullable) NSNumber<SDLBool> *fuelLevel_State;
+@property (strong, nonatomic, nullable) NSNumber<SDLBool> *cloudAppVehicleID;
/**
- * A boolean value. If true, subscribes Fuel Range data.
+ * A boolean value. If true, subscribes Cluster Mode Status data.
*
* Optional.
*/
-@property (strong, nonatomic, nullable) NSNumber<SDLBool> *fuelRange;
+@property (strong, nonatomic, nullable) NSNumber<SDLBool> *clusterModeStatus;
/**
- * A boolean value. If true, subscribes Instant Fuel Consumption data.
+ * A boolean value. If true, subscribes Device Status data.
*
* Optional.
*/
-@property (strong, nonatomic, nullable) NSNumber<SDLBool> *instantFuelConsumption;
+@property (strong, nonatomic, nullable) NSNumber<SDLBool> *deviceStatus;
/**
- * A boolean value. If true, subscribes External Temperature data.
+ * A boolean value. If true, subscribes Driver Braking data.
*
* Optional.
*/
-@property (strong, nonatomic, nullable) NSNumber<SDLBool> *externalTemperature;
+@property (strong, nonatomic, nullable) NSNumber<SDLBool> *driverBraking;
/**
- * A boolean value. If true, subscribes PRNDL data.
+ * A boolean value. If true, subscribes eCall Info data.
*
* Optional.
*/
-@property (strong, nonatomic, nullable) NSNumber<SDLBool> *prndl;
+@property (strong, nonatomic, nullable) NSNumber<SDLBool> *eCallInfo;
/**
- * A boolean value. If true, subscribes Tire Pressure status data.
+ * A boolean value. If true, subscribes to the electronic parking brake status.
*
* Optional.
*/
-@property (strong, nonatomic, nullable) NSNumber<SDLBool> *tirePressure;
+@property (strong, nonatomic, nullable) NSNumber<SDLBool> *electronicParkBrakeStatus;
/**
- * A boolean value. If true, subscribes Odometer data.
+ * A boolean value. If true, subscribes Emergency Event data.
*
* Optional.
*/
-@property (strong, nonatomic, nullable) NSNumber<SDLBool> *odometer;
+@property (strong, nonatomic, nullable) NSNumber<SDLBool> *emergencyEvent;
/**
- * A boolean value. If true, subscribes Belt Status data.
+ * A boolean value. If true, subscribes to Engine Oil Life data.
*
* Optional.
*/
-@property (strong, nonatomic, nullable) NSNumber<SDLBool> *beltStatus;
+@property (strong, nonatomic, nullable) NSNumber<SDLBool> *engineOilLife;
/**
- * A boolean value. If true, subscribes Body Information data.
+ * A boolean value. If true, subscribes Engine Torque data.
*
* Optional.
*/
-@property (strong, nonatomic, nullable) NSNumber<SDLBool> *bodyInformation;
+@property (strong, nonatomic, nullable) NSNumber<SDLBool> *engineTorque;
/**
- * A boolean value. If true, subscribes Device Status data.
+ * A boolean value. If true, subscribes External Temperature data.
*
* Optional.
*/
-@property (strong, nonatomic, nullable) NSNumber<SDLBool> *deviceStatus;
+@property (strong, nonatomic, nullable) NSNumber<SDLBool> *externalTemperature;
/**
- * A boolean value. If true, subscribes Driver Braking data.
+ * A boolean value. If true, subscribes Fuel Level data.
*
* Optional.
*/
-@property (strong, nonatomic, nullable) NSNumber<SDLBool> *driverBraking;
+@property (strong, nonatomic, nullable) NSNumber<SDLBool> *fuelLevel;
/**
- * A boolean value. If true, subscribes Wiper Status data.
+ * A boolean value. If true, subscribes Fuel Level State data.
*
* Optional.
*/
-@property (strong, nonatomic, nullable) NSNumber<SDLBool> *wiperStatus;
+@property (strong, nonatomic, nullable) NSNumber<SDLBool> *fuelLevel_State;
/**
- * A boolean value. If true, subscribes Head Lamp Status data.
+ * A boolean value. If true, subscribes Fuel Range data.
*
* Optional.
*/
-@property (strong, nonatomic, nullable) NSNumber<SDLBool> *headLampStatus;
+@property (strong, nonatomic, nullable) NSNumber<SDLBool> *fuelRange;
/**
- * A boolean value. If true, subscribes to Engine Oil Life data.
+ * A boolean value. If true, subscribes GPS data.
*
* Optional.
*/
-@property (strong, nonatomic, nullable) NSNumber<SDLBool> *engineOilLife;
+@property (strong, nonatomic, nullable) NSNumber<SDLBool> *gps;
/**
- * A boolean value. If true, subscribes Engine Torque data.
+ * A boolean value. If true, subscribes Head Lamp Status data.
*
* Optional.
*/
-@property (strong, nonatomic, nullable) NSNumber<SDLBool> *engineTorque;
+@property (strong, nonatomic, nullable) NSNumber<SDLBool> *headLampStatus;
/**
- * A boolean value. If true, subscribes Acc Pedal Position data.
+ * A boolean value. If true, subscribes Instant Fuel Consumption data.
*
* Optional.
*/
-@property (strong, nonatomic, nullable) NSNumber<SDLBool> *accPedalPosition;
+@property (strong, nonatomic, nullable) NSNumber<SDLBool> *instantFuelConsumption;
/**
- * A boolean value. If true, subscribes Steering Wheel Angle data.
+ * A boolean value. If true, subscribes myKey data.
*
* Optional.
*/
-@property (strong, nonatomic, nullable) NSNumber<SDLBool> *steeringWheelAngle;
+@property (strong, nonatomic, nullable) NSNumber<SDLBool> *myKey;
/**
- * A boolean value. If true, subscribes eCall Info data.
+ * A boolean value. If true, subscribes Odometer data.
*
* Optional.
*/
-@property (strong, nonatomic, nullable) NSNumber<SDLBool> *eCallInfo;
+@property (strong, nonatomic, nullable) NSNumber<SDLBool> *odometer;
/**
- * A boolean value. If true, subscribes Airbag Status data.
+ * A boolean value. If true, subscribes PRNDL data.
*
* Optional.
*/
-@property (strong, nonatomic, nullable) NSNumber<SDLBool> *airbagStatus;
+@property (strong, nonatomic, nullable) NSNumber<SDLBool> *prndl;
/**
- * A boolean value. If true, subscribes Emergency Event data.
+ * A boolean value. If true, subscribes RPM data.
*
* Optional.
*/
-@property (strong, nonatomic, nullable) NSNumber<SDLBool> *emergencyEvent;
+@property (strong, nonatomic, nullable) NSNumber<SDLBool> *rpm;
/**
- * A boolean value. If true, subscribes Cluster Mode Status data.
+ * A boolean value. If true, subscribes Speed data.
*
* Optional.
*/
-@property (strong, nonatomic, nullable) NSNumber<SDLBool> *clusterModeStatus;
+@property (strong, nonatomic, nullable) NSNumber<SDLBool> *speed;
/**
- * A boolean value. If true, subscribes myKey data.
+ * See StabilityControlsStatus
*
* Optional.
+ *
+ * @since SDL 7.0.0
*/
-@property (strong, nonatomic, nullable) NSNumber<SDLBool> *myKey;
+@property (strong, nonatomic, nullable) NSNumber<SDLBool> *stabilityControlsStatus;
/**
- * A boolean value. If true, subscribes to the electronic parking brake status.
+ * A boolean value. If true, subscribes Steering Wheel Angle data.
*
* Optional.
*/
-@property (strong, nonatomic, nullable) NSNumber<SDLBool> *electronicParkBrakeStatus;
+@property (strong, nonatomic, nullable) NSNumber<SDLBool> *steeringWheelAngle;
/**
- * A boolean value. If true, subscribes to the turn signal status.
+ * A boolean value. If true, subscribes Tire Pressure status data.
*
* Optional.
*/
-@property (strong, nonatomic, nullable) NSNumber<SDLBool> *turnSignal;
+@property (strong, nonatomic, nullable) NSNumber<SDLBool> *tirePressure;
/**
- * A boolean value. If true, subscribes to the cloud app vehicle ID.
+ * A boolean value. If true, subscribes to the turn signal status.
*
* Optional.
*/
-@property (strong, nonatomic, nullable) NSNumber<SDLBool> *cloudAppVehicleID;
+@property (strong, nonatomic, nullable) NSNumber<SDLBool> *turnSignal;
/**
- * See StabilityControlsStatus
+ * A boolean value. If true, subscribes Wiper Status data.
*
* Optional.
- *
- * @since SDL 6.2.0
*/
-@property (strong, nonatomic, nullable) NSNumber<SDLBool> *stabilityControlsStatus;
+@property (strong, nonatomic, nullable) NSNumber<SDLBool> *wiperStatus;
/**
Sets the OEM custom vehicle data state for any given OEM custom vehicle data name.
@@ -414,8 +450,6 @@ NS_ASSUME_NONNULL_BEGIN
*/
- (nullable NSNumber<SDLBool> *)getOEMCustomVehicleData:(NSString *)vehicleDataName;
-
-
@end
NS_ASSUME_NONNULL_END
diff --git a/SmartDeviceLink/SDLSubscribeVehicleData.m b/SmartDeviceLink/SDLSubscribeVehicleData.m
index c49ce0ae6..02b769c6c 100644
--- a/SmartDeviceLink/SDLSubscribeVehicleData.m
+++ b/SmartDeviceLink/SDLSubscribeVehicleData.m
@@ -21,14 +21,18 @@ NS_ASSUME_NONNULL_BEGIN
#pragma clang diagnostic pop
- (instancetype)initWithAccelerationPedalPosition:(BOOL)accelerationPedalPosition airbagStatus:(BOOL)airbagStatus beltStatus:(BOOL)beltStatus bodyInformation:(BOOL)bodyInformation clusterModeStatus:(BOOL)clusterModeStatus deviceStatus:(BOOL)deviceStatus driverBraking:(BOOL)driverBraking eCallInfo:(BOOL)eCallInfo emergencyEvent:(BOOL)emergencyEvent engineTorque:(BOOL)engineTorque externalTemperature:(BOOL)externalTemperature fuelLevel:(BOOL)fuelLevel fuelLevelState:(BOOL)fuelLevelState gps:(BOOL)gps headLampStatus:(BOOL)headLampStatus instantFuelConsumption:(BOOL)instantFuelConsumption myKey:(BOOL)myKey odometer:(BOOL)odometer prndl:(BOOL)prndl rpm:(BOOL)rpm speed:(BOOL)speed steeringWheelAngle:(BOOL)steeringWheelAngle tirePressure:(BOOL)tirePressure wiperStatus:(BOOL)wiperStatus {
- return [self initWithAccelerationPedalPosition:accelerationPedalPosition airbagStatus:airbagStatus beltStatus:beltStatus bodyInformation:bodyInformation clusterModeStatus:clusterModeStatus deviceStatus:deviceStatus driverBraking:driverBraking eCallInfo:eCallInfo electronicParkBrakeStatus:NO emergencyEvent:emergencyEvent engineOilLife:NO engineTorque:engineTorque externalTemperature:externalTemperature fuelLevel:fuelLevel fuelLevelState:fuelLevelState fuelRange:NO gps:gps headLampStatus:headLampStatus instantFuelConsumption:instantFuelConsumption myKey:myKey odometer:odometer prndl:prndl rpm:rpm speed:speed steeringWheelAngle:steeringWheelAngle tirePressure:tirePressure turnSignal:NO wiperStatus:wiperStatus];
+ return [self initWithAccelerationPedalPosition:accelerationPedalPosition airbagStatus:airbagStatus beltStatus:beltStatus bodyInformation:bodyInformation cloudAppVehicleID:NO clusterModeStatus:clusterModeStatus deviceStatus:deviceStatus driverBraking:driverBraking eCallInfo:eCallInfo electronicParkBrakeStatus:NO emergencyEvent:emergencyEvent engineOilLife:NO engineTorque:engineTorque externalTemperature:externalTemperature fuelLevel:fuelLevel fuelLevelState:fuelLevelState fuelRange:NO gps:gps headLampStatus:headLampStatus instantFuelConsumption:instantFuelConsumption myKey:myKey odometer:odometer prndl:prndl rpm:rpm speed:speed stabilityControlsStatus:NO steeringWheelAngle:steeringWheelAngle tirePressure:tirePressure turnSignal:NO wiperStatus:wiperStatus];
}
- (instancetype)initWithAccelerationPedalPosition:(BOOL)accelerationPedalPosition airbagStatus:(BOOL)airbagStatus beltStatus:(BOOL)beltStatus bodyInformation:(BOOL)bodyInformation clusterModeStatus:(BOOL)clusterModeStatus deviceStatus:(BOOL)deviceStatus driverBraking:(BOOL)driverBraking eCallInfo:(BOOL)eCallInfo electronicParkBrakeStatus:(BOOL)electronicParkBrakeStatus emergencyEvent:(BOOL)emergencyEvent engineOilLife:(BOOL)engineOilLife engineTorque:(BOOL)engineTorque externalTemperature:(BOOL)externalTemperature fuelLevel:(BOOL)fuelLevel fuelLevelState:(BOOL)fuelLevelState fuelRange:(BOOL)fuelRange gps:(BOOL)gps headLampStatus:(BOOL)headLampStatus instantFuelConsumption:(BOOL)instantFuelConsumption myKey:(BOOL)myKey odometer:(BOOL)odometer prndl:(BOOL)prndl rpm:(BOOL)rpm speed:(BOOL)speed steeringWheelAngle:(BOOL)steeringWheelAngle tirePressure:(BOOL)tirePressure turnSignal:(BOOL)turnSignal wiperStatus:(BOOL)wiperStatus {
- return [self initWithAccelerationPedalPosition:accelerationPedalPosition airbagStatus:airbagStatus beltStatus:beltStatus bodyInformation:bodyInformation cloudAppVehicleID:NO clusterModeStatus:clusterModeStatus deviceStatus:deviceStatus driverBraking:driverBraking eCallInfo:eCallInfo electronicParkBrakeStatus:electronicParkBrakeStatus emergencyEvent:emergencyEvent engineOilLife:engineOilLife engineTorque:engineTorque externalTemperature:externalTemperature fuelLevel:fuelLevel fuelLevelState:fuelLevelState fuelRange:fuelRange gps:gps headLampStatus:headLampStatus instantFuelConsumption:instantFuelConsumption myKey:myKey odometer:odometer prndl:prndl rpm:rpm speed:speed steeringWheelAngle:steeringWheelAngle tirePressure:tirePressure turnSignal:turnSignal wiperStatus:wiperStatus];
+ return [self initWithAccelerationPedalPosition:accelerationPedalPosition airbagStatus:airbagStatus beltStatus:beltStatus bodyInformation:bodyInformation cloudAppVehicleID:NO clusterModeStatus:clusterModeStatus deviceStatus:deviceStatus driverBraking:driverBraking eCallInfo:eCallInfo electronicParkBrakeStatus:electronicParkBrakeStatus emergencyEvent:emergencyEvent engineOilLife:engineOilLife engineTorque:engineTorque externalTemperature:externalTemperature fuelLevel:fuelLevel fuelLevelState:fuelLevelState fuelRange:fuelRange gps:gps headLampStatus:headLampStatus instantFuelConsumption:instantFuelConsumption myKey:myKey odometer:odometer prndl:prndl rpm:rpm speed:speed stabilityControlsStatus:NO steeringWheelAngle:steeringWheelAngle tirePressure:tirePressure turnSignal:turnSignal wiperStatus:wiperStatus];
}
- (instancetype)initWithAccelerationPedalPosition:(BOOL)accelerationPedalPosition airbagStatus:(BOOL)airbagStatus beltStatus:(BOOL)beltStatus bodyInformation:(BOOL)bodyInformation cloudAppVehicleID:(BOOL)cloudAppVehicleID clusterModeStatus:(BOOL)clusterModeStatus deviceStatus:(BOOL)deviceStatus driverBraking:(BOOL)driverBraking eCallInfo:(BOOL)eCallInfo electronicParkBrakeStatus:(BOOL)electronicParkBrakeStatus emergencyEvent:(BOOL)emergencyEvent engineOilLife:(BOOL)engineOilLife engineTorque:(BOOL)engineTorque externalTemperature:(BOOL)externalTemperature fuelLevel:(BOOL)fuelLevel fuelLevelState:(BOOL)fuelLevelState fuelRange:(BOOL)fuelRange gps:(BOOL)gps headLampStatus:(BOOL)headLampStatus instantFuelConsumption:(BOOL)instantFuelConsumption myKey:(BOOL)myKey odometer:(BOOL)odometer prndl:(BOOL)prndl rpm:(BOOL)rpm speed:(BOOL)speed steeringWheelAngle:(BOOL)steeringWheelAngle tirePressure:(BOOL)tirePressure turnSignal:(BOOL)turnSignal wiperStatus:(BOOL)wiperStatus {
+ return [self initWithAccelerationPedalPosition:accelerationPedalPosition airbagStatus:airbagStatus beltStatus:beltStatus bodyInformation:bodyInformation cloudAppVehicleID:cloudAppVehicleID clusterModeStatus:clusterModeStatus deviceStatus:deviceStatus driverBraking:driverBraking eCallInfo:eCallInfo electronicParkBrakeStatus:electronicParkBrakeStatus emergencyEvent:emergencyEvent engineOilLife:engineOilLife engineTorque:engineTorque externalTemperature:externalTemperature fuelLevel:fuelLevel fuelLevelState:fuelLevelState fuelRange:fuelRange gps:gps headLampStatus:headLampStatus instantFuelConsumption:instantFuelConsumption myKey:myKey odometer:odometer prndl:prndl rpm:rpm speed:speed stabilityControlsStatus:NO steeringWheelAngle:steeringWheelAngle tirePressure:tirePressure turnSignal:turnSignal wiperStatus:wiperStatus];
+}
+
+- (instancetype)initWithAccelerationPedalPosition:(BOOL)accelerationPedalPosition airbagStatus:(BOOL)airbagStatus beltStatus:(BOOL)beltStatus bodyInformation:(BOOL)bodyInformation cloudAppVehicleID:(BOOL)cloudAppVehicleID clusterModeStatus:(BOOL)clusterModeStatus deviceStatus:(BOOL)deviceStatus driverBraking:(BOOL)driverBraking eCallInfo:(BOOL)eCallInfo electronicParkBrakeStatus:(BOOL)electronicParkBrakeStatus emergencyEvent:(BOOL)emergencyEvent engineOilLife:(BOOL)engineOilLife engineTorque:(BOOL)engineTorque externalTemperature:(BOOL)externalTemperature fuelLevel:(BOOL)fuelLevel fuelLevelState:(BOOL)fuelLevelState fuelRange:(BOOL)fuelRange gps:(BOOL)gps headLampStatus:(BOOL)headLampStatus instantFuelConsumption:(BOOL)instantFuelConsumption myKey:(BOOL)myKey odometer:(BOOL)odometer prndl:(BOOL)prndl rpm:(BOOL)rpm speed:(BOOL)speed stabilityControlsStatus:(BOOL)stabilityControlsStatus steeringWheelAngle:(BOOL)steeringWheelAngle tirePressure:(BOOL)tirePressure turnSignal:(BOOL)turnSignal wiperStatus:(BOOL)wiperStatus {
self = [self init];
if (!self) {
return nil;
@@ -63,51 +67,48 @@ NS_ASSUME_NONNULL_BEGIN
self.tirePressure = @(tirePressure);
self.turnSignal = @(turnSignal);
self.wiperStatus = @(wiperStatus);
+ self.stabilityControlsStatus = @(stabilityControlsStatus);
return self;
}
-- (instancetype)initWithAccelerationPedalPosition:(BOOL)accelerationPedalPosition airbagStatus:(BOOL)airbagStatus beltStatus:(BOOL)beltStatus bodyInformation:(BOOL)bodyInformation cloudAppVehicleID:(BOOL)cloudAppVehicleID clusterModeStatus:(BOOL)clusterModeStatus deviceStatus:(BOOL)deviceStatus driverBraking:(BOOL)driverBraking eCallInfo:(BOOL)eCallInfo electronicParkBrakeStatus:(BOOL)electronicParkBrakeStatus emergencyEvent:(BOOL)emergencyEvent engineOilLife:(BOOL)engineOilLife engineTorque:(BOOL)engineTorque externalTemperature:(BOOL)externalTemperature fuelLevel:(BOOL)fuelLevel fuelLevelState:(BOOL)fuelLevelState fuelRange:(BOOL)fuelRange gps:(BOOL)gps headLampStatus:(BOOL)headLampStatus instantFuelConsumption:(BOOL)instantFuelConsumption myKey:(BOOL)myKey odometer:(BOOL)odometer prndl:(BOOL)prndl rpm:(BOOL)rpm speed:(BOOL)speed steeringWheelAngle:(BOOL)steeringWheelAngle tirePressure:(BOOL)tirePressure turnSignal:(BOOL)turnSignal wiperStatus:(BOOL)wiperStatus stabilityControlsStatus:(BOOL)stabilityControlsStatus {
+- (instancetype)initWithGps:(nullable NSNumber<SDLBool> *)gps speed:(nullable NSNumber<SDLBool> *)speed rpm:(nullable NSNumber<SDLBool> *)rpm fuelLevel:(nullable NSNumber<SDLBool> *)fuelLevel fuelLevel_State:(nullable NSNumber<SDLBool> *)fuelLevel_State instantFuelConsumption:(nullable NSNumber<SDLBool> *)instantFuelConsumption fuelRange:(nullable NSNumber<SDLBool> *)fuelRange externalTemperature:(nullable NSNumber<SDLBool> *)externalTemperature turnSignal:(nullable NSNumber<SDLBool> *)turnSignal prndl:(nullable NSNumber<SDLBool> *)prndl tirePressure:(nullable NSNumber<SDLBool> *)tirePressure odometer:(nullable NSNumber<SDLBool> *)odometer beltStatus:(nullable NSNumber<SDLBool> *)beltStatus bodyInformation:(nullable NSNumber<SDLBool> *)bodyInformation deviceStatus:(nullable NSNumber<SDLBool> *)deviceStatus driverBraking:(nullable NSNumber<SDLBool> *)driverBraking wiperStatus:(nullable NSNumber<SDLBool> *)wiperStatus headLampStatus:(nullable NSNumber<SDLBool> *)headLampStatus engineTorque:(nullable NSNumber<SDLBool> *)engineTorque accPedalPosition:(nullable NSNumber<SDLBool> *)accPedalPosition steeringWheelAngle:(nullable NSNumber<SDLBool> *)steeringWheelAngle engineOilLife:(nullable NSNumber<SDLBool> *)engineOilLife electronicParkBrakeStatus:(nullable NSNumber<SDLBool> *)electronicParkBrakeStatus cloudAppVehicleID:(nullable NSNumber<SDLBool> *)cloudAppVehicleID eCallInfo:(nullable NSNumber<SDLBool> *)eCallInfo airbagStatus:(nullable NSNumber<SDLBool> *)airbagStatus emergencyEvent:(nullable NSNumber<SDLBool> *)emergencyEvent clusterModeStatus:(nullable NSNumber<SDLBool> *)clusterModeStatus myKey:(nullable NSNumber<SDLBool> *)myKey {
self = [self init];
if (!self) {
return nil;
}
-
- self.accPedalPosition = @(accelerationPedalPosition);
- self.airbagStatus = @(airbagStatus);
- self.beltStatus = @(beltStatus);
- self.bodyInformation = @(bodyInformation);
- self.cloudAppVehicleID = @(cloudAppVehicleID);
- self.clusterModeStatus = @(clusterModeStatus);
- self.deviceStatus = @(deviceStatus);
- self.driverBraking = @(driverBraking);
- self.eCallInfo = @(eCallInfo);
- self.electronicParkBrakeStatus = @(electronicParkBrakeStatus);
- self.emergencyEvent = @(emergencyEvent);
- self.engineOilLife = @(engineOilLife);
- self.engineTorque = @(engineTorque);
- self.externalTemperature = @(externalTemperature);
- self.fuelLevel = @(fuelLevel);
- self.fuelLevel_State = @(fuelLevelState);
- self.fuelRange = @(fuelRange);
- self.myKey = @(myKey);
- self.odometer = @(odometer);
- self.gps = @(gps);
- self.headLampStatus = @(headLampStatus);
- self.instantFuelConsumption = @(instantFuelConsumption);
- self.prndl = @(prndl);
- self.rpm = @(rpm);
- self.speed = @(speed);
- self.steeringWheelAngle = @(steeringWheelAngle);
- self.tirePressure = @(tirePressure);
- self.turnSignal = @(turnSignal);
- self.wiperStatus = @(wiperStatus);
- self.stabilityControlsStatus = @(stabilityControlsStatus);
-
+ self.gps = gps;
+ self.speed = speed;
+ self.rpm = rpm;
+ self.fuelLevel = fuelLevel;
+ self.fuelLevel_State = fuelLevel_State;
+ self.instantFuelConsumption = instantFuelConsumption;
+ self.fuelRange = fuelRange;
+ self.externalTemperature = externalTemperature;
+ self.turnSignal = turnSignal;
+ self.prndl = prndl;
+ self.tirePressure = tirePressure;
+ self.odometer = odometer;
+ self.beltStatus = beltStatus;
+ self.bodyInformation = bodyInformation;
+ self.deviceStatus = deviceStatus;
+ self.driverBraking = driverBraking;
+ self.wiperStatus = wiperStatus;
+ self.headLampStatus = headLampStatus;
+ self.engineTorque = engineTorque;
+ self.accPedalPosition = accPedalPosition;
+ self.steeringWheelAngle = steeringWheelAngle;
+ self.engineOilLife = engineOilLife;
+ self.electronicParkBrakeStatus = electronicParkBrakeStatus;
+ self.cloudAppVehicleID = cloudAppVehicleID;
+ self.eCallInfo = eCallInfo;
+ self.airbagStatus = airbagStatus;
+ self.emergencyEvent = emergencyEvent;
+ self.clusterModeStatus = clusterModeStatus;
+ self.myKey = myKey;
return self;
}
-
- (void)setGps:(nullable NSNumber<SDLBool> *)gps {
[self.parameters sdl_setObject:gps forName:SDLRPCParameterNameGPS];
}
diff --git a/SmartDeviceLink/SDLSubscribeVehicleDataResponse.h b/SmartDeviceLink/SDLSubscribeVehicleDataResponse.h
index 55c721ff3..054931b39 100644
--- a/SmartDeviceLink/SDLSubscribeVehicleDataResponse.h
+++ b/SmartDeviceLink/SDLSubscribeVehicleDataResponse.h
@@ -39,193 +39,234 @@ NS_ASSUME_NONNULL_BEGIN
@interface SDLSubscribeVehicleDataResponse : SDLRPCResponse
/**
- The result of requesting to subscribe to the GPSData.
+ * @param gps - gps
+ * @param speed - speed
+ * @param rpm - rpm
+ * @param fuelLevel - fuelLevel
+ * @param fuelLevel_State - fuelLevel_State
+ * @param instantFuelConsumption - instantFuelConsumption
+ * @param fuelRange - fuelRange
+ * @param externalTemperature - externalTemperature
+ * @param turnSignal - turnSignal
+ * @param prndl - prndl
+ * @param tirePressure - tirePressure
+ * @param odometer - odometer
+ * @param beltStatus - beltStatus
+ * @param bodyInformation - bodyInformation
+ * @param deviceStatus - deviceStatus
+ * @param driverBraking - driverBraking
+ * @param wiperStatus - wiperStatus
+ * @param headLampStatus - headLampStatus
+ * @param engineTorque - engineTorque
+ * @param accPedalPosition - accPedalPosition
+ * @param steeringWheelAngle - steeringWheelAngle
+ * @param engineOilLife - engineOilLife
+ * @param electronicParkBrakeStatus - electronicParkBrakeStatus
+ * @param cloudAppVehicleID - cloudAppVehicleID
+ * @param eCallInfo - eCallInfo
+ * @param airbagStatus - airbagStatus
+ * @param emergencyEvent - emergencyEvent
+ * @param clusterModes - clusterModes
+ * @param myKey - myKey
+ * @return A SDLSubscribeVehicleDataResponse object
+ */
+- (instancetype)initWithGps:(nullable SDLVehicleDataResult *)gps speed:(nullable SDLVehicleDataResult *)speed rpm:(nullable SDLVehicleDataResult *)rpm fuelLevel:(nullable SDLVehicleDataResult *)fuelLevel fuelLevel_State:(nullable SDLVehicleDataResult *)fuelLevel_State instantFuelConsumption:(nullable SDLVehicleDataResult *)instantFuelConsumption fuelRange:(nullable SDLVehicleDataResult *)fuelRange externalTemperature:(nullable SDLVehicleDataResult *)externalTemperature turnSignal:(nullable SDLVehicleDataResult *)turnSignal prndl:(nullable SDLVehicleDataResult *)prndl tirePressure:(nullable SDLVehicleDataResult *)tirePressure odometer:(nullable SDLVehicleDataResult *)odometer beltStatus:(nullable SDLVehicleDataResult *)beltStatus bodyInformation:(nullable SDLVehicleDataResult *)bodyInformation deviceStatus:(nullable SDLVehicleDataResult *)deviceStatus driverBraking:(nullable SDLVehicleDataResult *)driverBraking wiperStatus:(nullable SDLVehicleDataResult *)wiperStatus headLampStatus:(nullable SDLVehicleDataResult *)headLampStatus engineTorque:(nullable SDLVehicleDataResult *)engineTorque accPedalPosition:(nullable SDLVehicleDataResult *)accPedalPosition steeringWheelAngle:(nullable SDLVehicleDataResult *)steeringWheelAngle engineOilLife:(nullable SDLVehicleDataResult *)engineOilLife electronicParkBrakeStatus:(nullable SDLVehicleDataResult *)electronicParkBrakeStatus cloudAppVehicleID:(nullable SDLVehicleDataResult *)cloudAppVehicleID eCallInfo:(nullable SDLVehicleDataResult *)eCallInfo airbagStatus:(nullable SDLVehicleDataResult *)airbagStatus emergencyEvent:(nullable SDLVehicleDataResult *)emergencyEvent clusterModes:(nullable SDLVehicleDataResult *)clusterModes myKey:(nullable SDLVehicleDataResult *)myKey;
+
+/**
+ The result of requesting to subscribe to the accelerator pedal position (percentage depressed)
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *gps;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *accPedalPosition;
/**
- The result of requesting to subscribe to the vehicle speed in kilometers per hour.
+ The result of requesting to subscribe to the airbag status
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *speed;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *airbagStatus;
/**
- The result of requesting to subscribe to the number of revolutions per minute of the engine.
+ The result of requesting to subscribe to the status of the seat belts.
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *rpm;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *beltStatus;
/**
- The result of requesting to subscribe to the fuel level in the tank (percentage)
+ The result of requesting to subscribe to the body information including power modes.
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *fuelLevel;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *bodyInformation;
/**
- The result of requesting to subscribe to the fuel level state.
+ The result of requesting to subscribe to the cloud app vehicle ID
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *fuelLevel_State;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *cloudAppVehicleID;
/**
- The result of requesting to subscribe to the fuel range.
+ The result of requesting to subscribe to the cluster modes
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *fuelRange;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *clusterModes;
/**
- The result of requesting to subscribe to the instantaneous fuel consumption in microlitres.
+ The result of requesting to subscribe to the device status including signal and battery strength.
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *instantFuelConsumption;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *deviceStatus;
/**
- The result of requesting to subscribe to the external temperature in degrees celsius.
+ The result of requesting to subscribe to the status of the brake pedal.
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *externalTemperature;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *driverBraking;
/**
- The result of requesting to subscribe to the PRNDL status.
+ The result of requesting to subscribe to the emergency call info
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *prndl;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *eCallInfo;
/**
- The result of requesting to subscribe to the tireStatus.
+ The result of requesting to subscribe to the electronic parking brake status
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *tirePressure;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *electronicParkBrakeStatus;
/**
- The result of requesting to subscribe to the odometer in km.
+ The result of requesting to subscribe to the emergency event
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *odometer;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *emergencyEvent;
/**
- The result of requesting to subscribe to the status of the seat belts.
+ The result of requesting to subscribe to the estimated percentage of remaining oil life of the engine.
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *beltStatus;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *engineOilLife;
/**
- The result of requesting to subscribe to the body information including power modes.
+ The result of requesting to subscribe to the torque value for engine (in Nm) on non-diesel variants.
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *bodyInformation;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *engineTorque;
/**
- The result of requesting to subscribe to the device status including signal and battery strength.
+ The result of requesting to subscribe to the external temperature in degrees celsius.
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *deviceStatus;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *externalTemperature;
/**
- The result of requesting to subscribe to the status of the brake pedal.
+ The result of requesting to subscribe to the fuel level in the tank (percentage)
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *driverBraking;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *fuelLevel;
/**
- The result of requesting to subscribe to the status of the wipers.
+ The result of requesting to subscribe to the fuel level state.
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *wiperStatus;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *fuelLevel_State;
/**
- The result of requesting to subscribe to the status of the head lamps.
+ The result of requesting to subscribe to the fuel range.
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *headLampStatus;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *fuelRange;
/**
- The result of requesting to subscribe to the estimated percentage of remaining oil life of the engine.
+ The result of requesting to subscribe to the GPSData.
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *engineOilLife;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *gps;
/**
- The result of requesting to subscribe to the torque value for engine (in Nm) on non-diesel variants.
+ The result of requesting to subscribe to the status of the head lamps.
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *engineTorque;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *headLampStatus;
/**
- The result of requesting to subscribe to the accelerator pedal position (percentage depressed)
+ The result of requesting to subscribe to the instantaneous fuel consumption in microlitres.
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *accPedalPosition;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *instantFuelConsumption;
/**
- The result of requesting to subscribe to the current angle of the steering wheel (in deg)
+ The result of requesting to subscribe to the myKey status
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *steeringWheelAngle;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *myKey;
/**
- The result of requesting to subscribe to the emergency call info
+ The result of requesting to subscribe to the odometer in km.
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *eCallInfo;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *odometer;
/**
- The result of requesting to subscribe to the airbag status
+ The result of requesting to subscribe to the PRNDL status.
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *airbagStatus;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *prndl;
/**
- The result of requesting to subscribe to the emergency event
+ The result of requesting to subscribe to the number of revolutions per minute of the engine.
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *emergencyEvent;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *rpm;
/**
- The result of requesting to subscribe to the cluster modes
+ The result of requesting to subscribe to the vehicle speed in kilometers per hour.
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *clusterModes;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *speed;
/**
- The result of requesting to subscribe to the myKey status
+ * See StabilityControlsStatus
+ *
+ * @since SDL 7.0.0
+ */
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *stabilityControlsStatus;
+
+/**
+ The result of requesting to subscribe to the current angle of the steering wheel (in deg)
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *myKey;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *steeringWheelAngle;
/**
- The result of requesting to subscribe to the electronic parking brake status
+ The result of requesting to subscribe to the tireStatus.
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *electronicParkBrakeStatus;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *tirePressure;
/**
The result of requesting to subscribe to the turn signal
@@ -235,18 +276,11 @@ NS_ASSUME_NONNULL_BEGIN
@property (strong, nonatomic, nullable) SDLVehicleDataResult *turnSignal;
/**
- The result of requesting to subscribe to the cloud app vehicle ID
+ The result of requesting to subscribe to the status of the wipers.
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *cloudAppVehicleID;
-
-/**
- * See StabilityControlsStatus
- *
- * @since SDL 6.2.0
- */
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *stabilityControlsStatus;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *wiperStatus;
/**
Sets the OEM custom vehicle data state for any given OEM custom vehicle data name.
diff --git a/SmartDeviceLink/SDLSubscribeVehicleDataResponse.m b/SmartDeviceLink/SDLSubscribeVehicleDataResponse.m
index 679d4f7bb..26f44789e 100644
--- a/SmartDeviceLink/SDLSubscribeVehicleDataResponse.m
+++ b/SmartDeviceLink/SDLSubscribeVehicleDataResponse.m
@@ -51,6 +51,43 @@ NS_ASSUME_NONNULL_BEGIN
}
#pragma clang diagnostic pop
+- (instancetype)initWithGps:(nullable SDLVehicleDataResult *)gps speed:(nullable SDLVehicleDataResult *)speed rpm:(nullable SDLVehicleDataResult *)rpm fuelLevel:(nullable SDLVehicleDataResult *)fuelLevel fuelLevel_State:(nullable SDLVehicleDataResult *)fuelLevel_State instantFuelConsumption:(nullable SDLVehicleDataResult *)instantFuelConsumption fuelRange:(nullable SDLVehicleDataResult *)fuelRange externalTemperature:(nullable SDLVehicleDataResult *)externalTemperature turnSignal:(nullable SDLVehicleDataResult *)turnSignal prndl:(nullable SDLVehicleDataResult *)prndl tirePressure:(nullable SDLVehicleDataResult *)tirePressure odometer:(nullable SDLVehicleDataResult *)odometer beltStatus:(nullable SDLVehicleDataResult *)beltStatus bodyInformation:(nullable SDLVehicleDataResult *)bodyInformation deviceStatus:(nullable SDLVehicleDataResult *)deviceStatus driverBraking:(nullable SDLVehicleDataResult *)driverBraking wiperStatus:(nullable SDLVehicleDataResult *)wiperStatus headLampStatus:(nullable SDLVehicleDataResult *)headLampStatus engineTorque:(nullable SDLVehicleDataResult *)engineTorque accPedalPosition:(nullable SDLVehicleDataResult *)accPedalPosition steeringWheelAngle:(nullable SDLVehicleDataResult *)steeringWheelAngle engineOilLife:(nullable SDLVehicleDataResult *)engineOilLife electronicParkBrakeStatus:(nullable SDLVehicleDataResult *)electronicParkBrakeStatus cloudAppVehicleID:(nullable SDLVehicleDataResult *)cloudAppVehicleID eCallInfo:(nullable SDLVehicleDataResult *)eCallInfo airbagStatus:(nullable SDLVehicleDataResult *)airbagStatus emergencyEvent:(nullable SDLVehicleDataResult *)emergencyEvent clusterModes:(nullable SDLVehicleDataResult *)clusterModes myKey:(nullable SDLVehicleDataResult *)myKey {
+ self = [super init];
+ if (!self) {
+ return nil;
+ }
+ self.gps = gps;
+ self.speed = speed;
+ self.rpm = rpm;
+ self.fuelLevel = fuelLevel;
+ self.fuelLevel_State = fuelLevel_State;
+ self.instantFuelConsumption = instantFuelConsumption;
+ self.fuelRange = fuelRange;
+ self.externalTemperature = externalTemperature;
+ self.turnSignal = turnSignal;
+ self.prndl = prndl;
+ self.tirePressure = tirePressure;
+ self.odometer = odometer;
+ self.beltStatus = beltStatus;
+ self.bodyInformation = bodyInformation;
+ self.deviceStatus = deviceStatus;
+ self.driverBraking = driverBraking;
+ self.wiperStatus = wiperStatus;
+ self.headLampStatus = headLampStatus;
+ self.engineTorque = engineTorque;
+ self.accPedalPosition = accPedalPosition;
+ self.steeringWheelAngle = steeringWheelAngle;
+ self.engineOilLife = engineOilLife;
+ self.electronicParkBrakeStatus = electronicParkBrakeStatus;
+ self.cloudAppVehicleID = cloudAppVehicleID;
+ self.eCallInfo = eCallInfo;
+ self.airbagStatus = airbagStatus;
+ self.emergencyEvent = emergencyEvent;
+ self.clusterModes = clusterModes;
+ self.myKey = myKey;
+ return self;
+}
+
- (void)setGps:(nullable SDLVehicleDataResult *)gps {
[self.parameters sdl_setObject:gps forName:SDLRPCParameterNameGPS];
}
diff --git a/SmartDeviceLink/SDLUnsubscribeVehicleData.h b/SmartDeviceLink/SDLUnsubscribeVehicleData.h
index 0ff5d5d80..60de015b3 100644
--- a/SmartDeviceLink/SDLUnsubscribeVehicleData.h
+++ b/SmartDeviceLink/SDLUnsubscribeVehicleData.h
@@ -70,7 +70,7 @@ NS_ASSUME_NONNULL_BEGIN
* @param wiperStatus Unsubscribe to wiperStatus
* @return A SDLUnsubscribeVehicleData object
*/
-- (instancetype)initWithAccelerationPedalPosition:(BOOL)accelerationPedalPosition airbagStatus:(BOOL)airbagStatus beltStatus:(BOOL)beltStatus bodyInformation:(BOOL)bodyInformation clusterModeStatus:(BOOL)clusterModeStatus deviceStatus:(BOOL)deviceStatus driverBraking:(BOOL)driverBraking eCallInfo:(BOOL)eCallInfo emergencyEvent:(BOOL)emergencyEvent engineTorque:(BOOL)engineTorque externalTemperature:(BOOL)externalTemperature fuelLevel:(BOOL)fuelLevel fuelLevelState:(BOOL)fuelLevelState gps:(BOOL)gps headLampStatus:(BOOL)headLampStatus instantFuelConsumption:(BOOL)instantFuelConsumption myKey:(BOOL)myKey odometer:(BOOL)odometer prndl:(BOOL)prndl rpm:(BOOL)rpm speed:(BOOL)speed steeringWheelAngle:(BOOL)steeringWheelAngle tirePressure:(BOOL)tirePressure wiperStatus:(BOOL)wiperStatus __deprecated_msg("Use initWithAccelerationPedalPosition:airbagStatus:beltStatus:bodyInformation:cloudAppVehicleID:clusterModeStatus:deviceStatus:driverBraking:eCallInfo:electronicParkBrakeStatus:emergencyEvent:engineOilLife:engineTorque:externalTemperature:fuelLevel:fuelLevelState:fuelRange:gps:headLampStatus:instantFuelConsumption:myKey:odometer:prndl:rpm:speed:steeringWheelAngle:tirePressure:turnSignal:wiperStatus:stabilityControlsStatus: instead");
+- (instancetype)initWithAccelerationPedalPosition:(BOOL)accelerationPedalPosition airbagStatus:(BOOL)airbagStatus beltStatus:(BOOL)beltStatus bodyInformation:(BOOL)bodyInformation clusterModeStatus:(BOOL)clusterModeStatus deviceStatus:(BOOL)deviceStatus driverBraking:(BOOL)driverBraking eCallInfo:(BOOL)eCallInfo emergencyEvent:(BOOL)emergencyEvent engineTorque:(BOOL)engineTorque externalTemperature:(BOOL)externalTemperature fuelLevel:(BOOL)fuelLevel fuelLevelState:(BOOL)fuelLevelState gps:(BOOL)gps headLampStatus:(BOOL)headLampStatus instantFuelConsumption:(BOOL)instantFuelConsumption myKey:(BOOL)myKey odometer:(BOOL)odometer prndl:(BOOL)prndl rpm:(BOOL)rpm speed:(BOOL)speed steeringWheelAngle:(BOOL)steeringWheelAngle tirePressure:(BOOL)tirePressure wiperStatus:(BOOL)wiperStatus __deprecated_msg("Use initWithAccelerationPedalPosition:airbagStatus:beltStatus:bodyInformation: cloudAppVehicleID:clusterModeStatus:deviceStatus:driverBraking:eCallInfo:electronicParkBrakeStatus:emergencyEvent:engineOilLife:engineTorque:externalTemperature:fuelLevel:fuelLevelState:fuelRange:gps:headLampStatus:instantFuelConsumption:myKey:odometer:prndl:rpm:speed:stabilityControlsStatus:steeringWheelAngle:tirePressure:turnSignal:wiperStatus: instead");
/**
* Convenience init for unsubscribing to all possible vehicle data items.
@@ -105,7 +105,7 @@ NS_ASSUME_NONNULL_BEGIN
* @param wiperStatus Unsubscribe to wiperStatus
* @return A SDLUnsubscribeVehicleData object
*/
-- (instancetype)initWithAccelerationPedalPosition:(BOOL)accelerationPedalPosition airbagStatus:(BOOL)airbagStatus beltStatus:(BOOL)beltStatus bodyInformation:(BOOL)bodyInformation clusterModeStatus:(BOOL)clusterModeStatus deviceStatus:(BOOL)deviceStatus driverBraking:(BOOL)driverBraking eCallInfo:(BOOL)eCallInfo electronicParkBrakeStatus:(BOOL)electronicParkBrakeStatus emergencyEvent:(BOOL)emergencyEvent engineOilLife:(BOOL)engineOilLife engineTorque:(BOOL)engineTorque externalTemperature:(BOOL)externalTemperature fuelLevel:(BOOL)fuelLevel fuelLevelState:(BOOL)fuelLevelState fuelRange:(BOOL)fuelRange gps:(BOOL)gps headLampStatus:(BOOL)headLampStatus instantFuelConsumption:(BOOL)instantFuelConsumption myKey:(BOOL)myKey odometer:(BOOL)odometer prndl:(BOOL)prndl rpm:(BOOL)rpm speed:(BOOL)speed steeringWheelAngle:(BOOL)steeringWheelAngle tirePressure:(BOOL)tirePressure turnSignal:(BOOL)turnSignal wiperStatus:(BOOL)wiperStatus __deprecated_msg("Use initWithAccelerationPedalPosition:airbagStatus:beltStatus:bodyInformation:cloudAppVehicleID:clusterModeStatus:deviceStatus:driverBraking:eCallInfo:electronicParkBrakeStatus:emergencyEvent:engineOilLife:engineTorque:externalTemperature:fuelLevel:fuelLevelState:fuelRange:gps:headLampStatus:instantFuelConsumption:myKey:odometer:prndl:rpm:speed:steeringWheelAngle:tirePressure:turnSignal:wiperStatus:stabilityControlsStatus: instead");
+- (instancetype)initWithAccelerationPedalPosition:(BOOL)accelerationPedalPosition airbagStatus:(BOOL)airbagStatus beltStatus:(BOOL)beltStatus bodyInformation:(BOOL)bodyInformation clusterModeStatus:(BOOL)clusterModeStatus deviceStatus:(BOOL)deviceStatus driverBraking:(BOOL)driverBraking eCallInfo:(BOOL)eCallInfo electronicParkBrakeStatus:(BOOL)electronicParkBrakeStatus emergencyEvent:(BOOL)emergencyEvent engineOilLife:(BOOL)engineOilLife engineTorque:(BOOL)engineTorque externalTemperature:(BOOL)externalTemperature fuelLevel:(BOOL)fuelLevel fuelLevelState:(BOOL)fuelLevelState fuelRange:(BOOL)fuelRange gps:(BOOL)gps headLampStatus:(BOOL)headLampStatus instantFuelConsumption:(BOOL)instantFuelConsumption myKey:(BOOL)myKey odometer:(BOOL)odometer prndl:(BOOL)prndl rpm:(BOOL)rpm speed:(BOOL)speed steeringWheelAngle:(BOOL)steeringWheelAngle tirePressure:(BOOL)tirePressure turnSignal:(BOOL)turnSignal wiperStatus:(BOOL)wiperStatus __deprecated_msg("Use initWithAccelerationPedalPosition:airbagStatus:beltStatus:bodyInformation: cloudAppVehicleID:clusterModeStatus:deviceStatus:driverBraking:eCallInfo:electronicParkBrakeStatus:emergencyEvent:engineOilLife:engineTorque:externalTemperature:fuelLevel:fuelLevelState:fuelRange:gps:headLampStatus:instantFuelConsumption:myKey:odometer:prndl:rpm:speed:stabilityControlsStatus:steeringWheelAngle:tirePressure:turnSignal:wiperStatus: instead");
/**
* Convenience init for unsubscribing to all possible vehicle data items.
@@ -141,7 +141,7 @@ NS_ASSUME_NONNULL_BEGIN
* @param wiperStatus Unsubscribe to wiperStatus
* @return A SDLUnsubscribeVehicleData object
*/
-- (instancetype)initWithAccelerationPedalPosition:(BOOL)accelerationPedalPosition airbagStatus:(BOOL)airbagStatus beltStatus:(BOOL)beltStatus bodyInformation:(BOOL)bodyInformation cloudAppVehicleID:(BOOL)cloudAppVehicleID clusterModeStatus:(BOOL)clusterModeStatus deviceStatus:(BOOL)deviceStatus driverBraking:(BOOL)driverBraking eCallInfo:(BOOL)eCallInfo electronicParkBrakeStatus:(BOOL)electronicParkBrakeStatus emergencyEvent:(BOOL)emergencyEvent engineOilLife:(BOOL)engineOilLife engineTorque:(BOOL)engineTorque externalTemperature:(BOOL)externalTemperature fuelLevel:(BOOL)fuelLevel fuelLevelState:(BOOL)fuelLevelState fuelRange:(BOOL)fuelRange gps:(BOOL)gps headLampStatus:(BOOL)headLampStatus instantFuelConsumption:(BOOL)instantFuelConsumption myKey:(BOOL)myKey odometer:(BOOL)odometer prndl:(BOOL)prndl rpm:(BOOL)rpm speed:(BOOL)speed steeringWheelAngle:(BOOL)steeringWheelAngle tirePressure:(BOOL)tirePressure turnSignal:(BOOL)turnSignal wiperStatus:(BOOL)wiperStatus __deprecated_msg("Use initWithAccelerationPedalPosition:airbagStatus:beltStatus:bodyInformation:cloudAppVehicleID:clusterModeStatus:deviceStatus:driverBraking:eCallInfo:electronicParkBrakeStatus:emergencyEvent:engineOilLife:engineTorque:externalTemperature:fuelLevel:fuelLevelState:fuelRange:gps:headLampStatus:instantFuelConsumption:myKey:odometer:prndl:rpm:speed:steeringWheelAngle:tirePressure:turnSignal:wiperStatus:stabilityControlsStatus: instead");
+- (instancetype)initWithAccelerationPedalPosition:(BOOL)accelerationPedalPosition airbagStatus:(BOOL)airbagStatus beltStatus:(BOOL)beltStatus bodyInformation:(BOOL)bodyInformation cloudAppVehicleID:(BOOL)cloudAppVehicleID clusterModeStatus:(BOOL)clusterModeStatus deviceStatus:(BOOL)deviceStatus driverBraking:(BOOL)driverBraking eCallInfo:(BOOL)eCallInfo electronicParkBrakeStatus:(BOOL)electronicParkBrakeStatus emergencyEvent:(BOOL)emergencyEvent engineOilLife:(BOOL)engineOilLife engineTorque:(BOOL)engineTorque externalTemperature:(BOOL)externalTemperature fuelLevel:(BOOL)fuelLevel fuelLevelState:(BOOL)fuelLevelState fuelRange:(BOOL)fuelRange gps:(BOOL)gps headLampStatus:(BOOL)headLampStatus instantFuelConsumption:(BOOL)instantFuelConsumption myKey:(BOOL)myKey odometer:(BOOL)odometer prndl:(BOOL)prndl rpm:(BOOL)rpm speed:(BOOL)speed steeringWheelAngle:(BOOL)steeringWheelAngle tirePressure:(BOOL)tirePressure turnSignal:(BOOL)turnSignal wiperStatus:(BOOL)wiperStatus __deprecated_msg("Use initWithAccelerationPedalPosition:airbagStatus:beltStatus:bodyInformation: cloudAppVehicleID:clusterModeStatus:deviceStatus:driverBraking:eCallInfo:electronicParkBrakeStatus:emergencyEvent:engineOilLife:engineTorque:externalTemperature:fuelLevel:fuelLevelState:fuelRange:gps:headLampStatus:instantFuelConsumption:myKey:odometer:prndl:rpm:speed:stabilityControlsStatus:steeringWheelAngle:tirePressure:turnSignal:wiperStatus: instead");
/**
@@ -172,126 +172,175 @@ NS_ASSUME_NONNULL_BEGIN
* @param prndl Unsubscribe to prndl
* @param rpm Unsubscribe to rpm
* @param speed Unsubscribe to speed
+ * @param stabilityControlsStatus Unsubscribe from stabilityControlsStatus
* @param steeringWheelAngle Unsubscribe to steeringWheelAngle
* @param tirePressure Unsubscribe to tirePressure
* @param turnSignal Unsubscribe to turnSignal
* @param wiperStatus Unsubscribe to wiperStatus
- * @param stabilityControlsStatus Unsubscribe from stabilityControlsStatus
* @return A SDLUnsubscribeVehicleData object
*/
-- (instancetype)initWithAccelerationPedalPosition:(BOOL)accelerationPedalPosition airbagStatus:(BOOL)airbagStatus beltStatus:(BOOL)beltStatus bodyInformation:(BOOL)bodyInformation cloudAppVehicleID:(BOOL)cloudAppVehicleID clusterModeStatus:(BOOL)clusterModeStatus deviceStatus:(BOOL)deviceStatus driverBraking:(BOOL)driverBraking eCallInfo:(BOOL)eCallInfo electronicParkBrakeStatus:(BOOL)electronicParkBrakeStatus emergencyEvent:(BOOL)emergencyEvent engineOilLife:(BOOL)engineOilLife engineTorque:(BOOL)engineTorque externalTemperature:(BOOL)externalTemperature fuelLevel:(BOOL)fuelLevel fuelLevelState:(BOOL)fuelLevelState fuelRange:(BOOL)fuelRange gps:(BOOL)gps headLampStatus:(BOOL)headLampStatus instantFuelConsumption:(BOOL)instantFuelConsumption myKey:(BOOL)myKey odometer:(BOOL)odometer prndl:(BOOL)prndl rpm:(BOOL)rpm speed:(BOOL)speed steeringWheelAngle:(BOOL)steeringWheelAngle tirePressure:(BOOL)tirePressure turnSignal:(BOOL)turnSignal wiperStatus:(BOOL)wiperStatus stabilityControlsStatus:(BOOL)stabilityControlsStatus;
+- (instancetype)initWithAccelerationPedalPosition:(BOOL)accelerationPedalPosition airbagStatus:(BOOL)airbagStatus beltStatus:(BOOL)beltStatus bodyInformation:(BOOL)bodyInformation cloudAppVehicleID:(BOOL)cloudAppVehicleID clusterModeStatus:(BOOL)clusterModeStatus deviceStatus:(BOOL)deviceStatus driverBraking:(BOOL)driverBraking eCallInfo:(BOOL)eCallInfo electronicParkBrakeStatus:(BOOL)electronicParkBrakeStatus emergencyEvent:(BOOL)emergencyEvent engineOilLife:(BOOL)engineOilLife engineTorque:(BOOL)engineTorque externalTemperature:(BOOL)externalTemperature fuelLevel:(BOOL)fuelLevel fuelLevelState:(BOOL)fuelLevelState fuelRange:(BOOL)fuelRange gps:(BOOL)gps headLampStatus:(BOOL)headLampStatus instantFuelConsumption:(BOOL)instantFuelConsumption myKey:(BOOL)myKey odometer:(BOOL)odometer prndl:(BOOL)prndl rpm:(BOOL)rpm speed:(BOOL)speed stabilityControlsStatus:(BOOL)stabilityControlsStatus steeringWheelAngle:(BOOL)steeringWheelAngle tirePressure:(BOOL)tirePressure turnSignal:(BOOL)turnSignal wiperStatus:(BOOL)wiperStatus;
+
+/**
+ * note: RPC generator produced initializer
+ * @param gps - gps
+ * @param speed - speed
+ * @param rpm - rpm
+ * @param fuelLevel - fuelLevel
+ * @param fuelLevel_State - fuelLevel_State
+ * @param instantFuelConsumption - instantFuelConsumption
+ * @param fuelRange - fuelRange
+ * @param externalTemperature - externalTemperature
+ * @param turnSignal - turnSignal
+ * @param prndl - prndl
+ * @param tirePressure - tirePressure
+ * @param odometer - odometer
+ * @param beltStatus - beltStatus
+ * @param bodyInformation - bodyInformation
+ * @param deviceStatus - deviceStatus
+ * @param driverBraking - driverBraking
+ * @param wiperStatus - wiperStatus
+ * @param headLampStatus - headLampStatus
+ * @param engineTorque - engineTorque
+ * @param accPedalPosition - accPedalPosition
+ * @param steeringWheelAngle - steeringWheelAngle
+ * @param engineOilLife - engineOilLife
+ * @param electronicParkBrakeStatus - electronicParkBrakeStatus
+ * @param cloudAppVehicleID - cloudAppVehicleID
+ * @param eCallInfo - eCallInfo
+ * @param airbagStatus - airbagStatus
+ * @param emergencyEvent - emergencyEvent
+ * @param clusterModeStatus - clusterModeStatus
+ * @param myKey - myKey
+ * @return A SDLUnsubscribeVehicleData object
+ */
+- (instancetype)initWithGps:(nullable NSNumber<SDLBool> *)gps speed:(nullable NSNumber<SDLBool> *)speed rpm:(nullable NSNumber<SDLBool> *)rpm fuelLevel:(nullable NSNumber<SDLBool> *)fuelLevel fuelLevel_State:(nullable NSNumber<SDLBool> *)fuelLevel_State instantFuelConsumption:(nullable NSNumber<SDLBool> *)instantFuelConsumption fuelRange:(nullable NSNumber<SDLBool> *)fuelRange externalTemperature:(nullable NSNumber<SDLBool> *)externalTemperature turnSignal:(nullable NSNumber<SDLBool> *)turnSignal prndl:(nullable NSNumber<SDLBool> *)prndl tirePressure:(nullable NSNumber<SDLBool> *)tirePressure odometer:(nullable NSNumber<SDLBool> *)odometer beltStatus:(nullable NSNumber<SDLBool> *)beltStatus bodyInformation:(nullable NSNumber<SDLBool> *)bodyInformation deviceStatus:(nullable NSNumber<SDLBool> *)deviceStatus driverBraking:(nullable NSNumber<SDLBool> *)driverBraking wiperStatus:(nullable NSNumber<SDLBool> *)wiperStatus headLampStatus:(nullable NSNumber<SDLBool> *)headLampStatus engineTorque:(nullable NSNumber<SDLBool> *)engineTorque accPedalPosition:(nullable NSNumber<SDLBool> *)accPedalPosition steeringWheelAngle:(nullable NSNumber<SDLBool> *)steeringWheelAngle engineOilLife:(nullable NSNumber<SDLBool> *)engineOilLife electronicParkBrakeStatus:(nullable NSNumber<SDLBool> *)electronicParkBrakeStatus cloudAppVehicleID:(nullable NSNumber<SDLBool> *)cloudAppVehicleID eCallInfo:(nullable NSNumber<SDLBool> *)eCallInfo airbagStatus:(nullable NSNumber<SDLBool> *)airbagStatus emergencyEvent:(nullable NSNumber<SDLBool> *)emergencyEvent clusterModeStatus:(nullable NSNumber<SDLBool> *)clusterModeStatus myKey:(nullable NSNumber<SDLBool> *)myKey;
/**
- * If true, unsubscribes from GPS
+ * If true, unsubscribes from Acc Pedal Position
*
* Optional.
*/
-@property (strong, nonatomic, nullable) NSNumber<SDLBool> *gps;
+@property (strong, nonatomic, nullable) NSNumber<SDLBool> *accPedalPosition;
/**
- * If true, unsubscribes from Speed
+ * If true, unsubscribes from Airbag Status
*
* Optional.
*/
-@property (strong, nonatomic, nullable) NSNumber<SDLBool> *speed;
+@property (strong, nonatomic, nullable) NSNumber<SDLBool> *airbagStatus;
/**
- * If true, unsubscribes from RPM
+ * If true, unsubscribes from Belt Status
*
* Optional.
*/
-@property (strong, nonatomic, nullable) NSNumber<SDLBool> *rpm;
+@property (strong, nonatomic, nullable) NSNumber<SDLBool> *beltStatus;
/**
- * If true, unsubscribes from Fuel Level
+ * If true, unsubscribes from Body Information
*
* Optional.
*/
-@property (strong, nonatomic, nullable) NSNumber<SDLBool> *fuelLevel;
+@property (strong, nonatomic, nullable) NSNumber<SDLBool> *bodyInformation;
/**
- * If true, unsubscribes from Fuel Level State
+ A boolean value. If true, unsubscribes to the Cloud App Vehicle ID
+
+ Optional.
+ */
+@property (strong, nonatomic, nullable) NSNumber<SDLBool> *cloudAppVehicleID;
+
+/**
+ * If true, unsubscribes from Cluster Mode Status
*
* Optional.
*/
-@property (strong, nonatomic, nullable) NSNumber<SDLBool> *fuelLevel_State;
+@property (strong, nonatomic, nullable) NSNumber<SDLBool> *clusterModeStatus;
/**
- * If true, unsubscribes from Fuel Range
+ * If true, unsubscribes from Device Status
*
* Optional.
*/
-@property (strong, nonatomic, nullable) NSNumber<SDLBool> *fuelRange;
+@property (strong, nonatomic, nullable) NSNumber<SDLBool> *deviceStatus;
/**
- * If true, unsubscribes from Instant Fuel Consumption
+ * If true, unsubscribes from Driver Braking
*
* Optional.
*/
-@property (strong, nonatomic, nullable) NSNumber<SDLBool> *instantFuelConsumption;
+@property (strong, nonatomic, nullable) NSNumber<SDLBool> *driverBraking;
/**
- * If true, unsubscribes from External Temperature
+ * If true, unsubscribes from eCallInfo
*
* Optional.
*/
-@property (strong, nonatomic, nullable) NSNumber<SDLBool> *externalTemperature;
+@property (strong, nonatomic, nullable) NSNumber<SDLBool> *eCallInfo;
/**
- * If true, unsubscribes from PRNDL
+ A boolean value. If true, unsubscribes to the Electronic Parking Brake Status
+
+ Optional.
+ */
+@property (strong, nonatomic, nullable) NSNumber<SDLBool> *electronicParkBrakeStatus;
+
+/**
+ * If true, unsubscribes from Emergency Event
*
* Optional.
*/
-@property (strong, nonatomic, nullable) NSNumber<SDLBool> *prndl;
+@property (strong, nonatomic, nullable) NSNumber<SDLBool> *emergencyEvent;
/**
- * If true, unsubscribes from Tire Pressure
+ * If true, unsubscribes from Engine Oil Life
*
* Optional.
*/
-@property (strong, nonatomic, nullable) NSNumber<SDLBool> *tirePressure;
+@property (strong, nonatomic, nullable) NSNumber<SDLBool> *engineOilLife;
/**
- * If true, unsubscribes from Odometer
+ * If true, unsubscribes from Engine Torque
*
* Optional.
*/
-@property (strong, nonatomic, nullable) NSNumber<SDLBool> *odometer;
+@property (strong, nonatomic, nullable) NSNumber<SDLBool> *engineTorque;
/**
- * If true, unsubscribes from Belt Status
+ * If true, unsubscribes from External Temperature
*
* Optional.
*/
-@property (strong, nonatomic, nullable) NSNumber<SDLBool> *beltStatus;
+@property (strong, nonatomic, nullable) NSNumber<SDLBool> *externalTemperature;
/**
- * If true, unsubscribes from Body Information
+ * If true, unsubscribes from Fuel Level
*
* Optional.
*/
-@property (strong, nonatomic, nullable) NSNumber<SDLBool> *bodyInformation;
+@property (strong, nonatomic, nullable) NSNumber<SDLBool> *fuelLevel;
/**
- * If true, unsubscribes from Device Status
+ * If true, unsubscribes from Fuel Level State
*
* Optional.
*/
-@property (strong, nonatomic, nullable) NSNumber<SDLBool> *deviceStatus;
+@property (strong, nonatomic, nullable) NSNumber<SDLBool> *fuelLevel_State;
/**
- * If true, unsubscribes from Driver Braking
+ * If true, unsubscribes from Fuel Range
*
* Optional.
*/
-@property (strong, nonatomic, nullable) NSNumber<SDLBool> *driverBraking;
+@property (strong, nonatomic, nullable) NSNumber<SDLBool> *fuelRange;
/**
- * If true, unsubscribes from Wiper Status
+ * If true, unsubscribes from GPS
*
* Optional.
*/
-@property (strong, nonatomic, nullable) NSNumber<SDLBool> *wiperStatus;
+@property (strong, nonatomic, nullable) NSNumber<SDLBool> *gps;
/**
* If true, unsubscribes from Head Lamp Status
@@ -301,74 +350,69 @@ NS_ASSUME_NONNULL_BEGIN
@property (strong, nonatomic, nullable) NSNumber<SDLBool> *headLampStatus;
/**
- * If true, unsubscribes from Engine Oil Life
+ * If true, unsubscribes from Instant Fuel Consumption
*
* Optional.
*/
-@property (strong, nonatomic, nullable) NSNumber<SDLBool> *engineOilLife;
+@property (strong, nonatomic, nullable) NSNumber<SDLBool> *instantFuelConsumption;
/**
- * If true, unsubscribes from Engine Torque
+ * If true, unsubscribes from My Key
*
* Optional.
*/
-@property (strong, nonatomic, nullable) NSNumber<SDLBool> *engineTorque;
+@property (strong, nonatomic, nullable) NSNumber<SDLBool> *myKey;
/**
- * If true, unsubscribes from Acc Pedal Position
+ * If true, unsubscribes from Odometer
*
* Optional.
*/
-@property (strong, nonatomic, nullable) NSNumber<SDLBool> *accPedalPosition;
+@property (strong, nonatomic, nullable) NSNumber<SDLBool> *odometer;
/**
- * If true, unsubscribes from Steering Wheel Angle data
+ * If true, unsubscribes from PRNDL
*
* Optional.
*/
-@property (strong, nonatomic, nullable) NSNumber<SDLBool> *steeringWheelAngle;
+@property (strong, nonatomic, nullable) NSNumber<SDLBool> *prndl;
/**
- * If true, unsubscribes from eCallInfo
+ * If true, unsubscribes from RPM
*
* Optional.
*/
-@property (strong, nonatomic, nullable) NSNumber<SDLBool> *eCallInfo;
+@property (strong, nonatomic, nullable) NSNumber<SDLBool> *rpm;
/**
- * If true, unsubscribes from Airbag Status
+ * If true, unsubscribes from Speed
*
* Optional.
*/
-@property (strong, nonatomic, nullable) NSNumber<SDLBool> *airbagStatus;
+@property (strong, nonatomic, nullable) NSNumber<SDLBool> *speed;
/**
- * If true, unsubscribes from Emergency Event
+ * See StabilityControlsStatus
*
* Optional.
+ *
+ * @since SDL 7.0.0
*/
-@property (strong, nonatomic, nullable) NSNumber<SDLBool> *emergencyEvent;
+@property (strong, nonatomic, nullable) NSNumber<SDLBool> *stabilityControlsStatus;
/**
- * If true, unsubscribes from Cluster Mode Status
+ * If true, unsubscribes from Steering Wheel Angle data
*
* Optional.
*/
-@property (strong, nonatomic, nullable) NSNumber<SDLBool> *clusterModeStatus;
+@property (strong, nonatomic, nullable) NSNumber<SDLBool> *steeringWheelAngle;
/**
- * If true, unsubscribes from My Key
+ * If true, unsubscribes from Tire Pressure
*
* Optional.
*/
-@property (strong, nonatomic, nullable) NSNumber<SDLBool> *myKey;
-
-/**
- A boolean value. If true, unsubscribes to the Electronic Parking Brake Status
-
- Optional.
- */
-@property (strong, nonatomic, nullable) NSNumber<SDLBool> *electronicParkBrakeStatus;
+@property (strong, nonatomic, nullable) NSNumber<SDLBool> *tirePressure;
/**
A boolean value. If true, unsubscribes to the Turn Signal
@@ -378,20 +422,11 @@ NS_ASSUME_NONNULL_BEGIN
@property (strong, nonatomic, nullable) NSNumber<SDLBool> *turnSignal;
/**
- A boolean value. If true, unsubscribes to the Cloud App Vehicle ID
-
- Optional.
- */
-@property (strong, nonatomic, nullable) NSNumber<SDLBool> *cloudAppVehicleID;
-
-/**
- * See StabilityControlsStatus
+ * If true, unsubscribes from Wiper Status
*
* Optional.
- *
- * @since SDL 6.2.0
*/
-@property (strong, nonatomic, nullable) NSNumber<SDLBool> *stabilityControlsStatus;
+@property (strong, nonatomic, nullable) NSNumber<SDLBool> *wiperStatus;
/**
Sets the OEM custom vehicle data state for any given OEM custom vehicle data name.
diff --git a/SmartDeviceLink/SDLUnsubscribeVehicleData.m b/SmartDeviceLink/SDLUnsubscribeVehicleData.m
index 24d356c87..a515f6e56 100644
--- a/SmartDeviceLink/SDLUnsubscribeVehicleData.m
+++ b/SmartDeviceLink/SDLUnsubscribeVehicleData.m
@@ -51,19 +51,19 @@ NS_ASSUME_NONNULL_BEGIN
#pragma clang diagnostic pop
- (instancetype)initWithAccelerationPedalPosition:(BOOL)accelerationPedalPosition airbagStatus:(BOOL)airbagStatus beltStatus:(BOOL)beltStatus bodyInformation:(BOOL)bodyInformation clusterModeStatus:(BOOL)clusterModeStatus deviceStatus:(BOOL)deviceStatus driverBraking:(BOOL)driverBraking eCallInfo:(BOOL)eCallInfo emergencyEvent:(BOOL)emergencyEvent engineTorque:(BOOL)engineTorque externalTemperature:(BOOL)externalTemperature fuelLevel:(BOOL)fuelLevel fuelLevelState:(BOOL)fuelLevelState gps:(BOOL)gps headLampStatus:(BOOL)headLampStatus instantFuelConsumption:(BOOL)instantFuelConsumption myKey:(BOOL)myKey odometer:(BOOL)odometer prndl:(BOOL)prndl rpm:(BOOL)rpm speed:(BOOL)speed steeringWheelAngle:(BOOL)steeringWheelAngle tirePressure:(BOOL)tirePressure wiperStatus:(BOOL)wiperStatus {
- return [self initWithAccelerationPedalPosition:accelerationPedalPosition airbagStatus:airbagStatus beltStatus:beltStatus bodyInformation:bodyInformation clusterModeStatus:clusterModeStatus deviceStatus:deviceStatus driverBraking:driverBraking eCallInfo:eCallInfo electronicParkBrakeStatus:NO emergencyEvent:emergencyEvent engineOilLife:NO engineTorque:engineTorque externalTemperature:externalTemperature fuelLevel:fuelLevel fuelLevelState:fuelLevelState fuelRange:NO gps:gps headLampStatus:headLampStatus instantFuelConsumption:instantFuelConsumption myKey:myKey odometer:odometer prndl:prndl rpm:rpm speed:speed steeringWheelAngle:steeringWheelAngle tirePressure:tirePressure turnSignal:NO wiperStatus:wiperStatus];
+ return [self initWithAccelerationPedalPosition:accelerationPedalPosition airbagStatus:airbagStatus beltStatus:beltStatus bodyInformation:bodyInformation cloudAppVehicleID:NO clusterModeStatus:clusterModeStatus deviceStatus:deviceStatus driverBraking:driverBraking eCallInfo:eCallInfo electronicParkBrakeStatus:NO emergencyEvent:emergencyEvent engineOilLife:NO engineTorque:engineTorque externalTemperature:externalTemperature fuelLevel:fuelLevel fuelLevelState:fuelLevelState fuelRange:NO gps:gps headLampStatus:headLampStatus instantFuelConsumption:instantFuelConsumption myKey:myKey odometer:odometer prndl:prndl rpm:rpm speed:speed stabilityControlsStatus:NO steeringWheelAngle:steeringWheelAngle tirePressure:tirePressure turnSignal:NO wiperStatus:wiperStatus];
}
- (instancetype)initWithAccelerationPedalPosition:(BOOL)accelerationPedalPosition airbagStatus:(BOOL)airbagStatus beltStatus:(BOOL)beltStatus bodyInformation:(BOOL)bodyInformation clusterModeStatus:(BOOL)clusterModeStatus deviceStatus:(BOOL)deviceStatus driverBraking:(BOOL)driverBraking eCallInfo:(BOOL)eCallInfo electronicParkBrakeStatus:(BOOL)electronicParkBrakeStatus emergencyEvent:(BOOL)emergencyEvent engineOilLife:(BOOL)engineOilLife engineTorque:(BOOL)engineTorque externalTemperature:(BOOL)externalTemperature fuelLevel:(BOOL)fuelLevel fuelLevelState:(BOOL)fuelLevelState fuelRange:(BOOL)fuelRange gps:(BOOL)gps headLampStatus:(BOOL)headLampStatus instantFuelConsumption:(BOOL)instantFuelConsumption myKey:(BOOL)myKey odometer:(BOOL)odometer prndl:(BOOL)prndl rpm:(BOOL)rpm speed:(BOOL)speed steeringWheelAngle:(BOOL)steeringWheelAngle tirePressure:(BOOL)tirePressure turnSignal:(BOOL)turnSignal wiperStatus:(BOOL)wiperStatus {
- return [self initWithAccelerationPedalPosition:accelerationPedalPosition airbagStatus:airbagStatus beltStatus:beltStatus bodyInformation:bodyInformation cloudAppVehicleID:NO clusterModeStatus:clusterModeStatus deviceStatus:deviceStatus driverBraking:driverBraking eCallInfo:eCallInfo electronicParkBrakeStatus:electronicParkBrakeStatus emergencyEvent:emergencyEvent engineOilLife:engineOilLife engineTorque:engineTorque externalTemperature:externalTemperature fuelLevel:fuelLevel fuelLevelState:fuelLevelState fuelRange:fuelRange gps:gps headLampStatus:headLampStatus instantFuelConsumption:instantFuelConsumption myKey:myKey odometer:odometer prndl:prndl rpm:rpm speed:speed steeringWheelAngle:steeringWheelAngle tirePressure:tirePressure turnSignal:turnSignal wiperStatus:wiperStatus];
+ return [self initWithAccelerationPedalPosition:accelerationPedalPosition airbagStatus:airbagStatus beltStatus:beltStatus bodyInformation:bodyInformation cloudAppVehicleID:NO clusterModeStatus:clusterModeStatus deviceStatus:deviceStatus driverBraking:driverBraking eCallInfo:eCallInfo electronicParkBrakeStatus:electronicParkBrakeStatus emergencyEvent:emergencyEvent engineOilLife:engineOilLife engineTorque:engineTorque externalTemperature:externalTemperature fuelLevel:fuelLevel fuelLevelState:fuelLevelState fuelRange:fuelRange gps:gps headLampStatus:headLampStatus instantFuelConsumption:instantFuelConsumption myKey:myKey odometer:odometer prndl:prndl rpm:rpm speed:speed stabilityControlsStatus:NO steeringWheelAngle:steeringWheelAngle tirePressure:tirePressure turnSignal:turnSignal wiperStatus:wiperStatus];
}
- (instancetype)initWithAccelerationPedalPosition:(BOOL)accelerationPedalPosition airbagStatus:(BOOL)airbagStatus beltStatus:(BOOL)beltStatus bodyInformation:(BOOL)bodyInformation cloudAppVehicleID:(BOOL)cloudAppVehicleID clusterModeStatus:(BOOL)clusterModeStatus deviceStatus:(BOOL)deviceStatus driverBraking:(BOOL)driverBraking eCallInfo:(BOOL)eCallInfo electronicParkBrakeStatus:(BOOL)electronicParkBrakeStatus emergencyEvent:(BOOL)emergencyEvent engineOilLife:(BOOL)engineOilLife engineTorque:(BOOL)engineTorque externalTemperature:(BOOL)externalTemperature fuelLevel:(BOOL)fuelLevel fuelLevelState:(BOOL)fuelLevelState fuelRange:(BOOL)fuelRange gps:(BOOL)gps headLampStatus:(BOOL)headLampStatus instantFuelConsumption:(BOOL)instantFuelConsumption myKey:(BOOL)myKey odometer:(BOOL)odometer prndl:(BOOL)prndl rpm:(BOOL)rpm speed:(BOOL)speed steeringWheelAngle:(BOOL)steeringWheelAngle tirePressure:(BOOL)tirePressure turnSignal:(BOOL)turnSignal wiperStatus:(BOOL)wiperStatus {
- return [self initWithAccelerationPedalPosition:accelerationPedalPosition airbagStatus:airbagStatus beltStatus:beltStatus bodyInformation:bodyInformation cloudAppVehicleID:cloudAppVehicleID clusterModeStatus:clusterModeStatus deviceStatus:deviceStatus driverBraking:driverBraking eCallInfo:eCallInfo electronicParkBrakeStatus:electronicParkBrakeStatus emergencyEvent:emergencyEvent engineOilLife:engineOilLife engineTorque:engineTorque externalTemperature:externalTemperature fuelLevel:fuelLevel fuelLevelState:fuelLevelState fuelRange:fuelRange gps:gps headLampStatus:headLampStatus instantFuelConsumption:instantFuelConsumption myKey:myKey odometer:odometer prndl:prndl rpm:rpm speed:speed steeringWheelAngle:steeringWheelAngle tirePressure:tirePressure turnSignal:turnSignal wiperStatus:wiperStatus stabilityControlsStatus:NO];
+ return [self initWithAccelerationPedalPosition:accelerationPedalPosition airbagStatus:airbagStatus beltStatus:beltStatus bodyInformation:bodyInformation cloudAppVehicleID:cloudAppVehicleID clusterModeStatus:clusterModeStatus deviceStatus:deviceStatus driverBraking:driverBraking eCallInfo:eCallInfo electronicParkBrakeStatus:electronicParkBrakeStatus emergencyEvent:emergencyEvent engineOilLife:engineOilLife engineTorque:engineTorque externalTemperature:externalTemperature fuelLevel:fuelLevel fuelLevelState:fuelLevelState fuelRange:fuelRange gps:gps headLampStatus:headLampStatus instantFuelConsumption:instantFuelConsumption myKey:myKey odometer:odometer prndl:prndl rpm:rpm speed:speed stabilityControlsStatus:NO steeringWheelAngle:steeringWheelAngle tirePressure:tirePressure turnSignal:turnSignal wiperStatus:wiperStatus];
}
-- (instancetype)initWithAccelerationPedalPosition:(BOOL)accelerationPedalPosition airbagStatus:(BOOL)airbagStatus beltStatus:(BOOL)beltStatus bodyInformation:(BOOL)bodyInformation cloudAppVehicleID:(BOOL)cloudAppVehicleID clusterModeStatus:(BOOL)clusterModeStatus deviceStatus:(BOOL)deviceStatus driverBraking:(BOOL)driverBraking eCallInfo:(BOOL)eCallInfo electronicParkBrakeStatus:(BOOL)electronicParkBrakeStatus emergencyEvent:(BOOL)emergencyEvent engineOilLife:(BOOL)engineOilLife engineTorque:(BOOL)engineTorque externalTemperature:(BOOL)externalTemperature fuelLevel:(BOOL)fuelLevel fuelLevelState:(BOOL)fuelLevelState fuelRange:(BOOL)fuelRange gps:(BOOL)gps headLampStatus:(BOOL)headLampStatus instantFuelConsumption:(BOOL)instantFuelConsumption myKey:(BOOL)myKey odometer:(BOOL)odometer prndl:(BOOL)prndl rpm:(BOOL)rpm speed:(BOOL)speed steeringWheelAngle:(BOOL)steeringWheelAngle tirePressure:(BOOL)tirePressure turnSignal:(BOOL)turnSignal wiperStatus:(BOOL)wiperStatus stabilityControlsStatus:(BOOL)stabilityControlsStatus {
+- (instancetype)initWithAccelerationPedalPosition:(BOOL)accelerationPedalPosition airbagStatus:(BOOL)airbagStatus beltStatus:(BOOL)beltStatus bodyInformation:(BOOL)bodyInformation cloudAppVehicleID:(BOOL)cloudAppVehicleID clusterModeStatus:(BOOL)clusterModeStatus deviceStatus:(BOOL)deviceStatus driverBraking:(BOOL)driverBraking eCallInfo:(BOOL)eCallInfo electronicParkBrakeStatus:(BOOL)electronicParkBrakeStatus emergencyEvent:(BOOL)emergencyEvent engineOilLife:(BOOL)engineOilLife engineTorque:(BOOL)engineTorque externalTemperature:(BOOL)externalTemperature fuelLevel:(BOOL)fuelLevel fuelLevelState:(BOOL)fuelLevelState fuelRange:(BOOL)fuelRange gps:(BOOL)gps headLampStatus:(BOOL)headLampStatus instantFuelConsumption:(BOOL)instantFuelConsumption myKey:(BOOL)myKey odometer:(BOOL)odometer prndl:(BOOL)prndl rpm:(BOOL)rpm speed:(BOOL)speed stabilityControlsStatus:(BOOL)stabilityControlsStatus steeringWheelAngle:(BOOL)steeringWheelAngle tirePressure:(BOOL)tirePressure turnSignal:(BOOL)turnSignal wiperStatus:(BOOL)wiperStatus {
self = [self init];
if (!self) {
return nil;
@@ -94,15 +94,51 @@ NS_ASSUME_NONNULL_BEGIN
self.prndl = @(prndl);
self.rpm = @(rpm);
self.speed = @(speed);
+ self.stabilityControlsStatus = @(stabilityControlsStatus);
self.steeringWheelAngle = @(steeringWheelAngle);
self.tirePressure = @(tirePressure);
self.turnSignal = @(turnSignal);
self.wiperStatus = @(wiperStatus);
- self.stabilityControlsStatus = @(stabilityControlsStatus);
return self;
}
+- (instancetype)initWithGps:(nullable NSNumber<SDLBool> *)gps speed:(nullable NSNumber<SDLBool> *)speed rpm:(nullable NSNumber<SDLBool> *)rpm fuelLevel:(nullable NSNumber<SDLBool> *)fuelLevel fuelLevel_State:(nullable NSNumber<SDLBool> *)fuelLevel_State instantFuelConsumption:(nullable NSNumber<SDLBool> *)instantFuelConsumption fuelRange:(nullable NSNumber<SDLBool> *)fuelRange externalTemperature:(nullable NSNumber<SDLBool> *)externalTemperature turnSignal:(nullable NSNumber<SDLBool> *)turnSignal prndl:(nullable NSNumber<SDLBool> *)prndl tirePressure:(nullable NSNumber<SDLBool> *)tirePressure odometer:(nullable NSNumber<SDLBool> *)odometer beltStatus:(nullable NSNumber<SDLBool> *)beltStatus bodyInformation:(nullable NSNumber<SDLBool> *)bodyInformation deviceStatus:(nullable NSNumber<SDLBool> *)deviceStatus driverBraking:(nullable NSNumber<SDLBool> *)driverBraking wiperStatus:(nullable NSNumber<SDLBool> *)wiperStatus headLampStatus:(nullable NSNumber<SDLBool> *)headLampStatus engineTorque:(nullable NSNumber<SDLBool> *)engineTorque accPedalPosition:(nullable NSNumber<SDLBool> *)accPedalPosition steeringWheelAngle:(nullable NSNumber<SDLBool> *)steeringWheelAngle engineOilLife:(nullable NSNumber<SDLBool> *)engineOilLife electronicParkBrakeStatus:(nullable NSNumber<SDLBool> *)electronicParkBrakeStatus cloudAppVehicleID:(nullable NSNumber<SDLBool> *)cloudAppVehicleID eCallInfo:(nullable NSNumber<SDLBool> *)eCallInfo airbagStatus:(nullable NSNumber<SDLBool> *)airbagStatus emergencyEvent:(nullable NSNumber<SDLBool> *)emergencyEvent clusterModeStatus:(nullable NSNumber<SDLBool> *)clusterModeStatus myKey:(nullable NSNumber<SDLBool> *)myKey {
+ self = [self init];
+ if (!self) {
+ return nil;
+ }
+ self.gps = gps;
+ self.speed = speed;
+ self.rpm = rpm;
+ self.fuelLevel = fuelLevel;
+ self.fuelLevel_State = fuelLevel_State;
+ self.instantFuelConsumption = instantFuelConsumption;
+ self.fuelRange = fuelRange;
+ self.externalTemperature = externalTemperature;
+ self.turnSignal = turnSignal;
+ self.prndl = prndl;
+ self.tirePressure = tirePressure;
+ self.odometer = odometer;
+ self.beltStatus = beltStatus;
+ self.bodyInformation = bodyInformation;
+ self.deviceStatus = deviceStatus;
+ self.driverBraking = driverBraking;
+ self.wiperStatus = wiperStatus;
+ self.headLampStatus = headLampStatus;
+ self.engineTorque = engineTorque;
+ self.accPedalPosition = accPedalPosition;
+ self.steeringWheelAngle = steeringWheelAngle;
+ self.engineOilLife = engineOilLife;
+ self.electronicParkBrakeStatus = electronicParkBrakeStatus;
+ self.cloudAppVehicleID = cloudAppVehicleID;
+ self.eCallInfo = eCallInfo;
+ self.airbagStatus = airbagStatus;
+ self.emergencyEvent = emergencyEvent;
+ self.clusterModeStatus = clusterModeStatus;
+ self.myKey = myKey;
+ return self;
+}
- (void)setGps:(nullable NSNumber<SDLBool> *)gps {
[self.parameters sdl_setObject:gps forName:SDLRPCParameterNameGPS];
diff --git a/SmartDeviceLink/SDLUnsubscribeVehicleDataResponse.h b/SmartDeviceLink/SDLUnsubscribeVehicleDataResponse.h
index a0dd79c71..f36eaadb5 100644
--- a/SmartDeviceLink/SDLUnsubscribeVehicleDataResponse.h
+++ b/SmartDeviceLink/SDLUnsubscribeVehicleDataResponse.h
@@ -42,193 +42,237 @@ NS_ASSUME_NONNULL_BEGIN
@interface SDLUnsubscribeVehicleDataResponse : SDLRPCResponse
/**
- The result of requesting to unsubscribe to the GPSData.
+ * note: RPC generator produced initializer
+ * @param gps - gps
+ * @param speed - speed
+ * @param rpm - rpm
+ * @param fuelLevel - fuelLevel
+ * @param fuelLevel_State - fuelLevel_State
+ * @param instantFuelConsumption - instantFuelConsumption
+ * @param fuelRange - fuelRange
+ * @param externalTemperature - externalTemperature
+ * @param turnSignal - turnSignal
+ * @param prndl - prndl
+ * @param tirePressure - tirePressure
+ * @param odometer - odometer
+ * @param beltStatus - beltStatus
+ * @param bodyInformation - bodyInformation
+ * @param deviceStatus - deviceStatus
+ * @param driverBraking - driverBraking
+ * @param wiperStatus - wiperStatus
+ * @param headLampStatus - headLampStatus
+ * @param engineTorque - engineTorque
+ * @param accPedalPosition - accPedalPosition
+ * @param steeringWheelAngle - steeringWheelAngle
+ * @param engineOilLife - engineOilLife
+ * @param electronicParkBrakeStatus - electronicParkBrakeStatus
+ * @param cloudAppVehicleID - cloudAppVehicleID
+ * @param eCallInfo - eCallInfo
+ * @param airbagStatus - airbagStatus
+ * @param emergencyEvent - emergencyEvent
+ * @param clusterModes - clusterModes
+ * @param myKey - myKey
+ * @return A SDLUnsubscribeVehicleDataResponse object
+ */
+- (instancetype)initWithGps:(nullable SDLVehicleDataResult *)gps speed:(nullable SDLVehicleDataResult *)speed rpm:(nullable SDLVehicleDataResult *)rpm fuelLevel:(nullable SDLVehicleDataResult *)fuelLevel fuelLevel_State:(nullable SDLVehicleDataResult *)fuelLevel_State instantFuelConsumption:(nullable SDLVehicleDataResult *)instantFuelConsumption fuelRange:(nullable SDLVehicleDataResult *)fuelRange externalTemperature:(nullable SDLVehicleDataResult *)externalTemperature turnSignal:(nullable SDLVehicleDataResult *)turnSignal prndl:(nullable SDLVehicleDataResult *)prndl tirePressure:(nullable SDLVehicleDataResult *)tirePressure odometer:(nullable SDLVehicleDataResult *)odometer beltStatus:(nullable SDLVehicleDataResult *)beltStatus bodyInformation:(nullable SDLVehicleDataResult *)bodyInformation deviceStatus:(nullable SDLVehicleDataResult *)deviceStatus driverBraking:(nullable SDLVehicleDataResult *)driverBraking wiperStatus:(nullable SDLVehicleDataResult *)wiperStatus headLampStatus:(nullable SDLVehicleDataResult *)headLampStatus engineTorque:(nullable SDLVehicleDataResult *)engineTorque accPedalPosition:(nullable SDLVehicleDataResult *)accPedalPosition steeringWheelAngle:(nullable SDLVehicleDataResult *)steeringWheelAngle engineOilLife:(nullable SDLVehicleDataResult *)engineOilLife electronicParkBrakeStatus:(nullable SDLVehicleDataResult *)electronicParkBrakeStatus cloudAppVehicleID:(nullable SDLVehicleDataResult *)cloudAppVehicleID eCallInfo:(nullable SDLVehicleDataResult *)eCallInfo airbagStatus:(nullable SDLVehicleDataResult *)airbagStatus emergencyEvent:(nullable SDLVehicleDataResult *)emergencyEvent clusterModes:(nullable SDLVehicleDataResult *)clusterModes myKey:(nullable SDLVehicleDataResult *)myKey;
+
+/**
+ The result of requesting to unsubscribe to the accelerator pedal position (percentage depressed)
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *gps;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *accPedalPosition;
/**
- The result of requesting to unsubscribe to the vehicle speed in kilometers per hour.
+ The result of requesting to unsubscribe to the airbag status
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *speed;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *airbagStatus;
/**
- The result of requesting to unsubscribe to the number of revolutions per minute of the engine.
+ The result of requesting to unsubscribe to the status of the seat belts.
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *rpm;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *beltStatus;
/**
- The result of requesting to unsubscribe to the fuel level in the tank (percentage)
+ The result of requesting to unsubscribe to the body information including power modes.
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *fuelLevel;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *bodyInformation;
/**
- The result of requesting to unsubscribe to the fuel level state.
+ The result of requesting to unsubscribe to the cloud app vehicle id
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *fuelLevel_State;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *cloudAppVehicleID;
/**
- The result of requesting to unsubscribe to the fuel range.
+ The result of requesting to unsubscribe to the cluster modes
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *fuelRange;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *clusterModes;
/**
- The result of requesting to unsubscribe to the instantaneous fuel consumption in microlitres.
+ The result of requesting to unsubscribe to the device status including signal and battery strength.
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *instantFuelConsumption;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *deviceStatus;
/**
- The result of requesting to unsubscribe to the external temperature in degrees celsius.
+ The result of requesting to unsubscribe to the status of the brake pedal.
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *externalTemperature;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *driverBraking;
/**
- The result of requesting to unsubscribe to the PRNDL status.
+ The result of requesting to unsubscribe to the emergency call info
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *prndl;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *eCallInfo;
/**
- The result of requesting to unsubscribe to the tireStatus.
+ The result of requesting to unsubscribe to the electronic parking brake status
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *tirePressure;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *electronicParkBrakeStatus;
/**
- The result of requesting to unsubscribe to the odometer in km.
+ The result of requesting to unsubscribe to the emergency event
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *odometer;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *emergencyEvent;
/**
- The result of requesting to unsubscribe to the status of the seat belts.
+ The result of requesting to unsubscribe to the estimated percentage of remaining oil life of the engine.
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *beltStatus;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *engineOilLife;
/**
- The result of requesting to unsubscribe to the body information including power modes.
+ The result of requesting to unsubscribe to the torque value for engine (in Nm) on non-diesel variants.
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *bodyInformation;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *engineTorque;
/**
- The result of requesting to unsubscribe to the device status including signal and battery strength.
+ The result of requesting to unsubscribe to the external temperature in degrees celsius.
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *deviceStatus;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *externalTemperature;
/**
- The result of requesting to unsubscribe to the status of the brake pedal.
+ The result of requesting to unsubscribe to the fuel level in the tank (percentage)
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *driverBraking;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *fuelLevel;
/**
- The result of requesting to unsubscribe to the status of the wipers.
+ The result of requesting to unsubscribe to the fuel level state.
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *wiperStatus;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *fuelLevel_State;
/**
- The result of requesting to unsubscribe to the status of the head lamps.
+ The result of requesting to unsubscribe to the fuel range.
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *headLampStatus;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *fuelRange;
/**
- The result of requesting to unsubscribe to the estimated percentage of remaining oil life of the engine.
+ The result of requesting to unsubscribe to the GPSData.
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *engineOilLife;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *gps;
/**
- The result of requesting to unsubscribe to the torque value for engine (in Nm) on non-diesel variants.
+ The result of requesting to unsubscribe to the status of the head lamps.
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *engineTorque;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *headLampStatus;
/**
- The result of requesting to unsubscribe to the accelerator pedal position (percentage depressed)
+ The result of requesting to unsubscribe to the instantaneous fuel consumption in microlitres.
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *accPedalPosition;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *instantFuelConsumption;
/**
- The result of requesting to unsubscribe to the current angle of the steering wheel (in deg)
+ The result of requesting to unsubscribe to the myKey status
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *steeringWheelAngle;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *myKey;
/**
- The result of requesting to unsubscribe to the emergency call info
+ The result of requesting to unsubscribe to the odometer in km.
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *eCallInfo;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *odometer;
/**
- The result of requesting to unsubscribe to the airbag status
+ The result of requesting to unsubscribe to the PRNDL status.
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *airbagStatus;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *prndl;
/**
- The result of requesting to unsubscribe to the emergency event
+ The result of requesting to unsubscribe to the number of revolutions per minute of the engine.
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *emergencyEvent;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *rpm;
/**
- The result of requesting to unsubscribe to the cluster modes
+ The result of requesting to unsubscribe to the vehicle speed in kilometers per hour.
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *clusterModes;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *speed;
/**
- The result of requesting to unsubscribe to the myKey status
+ * See StabilityControlsStatus
+ *
+ * Optional.
+ *
+ * @since SDL 7.0.0
+ */
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *stabilityControlsStatus;
+
+/**
+ The result of requesting to unsubscribe to the current angle of the steering wheel (in deg)
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *myKey;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *steeringWheelAngle;
/**
- The result of requesting to unsubscribe to the electronic parking brake status
+ The result of requesting to unsubscribe to the tireStatus.
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *electronicParkBrakeStatus;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *tirePressure;
/**
The result of requesting to unsubscribe to the turn signal
@@ -238,20 +282,11 @@ NS_ASSUME_NONNULL_BEGIN
@property (strong, nonatomic, nullable) SDLVehicleDataResult *turnSignal;
/**
- The result of requesting to unsubscribe to the cloud app vehicle id
+ The result of requesting to unsubscribe to the status of the wipers.
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *cloudAppVehicleID;
-
-/**
- * See StabilityControlsStatus
- *
- * Optional.
- *
- * @since SDL 6.2.0
- */
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *stabilityControlsStatus;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *wiperStatus;
/**
Sets the OEM custom vehicle data state for any given OEM custom vehicle data name.
diff --git a/SmartDeviceLink/SDLUnsubscribeVehicleDataResponse.m b/SmartDeviceLink/SDLUnsubscribeVehicleDataResponse.m
index 69714632c..a800aa02f 100644
--- a/SmartDeviceLink/SDLUnsubscribeVehicleDataResponse.m
+++ b/SmartDeviceLink/SDLUnsubscribeVehicleDataResponse.m
@@ -51,6 +51,43 @@ NS_ASSUME_NONNULL_BEGIN
}
#pragma clang diagnostic pop
+- (instancetype)initWithGps:(nullable SDLVehicleDataResult *)gps speed:(nullable SDLVehicleDataResult *)speed rpm:(nullable SDLVehicleDataResult *)rpm fuelLevel:(nullable SDLVehicleDataResult *)fuelLevel fuelLevel_State:(nullable SDLVehicleDataResult *)fuelLevel_State instantFuelConsumption:(nullable SDLVehicleDataResult *)instantFuelConsumption fuelRange:(nullable SDLVehicleDataResult *)fuelRange externalTemperature:(nullable SDLVehicleDataResult *)externalTemperature turnSignal:(nullable SDLVehicleDataResult *)turnSignal prndl:(nullable SDLVehicleDataResult *)prndl tirePressure:(nullable SDLVehicleDataResult *)tirePressure odometer:(nullable SDLVehicleDataResult *)odometer beltStatus:(nullable SDLVehicleDataResult *)beltStatus bodyInformation:(nullable SDLVehicleDataResult *)bodyInformation deviceStatus:(nullable SDLVehicleDataResult *)deviceStatus driverBraking:(nullable SDLVehicleDataResult *)driverBraking wiperStatus:(nullable SDLVehicleDataResult *)wiperStatus headLampStatus:(nullable SDLVehicleDataResult *)headLampStatus engineTorque:(nullable SDLVehicleDataResult *)engineTorque accPedalPosition:(nullable SDLVehicleDataResult *)accPedalPosition steeringWheelAngle:(nullable SDLVehicleDataResult *)steeringWheelAngle engineOilLife:(nullable SDLVehicleDataResult *)engineOilLife electronicParkBrakeStatus:(nullable SDLVehicleDataResult *)electronicParkBrakeStatus cloudAppVehicleID:(nullable SDLVehicleDataResult *)cloudAppVehicleID eCallInfo:(nullable SDLVehicleDataResult *)eCallInfo airbagStatus:(nullable SDLVehicleDataResult *)airbagStatus emergencyEvent:(nullable SDLVehicleDataResult *)emergencyEvent clusterModes:(nullable SDLVehicleDataResult *)clusterModes myKey:(nullable SDLVehicleDataResult *)myKey {
+ self = [super init];
+ if (!self) {
+ return nil;
+ }
+ self.gps = gps;
+ self.speed = speed;
+ self.rpm = rpm;
+ self.fuelLevel = fuelLevel;
+ self.fuelLevel_State = fuelLevel_State;
+ self.instantFuelConsumption = instantFuelConsumption;
+ self.fuelRange = fuelRange;
+ self.externalTemperature = externalTemperature;
+ self.turnSignal = turnSignal;
+ self.prndl = prndl;
+ self.tirePressure = tirePressure;
+ self.odometer = odometer;
+ self.beltStatus = beltStatus;
+ self.bodyInformation = bodyInformation;
+ self.deviceStatus = deviceStatus;
+ self.driverBraking = driverBraking;
+ self.wiperStatus = wiperStatus;
+ self.headLampStatus = headLampStatus;
+ self.engineTorque = engineTorque;
+ self.accPedalPosition = accPedalPosition;
+ self.steeringWheelAngle = steeringWheelAngle;
+ self.engineOilLife = engineOilLife;
+ self.electronicParkBrakeStatus = electronicParkBrakeStatus;
+ self.cloudAppVehicleID = cloudAppVehicleID;
+ self.eCallInfo = eCallInfo;
+ self.airbagStatus = airbagStatus;
+ self.emergencyEvent = emergencyEvent;
+ self.clusterModes = clusterModes;
+ self.myKey = myKey;
+ return self;
+}
+
- (void)setGps:(nullable SDLVehicleDataResult *)gps {
[self.parameters sdl_setObject:gps forName:SDLRPCParameterNameGPS];
}
diff --git a/SmartDeviceLink/SDLVehicleDataType.h b/SmartDeviceLink/SDLVehicleDataType.h
index 590beb108..a49b71b97 100644
--- a/SmartDeviceLink/SDLVehicleDataType.h
+++ b/SmartDeviceLink/SDLVehicleDataType.h
@@ -40,139 +40,148 @@
typedef SDLEnum SDLVehicleDataType SDL_SWIFT_ENUM;
/**
- GPS vehicle data
+ Vehicle accleration pedal data
*/
-extern SDLVehicleDataType const SDLVehicleDataTypeGPS;
+extern SDLVehicleDataType const SDLVehicleDataTypeAccelerationPedal;
/**
- Vehicle speed data
+ Vehicle airbag status data
*/
-extern SDLVehicleDataType const SDLVehicleDataTypeSpeed;
+extern SDLVehicleDataType const SDLVehicleDataTypeAirbagStatus;
/**
- Vehicle RPM data
+ Vehicle battery voltage data
*/
-extern SDLVehicleDataType const SDLVehicleDataTypeRPM;
+extern SDLVehicleDataType const SDLVehicleDataTypeBatteryVoltage;
/**
- Vehicle fuel level data
+ Vehicle belt status data
*/
-extern SDLVehicleDataType const SDLVehicleDataTypeFuelLevel;
+extern SDLVehicleDataType const SDLVehicleDataTypeBeltStatus;
/**
- Vehicle fuel level state data
+ Vehicle body info data
*/
-extern SDLVehicleDataType const SDLVehicleDataTypeFuelLevelState;
+extern SDLVehicleDataType const SDLVehicleDataTypeBodyInfo;
/**
- Vehicle fuel consumption data
+ Vehicle braking data
*/
-extern SDLVehicleDataType const SDLVehicleDataTypeFuelConsumption;
+extern SDLVehicleDataType const SDLVehicleDataTypeBraking;
/**
- Vehicle external temperature data
+ The cloud application vehicle id. Used by cloud apps to identify a head unit
*/
-extern SDLVehicleDataType const SDLVehicleDataTypeExternalTemperature;
+extern SDLVehicleDataType const SDLVehicleDataTypeCloudAppVehicleID;
/**
- Vehicle VIN data
+ Vehicle cluster mode status data
*/
-extern SDLVehicleDataType const SDLVehicleDataTypeVIN;
+extern SDLVehicleDataType const SDLVehicleDataTypeClusterModeStatus;
/**
- Vehicle PRNDL data
+ Vehicle device status data
*/
-extern SDLVehicleDataType const SDLVehicleDataTypePRNDL;
+extern SDLVehicleDataType const SDLVehicleDataTypeDeviceStatus;
/**
- Vehicle tire pressure data
+ Vehicle emergency call info data
*/
-extern SDLVehicleDataType const SDLVehicleDataTypeTirePressure;
+extern SDLVehicleDataType const SDLVehicleDataTypeECallInfo;
/**
- Vehicle odometer data
+ Vehicle electronic parking brake status data
*/
-extern SDLVehicleDataType const SDLVehicleDataTypeOdometer;
+extern SDLVehicleDataType const SDLVehicleDataTypeElectronicParkBrakeStatus;
/**
- Vehicle belt status data
+ Vehicle emergency event info
*/
-extern SDLVehicleDataType const SDLVehicleDataTypeBeltStatus;
+extern SDLVehicleDataType const SDLVehicleDataTypeEmergencyEvent;
/**
- Vehicle body info data
+ Vehicle engine oil life data
*/
-extern SDLVehicleDataType const SDLVehicleDataTypeBodyInfo;
+extern SDLVehicleDataType const SDLVehicleDataTypeEngineOilLife;
/**
- Vehicle device status data
+ Vehicle engine torque data
*/
-extern SDLVehicleDataType const SDLVehicleDataTypeDeviceStatus;
+extern SDLVehicleDataType const SDLVehicleDataTypeEngineTorque;
/**
- Vehicle emergency call info data
+ Vehicle external temperature data
*/
-extern SDLVehicleDataType const SDLVehicleDataTypeECallInfo;
+extern SDLVehicleDataType const SDLVehicleDataTypeExternalTemperature;
/**
- Vehicle fuel range data
+ Vehicle fuel consumption data
*/
-extern SDLVehicleDataType const SDLVehicleDataTypeFuelRange;
+extern SDLVehicleDataType const SDLVehicleDataTypeFuelConsumption;
/**
- Vehicle airbag status data
+ Vehicle fuel level data
*/
-extern SDLVehicleDataType const SDLVehicleDataTypeAirbagStatus;
+extern SDLVehicleDataType const SDLVehicleDataTypeFuelLevel;
/**
- Vehicle emergency event info
+ Vehicle fuel level state data
*/
-extern SDLVehicleDataType const SDLVehicleDataTypeEmergencyEvent;
+extern SDLVehicleDataType const SDLVehicleDataTypeFuelLevelState;
/**
- Vehicle cluster mode status data
+ Vehicle fuel range data
*/
-extern SDLVehicleDataType const SDLVehicleDataTypeClusterModeStatus;
+extern SDLVehicleDataType const SDLVehicleDataTypeFuelRange;
/**
- Vehicle MyKey data
+ GPS vehicle data
*/
-extern SDLVehicleDataType const SDLVehicleDataTypeMyKey;
+extern SDLVehicleDataType const SDLVehicleDataTypeGPS;
/**
- Vehicle braking data
+ Vehicle headlamp status
*/
-extern SDLVehicleDataType const SDLVehicleDataTypeBraking;
+extern SDLVehicleDataType const SDLVehicleDataTypeHeadlampStatus;
/**
- Vehicle wiper status data
+ Vehicle MyKey data
*/
-extern SDLVehicleDataType const SDLVehicleDataTypeWiperStatus;
+extern SDLVehicleDataType const SDLVehicleDataTypeMyKey;
/**
- Vehicle headlamp status
+ Custom OEM Vehicle data
+
+ @since SDL 6.0
*/
-extern SDLVehicleDataType const SDLVehicleDataTypeHeadlampStatus;
+extern SDLVehicleDataType const SDLVehicleDataTypeOEMVehicleDataType;
/**
- Vehicle battery voltage data
+ Vehicle odometer data
*/
-extern SDLVehicleDataType const SDLVehicleDataTypeBatteryVoltage;
+extern SDLVehicleDataType const SDLVehicleDataTypeOdometer;
/**
- Vehicle engine oil life data
+ Vehicle PRNDL data
*/
-extern SDLVehicleDataType const SDLVehicleDataTypeEngineOilLife;
+extern SDLVehicleDataType const SDLVehicleDataTypePRNDL;
/**
- Vehicle engine torque data
+ Vehicle RPM data
*/
-extern SDLVehicleDataType const SDLVehicleDataTypeEngineTorque;
+extern SDLVehicleDataType const SDLVehicleDataTypeRPM;
/**
- Vehicle accleration pedal data
+ Vehicle speed data
*/
-extern SDLVehicleDataType const SDLVehicleDataTypeAccelerationPedal;
+extern SDLVehicleDataType const SDLVehicleDataTypeSpeed;
+
+/**
+ vehicle data StabilityControlsStatus to know if stability controls like ESC, Traction Control etc. are active.
+
+ @since SDL 7.0.0
+ */
+extern SDLVehicleDataType const SDLVehicleDataTypeStabilityControlsStatus;
/**
Vehicle steering wheel data
@@ -180,9 +189,9 @@ extern SDLVehicleDataType const SDLVehicleDataTypeAccelerationPedal;
extern SDLVehicleDataType const SDLVehicleDataTypeSteeringWheel;
/**
- Vehicle electronic parking brake status data
+ Vehicle tire pressure data
*/
-extern SDLVehicleDataType const SDLVehicleDataTypeElectronicParkBrakeStatus;
+extern SDLVehicleDataType const SDLVehicleDataTypeTirePressure;
/**
Vehicle turn signal data
@@ -190,18 +199,11 @@ extern SDLVehicleDataType const SDLVehicleDataTypeElectronicParkBrakeStatus;
extern SDLVehicleDataType const SDLVehicleDataTypeTurnSignal;
/**
- The cloud application vehicle id. Used by cloud apps to identify a head unit
- */
-extern SDLVehicleDataType const SDLVehicleDataTypeCloudAppVehicleID;
-
-/**
- Custom OEM Vehicle data
-
- Added in SDL 6.0
+ Vehicle VIN data
*/
-extern SDLVehicleDataType const SDLVehicleDataTypeOEMVehicleDataType;
+extern SDLVehicleDataType const SDLVehicleDataTypeVIN;
/**
- * @since SDL 6.2.0
+ Vehicle wiper status data
*/
-extern SDLVehicleDataType const SDLVehicleDataTypeStabilityControlsStatus;
+extern SDLVehicleDataType const SDLVehicleDataTypeWiperStatus;
diff --git a/SmartDeviceLink/SDLVehicleDataType.m b/SmartDeviceLink/SDLVehicleDataType.m
index ca33bfe20..efb17bdf6 100644
--- a/SmartDeviceLink/SDLVehicleDataType.m
+++ b/SmartDeviceLink/SDLVehicleDataType.m
@@ -32,36 +32,36 @@
#import "SDLVehicleDataType.h"
-SDLVehicleDataType const SDLVehicleDataTypeGPS = @"VEHICLEDATA_GPS";
-SDLVehicleDataType const SDLVehicleDataTypeSpeed = @"VEHICLEDATA_SPEED";
-SDLVehicleDataType const SDLVehicleDataTypeRPM = @"VEHICLEDATA_RPM";
-SDLVehicleDataType const SDLVehicleDataTypeFuelLevel = @"VEHICLEDATA_FUELLEVEL";
-SDLVehicleDataType const SDLVehicleDataTypeFuelLevelState = @"VEHICLEDATA_FUELLEVEL_STATE";
-SDLVehicleDataType const SDLVehicleDataTypeFuelConsumption = @"VEHICLEDATA_FUELCONSUMPTION";
-SDLVehicleDataType const SDLVehicleDataTypeFuelRange = @"VEHICLEDATA_FUELRANGE";
-SDLVehicleDataType const SDLVehicleDataTypeExternalTemperature = @"VEHICLEDATA_EXTERNTEMP";
-SDLVehicleDataType const SDLVehicleDataTypeVIN = @"VEHICLEDATA_VIN";
-SDLVehicleDataType const SDLVehicleDataTypePRNDL = @"VEHICLEDATA_PRNDL";
-SDLVehicleDataType const SDLVehicleDataTypeTirePressure = @"VEHICLEDATA_TIREPRESSURE";
-SDLVehicleDataType const SDLVehicleDataTypeOdometer = @"VEHICLEDATA_ODOMETER";
+SDLVehicleDataType const SDLVehicleDataTypeAccelerationPedal = @"VEHICLEDATA_ACCPEDAL";
+SDLVehicleDataType const SDLVehicleDataTypeAirbagStatus = @"VEHICLEDATA_AIRBAGSTATUS";
+SDLVehicleDataType const SDLVehicleDataTypeBatteryVoltage = @"VEHICLEDATA_BATTVOLTAGE";
SDLVehicleDataType const SDLVehicleDataTypeBeltStatus = @"VEHICLEDATA_BELTSTATUS";
SDLVehicleDataType const SDLVehicleDataTypeBodyInfo = @"VEHICLEDATA_BODYINFO";
+SDLVehicleDataType const SDLVehicleDataTypeBraking = @"VEHICLEDATA_BRAKING";
+SDLVehicleDataType const SDLVehicleDataTypeCloudAppVehicleID = @"VEHICLEDATA_CLOUDAPPVEHICLEID";
+SDLVehicleDataType const SDLVehicleDataTypeClusterModeStatus = @"VEHICLEDATA_CLUSTERMODESTATUS";
SDLVehicleDataType const SDLVehicleDataTypeDeviceStatus = @"VEHICLEDATA_DEVICESTATUS";
SDLVehicleDataType const SDLVehicleDataTypeECallInfo = @"VEHICLEDATA_ECALLINFO";
-SDLVehicleDataType const SDLVehicleDataTypeAirbagStatus = @"VEHICLEDATA_AIRBAGSTATUS";
+SDLVehicleDataType const SDLVehicleDataTypeElectronicParkBrakeStatus = @"VEHICLEDATA_ELECTRONICPARKBRAKESTATUS";
SDLVehicleDataType const SDLVehicleDataTypeEmergencyEvent = @"VEHICLEDATA_EMERGENCYEVENT";
-SDLVehicleDataType const SDLVehicleDataTypeClusterModeStatus = @"VEHICLEDATA_CLUSTERMODESTATUS";
-SDLVehicleDataType const SDLVehicleDataTypeMyKey = @"VEHICLEDATA_MYKEY";
-SDLVehicleDataType const SDLVehicleDataTypeBraking = @"VEHICLEDATA_BRAKING";
-SDLVehicleDataType const SDLVehicleDataTypeWiperStatus = @"VEHICLEDATA_WIPERSTATUS";
-SDLVehicleDataType const SDLVehicleDataTypeHeadlampStatus = @"VEHICLEDATA_HEADLAMPSTATUS";
-SDLVehicleDataType const SDLVehicleDataTypeBatteryVoltage = @"VEHICLEDATA_BATTVOLTAGE";
SDLVehicleDataType const SDLVehicleDataTypeEngineOilLife = @"VEHICLEDATA_ENGINEOILLIFE";
SDLVehicleDataType const SDLVehicleDataTypeEngineTorque = @"VEHICLEDATA_ENGINETORQUE";
-SDLVehicleDataType const SDLVehicleDataTypeAccelerationPedal = @"VEHICLEDATA_ACCPEDAL";
-SDLVehicleDataType const SDLVehicleDataTypeSteeringWheel = @"VEHICLEDATA_STEERINGWHEEL";
-SDLVehicleDataType const SDLVehicleDataTypeElectronicParkBrakeStatus = @"VEHICLEDATA_ELECTRONICPARKBRAKESTATUS";
-SDLVehicleDataType const SDLVehicleDataTypeTurnSignal = @"VEHICLEDATA_TURNSIGNAL";
-SDLVehicleDataType const SDLVehicleDataTypeCloudAppVehicleID = @"VEHICLEDATA_CLOUDAPPVEHICLEID";
+SDLVehicleDataType const SDLVehicleDataTypeExternalTemperature = @"VEHICLEDATA_EXTERNTEMP";
+SDLVehicleDataType const SDLVehicleDataTypeFuelConsumption = @"VEHICLEDATA_FUELCONSUMPTION";
+SDLVehicleDataType const SDLVehicleDataTypeFuelLevel = @"VEHICLEDATA_FUELLEVEL";
+SDLVehicleDataType const SDLVehicleDataTypeFuelLevelState = @"VEHICLEDATA_FUELLEVEL_STATE";
+SDLVehicleDataType const SDLVehicleDataTypeFuelRange = @"VEHICLEDATA_FUELRANGE";
+SDLVehicleDataType const SDLVehicleDataTypeGPS = @"VEHICLEDATA_GPS";
+SDLVehicleDataType const SDLVehicleDataTypeHeadlampStatus = @"VEHICLEDATA_HEADLAMPSTATUS";
+SDLVehicleDataType const SDLVehicleDataTypeMyKey = @"VEHICLEDATA_MYKEY";
SDLVehicleDataType const SDLVehicleDataTypeOEMVehicleDataType = @"VEHICLEDATA_OEM_CUSTOM_DATA";
+SDLVehicleDataType const SDLVehicleDataTypeOdometer = @"VEHICLEDATA_ODOMETER";
+SDLVehicleDataType const SDLVehicleDataTypePRNDL = @"VEHICLEDATA_PRNDL";
+SDLVehicleDataType const SDLVehicleDataTypeRPM = @"VEHICLEDATA_RPM";
+SDLVehicleDataType const SDLVehicleDataTypeSpeed = @"VEHICLEDATA_SPEED";
SDLVehicleDataType const SDLVehicleDataTypeStabilityControlsStatus = @"VEHICLEDATA_STABILITYCONTROLSSTATUS";
+SDLVehicleDataType const SDLVehicleDataTypeSteeringWheel = @"VEHICLEDATA_STEERINGWHEEL";
+SDLVehicleDataType const SDLVehicleDataTypeTirePressure = @"VEHICLEDATA_TIREPRESSURE";
+SDLVehicleDataType const SDLVehicleDataTypeTurnSignal = @"VEHICLEDATA_TURNSIGNAL";
+SDLVehicleDataType const SDLVehicleDataTypeVIN = @"VEHICLEDATA_VIN";
+SDLVehicleDataType const SDLVehicleDataTypeWiperStatus = @"VEHICLEDATA_WIPERSTATUS";
diff --git a/SmartDeviceLinkTests/RPCSpecs/NotificationSpecs/SDLOnVehicleDataSpec.m b/SmartDeviceLinkTests/RPCSpecs/NotificationSpecs/SDLOnVehicleDataSpec.m
index 7b43ace69..289102b4d 100644
--- a/SmartDeviceLinkTests/RPCSpecs/NotificationSpecs/SDLOnVehicleDataSpec.m
+++ b/SmartDeviceLinkTests/RPCSpecs/NotificationSpecs/SDLOnVehicleDataSpec.m
@@ -2,16 +2,14 @@
// SDLOnVehicleDataSpec.m
// SmartDeviceLink
-
#import <Foundation/Foundation.h>
-
-#import <Quick/Quick.h>
#import <Nimble/Nimble.h>
+#import <Quick/Quick.h>
-#import "SmartDeviceLink.h"
-#import "SDLRPCParameterNames.h"
#import "SDLRPCFunctionNames.h"
+#import "SDLRPCParameterNames.h"
#import "SDLStabilityControlsStatus.h"
+#import "SmartDeviceLink.h"
QuickSpecBegin(SDLOnVehicleDataSpec)
@@ -226,7 +224,7 @@ describe(@"Getter/Setter Tests", ^ {
expect(testNotification.stabilityControlsStatus).to(beNil());
});
- it(@"Should set and get generic Network Signal Data", ^{
+ it(@"Should set and get OEM Custom Vehicle Data", ^{
SDLOnVehicleData *testRequest = [[SDLOnVehicleData alloc] init];
[testRequest setOEMCustomVehicleData:@"customVehicleData" withVehicleDataState:@"oemVehicleData"];
diff --git a/SmartDeviceLinkTests/RPCSpecs/RequestSpecs/SDLGetVehicleDataSpec.m b/SmartDeviceLinkTests/RPCSpecs/RequestSpecs/SDLGetVehicleDataSpec.m
index 83b7f40ab..b11c87233 100644
--- a/SmartDeviceLinkTests/RPCSpecs/RequestSpecs/SDLGetVehicleDataSpec.m
+++ b/SmartDeviceLinkTests/RPCSpecs/RequestSpecs/SDLGetVehicleDataSpec.m
@@ -2,7 +2,6 @@
// SDLGetVehicleDataSpec.m
// SmartDeviceLink
-
#import <Foundation/Foundation.h>
#import <Nimble/Nimble.h>
#import <Quick/Quick.h>
@@ -157,7 +156,7 @@ describe(@"initializers", ^{
context(@"init", ^{
SDLGetVehicleData* testRequest = [[SDLGetVehicleData alloc] init];
- it(@"all set", ^{
+ it(@"expect all properties to set properly", ^{
expect(testRequest.accPedalPosition).to(beNil());
expect(testRequest.airbagStatus).to(beNil());
expect(testRequest.beltStatus).to(beNil());
@@ -197,7 +196,7 @@ describe(@"initializers", ^{
SDLGetVehicleData *testRequest = [[SDLGetVehicleData alloc] initWithAccelerationPedalPosition:YES airbagStatus:NO beltStatus:YES bodyInformation:YES clusterModeStatus:YES deviceStatus:YES driverBraking:YES eCallInfo:YES emergencyEvent:YES engineTorque:YES externalTemperature:YES fuelLevel:YES fuelLevelState:YES gps:YES headLampStatus:YES instantFuelConsumption:YES myKey:YES odometer:YES prndl:YES rpm:YES speed:YES steeringWheelAngle:YES tirePressure:YES vin:YES wiperStatus:YES];
#pragma clang diagnostic pop
- it(@"all set", ^{
+ it(@"expect all properties to set properly", ^{
expect(testRequest.accPedalPosition).to(equal(@YES));
expect(testRequest.airbagStatus).to(equal(@NO));
expect(testRequest.beltStatus).to(equal(@YES));
@@ -237,7 +236,7 @@ describe(@"initializers", ^{
SDLGetVehicleData *testRequest = [[SDLGetVehicleData alloc] initWithAccelerationPedalPosition:YES airbagStatus:YES beltStatus:YES bodyInformation:YES clusterModeStatus:YES deviceStatus:YES driverBraking:YES eCallInfo:YES electronicParkBrakeStatus:YES emergencyEvent:YES engineOilLife:YES engineTorque:YES externalTemperature:YES fuelLevel:YES fuelLevelState:YES fuelRange:YES gps:YES headLampStatus:YES instantFuelConsumption:YES myKey:YES odometer:YES prndl:YES rpm:YES speed:YES steeringWheelAngle:YES tirePressure:YES turnSignal:YES vin:YES wiperStatus:YES];
#pragma clang diagnostic pop
- it(@"all set", ^{
+ it(@"expect all properties to set properly", ^{
expect(testRequest.accPedalPosition).to(equal(@YES));
expect(testRequest.airbagStatus).to(equal(@YES));
expect(testRequest.beltStatus).to(equal(@YES));
@@ -276,7 +275,7 @@ describe(@"initializers", ^{
SDLGetVehicleData *testRequest = [[SDLGetVehicleData alloc] initWithAccelerationPedalPosition:YES airbagStatus:YES beltStatus:YES bodyInformation:YES cloudAppVehicleID:YES clusterModeStatus:YES deviceStatus:YES driverBraking:YES eCallInfo:YES electronicParkBrakeStatus:YES emergencyEvent:YES engineOilLife:YES engineTorque:YES externalTemperature:YES fuelLevel:YES fuelLevelState:YES fuelRange:YES gps:YES headLampStatus:YES instantFuelConsumption:YES myKey:YES odometer:YES prndl:YES rpm:YES speed:YES steeringWheelAngle:YES tirePressure:YES turnSignal:YES vin:YES wiperStatus:YES];
#pragma clang diagnostic pop
- it(@"all set", ^{
+ it(@"expect all properties to set properly", ^{
expect(testRequest.accPedalPosition).to(equal(@YES));
expect(testRequest.airbagStatus).to(equal(@YES));
expect(testRequest.beltStatus).to(equal(@YES));
@@ -310,18 +309,18 @@ describe(@"initializers", ^{
});
});
- context(@"Should set and get Generic Network Signal Data", ^{
- SDLGetVehicleData *testRequest = [[SDLGetVehicleData alloc] init];
+ context(@"Should set and get OEM Custom Vehicle Data", ^{
+ SDLGetVehicleData *testRequest = [[SDLGetVehicleData alloc] init];
- [testRequest setOEMCustomVehicleData:@"OEMCustomVehicleData" withVehicleDataState:NO];
- [testRequest setOEMCustomVehicleData:@"OEMCustomVehicleData1" withVehicleDataState:YES];
+ [testRequest setOEMCustomVehicleData:@"OEMCustomVehicleData" withVehicleDataState:NO];
+ [testRequest setOEMCustomVehicleData:@"OEMCustomVehicleData1" withVehicleDataState:YES];
- it (@"all set", ^{
- expect([testRequest getOEMCustomVehicleData:@"OEMCustomVehicleData"]).to(equal(@NO));
- expect([testRequest getOEMCustomVehicleData:@"OEMCustomVehicleData1"]).to(equal(@YES));
- expect(testRequest.stabilityControlsStatus).to(beNil());
- });
+ it (@"expect all properties to set properly", ^{
+ expect([testRequest getOEMCustomVehicleData:@"OEMCustomVehicleData"]).to(equal(@NO));
+ expect([testRequest getOEMCustomVehicleData:@"OEMCustomVehicleData1"]).to(equal(@YES));
+ expect(testRequest.stabilityControlsStatus).to(beNil());
});
+ });
});
QuickSpecEnd
diff --git a/SmartDeviceLinkTests/RPCSpecs/RequestSpecs/SDLSubscribeVehicleDataSpec.m b/SmartDeviceLinkTests/RPCSpecs/RequestSpecs/SDLSubscribeVehicleDataSpec.m
index 0c6dd91d8..ae62f430d 100644
--- a/SmartDeviceLinkTests/RPCSpecs/RequestSpecs/SDLSubscribeVehicleDataSpec.m
+++ b/SmartDeviceLinkTests/RPCSpecs/RequestSpecs/SDLSubscribeVehicleDataSpec.m
@@ -2,15 +2,13 @@
// SDLSubscribeVehicleDataSpec.m
// SmartDeviceLink
-
#import <Foundation/Foundation.h>
-
-#import <Quick/Quick.h>
#import <Nimble/Nimble.h>
+#import <Quick/Quick.h>
-#import "SDLSubscribeVehicleData.h"
-#import "SDLRPCParameterNames.h"
#import "SDLRPCFunctionNames.h"
+#import "SDLRPCParameterNames.h"
+#import "SDLSubscribeVehicleData.h"
QuickSpecBegin(SDLSubscribeVehicleDataSpec)
@@ -157,7 +155,7 @@ describe(@"initializers", ^{
context(@"init", ^{
SDLSubscribeVehicleData* testRequest = [[SDLSubscribeVehicleData alloc] init];
- it(@"all set", ^{
+ it(@"expect all properties to be nil", ^{
expect(testRequest.accPedalPosition).to(beNil());
expect(testRequest.airbagStatus).to(beNil());
expect(testRequest.beltStatus).to(beNil());
@@ -191,10 +189,10 @@ describe(@"initializers", ^{
});
});
- context(@"initWithAccelerationPedalPosition:airbagStatus:beltStatus:bodyInformation:cloudAppVehicleID:clusterModeStatus:deviceStatus:driverBraking:eCallInfo:electronicParkBrakeStatus:emergencyEvent:engineOilLife:engineTorque:externalTemperature:fuelLevel:fuelLevelState:fuelRange:gps:headLampStatus:instantFuelConsumption:myKey:odometer:prndl:rpm:speed:steeringWheelAngle:tirePressure:turnSignal:wiperStatus:stabilityControlsStatus:", ^{
- SDLSubscribeVehicleData* testRequest = [[SDLSubscribeVehicleData alloc] initWithAccelerationPedalPosition:YES airbagStatus:YES beltStatus:YES bodyInformation:YES cloudAppVehicleID:YES clusterModeStatus:YES deviceStatus:YES driverBraking:YES eCallInfo:YES electronicParkBrakeStatus:YES emergencyEvent:YES engineOilLife:YES engineTorque:YES externalTemperature:YES fuelLevel:YES fuelLevelState:YES fuelRange:YES gps:YES headLampStatus:YES instantFuelConsumption:YES myKey:YES odometer:YES prndl:YES rpm:YES speed:YES steeringWheelAngle:YES tirePressure:YES turnSignal:YES wiperStatus:YES stabilityControlsStatus:YES];
+ context(@"initWithAccelerationPedalPosition:airbagStatus:beltStatus:bodyInformation:cloudAppVehicleID:clusterModeStatus:deviceStatus:driverBraking:eCallInfo:electronicParkBrakeStatus:emergencyEvent:engineOilLife:engineTorque:externalTemperature:fuelLevel:fuelLevelState:fuelRange:gps:headLampStatus:instantFuelConsumption:myKey:odometer:prndl:rpm:speed:stabilityControlsStatus:steeringWheelAngle:tirePressure:turnSignal:wiperStatus:", ^{
+ SDLSubscribeVehicleData* testRequest = [[SDLSubscribeVehicleData alloc] initWithAccelerationPedalPosition:YES airbagStatus:YES beltStatus:YES bodyInformation:YES cloudAppVehicleID:YES clusterModeStatus:YES deviceStatus:YES driverBraking:YES eCallInfo:YES electronicParkBrakeStatus:YES emergencyEvent:YES engineOilLife:YES engineTorque:YES externalTemperature:YES fuelLevel:YES fuelLevelState:YES fuelRange:YES gps:YES headLampStatus:YES instantFuelConsumption:YES myKey:YES odometer:YES prndl:YES rpm:YES speed:YES stabilityControlsStatus:YES steeringWheelAngle:YES tirePressure:YES turnSignal:YES wiperStatus:YES];
- it(@"all set", ^{
+ it(@"expect all properties to set properly", ^{
expect(testRequest.accPedalPosition).to(equal(@YES));
expect(testRequest.airbagStatus).to(equal(@YES));
expect(testRequest.beltStatus).to(equal(@YES));
@@ -233,7 +231,7 @@ describe(@"initializers", ^{
SDLSubscribeVehicleData* testRequest = [[SDLSubscribeVehicleData alloc] initWithAccelerationPedalPosition:YES airbagStatus:YES beltStatus:YES bodyInformation:YES clusterModeStatus:YES deviceStatus:YES driverBraking:YES eCallInfo:YES electronicParkBrakeStatus:YES emergencyEvent:YES engineOilLife:YES engineTorque:YES externalTemperature:YES fuelLevel:YES fuelLevelState:YES fuelRange:YES gps:YES headLampStatus:YES instantFuelConsumption:YES myKey:YES odometer:YES prndl:YES rpm:YES speed:YES steeringWheelAngle:YES tirePressure:YES turnSignal:YES wiperStatus:YES];
#pragma clang diagnostic pop
- it(@"all set", ^{
+ it(@"expect all properties to set properly", ^{
expect(testRequest.accPedalPosition).to(equal(@YES));
expect(testRequest.airbagStatus).to(equal(@YES));
expect(testRequest.beltStatus).to(equal(@YES));
@@ -263,7 +261,7 @@ describe(@"initializers", ^{
expect(testRequest.tirePressure).to(equal(@YES));
expect(testRequest.turnSignal).to(equal(@YES));
expect(testRequest.wiperStatus).to(equal(@YES));
- expect(testRequest.stabilityControlsStatus).to(beNil());
+ expect(testRequest.stabilityControlsStatus).to(equal((@NO)));
});
});
context(@"initWithAccelerationPedalPosition:airbagStatus:beltStatus:bodyInformation:clusterModeStatus:deviceStatus:driverBraking:eCallInfo:emergencyEvent:engineTorque:externalTemperature:fuelLevel:fuelLevelState:gps:headLampStatus:instantFuelConsumption:myKey:odometer:prndl:rpm:speed:steeringWheelAngle:tirePressure:wiperStatus:", ^{
@@ -272,7 +270,7 @@ describe(@"initializers", ^{
SDLSubscribeVehicleData* testRequest = [[SDLSubscribeVehicleData alloc] initWithAccelerationPedalPosition:YES airbagStatus:YES beltStatus:YES bodyInformation:YES clusterModeStatus:YES deviceStatus:YES driverBraking:YES eCallInfo:YES emergencyEvent:YES engineTorque:YES externalTemperature:YES fuelLevel:YES fuelLevelState:NO gps:YES headLampStatus:YES instantFuelConsumption:YES myKey:YES odometer:YES prndl:YES rpm:YES speed:YES steeringWheelAngle:YES tirePressure:YES wiperStatus:YES];
#pragma clang diagnostic pop
- it(@"all set", ^{
+ it(@"expect all properties to set properly", ^{
expect(testRequest.accPedalPosition).to(equal(@YES));
expect(testRequest.airbagStatus).to(equal(@YES));
expect(testRequest.beltStatus).to(equal(@YES));
@@ -302,16 +300,16 @@ describe(@"initializers", ^{
expect(testRequest.tirePressure).to(equal(@YES));
expect(testRequest.turnSignal).to(equal(@NO));
expect(testRequest.wiperStatus).to(equal(@YES));
- expect(testRequest.stabilityControlsStatus).to(beNil());
+ expect(testRequest.stabilityControlsStatus).to(equal((@NO)));
});
});
- context(@"Should set and get Generic Network Signal Data", ^{
+ context(@"Should set and get OEM Custom Vehicle Data", ^{
SDLSubscribeVehicleData *testRequest = [[SDLSubscribeVehicleData alloc] init];
[testRequest setOEMCustomVehicleData:@"customVehicleData" withVehicleDataState:NO];
[testRequest setOEMCustomVehicleData:@"customVehicleData1" withVehicleDataState:YES];
- it(@"all set", ^{
+ it(@"expect all properties to set properly", ^{
expect([testRequest getOEMCustomVehicleData:@"customVehicleData"]).to(equal(@NO));
expect([testRequest getOEMCustomVehicleData:@"customVehicleData1"]).to(equal(@YES));
expect(testRequest.stabilityControlsStatus).to(beNil());
diff --git a/SmartDeviceLinkTests/RPCSpecs/RequestSpecs/SDLUnsubscribeVehicleDataSpec.m b/SmartDeviceLinkTests/RPCSpecs/RequestSpecs/SDLUnsubscribeVehicleDataSpec.m
index 0bddf7c01..689e2aef1 100644
--- a/SmartDeviceLinkTests/RPCSpecs/RequestSpecs/SDLUnsubscribeVehicleDataSpec.m
+++ b/SmartDeviceLinkTests/RPCSpecs/RequestSpecs/SDLUnsubscribeVehicleDataSpec.m
@@ -2,15 +2,13 @@
// SDLUnsubscribeVehicleDataSpec.m
// SmartDeviceLink
-
#import <Foundation/Foundation.h>
-
-#import <Quick/Quick.h>
#import <Nimble/Nimble.h>
+#import <Quick/Quick.h>
-#import "SDLUnsubscribeVehicleData.h"
-#import "SDLRPCParameterNames.h"
#import "SDLRPCFunctionNames.h"
+#import "SDLRPCParameterNames.h"
+#import "SDLUnsubscribeVehicleData.h"
QuickSpecBegin(SDLUnsubscribeVehicleDataSpec)
@@ -158,7 +156,7 @@ describe(@"initializers", ^{
context(@"init", ^{
SDLUnsubscribeVehicleData *testRequest = [[SDLUnsubscribeVehicleData alloc] init];
- it(@"all set", ^{
+ it(@"expect all properties to set properly", ^{
expect(testRequest.accPedalPosition).to(beNil());
expect(testRequest.airbagStatus).to(beNil());
expect(testRequest.beltStatus).to(beNil());
@@ -191,10 +189,10 @@ describe(@"initializers", ^{
expect(testRequest.stabilityControlsStatus).to(beNil());
});
});
- context(@"initWithAccelerationPedalPosition:airbagStatus:beltStatus:bodyInformation:cloudAppVehicleID:clusterModeStatus:deviceStatus:driverBraking:eCallInfo:electronicParkBrakeStatus:emergencyEvent:engineOilLife:engineTorque:externalTemperature:fuelLevel:fuelLevelState:fuelRange:gps:headLampStatus:instantFuelConsumption:myKey:odometer:prndl:rpm:speed:steeringWheelAngle:tirePressure:turnSignal:wiperStatus:stabilityControlsStatus:", ^{
- SDLUnsubscribeVehicleData *testRequest = [[SDLUnsubscribeVehicleData alloc] initWithAccelerationPedalPosition:YES airbagStatus:YES beltStatus:YES bodyInformation:YES cloudAppVehicleID:YES clusterModeStatus:YES deviceStatus:YES driverBraking:YES eCallInfo:YES electronicParkBrakeStatus:YES emergencyEvent:YES engineOilLife:YES engineTorque:YES externalTemperature:YES fuelLevel:YES fuelLevelState:YES fuelRange:YES gps:YES headLampStatus:YES instantFuelConsumption:YES myKey:YES odometer:YES prndl:YES rpm:YES speed:YES steeringWheelAngle:YES tirePressure:YES turnSignal:YES wiperStatus:YES stabilityControlsStatus:YES];
+ context(@"initWithAccelerationPedalPosition:airbagStatus:beltStatus:bodyInformation:cloudAppVehicleID:clusterModeStatus:deviceStatus:driverBraking:eCallInfo:electronicParkBrakeStatus:emergencyEvent:engineOilLife:engineTorque:externalTemperature:fuelLevel:fuelLevelState:fuelRange:gps:headLampStatus:instantFuelConsumption:myKey:odometer:prndl:rpm:speed: stabilityControlsStatus:steeringWheelAngle:tirePressure:turnSignal:wiperStatus:", ^{
+ SDLUnsubscribeVehicleData *testRequest = [[SDLUnsubscribeVehicleData alloc] initWithAccelerationPedalPosition:YES airbagStatus:YES beltStatus:YES bodyInformation:YES cloudAppVehicleID:YES clusterModeStatus:YES deviceStatus:YES driverBraking:YES eCallInfo:YES electronicParkBrakeStatus:YES emergencyEvent:YES engineOilLife:YES engineTorque:YES externalTemperature:YES fuelLevel:YES fuelLevelState:YES fuelRange:YES gps:YES headLampStatus:YES instantFuelConsumption:YES myKey:YES odometer:YES prndl:YES rpm:YES speed:YES stabilityControlsStatus:YES steeringWheelAngle:YES tirePressure:YES turnSignal:YES wiperStatus:YES];
- it(@"all set", ^{
+ it(@"expect all properties to set properly", ^{
expect(testRequest.accPedalPosition).to(equal(@YES));
expect(testRequest.airbagStatus).to(equal(@YES));
expect(testRequest.beltStatus).to(equal(@YES));
@@ -233,7 +231,7 @@ describe(@"initializers", ^{
SDLUnsubscribeVehicleData *testRequest = [[SDLUnsubscribeVehicleData alloc] initWithAccelerationPedalPosition:YES airbagStatus:YES beltStatus:YES bodyInformation:YES clusterModeStatus:YES deviceStatus:YES driverBraking:YES eCallInfo:YES electronicParkBrakeStatus:YES emergencyEvent:YES engineOilLife:YES engineTorque:YES externalTemperature:YES fuelLevel:YES fuelLevelState:YES fuelRange:YES gps:YES headLampStatus:YES instantFuelConsumption:YES myKey:YES odometer:YES prndl:YES rpm:YES speed:YES steeringWheelAngle:YES tirePressure:YES turnSignal:YES wiperStatus:YES];
#pragma clang diagnostic pop
- it(@"all set", ^{
+ it(@"expect all properties to set properly", ^{
expect(testRequest.accPedalPosition).to(equal(@YES));
expect(testRequest.airbagStatus).to(equal(@YES));
expect(testRequest.beltStatus).to(equal(@YES));
@@ -272,7 +270,7 @@ describe(@"initializers", ^{
SDLUnsubscribeVehicleData *testRequest = [[SDLUnsubscribeVehicleData alloc] initWithAccelerationPedalPosition:YES airbagStatus:YES beltStatus:YES bodyInformation:YES clusterModeStatus:YES deviceStatus:YES driverBraking:YES eCallInfo:YES emergencyEvent:YES engineTorque:YES externalTemperature:YES fuelLevel:YES fuelLevelState:YES gps:YES headLampStatus:NO instantFuelConsumption:YES myKey:YES odometer:YES prndl:YES rpm:YES speed:YES steeringWheelAngle:YES tirePressure:YES wiperStatus:YES];
#pragma clang diagnostic pop
- it(@"all set", ^{
+ it(@"expect all properties to set properly", ^{
expect(testRequest.accPedalPosition).to(equal(@YES));
expect(testRequest.airbagStatus).to(equal(@YES));
expect(testRequest.beltStatus).to(equal(@YES));
@@ -305,7 +303,7 @@ describe(@"initializers", ^{
});
});
- context(@"Should set and get Generic Network Signal Data", ^{
+ context(@"Should set and get OEM Custom Vehicle Data", ^{
SDLUnsubscribeVehicleData *testRequest = [[SDLUnsubscribeVehicleData alloc] init];
[testRequest setOEMCustomVehicleData:@"customVehicleData" withVehicleDataState:NO];
[testRequest setOEMCustomVehicleData:@"customVehicleData1" withVehicleDataState:YES];
diff --git a/SmartDeviceLinkTests/RPCSpecs/ResponseSpecs/SDLSubscribeVehicleDataResponseSpec.m b/SmartDeviceLinkTests/RPCSpecs/ResponseSpecs/SDLSubscribeVehicleDataResponseSpec.m
index 11e329e5e..77de45f0c 100644
--- a/SmartDeviceLinkTests/RPCSpecs/ResponseSpecs/SDLSubscribeVehicleDataResponseSpec.m
+++ b/SmartDeviceLinkTests/RPCSpecs/ResponseSpecs/SDLSubscribeVehicleDataResponseSpec.m
@@ -2,19 +2,16 @@
// SDLSubscribeVehicleDataResponseSpec.m
// SmartDeviceLink
-
#import <Foundation/Foundation.h>
-
-#import <Quick/Quick.h>
#import <Nimble/Nimble.h>
+#import <Quick/Quick.h>
-#import "SDLRPCParameterNames.h"
#import "SDLRPCFunctionNames.h"
+#import "SDLRPCParameterNames.h"
#import "SDLSubscribeVehicleDataResponse.h"
#import "SDLVehicleDataResult.h"
#import "SDLVehicleDataResultCode.h"
-
QuickSpecBegin(SDLSubscribeVehicleDataResponseSpec)
SDLVehicleDataResult* vehicleDataResult = [[SDLVehicleDataResult alloc] init];
@@ -195,7 +192,7 @@ describe(@"Getter/Setter Tests", ^ {
expect(testResponse.stabilityControlsStatus).to(beNil());
});
- it(@"Should set and get Generic Network Signal Data", ^{
+ it(@"Should set and get OEM Custom Vehicle Data", ^{
SDLSubscribeVehicleDataResponse *testRequest = [[SDLSubscribeVehicleDataResponse alloc] init];
[testRequest setOEMCustomVehicleData:@"customOEMVehicleData" withVehicleDataState:customOEMvehicleDataResult];
diff --git a/SmartDeviceLinkTests/RPCSpecs/ResponseSpecs/SDLUnsubscribeVehicleDataResponseSpec.m b/SmartDeviceLinkTests/RPCSpecs/ResponseSpecs/SDLUnsubscribeVehicleDataResponseSpec.m
index d915c0f4c..944df0bbc 100644
--- a/SmartDeviceLinkTests/RPCSpecs/ResponseSpecs/SDLUnsubscribeVehicleDataResponseSpec.m
+++ b/SmartDeviceLinkTests/RPCSpecs/ResponseSpecs/SDLUnsubscribeVehicleDataResponseSpec.m
@@ -2,7 +2,6 @@
// SDLUnsubscribeVehicleDataResponseSpec.m
// SmartDeviceLink
-
#import <Foundation/Foundation.h>
#import <Nimble/Nimble.h>
#import <Quick/Quick.h>
@@ -192,7 +191,7 @@ describe(@"Getter/Setter Tests", ^ {
expect(testResponse.stabilityControlsStatus).to(beNil());
});
- it(@"Should set and get Generic Network Signal Data", ^{
+ it(@"Should set and get OEM Custom Vehicle Data", ^{
SDLUnsubscribeVehicleDataResponse *testResponse = [[SDLUnsubscribeVehicleDataResponse alloc] init];
[testResponse setOEMCustomVehicleData:@"customOEMVehicleData" withVehicleDataState:customOEMvehicleDataResult];
diff --git a/SmartDeviceLinkTests/RPCSpecs/StructSpecs/SDLStabilityControlsStatusSpec.m b/SmartDeviceLinkTests/RPCSpecs/StructSpecs/SDLStabilityControlsStatusSpec.m
index defb3e9e2..6a484df4e 100644
--- a/SmartDeviceLinkTests/RPCSpecs/StructSpecs/SDLStabilityControlsStatusSpec.m
+++ b/SmartDeviceLinkTests/RPCSpecs/StructSpecs/SDLStabilityControlsStatusSpec.m
@@ -2,16 +2,14 @@
// SDLStabilityControlsStatusSpec.m
// SmartDeviceLink
-
#import <Foundation/Foundation.h>
#import <Nimble/Nimble.h>
#import <Quick/Quick.h>
-#import "SDLStabilityControlsStatus.h"
#import "SDLRPCParameterNames.h"
+#import "SDLStabilityControlsStatus.h"
#import "SDLVehicleDataStatus.h"
-
QuickSpecBegin(SDLStabilityControlsStatusSpec)
describe(@"Getter/Setter Tests", ^ {
@@ -31,9 +29,8 @@ describe(@"Getter/Setter Tests", ^ {
expect(testStruct.trailerSwayControl).to(equal(SDLVehicleDataStatusOff));
});
- it(@"Should get correctly when initialized with a dict (On)", ^ {
- NSDictionary* dict = @{SDLRPCParameterNameEscSystem:SDLVehicleDataStatusOn,
- SDLRPCParameterNameTrailerSwayControl:SDLVehicleDataStatusOn};
+ it(@"Should get correctly when initialized with a dict (On)", ^ {
+ NSDictionary* dict = @{SDLRPCParameterNameEscSystem:SDLVehicleDataStatusOn, SDLRPCParameterNameTrailerSwayControl:SDLVehicleDataStatusOn};
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
@@ -45,8 +42,7 @@ describe(@"Getter/Setter Tests", ^ {
});
it(@"Should get correctly when initialized with a dict (Off)", ^ {
- NSDictionary* dict = @{SDLRPCParameterNameEscSystem:SDLVehicleDataStatusOff,
- SDLRPCParameterNameTrailerSwayControl:SDLVehicleDataStatusOff};
+ NSDictionary* dict = @{SDLRPCParameterNameEscSystem:SDLVehicleDataStatusOff, SDLRPCParameterNameTrailerSwayControl:SDLVehicleDataStatusOff};
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"