Code Monkey home page Code Monkey logo

esp-mobile-apps-ios's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

esp-mobile-apps-ios's Issues

How to fix Terminating app due to uncaught exception 'NSRangeException', reason: 'Attempted to scroll the table view to an out-of-bounds row (0) when there are only 0 rows in section 0. Table view: <UITableView: 0x7fc6808eac00; frame = (0 140; 414 670); clipsToBounds = YES; autoresize = RM+BM; tintColor = UIExtendedSRGBColorSpace 0 0.560318 0 1; gestureRecognizers = <NSArray: 0x6000032df420>; layer = <CALayer: 0x600003c2c720>; contentOffset: {0, 0}; contentSize: {414, 0}; adjustedContentInset: {0, 0, 0, 0}; dataSource: <EspApp.TerminalBLEViewController: 0x7fc68063a150>>'

Hi. Hi. I'm trying to get ESP32's Bluetooth connected to the iOS app, but the app crashed after I clicked Terminal BLE. I'm very new to swift and Bluetooth, so I have no clue how to fix this. Can someone please help me to figure this out?

18.269 ๐Ÿ“™A Debug.debugSetLevel: debug: level setted to ๐Ÿ“˜V-Verbose 
18.270 ๐Ÿ“˜V MainController.initializeApp: Initilializing ... 
18.271 ๐Ÿ“˜V MainController.initializeApp: Initialized 
18.346 ๐Ÿ“˜V ConnectingViewController.viewDidLoad:  
18.412 ๐Ÿ“˜V ConnectingViewController.viewWillDisappear:  
18.413 ๐Ÿ“˜V MainMenuViewController.viewWillAppear:  
18.427 ๐Ÿ“˜V MainMenuViewController.tableView: code->  INFO 
18.432 ๐Ÿ“˜V MainMenuViewController.tableView: code->  TERMINAL 
18.436 ๐Ÿ“˜V MainMenuViewController.tableView: code->  SETTINGS 
2019-12-05 23:36:18.436265-0500 EspApp[2349:137801] Metal API Validation Enabled
21.099 ๐Ÿ“˜V MainMenuViewController.tableView: code of menu selected: TERMINAL 
21.109 ๐Ÿ“˜V MainMenuViewController.viewWillDisappear:  
21.109 ๐Ÿ“˜V TerminalBLEViewController.viewWillAppear:  
2019-12-05 23:36:21.145989-0500 EspApp[2349:137801] *** Terminating app due to uncaught exception 'NSRangeException', reason: 'Attempted to scroll the table view to an out-of-bounds row (0) when there are only 0 rows in section 0. Table view: <UITableView: 0x7fc6808eac00; frame = (0 140; 414 670); clipsToBounds = YES; autoresize = RM+BM; tintColor = UIExtendedSRGBColorSpace 0 0.560318 0 1; gestureRecognizers = <NSArray: 0x6000032df420>; layer = <CALayer: 0x600003c2c720>; contentOffset: {0, 0}; contentSize: {414, 0}; adjustedContentInset: {0, 0, 0, 0}; dataSource: <EspApp.TerminalBLEViewController: 0x7fc68063a150>>'
*** First throw call stack:
(
	0   CoreFoundation                      0x00007fff23baa1ee __exceptionPreprocess + 350
	1   libobjc.A.dylib                     0x00007fff50864b20 objc_exception_throw + 48
	2   CoreFoundation                      0x00007fff23baa02c +[NSException raise:format:] + 188
	3   UIKitCore                           0x00007fff47757b04 -[UITableView _contentOffsetForScrollingToRowAtIndexPath:atScrollPosition:usingPresentationValues:] + 812
	4   UIKitCore                           0x00007fff47758697 -[UITableView _scrollToRowAtIndexPath:atScrollPosition:animated:usingPresentationValues:] + 142
	5   UIKitCore                           0x00007fff47758543 -[UITableView scrollToRowAtIndexPath:atScrollPosition:animated:] + 135
	6   EspApp                              0x00000001016bb1d0 $s6EspApp25TerminalBLEViewControllerC10reloadDatayyFyycfU_ + 704
	7   EspApp                              0x00000001016bb4bd $sIeg_IeyB_TR + 45
	8   libdispatch.dylib                   0x00000001025d9df8 _dispatch_call_block_and_release + 12
	9   libdispatch.dylib                   0x00000001025dad6c _dispatch_client_callout + 8
	10  libdispatch.dylib                   0x00000001025e8e24 _dispatch_main_queue_callback_4CF + 1500
	11  CoreFoundation                      0x00007fff23b0ce49 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
	12  CoreFoundation                      0x00007fff23b07aa9 __CFRunLoopRun + 2329
	13  CoreFoundation                      0x00007fff23b06e66 CFRunLoopRunSpecific + 438
	14  GraphicsServices                    0x00007fff38346bb0 GSEventRunModal + 65
	15  UIKitCore                           0x00007fff47578dd0 UIApplicationMain + 1621
	16  EspApp                              0x00000001016e9288 main + 72
	17  libdyld.dylib                       0x00007fff516ecd29 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb) 


Arduino Client Code

Your library looks awesome. Is the Arduino-iOS example going to be ready any time soon?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.