From 1dc6f0ec1b4f3758053733ca14705bd3f133c71c Mon Sep 17 00:00:00 2001 From: James Magahern Date: Fri, 13 Jun 2025 14:39:24 -0700 Subject: [PATCH] add logging --- kordophone/Bridge/MBIMPingPongWebSocket.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kordophone/Bridge/MBIMPingPongWebSocket.m b/kordophone/Bridge/MBIMPingPongWebSocket.m index 223edfc..1802c3b 100644 --- a/kordophone/Bridge/MBIMPingPongWebSocket.m +++ b/kordophone/Bridge/MBIMPingPongWebSocket.m @@ -104,6 +104,8 @@ - (void)socket:(GCDAsyncSocket *)asyncSocket didReadData:(NSData *)data withTag:(long)tag { NSUInteger nextOpCode = [[self valueForKey:@"nextOpCode"] unsignedIntValue]; // sheesh. + NSLog(@"tag: %ld, nextOpCode: %ld", tag, nextOpCode); + // Handle our custom ping/pong tags if (tag == TAG_PING_PAYLOAD) { // We've read the ping payload, now send the pong response