Table of Contents
Share app via Bluetooth
Fixture
- One device, A, with Release Candidate installed and running, set up with the following Phone Number and Name:
- 55501 TestA
- One device, B, without Serval Mesh installed
- On device A:
- Go to Android home screen (Home control) → Menu control → Settings → Wireless & networks
- Ensure Airplane mode is OFF
- Turn Bluetooth ON
- Go to Bluetooth settings
- Set Device name to TestA
- Turn Bluetooth OFF
- On device B:
- Go to Android home screen (Home control) → Menu control → Settings → Wireless & networks
- Ensure Airplane mode is OFF
- Turn Bluetooth ON
- Go to Bluetooth settings
- Set Device name to TestB
- Turn Discoverable ON
Test
- On device A:
- Go to Serval main screen → Share Us
- Press Share Serval button
- ASSERT Device A pops up a Complete action using menu which includes a Bluetooth entry
- Press Bluetooth
- IF Device A pops up a dialog To use Bluetooth services, you must first turn on Bluetooth. Turn on Bluetooth now? then press Turn on
- ASSERT Device A displays a Bluetooth device picker screen
- IF The device TestB is not listed, then press Scan for devices
- ASSERT Device A now lists TestB as a Bluetooth device
- Press TestB
- ASSERT Device A briefly displays a pop-over message Sending file to “TestB”
- ASSERT Device B pops up a notification of Bluetooth share: incoming file
- On device B:
- Pull down Android status bar and under Notifications press Bluetooth share: incoming file
- ASSERT Device B pops up a File transfer dialog, “TestA” wants to send you org.servalproject-1.apk (1.83MB). Accept this file?
- Press Accept
- ASSERT A download icon appears in Android status bar
- Pull down Android status bar
- ASSERT A download progress bar appears and completes within half a minute
- ASSERT A notification Bluetooth share: Received files appears
- Press Bluetooth share: Received file notification entry
- ASSERT A list of received files is displayed, with org.servalproject-1.apk at the top
- Press org.servalproject-1.apk entry
- ASSERT A Serval Mesh installation screen appears, asking Do you want to install this application? and a list of permissions
- Press Install
- ASSERT An Installing… progress bar appears for several seconds, then Application installed message
- Press Open button
- ASSERT Serval Mesh app starts, with HERE BE DRAGONS dialog displayed
- Press I agree button
- ASSERT Serval Mesh app runs through proper unpack sequence, including a Superuser Request, then Welcome to the Serval Mesh. with a SETUP WIZARD button