Commit abc7a0dcaddae48879642da6c7c4c8f517fcc560

Authored by Imanol-Mikel Barba Sabariego
1 parent bb456ea9

FINAL PRODUCTION CODE

BT Vendor/FirstAppExample/EMDevicePickerViewController.m
@@ -120,7 +120,6 @@ @@ -120,7 +120,6 @@
120 120
121 -(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath 121 -(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
122 { 122 {
123 - [self performSegueWithIdentifier:@"ConnectionSegue" sender:self];  
124 if(![[[[tableView cellForRowAtIndexPath:indexPath] textLabel] text] isEqualToString:NSLocalizedString(@"Searching for devices...",nil)]) 123 if(![[[[tableView cellForRowAtIndexPath:indexPath] textLabel] text] isEqualToString:NSLocalizedString(@"Searching for devices...",nil)])
125 { 124 {
126 [self _showConnectingView]; 125 [self _showConnectingView];
BT Vendor/MenuTableViewController.m
@@ -626,11 +626,9 @@ @@ -626,11 +626,9 @@
626 self.currentNavLevel = 255; 626 self.currentNavLevel = 255;
627 627
628 //Initialize menu view 628 //Initialize menu view
629 -  
630 [_protocol establishConnection]; 629 [_protocol establishConnection];
631 - //[self setSentCommand:HELLO];  
632 - //[self startTimeoutTimer];  
633 - [self changeNavLevel:MENU :FALSE]; //HACK! 630 + [self setSentCommand:HELLO];
  631 + [self startTimeoutTimer];
634 632
635 //Detect handled URL 633 //Detect handled URL
636 if(self.appDelegate.handledURL != nil) 634 if(self.appDelegate.handledURL != nil)