Bluetooth

Differences between revisions 41 and 42
Revision 41 as of 2014-04-30 11:24:44
Size: 10335
Editor: mpt
Comment: Phone design no longer is just for headsets
Revision 42 as of 2014-05-12 14:46:45
Size: 10643
Editor: mpt
Comment: + "Access"
Deletions are marked like this. Additions are marked like this.
Line 87: Line 87:
{{attachment:phone-bluetooth-icon.png}} {{attachment:phone-bluetooth-switch.png}} ==== Access ====
Line 89: Line 89:
Whenever any device is paired, or if any device was paired the last time Bluetooth was turned off, the [[SystemSettings#phone-quick-access|quick access area]] should contain a “Bluetooth” switch. The switch itself should temporarily be replaced by a spinner whenever Bluetooth is turning on or off. ||<tablestyle="float:left;margin:0 1em 1em 0" style="border:none">{{attachment:bluetooth-access.phone.png}}||

[[SystemSettings#phone|The main screen of System Settings]] should have a “Bluetooth” category.

In addition, whenever (a) any device is paired, ''or'' (b) a device was paired the last time Bluetooth was turned off, ''or'' (c) you have not left System Settings since the last time Bluetooth was on, the [[SystemSettings#phone-quick-access|quick access area]] should contain a “Bluetooth” switch. The switch itself should temporarily be replaced by a spinner whenever Bluetooth is turning on or off.

||<tablestyle="clear:both" style="border:none">||

This is the home of Ubuntu’s Bluetooth team. Join up to help us make Bluetooth ROCK in Ubuntu, working together with upstream to test it and make it work out of the box. There’s also a mailing list of Bluetooth-related bugs. For help using Bluetooth in Ubuntu, see Ubuntu Help.

How you can help out:

Partial specification

Bluetooth icon

In the Bluetooth indicator across form factors, and in the System Settings quick access area, the current Bluetooth status should be represented by an icon:

  • If Bluetooth is off, a skeletal Bluetooth icon, with accessible label “Bluetooth (off)”.
  • If it is on, a lozenge Bluetooth icon (fixing bug 761766), with accessible label “Bluetooth (on)”.

  • If a device is paired, a lozenge Bluetooth icon between two arrowheads, with accessible label “Bluetooth (paired)”.

(The exception to this is when Bluetooth is off on the phone, where the indicator hides completely to save space.)

None of these icons should be colored, because they are likely to persist in the menu/status bar for a long time, and none of the states need altering.

PC

bluetooth-menu-setting.png

At the bottom of the “Bluetooth” panel in System Settings should be a checkbox, “Show Bluetooth status in the menu bar”. It should be checked by default for a new user account, but should be sensitive only when there is a powered Bluetooth card or dongle.

bluetooth-menu.png

Whenever that checkbox is sensitive and checked, a Bluetooth menu should appear in the menu bar.

bluetooth-menu-title.png

Should we also/instead distinguish whether a Bluetooth device is currently being used? For example, waiting for a headset to pair before making a call.

The menu should begin with “Bluetooth” and “Visible” switch items. Whenever “Bluetooth” is off, “Visible” should be both off and insensitive.

After a separator, “Send Files to Device…” should open a “Choose Files to Send” file picker, followed (if you select files) by a dialog for choosing which device to send the files to. And “Show Files on Device…” should open the dialog for choosing which device to browse. Both items should be insensitive when Bluetooth is off.

If any devices have been paired and not forgotten, these should be listed following another separator, with an icon for each.

Finally, after another separator, “Set Up New Device…” should open the setup assistant, and “Bluetooth Settings…” should open the Bluetooth panel of System Settings.

Use cases

  • Connect a Bluetooth USB dongle
  • Verify that Bluetooth is working on the computer
  • Set up a Bluetooth headset
  • Stop using a Bluetooth headset
  • Set up a Bluetooth mouse
    • Variation: No other mouse is connected
  • Stop using a Bluetooth mouse
  • Set up a Bluetooth keyboard
  • Stop using a Bluetooth keyboard
  • Set up a Bluetooth printer
  • Stop using a Bluetooth printer
  • Transfer files between two computers over Bluetooth
  • Set up a Wii Remote as a joystick
  • Stop using a Wii Remote
  • Turn off Bluetooth to save power

See also

Phone

System Settings

Access

bluetooth-access.phone.png

The main screen of System Settings should have a “Bluetooth” category.

In addition, whenever (a) any device is paired, or (b) a device was paired the last time Bluetooth was turned off, or (c) you have not left System Settings since the last time Bluetooth was on, the quick access area should contain a “Bluetooth” switch. The switch itself should temporarily be replaced by a spinner whenever Bluetooth is turning on or off.

Discoverability

(bug 1268047)

bluetooth-on-undiscoverable.phone.png bluetooth-on-discoverable.phone.png

The way of making the phone discoverable should be by navigating to the System Settings “Bluetooth” screen, with Bluetooth on, for more than one second. To indicate this:

  • Whenever Bluetooth is on but you have been on the screen for less than one second, the status text should be “Not discoverable” opposite a spinner.
  • Whenever Bluetooth is on and you have been on the screen for a second or more, the status text should be “Discoverable”, opposite the visible name of the device.
  • If you navigate back to the System Settings overview, the status text should change to “Not discoverable”, without a spinner, and System Settings should pause for one second (so that you can see this) before returning to the overview.

Devices

phone-bluetooth.png phone-bluetooth-pair.png phone-bluetooth-device.png

Erratum: “Detected devices:” should be “Connect another device:”.

Whenever Bluetooth is on, the “Bluetooth” switch and status text should be followed by one or two lists of devices. When a device is currently paired, there should be a “Connected devices:” list followed by a “Connect another device:” list. Otherwise there should be just a “Connect a device:” list.

In all these lists, each device should have an icon representing the type of device it is (or a Bluetooth icon if it is an unknown type), and its display name, ellipsized in the middle if too long to fit. This is both because the names of similar devices may differ only at their ends, and because an ellipsis at the end means something else. Specifically, in the “Connect a device:”/“Connect another device:” list, the name should end in an ellipsis if the device is of a type that always requires entering a PIN (that is, not a headset, keyboard, or mouse).

The “Connect a device:”/“Connect another device:” list should contain placeholder text “None detected” when appropriate, for example when entering the screen. The list should update every ten seconds, with a spinner showing opposite the label whenever scanning is in progress (bug 1272317).

Pairing

Tapping a device in the “Connect a device:”/“Connect another device:” list should begin pairing. While pairing is in progress, the list item for the device should have a spinner at its trailing end.

If the device is of a type that usually has the PIN “0000” (a headset, keyboard, or mouse), Ubuntu should try this first. If that doesn’t work, or for any other kind of device, a ‘PIN for “{headset name}”’ or ‘Passkey for “{headset name}”’ dialog should appear, with a PIN/passkey field that uses a number-based keyboard.

If pairing is successful, the “Bluetooth” screen should scroll to the top, so that you can see the device’s list item slide up to join the “Connected devices:” list. If the newly-connected device is a headset, and a headset was already paired, that previously-paired headset should automatically be disconnected, sliding down to rejoin the “Connect another device:” list, so that you never have more than one headset paired at a time.

Examining and disconnecting

Choosing a device in the “Connected devices:” section should navigate to a screen with the device name as its header. It should contain a key-value table showing the “Name:” (full and wrapped to multiple lines if necessary), “Type:” (with icon), and “Signal:” strength of the device (with a one-minute sparkline graph and “Excellent”/“Good”/“Fair”/“Poor” text). If you choose “Disconnect”, that button should become insensitive, the “Signal:” value should be replaced by a spinner and the word “Disconnecting…”, and one second later you should be returned to the main “Bluetooth” screen to see the device sliding down from the “Connected devices:” list to the “Connect a device:”/“Connect another device:” list.

Indicator and menu

phone-bluetooth-menu.png

When Bluetooth is on, the indicator icon should appear in the status bar. When Bluetooth is off, to save space the Bluetooth indicator should not be present at all.

For reassurance about whether a device is still paired, the Bluetooth switch should be followed by an insensitive item, with icon, for each currently-paired device.

“Bluetooth Settings…” should open the Bluetooth screen of System Settings.

Bluetooth device battery charge

The battery charge for a paired Bluetooth device should be represented in the battery UI, both on the PC and on the phone.

Future work

In future, Ubuntu Touch should allow connecting other types of Bluetooth device.

phone-bluetooth.mockup.jpg

phone-bluetooth-pair.mockup.jpg

Errata:

  • “Enable” should be “Bluetooth”.
  • “Paired devices” should be “Connected devices:”.
  • “Available devices” should be “Connect another device:”.
  • All the “Connect another device:” device names should be followed by an ellipsis, because they open dialogs.

Links


CategoryUbuntuTeams

CategoryBluetooth

Bluetooth (last edited 2017-06-19 09:37:24 by mpt)