Closed Bug 809781 Opened 12 years ago Closed 12 years ago

[b2g-bluetooth] Sending file failed

Categories

(Core :: DOM: Device Interfaces, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla19
blocking-basecamp +
Tracking Status
firefox18 --- fixed
firefox19 --- fixed

People

(Reporter: echou, Assigned: echou)

References

Details

(Whiteboard: [LOE:S])

Attachments

(1 file, 1 obsolete file)

With today's (11/8) latest Gecko & Gaia, we tried to send file by pressing "Send to Bluetooth Device" button on Gallery's share menu but failed. According to the message, onerror() of the returned DOMRequest was invoked after calling function nsIDOMBluetoothAdapter.Connect().
Assignee: nobody → echou
Blocks: 792683
blocking-basecamp: --- → ?
Whiteboard: [LOE:S]
Should be bb+.
blocking-basecamp: ? → +
* Fixed the sending file failure issue.
* Now we'll send Disconnect request when receiving unexpected response from remote.
* Remove the null character at the end of 'Name' header
Attachment #680990 - Flags: review?(kyle)
Attachment #680990 - Flags: review?(kyle) → review?(gyeh)
Comment on attachment 680990 [details] [diff] [review]
patch 1: v1: fixed sending file failure and added erorr handling

Review of attachment 680990 [details] [diff] [review]:
-----------------------------------------------------------------

r+ with nit addressed.

::: dom/bluetooth/BluetoothOppManager.cpp
@@ +1086,5 @@
>  BluetoothOppManager::OnConnectError()
>  {
> +  if (mRunnable) {
> +    nsString errorStr;
> +    errorStr.AssignLiteral("Failed to connect with a bluetooth headset!");

Shouldn't be a bluetooth headset!
Attachment #680990 - Flags: review?(gyeh) → review+
https://hg.mozilla.org/mozilla-central/rev/51fa971d2280
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla19
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: