getEncryptionMode:
getEncryptionMode:
- Subject: getEncryptionMode:
- From: Diggory Laycock <email@hidden>
- Date: Thu, 6 Feb 2003 16:56:12 +0000
Hi,
I've been looking at the OBEXSample and have a question about
IOBluetoothDevice's getEncryptionMode method.
In my Bluetooth system preferences I have "Use Encryption" checked.
Yet when I check the encryptionMode of the IOBluetoothDevice (mDevice)
in OBEXSample it returns 0 (kEncryptionDisabled)
I'm sure the device is connected - because isConnected: returns TRUE.
Am I missing something - I would have assumed that because of my
preference above all BT connections would be encrypted - or is the
method misbehaving?
(here is a Log:)
2003-02-06 16:43:36.560 OBEXSample[6988]
kOBEXSessionEventTypeConnectCommandResponseReceived
2003-02-06 16:43:36.633 OBEXSample[6988] successful OBEX Session
Connect over Bluetooth: MaxPacketSize: 1024 , OBEX Vers. 0x12
2003-02-06 16:43:37.919 OBEXSample[6988] mDevice is connected: 1
2003-02-06 16:43:37.933 OBEXSample[6988] mDevice encryption: 0
2003-02-06 16:43:37.934 OBEXSample[6988] mDevice : mIOService - 0x6303
mIOConnection - 0x6403
mIONotification - 0x620b
Device Address - 00-02-ee-02-a2-04
mName - Diggory's Phone
mServiceClassMajor - 281
mDeviceClassMajor - 2
mDeviceClassMinor - 1
mPageScanRepetitionMode - 1
mPageScanPeriodMode - 0
mPageScanMode - 0
mClockOffset - 0
mConnectionHandle - 28
mLinkType - ff
mEncryptionMode - 0
mServiceArray - (
<IOBluetoothSDPServiceRecord: 0x172efb0>,
<IOBluetoothSDPServiceRecord: 0x172f420>,
<IOBluetoothSDPServiceRecord: 0x1732210>,
<IOBluetoothSDPServiceRecord: 0x1732230>,
<IOBluetoothSDPServiceRecord: 0x17332e0>,
<IOBluetoothSDPServiceRecord: 0x1734940>,
<IOBluetoothSDPServiceRecord: 0x1734960>,
<IOBluetoothSDPServiceRecord: 0x1735560>,
<IOBluetoothSDPServiceRecord: 0x1733900>
)mRFCOMMConnection - 0x166f200
Diggory Laycock
----------------------
http://www.monkeyfood.com
_______________________________________________
bluetooth-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/bluetooth-dev
Do not post admin requests to the list. They will be ignored.