Closed
Bug 758520
Opened 13 years ago
Closed 12 years ago
B2G Bluetooth: Bluetooth high-level utility functions
Categories
(Core :: DOM: Device Interfaces, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 740744
People
(Reporter: echou, Unassigned)
References
Details
Attachments
(1 file)
(deleted),
patch
|
qdot
:
feedback+
|
Details | Diff | Splinter Review |
We need an utility function set, which I called it BluetoothUtils, for higher layer object such as BluetoothAdapter & BluetoothDevice using.
Reporter | ||
Comment 1•13 years ago
|
||
When we send BlueZ commands or receive events sent from BlueZ, we usually need to transform device object path to device address or vice versa. On the other hand, web developers should only use device address to indicate which device they want to interact with. That's why we need these functions.
(Of course BluetoothUtils will not only contain these two functions, however they are typical 'utility functions' so we can take a look at it at first.)
Attachment #627122 -
Flags: feedback?(kyle)
Reporter | ||
Updated•13 years ago
|
Blocks: b2g-bluetooth
Comment 2•13 years ago
|
||
Comment on attachment 627122 [details] [diff] [review]
WIP v1: GetObjectPathFromAddress and GetAddressFromObjectPath
Review of attachment 627122 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good so far.
Attachment #627122 -
Flags: feedback?(kyle) → feedback+
Comment 3•12 years ago
|
||
Got rolled into 740744, with the ObjectPath calls coming in with the bonding stuff in 730992
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•