diff options
author | Joel Fischer <joeljfischer@gmail.com> | 2017-07-25 16:24:55 -0400 |
---|---|---|
committer | Joel Fischer <joeljfischer@gmail.com> | 2017-07-25 16:24:55 -0400 |
commit | b651a9e0c579990e80f9c87df9e5f994e9030eda (patch) | |
tree | b68562f7387f3061f1890d426c331c3e80231d93 | |
parent | ca2aa3d63f6031c82d8d71ddb010b4ab411aaaff (diff) | |
download | sdl_ios-b651a9e0c579990e80f9c87df9e5f994e9030eda.tar.gz |
Fix the protocol message router not properly passing messages
-rw-r--r-- | SmartDeviceLink/SDLProtocolReceivedMessageRouter.m | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/SmartDeviceLink/SDLProtocolReceivedMessageRouter.m b/SmartDeviceLink/SDLProtocolReceivedMessageRouter.m index d0ca6acd3..1c00a9ce9 100644 --- a/SmartDeviceLink/SDLProtocolReceivedMessageRouter.m +++ b/SmartDeviceLink/SDLProtocolReceivedMessageRouter.m @@ -52,22 +52,6 @@ } - (void)sdl_dispatchControlMessage:(SDLProtocolMessage *)message { - // VERSION DEPENDENT CODE - switch (message.header.version) { - case 1: // fallthrough - case 2: // fallthrough - case 3: // fallthrough - case 4: { - [self sdl_dispatchV1ControlMessage:message]; - } break; - case 5: { - // TODO: New delegates - [self sdl_dispatchV5ControlMessage:message]; - } break; - } -} - -- (void)sdl_dispatchV1ControlMessage:(SDLProtocolMessage *)message { switch (message.header.frameData) { case SDLFrameData_StartSessionACK: { if ([self.delegate respondsToSelector:@selector(handleProtocolStartServiceACKMessage:)]) { @@ -103,10 +87,6 @@ } } -- (void)sdl_dispatchV5ControlMessage:(SDLProtocolMessage *)message { - // TODO -} - - (void)sdl_dispatchMultiPartMessage:(SDLProtocolMessage *)message { // Pass multipart messages to an assembler and call delegate when done. NSNumber *sessionID = [NSNumber numberWithUnsignedChar:message.header.sessionID]; |