From c13479d360caa3bbfcb00528505c1cd9e5bd1312 Mon Sep 17 00:00:00 2001 From: lapinskijw Date: Tue, 31 Mar 2020 11:34:16 -0400 Subject: replaced SDLServiceTypeRPC with service parameter --- SmartDeviceLink/SDLProtocol.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SmartDeviceLink/SDLProtocol.m b/SmartDeviceLink/SDLProtocol.m index 29c7ca38f..cb1ef3af0 100644 --- a/SmartDeviceLink/SDLProtocol.m +++ b/SmartDeviceLink/SDLProtocol.m @@ -418,7 +418,7 @@ NS_ASSUME_NONNULL_BEGIN SDLProtocolMessage *message = [SDLProtocolMessage messageWithHeader:header andPayload:data]; - if (message.size < [[SDLGlobals sharedGlobals] mtuSizeForServiceType:SDLServiceTypeRPC]) { + if (message.size < [[SDLGlobals sharedGlobals] mtuSizeForServiceType:service]) { SDLLogV(@"Sending protocol message: %@", message); [self sdl_sendDataToTransport:message.data onService:header.serviceType]; } else { -- cgit v1.2.1