//
//  HomeHubWifiSearchFailViewController.m
//  OneCable
//
//  Created by nComz on 2017. 5. 11..
//  Copyright © 2017년 ntels. All rights reserved.
//

#import "HomeHubWifiSearchFailViewController.h"
#import "HomeHubWifiSearchViewController.h"

@interface HomeHubWifiSearchFailViewController () <BLEServiceHandlerDelegate> {
    
    BLEServiceHandler *bleService;
}

@end

@implementation HomeHubWifiSearchFailViewController

- (void)viewDidLoad {
    [super viewDidLoad];

    bleService = [BLEServiceHandler sharedManager];
    bleService.delegate = self;
}

- (IBAction)btnAgainTouched:(id)sender {
    
    [self.navigationController popViewControllerAnimated:YES];
}

- (IBAction)btnBackTouched:(id)sender {
    
    [self.navigationController popToRootViewControllerAnimated:YES];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];

}

- (void)BLEDisConnected:(BTLEDeivceModel *)info {
    
    [[JDFacade facade] toast:@"홈허브와 연결할 수 없습니다."];
    [self.navigationController popToRootViewControllerAnimated:YES];
    
}


@end
