IOBluetoothPairingController asserting?
IOBluetoothPairingController asserting?
- Subject: IOBluetoothPairingController asserting?
- From: Dave MacLachlan <email@hidden>
- Date: Thu, 5 Aug 2010 09:22:33 -0700
Hey all,
I'm trying to pair up a device on 10.5.8 with
IOBluetoothPairingController.
My code is pretty simple
IOBluetoothSDPUUID *serviceUUID = [[IOBluetoothSDPUUID alloc]
initWithBytes:kServiceUUID length:sizeof(kServiceUUID)];
IOBluetoothPairingController *controller =
[IOBluetoothPairingController pairingController];
[controller addAllowedUUID:serviceUUID];
[controller runModal];
It displays a list of devices, and when I a device that has the
service I get this in the console:
2010-08-05 08:51:43.869 MyApp[31611:813] *** Assertion failure in -
[NSTextFieldCell _objectValue:forString:errorDescription:], /
SourceCache/AppKit/AppKit-949.54/AppKit.subproj/NSCell.m:1338
and the dialog basically hangs (pair button is disabled, prompt says
"Connecting to the device..."). I can hit cancel, but that doesn't
really help.
The backtrace looks something like this:
#0 0x901571c6 in NSLog ()
#1 0x901ece8f in -[NSAssertionHandler
handleFailureInMethod:object:file:lineNumber:description:] ()
#2 0x916170bd in -[NSCell _objectValue:forString:errorDescription:] ()
#3 0x91616fdf in -[NSCell _objectValue:forString:] ()
#4 0x91616f31 in -[NSCell setStringValue:] ()
#5 0x9169c372 in -[NSControl setStringValue:] ()
#6 0x00039676 in -[IOBluetoothConcretePairingController
startDevicePairing:] ()
#7 0x00041293 in -[IOBluetoothConcreteDeviceController
sdpQueryComplete:status:] ()
#8 0x00039526 in -[IOBluetoothConcretePairingController
sdpQueryComplete:status:] ()
#9 0x000c5f53 in -[SDPQueryCallbackDispatcher
sdpQueryComplete:status:] ()
#10 0x947bf91d in __invoking___ ()
#11 0x947bf308 in -[NSInvocation invoke] ()
#12 0x947bf3d8 in -[NSInvocation invokeWithTarget:] ()
#13 0x947bf84a in ___forwarding___ ()
#14 0x947bf8b2 in __forwarding_prep_0___ ()
#15 0x947bf91d in __invoking___ ()
#16 0x947bf308 in -[NSInvocation invoke] ()
#17 0x901173f4 in -[NSConnection dispatchInvocation:] ()
#18 0x901153a7 in -[NSConnection handleRequest:sequence:] ()
#19 0x90114bed in -[NSConnection handlePortCoder:] ()
#20 0x9011471e in -[NSConcretePortCoder dispatch] ()
#21 0x90113e83 in __NSFireMachPort ()
#22 0x9471bff5 in __CFMachPortPerform ()
#23 0x947406b8 in CFRunLoopRunSpecific ()
#24 0x94740aa8 in CFRunLoopRunInMode ()
#25 0x97a702ac in RunCurrentEventLoopInMode ()
#26 0x97a700c5 in ReceiveNextEventCommon ()
#27 0x97a6ff39 in BlockUntilNextEventMatchingListInMode ()
#28 0x9162a6d5 in _DPSNextEvent ()
#29 0x91629f88 in -[NSApplication
nextEventMatchingMask:untilDate:inMode:dequeue:] ()
#30 0x9186738d in -[NSApplication _realDoModalLoop:peek:] ()
#31 0x91861acb in -[NSApplication runModalForWindow:] ()
#32 0x0003eff2 in -[IOBluetoothConcreteDeviceController runModal:] ()
#33 0x00039248 in -[IOBluetoothConcretePairingController runModal:] ()
#34 0x0003eef4 in -[IOBluetoothConcreteDeviceController runModal] ()
What am I missing? This seems like a pretty simple case.
Any help would be greatly appreciated.
Cheers,
Dave
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Bluetooth-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden