Closed sheepcloner closed 10 years ago
It looks like you're trying to write a null value to the rfduino?
What is your code doing in the connect callback?
I will close this issue. Turns out that it is related to the one about multiple calls to connect method. I uncommented a piece of code that I should not have. So my mistake. Thank you
Hi Don, I am getting an issue in iOS when I try to connect to rfduino. I don't know anything about iOS at this point (just starting). The exception is below, does this mean anything to you? I am using an ipod Touch with latest iOS 7.1.
I appreciate any help you can offer.
2014-03-29 00:52:31.689 AppName[197:60b] didConnectPeripheral
2014-03-29 00:52:31.694 AppName[197:60b] write
2014-03-29 00:52:31.697 AppName[197:60b] *\ Assertion failure in -[CBPeripheral writeValue:forCharacteristic:type:], /SourceCache/CoreBluetooth/CoreBluetooth-109/CBPeripheral.m:348
2014-03-29 00:52:31.700 AppName[197:60b] *\ Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: characteristic != nil'
*\ First throw call stack:
(0x2d5b4fd3 0x37cfdccf 0x2d5b4ead 0x2df61d5b 0x2d2da645 0x7d031 0x75ca9 0x75547 0x764b7 0x2df9dc73 0x2d58025b 0x2d57f72b 0x2d57df1f 0x2d4e8f4f 0x2d4e8d33 0x3240a663 0x2fe3416d 0x7b5bf 0x7b580)
libc++abi.dylib: terminating with uncaught exception of type NSException