I just got my Structure Sensor but I am having problems getting STWirelessLog to work. If possible could someone describe how to get the logs broadcast to my local machine?
My attempt has been:
- Turn Remote Login on my Mac (System Preferences -> Sharing -> Remote Login)
- Get my IP address (System Preferences -> Network)
- Use code snippet provided (1) and IP address from previous step.
With just the IP address I get the error - "Oh no! Can't start wireless log: Unable to connect to the remote console: connect failed."
If I use a none password protected username before the IP address e.g email@example.com I get the error - "Oh no! Can't start wireless log: Unable to connect to the remote console: connect failed. (last error: 13 'Permission denied')"
Thanks in advance!
// Sample usage of wireless debugging API
NSError* error = nil;
[STWirelessLog broadcastLogsToWirelessConsoleAtAddress:@"188.8.131.52" usingPort:4999 error:&error];
NSLog(@"Oh no! Can't start wireless log: %@", [error localizedDescription]);