ART Demo Application for Mobile Phones
User Manual for an ART Demo Mobile Application Amp ed RF Technology, Inc. This Manual details how to use our evaluation Android application for Bluetooth connectivity on mobile phones. Once the ARTDemoApp has been started, the first screen appears with a message: "Bluetooth Devices List", The screen displays all Bluetooth devices which are discovered by the ARTDemoApp. When the user presses the phone menu a user interface appears with a five option menus: "Scan", Set Discoverable, "Start Server", "Client List", "Exit". 1. Scan: This option menu scans nearby Bluetooth devices; and will display a progress dialog. After a while, the application finishes with the scanning process, all Bluetooth devices which are discovered by the application are displayed 2. Set Discoverable: This option menu makes the phone device discoverable for 300 seconds and it displays: Bluetooth Permission Request dialog box. 3. Start Server: This option menu starts Bluetooth server, than a remote Bluetooth device can connect to the Bluetooth server successfully. The Start Server menu changes to Stop Server. When user presses Stop Server Bluetooth server will stop, and The Stop Server menu will change back to Start Server. 4. Client List: This option menu displays all the client Bluetooth devices; they are able to connect with a Bluetooth server. 2 Page
5. Exit This option menu exits the application. Now, I want to introduce all the user interfaces of the ARTDemoApp. There are four user interfaces in the ARTDemoApp: "Bluetooth Devices List", "Client Devices List", "Transfers Data Display" and Log Info". 1. "Bluetooth Devices List" user interface The First screen appears with this user interface, the screen displays all Bluetooth devices in a list view which are discovered by the ARTDemoApp, each device has an icon, this icon indicates the application whether connected with a Bluetooth device or not. Select a Bluetooth device on this user interface, than press this device as long as the application will display context menu. 3 Page
When the application has not connected to the selected device, the context menus are: "Set PIN", "Auto Test", "Menu Test". (1) Set PIN: This context menu displays a dialog box, it allows user to input device pair PIN code. The application saves the PIN code. When the application pairs as a security pair, it can automatically pair with the device. If user already paired with device no need to enter PIN Code every time. The default PIN code is 1234. 4 Page
(2) Auto Test: This context menu do auto test, test steps are as following: 1) Bond to the device 2) Connect to the device 3) Send 10 test messages to the device 4) Disconnect to the device 5) Remove bond to the device 6) Repeat from 1) to 5) until user press "Stop Auto Test" context menu. (3) Menu Test: This context menu connects the device first; it shows up "Transfers Data Display" user interface, the icon change to connection flag. 5 Page
When the application connected to the device but it doesn t in auto test mode, the context menus are:"menu Test", "Disconnect", "Log Info" 1) Menu Test: This context menu displays "Transfers Data Display" user interface. 2) Disconnect: This context menu disconnects the device, and the send button will disabled. 3) Log Info: This context menu shows run log information user interface. When the application is doing auto test, the context menus are:"stop Auto test, Log Info" 6 Page
1) Stop Auto Test: This context menu stops auto test, and disconnects to the device. 2) Log Info: This context menu shows run log information user interface. 2. "Client Devices List" user interface The user interface displays all client Bluetooth devices which are connected to the Bluetooth server, each client has icon flag, and all displayed as a connection flag. Select a Bluetooth device on this user interface, than press this device as long as it will display context menu: "Menu Test", "Disconnect", "Log Info" 1) Menu Test: This context menu displays "Transfers Data Display" user interface. 2) Disconnect: This context menu disconnects the device, and the Bluetooth device will disappear. 3) Log Info: This context menu shows run log information user interface. 3. "Transfers Data Display" user interface Using this user interface user can manually send data to the Bluetooth device. The user interface can also display the received data from the Bluetooth device. The current Bluetooth device name and Bluetooth address is displayed as a title of user interface. 7 Page
4. "Log Info" user interface Using this user interface, user views a run log of the application communications between the phone and the specific Bluetooth device. There is a log file which records all run log of the application, the log file located in the following directory: "/data/data/com.ampedrf.bluetooth.artdemoapp/files/artdemoapp.log". 8 Page