summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicoleYarroch <nicole@livio.io>2020-04-01 13:13:12 -0400
committerNicoleYarroch <nicole@livio.io>2020-04-01 13:13:12 -0400
commit6d0ca85ecabd1990f765f7452389be01ae603e91 (patch)
tree6e6b8ab2c11d84222f1d7d4d8ee1e9ab8267ae73
parentfa2aaaa4ef5c56856459d95db00add0eb0004f65 (diff)
downloadsdl_ios-bugfix/issue_1551_video_end_service_not_sent_secondary_transport.tar.gz
Added logs to TCPTransport start/stop funcsbugfix/issue_1551_video_end_service_not_sent_secondary_transport
-rw-r--r--SmartDeviceLink/SDLTCPTransport.m4
1 files changed, 4 insertions, 0 deletions
diff --git a/SmartDeviceLink/SDLTCPTransport.m b/SmartDeviceLink/SDLTCPTransport.m
index b73b2d43b..027a9f204 100644
--- a/SmartDeviceLink/SDLTCPTransport.m
+++ b/SmartDeviceLink/SDLTCPTransport.m
@@ -64,6 +64,8 @@ NSTimeInterval ConnectionTimeoutSecs = 30.0;
return;
}
+ SDLLogD(@"Attempting to connect");
+
unsigned int port;
int num = [self.portNumber intValue];
if (0 <= num && num <= 65535) {
@@ -98,6 +100,8 @@ NSTimeInterval ConnectionTimeoutSecs = 30.0;
return;
}
+ SDLLogD(@"Disconnecting");
+
[self.sendDataQueue removeAllObjects];
self.transportErrorNotified = NO;
self.transportConnected = NO;