Allow Bluetooth in Flight mode

Fixture

  1. One device A with Release Candidate installed and running, set up with the following Phone Number and Name:
    • 55501 TestA
  2. One device B with or without Serval Mesh installed
  3. On device A:
    1. Go to Android home screen (Home control) → Menu control → SettingsWireless & networks
    2. Ensure Airplane mode is OFF
    3. Turn Bluetooth ON (check checkbox)
    4. Go to Bluetooth settings
    5. Set Device name to TestA
    6. If Discoverable is ON then turn it OFF (un-check checkbox)
    7. Turn Discoverable ON (check checkbox)
  4. On device B:
    1. Go to Android home screen (Home control) → Menu control → SettingsWireless & networks
    2. Ensure Airplane mode is OFF
    3. Turn Bluetooth ON
    4. Go to Bluetooth settings
    5. Press Scan for devices
    6. Ensure Bluetooth device TestA appears within a few seconds
    7. Press TestA Bluetooth device to pair
  5. Ensure that a Bluetooth pairing request dialog pops up on both devices
  6. On devices A and B, press Don't pair buttons

Test

  1. On device A, go to Serval main screen → SettingsPower Saving - Flight Mode
  2. On device A, IF Allow BlueTooth is ON (checkbox is checked) THEN:
    1. Turn Allow BlueTooth OFF (un-check checkbox)
    2. Reboot: press Power button and hold down for two seconds, then select Power off on pop-up menu
    3. After fully powered off, power it on: press Power control and hold for two seconds
    4. After fully started, start the Serval Mesh app
    5. Go to Serval main screen → SettingsPower Saving - Flight Mode
    6. ASSERT Allow BlueTooth is OFF (checkbox is blank)
  3. Put device A into Airplane mode:
    1. Press Power control and hold down for two seconds
    2. ASSERT A dialog pops up with Silent mode, Airplane mode and Power off entries (and possibly some others)
    3. Press Airplane mode pop-up dialog entry
    4. ASSERT Airplane icon appears in Android status bar
    5. ASSERT Bluetooth turns OFF: Bluetooth icon disappears from Android status bar
  4. On device A:
    1. Go to Android home screen (Home control) → Menu control → SettingsWireless & networks
    2. ASSERT Airplane mode is ON (checkbox checked)
    3. Turn Bluetooth ON (check checkbox)
    4. ASSERT Bluetooth does not start; Bluetooth icon does not appear in Android status bar
  5. On Device B
    1. Go to Android home screen (Home control) → Menu control → SettingsWireless & networksBluetooth settings
    2. ASSERT Bluetooth device TestA is listed
    3. Press Bluetooth device TestA
    4. ASSERT Bluetooth device TestA caption changes to Pairing…
    5. ASSERT After a few seconds, Attention dialog pops up, Cannot establish communication with TestA
  6. On device A:
    1. Go to Serval main screen → SettingsPower Saving - Flight Mode
    2. Turn Allow BlueTooth ON (check checkbox)
    3. Reboot: press Power button and hold down for two seconds, then select Power off on pop-up menu
    4. After fully powered off, power it on: press Power control and hold for two seconds
    5. After fully started, start the Serval Mesh app
    6. Go to Serval main screen → SettingsPower Saving - Flight Mode
    7. ASSERT Allow BlueTooth is ON (checkbox is checked)
  7. Put device A into Airplane mode:
    1. Press Power control and hold down for two seconds
    2. ASSERT A dialog pops up with Silent mode, Airplane mode and Power off entries (and possibly some others)
    3. Press Airplane mode pop-up dialog entry
    4. ASSERT Airplane icon appears in Android status bar
    5. ASSERT Bluetooth turns OFF: Bluetooth icon disappears from Android status bar
  8. On device A:
    1. Go to Android home screen (Home control) → Menu control → SettingsWireless & networks
    2. ASSERT Airplane mode is ON (checkbox checked)
    3. Turn Bluetooth ON (check checkbox)
    4. ASSERT Bluetooth starts: Bluetooth icon appears in Android status bar
  9. On device B:
    1. Go to Android home screen (Home control) → Menu control → SettingsWireless & networksBluetooth settings
    2. ASSERT Bluetooth device TestA is listed
      • IF NOT, Press Scan for devices and ASSERT Bluetooth device TestA appears within a few seconds
    3. Press Bluetooth device TestA
    4. ASSERT Bluetooth device TestA caption changes to Pairing…
  10. ASSERT After a few seconds, a Bluetooth pairing request dialog pops up on devices A and B
  11. On devices A and B, press Don't pair buttons

Results


Login