4

有什么方法可以重新启用 blued Core Bluetooth XPC 消息的记录?

在 OSX 10.9.1 中,当我使用 IOBluetooth 与蓝牙 LE 设备通话时,系统日志包含如下所示的消息。但是,在 OSX 10.9.2 (2014-02-25) 中,当我使用 IOBluetooth 时,系统日志不再包含这些消息。有什么方法可以重新启用 blued RPC 日志记录,以便在尝试诊断错误时至少可以获得更多信息?

2/26/14 10:07:02.544 AM blued[3838]: Incoming Core Bluetooth message 1: <dictionary: 0x7fbf93c0fc90> { count = 3, contents =
    "kCBMsgArgType" => <int64: 0x7fbf93c1a0e0>: 0
    "kCBMsgArgOptions" => <dictionary: 0x7fbf93c1a970> { count = 1, contents =
        "kCBInitOptionShowPowerAlert" => <int64: 0x7fbf93c1f1f0>: 1
    }
    "kCBMsgArgName" => <string: 0x7fbf93c0f400> { length = 13, contents = "MyApp" }
}
2/26/14 10:07:02.547 AM blued[3838]: Incoming Core Bluetooth message 29: <dictionary: 0x7fbf95b04280> { count = 2, contents =
    "kCBMsgArgUUIDs" => <array: 0x7fbf95b00160> { count = 0, capacity = 0, contents =
    }
    "kCBMsgArgOptions" => <dictionary: 0x7fbf95b04710> { count = 0, contents =
    }
}
2/26/14 10:07:11.102 AM blued[3838]: Incoming Core Bluetooth message 30
2/26/14 10:07:11.106 AM blued[3838]: Incoming Core Bluetooth message 31: <dictionary: 0x7fbf93e12ea0> { count = 2, contents =
    "kCBMsgArgOptions" => <dictionary: 0x7fbf93e13240> { count = 0, contents =
    }
    "kCBMsgArgDeviceUUID" => <uuid: 0x7fbf93e040a0> F74FF592-4628-4D69-BBAA-CF548E38513D
}
2/26/14 10:07:11.378 AM blued[3838]: Incoming Core Bluetooth message 44: <dictionary: 0x7fbf93e07fc0> { count = 2, contents =
    "kCBMsgArgUUIDs" => <array: 0x7fbf93e12620> { count = 0, capacity = 0, contents =
    }
    "kCBMsgArgDeviceUUID" => <uuid: 0x7fbf93e02840> F74FF592-4628-4D69-BBAA-CF548E38513D
}
2/26/14 10:07:11.379 AM blued[3838]: Incoming Core Bluetooth message 61: <dictionary: 0x7fbf95800940> { count = 4, contents =
    "kCBMsgArgUUIDs" => <array: 0x7fbf95802200> { count = 0, capacity = 0, contents =
    }
    "kCBMsgArgServiceStartHandle" => <int64: 0x7fbf95802b20>: 1
    "kCBMsgArgServiceEndHandle" => <int64: 0x7fbf958004b0>: 4
    "kCBMsgArgDeviceUUID" => <uuid: 0x7fbf95800a60> F74FF592-4628-4D69-BBAA-CF548E38513D
}
4

0 回答 0