site_archiver@lists.apple.com Delivered-To: bluetooth-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :content-type:content-transfer-encoding:mime-version:subject:date :x-mailer; bh=yQkO2YoGIAzV9Uz0f8ktSe79s7t0N8dD6TyTg+V+rs8=; b=WcJvw0ypfbfI+JMDpQ9bEdIl0L98A+ApI6T/uYGgqwv+AsqmK6MKyUVvRQM9Dysfjh vETOUIqeU2RCVQkB+Y4FEPtdiRVugr9mXX3q/93vQasxQwv8eTaXGTBN0HdWmvsjji66 JnZHBxr1A2WqjrI1KqGSKuXVWtPNp/6u35xlA= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:content-type:content-transfer-encoding :mime-version:subject:date:x-mailer; b=fCpDUIDg+3i2VveiQlaALbRBxj+7tGCUPXPA540jf7kykjXS5ds04NNQnUub7O2zoV L+goImTGwQRG+NPrDR8owJmS1VHSiexY+yDA6rFEm4k4XiT5AsrHg0JoO4dJaiqupmXS OE31SBHcGhJdi0OVSyg2Teo+nVQH/Rzy2pvzo= Hey all, My code is pretty simple 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 (Bluetooth-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/bluetooth-dev/site_archiver%40lists.a... I'm trying to pair up a device on 10.5.8 with IOBluetoothPairingController. 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] () This email sent to site_archiver@lists.apple.com