public App() { InitializeComponent(); ControllerService = new RemoteGattService(); ControllerService.PublishService(); App.ControllerService.OnFileManageWriteCompleted += FileControlListPage.ControllerService_OnFileManageWriteCompleted; App.ControllerService.OnReadReceived += ControllerService_OnReadReceived; MainPage = new MainMasterDetailPage(); }
public MainPage() { InitializeComponent(); remoteGattService = new RemoteGattService(); remoteGattService.PublishService(); }