diff --git a/DUREX Vendor Control/CommunicationProtocol.m b/DUREX Vendor Control/CommunicationProtocol.m index 649eb8b..a3b6a23 100644 --- a/DUREX Vendor Control/CommunicationProtocol.m +++ b/DUREX Vendor Control/CommunicationProtocol.m @@ -35,6 +35,7 @@ -(void) readMessage { + [self setMessage:[NSMutableString stringWithFormat:@""]]; self.numPackets = -1; [self waitForMessage: 0]; } diff --git a/DUREX Vendor Control/DUREX Vendor Control.xcodeproj/project.xcworkspace/xcuserdata/imanol.xcuserdatad/UserInterfaceState.xcuserstate b/DUREX Vendor Control/DUREX Vendor Control.xcodeproj/project.xcworkspace/xcuserdata/imanol.xcuserdatad/UserInterfaceState.xcuserstate index 5459830..dc4a73e 100644 --- a/DUREX Vendor Control/DUREX Vendor Control.xcodeproj/project.xcworkspace/xcuserdata/imanol.xcuserdatad/UserInterfaceState.xcuserstate +++ b/DUREX Vendor Control/DUREX Vendor Control.xcodeproj/project.xcworkspace/xcuserdata/imanol.xcuserdatad/UserInterfaceState.xcuserstate diff --git a/DUREX Vendor Control/DUREX Vendor Control.xcodeproj/xcuserdata/imanol.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist b/DUREX Vendor Control/DUREX Vendor Control.xcodeproj/xcuserdata/imanol.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist index 10a5544..146e053 100644 --- a/DUREX Vendor Control/DUREX Vendor Control.xcodeproj/xcuserdata/imanol.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist +++ b/DUREX Vendor Control/DUREX Vendor Control.xcodeproj/xcuserdata/imanol.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist @@ -47,8 +47,8 @@ endingColumnNumber = "9223372036854775807" startingLineNumber = "716" endingLineNumber = "716" - landmarkName = "-tableView:indentationLevelForRowAtIndexPath:" - landmarkType = "5"> + landmarkName = "@implementation MenuTableViewController" + landmarkType = "3"> + landmarkName = "@implementation MenuTableViewController" + landmarkType = "3"> + startingLineNumber = "337" + endingLineNumber = "337"> + startingLineNumber = "336" + endingLineNumber = "336"> + startingLineNumber = "349" + endingLineNumber = "349"> diff --git a/DUREX Vendor Control/FirstAppExample/EMDevicePickerViewController.m b/DUREX Vendor Control/FirstAppExample/EMDevicePickerViewController.m index c0b1605..fd7cd66 100644 --- a/DUREX Vendor Control/FirstAppExample/EMDevicePickerViewController.m +++ b/DUREX Vendor Control/FirstAppExample/EMDevicePickerViewController.m @@ -106,7 +106,7 @@ -(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { - [self performSegueWithIdentifier:@"ConnectionSegue" sender:self]; + //[self performSegueWithIdentifier:@"ConnectionSegue" sender:self]; if(![[[[tableView cellForRowAtIndexPath:indexPath] textLabel] text] isEqualToString:NSLocalizedString(@"Searching for devices...",nil)]) { [self _showConnectingView]; diff --git a/DUREX Vendor Control/MenuTableViewController.m b/DUREX Vendor Control/MenuTableViewController.m index 34573e6..6ebe2af 100644 --- a/DUREX Vendor Control/MenuTableViewController.m +++ b/DUREX Vendor Control/MenuTableViewController.m @@ -262,7 +262,7 @@ //MESSAGE RECEIVED CALLBACK - (void)processMessage:(CommunicationProtocol*)protocol didFinishEnteringItem:(NSString*) response { - NSLog(@"[MenuTableViewController.m]: Answer received"); + NSLog(@"[MenuTableViewController.m]: Answer received: %@",response); if(self.sentCommand == HELLO) { if([response isEqualToString:@"Hello"])