Closed
Bug 791928
Opened 12 years ago
Closed 12 years ago
[b2g-bluetooth] Broadcast bonding-related events with device name
Categories
(Core :: DOM: Device Interfaces, defect)
Tracking
()
People
(Reporter: gyeh, Assigned: gyeh)
References
Details
(Whiteboard: [LOE:S] )
Attachments
(1 file, 1 obsolete file)
As shown in the UX spec of settings app, device name should be shown when there's a pairing request comes. Since the settings app is launched after receiving the system message like onrequestconfirmation, there's no way to get device attributes from the instance of BluetoothDevice. So, we need to broadcast system message with device name.
Assignee | ||
Comment 1•12 years ago
|
||
Reuse class DevicePropertiesSignalHandler to retrieve device name and change the argument to a BluetoothSignal consist of signalName, signalPath, and BluetoothValue.
When we get "DeviceCreated", BluetoothValue is a nsString, the object path of device, and return a dict of device properties back to BluetoothDevice.
When we get "RequestConfirmation"/"RequestPinCode"/"RequestPasskey", BluetoothValue is an array of BluetoothNamedValue, including object path of device and passkey (only for "RequestConfirmation"), and append device name only to original parameters.
Attachment #662471 -
Flags: review?(kyle)
Updated•12 years ago
|
Attachment #662471 -
Flags: review?(kyle) → review+
Assignee | ||
Comment 2•12 years ago
|
||
Attachment #662471 -
Attachment is obsolete: true
Comment 3•12 years ago
|
||
Comment 4•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Flags: in-testsuite?
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
You need to log in
before you can comment on or make changes to this bug.
Description
•