summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicoleYarroch <nicole@livio.io>2020-06-15 14:32:45 -0400
committerNicoleYarroch <nicole@livio.io>2020-06-15 14:32:45 -0400
commitadf42863c5a0fdf9bfe83e6637f1a88e54d02aa9 (patch)
treead91efd34ab0ccb1bf8522bb968dd57549134cf0
parent7fbf5738a0abe0e0bba96ede800798e1a4636e23 (diff)
downloadsdl_ios-adf42863c5a0fdf9bfe83e6637f1a88e54d02aa9.tar.gz
Added info to logs
Signed-off-by: NicoleYarroch <nicole@livio.io>
-rw-r--r--SmartDeviceLink/SDLSecondaryTransportManager.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/SmartDeviceLink/SDLSecondaryTransportManager.m b/SmartDeviceLink/SDLSecondaryTransportManager.m
index d30a7b4f7..464ad27ff 100644
--- a/SmartDeviceLink/SDLSecondaryTransportManager.m
+++ b/SmartDeviceLink/SDLSecondaryTransportManager.m
@@ -343,7 +343,7 @@ struct TransportProtocolUpdated {
}
- (void)didEnterStateReconnecting {
- SDLLogD(@"The secondary transport manager will try to reconnect in %f seconds", RetryConnectionDelay);
+ SDLLogD(@"The secondary transport manager will try to reconnect in %.01f seconds", RetryConnectionDelay);
__weak typeof(self) weakSelf = self;
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(RetryConnectionDelay * NSEC_PER_SEC)), _stateMachineQueue, ^{
if ([weakSelf.stateMachine isCurrentState:SDLSecondaryTransportStateReconnecting]) {
@@ -732,7 +732,7 @@ struct TransportProtocolUpdated {
[strongSelf.backgroundTaskManager endBackgroundTask];
[strongSelf.stateMachine transitionToState:SDLSecondaryTransportStateConnecting];
} else {
- SDLLogD(@"TCP transport not ready to start, our current state is: %@", strongSelf.stateMachine.currentState);
+ SDLLogD(@"TCP transport not ready to start, secondary transport state must be in state Configured (currently in state: %@), the SDL app hmi level must be non-NONE (currently in state: %@), and the app must be ready to start a TCP socket (current app state: %ld, current IP address: %@, current port: %d)", strongSelf.stateMachine.currentState, strongSelf.currentHMILevel, self.currentApplicationState, self.ipAddress, self.tcpPort);
}
});
}