• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Condroid Remote Management - Installation guide and User Manual
 

Condroid Remote Management - Installation guide and User Manual

on

  • 534 views

Condroid Remote Management - Installation guide and User Manual. Download the document in http://csd.xen.ssvl.kth.se/csdlive/content/remote-management-system-deployment-testing

Condroid Remote Management - Installation guide and User Manual. Download the document in http://csd.xen.ssvl.kth.se/csdlive/content/remote-management-system-deployment-testing

Statistics

Views

Total Views
534
Views on SlideShare
533
Embed Views
1

Actions

Likes
0
Downloads
0
Comments
0

1 Embed 1

http://www.linkedin.com 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Condroid Remote Management - Installation guide and User Manual Condroid Remote Management - Installation guide and User Manual Document Transcript

    • ! !"#$%"&#()"#"(%& *(+%,%*$(&)-*."&/&-+"!& #(-,&&! 0"!+*$(&123& 2011 !"#$%&()%*+(,%+-%"( !"#$%&(&#*&.( & ( & Lan Sun (lansun@kth.se), 15 ECTS (((((/#*&.(*01(2"#$%&(#30%"( Hervé Ntareme Qing An (qinga@kth.se), 15 ECTS /#4&#*&.( Michel Hognerud Jun Gao (jungao@kth.se), 15 ECTS /.*+25#0( Laili Aidi (aidi@kth.se), 18 ECTS Björn Pehrson! Yasir Ali (yasireal@kth.se), 15 ECTS SUMMER CSD
    • Remote Management Installation Guide & User Manual V1.0 ! Revision HistoryVersion Date Responsible Change V1.0 2011-10-12 Yasir Ali, Jun Gao, Laili Aidi Initial version of the document
    • Remote Management Installation Guide & User Manual V1.0 ! ContentsContents.................................................................................................................................................................................. 2Abbreviation........................................................................................................................................................................... 31. Introduction ....................................................................................................................................................................... 42. Environment Set up.......................................................................................................................................................... 53. User Manual ....................................................................................................................................................................... 7 3.1. Command Classification....................................................................................................................................... 7 3.2. Inner Command .................................................................................................................................................... 74. Reference ..........................................................................................................................................................................10 2
    • Remote Management Installation Guide & User Manual V1.0 ! AbbreviationAbbreviations used in this document: Abbreviation Description ADB Android debugging Bridge SDK Softwar development Kit IOIO IOIO is name of the board, which is used to make the communication possible between the android phone and serial hardware. TTL Transistor – transistor logic (kind of serial interface) USB Universal Serial Bus RS232 Recommended Standard 232 Minicom Text-based modem control and terminal emulation program for Unix-like OS 3
    • Remote Management Installation Guide & User Manual V1.0 !1. Introduction This document is an installation guide for the Condroid Remote Management application. It describesthe procedure of how to download it and how install it step by step on your android phone. It also tells aboutthe hardware requirements to use this application and how to set up environment to make this applicationworking in the right way, and how to use the application. 4
    • Remote Management Installation Guide & User Manual V1.0 !2. Environment Set up2.1. Hardware Installation The necessary equipments, which are needed on this procedure, are:• IOIO board• 1 USB cable for to connect your phone to IOIO USB port• 1 TTL to RS232 converter• 5 jumpers to connect to the board and to connect to RS232 serial interface• 1 Amplifier or WSN/Gateway or any other serial device to control by the application Condroid• 1 adapter to give power to the board Figure 1. Hardware environment for Condroid Remote Management Application2.2. Software Installation After setting up the environment and download the application, we can follow this procedure to install theapplication:• Installation from downloaded APK The following link can be used to download the APK file of our application [1].• Installation from project folder If you want install the application from the Laptop, you need to install the SDK for android and then youcan use the ADB install command to install the application. Installing SDK is not difficult there is a link from 5
    • Remote Management Installation Guide & User Manual V1.0 !the android developer website for the installation of SDK step by step, that can be found in [2]. After installingthe SDK, go the command prompt and type the adb install command to install the application. The commandshould look like this as in snapshot.C: adb install (path) E:CondroidProject.apkAnd then press enter, after that it should install the application, if it fails for some reason then should besomething wrong with the installation or the environmental variable is not set for SDK ADB protocol. Figure 2. Install Condroid apk file from the adb command.Now check your mobile phone menu or all programs whether the application has been installed or not, theapplication should have installed and showing up there like Figure 3 below. Condroid Application installed Figure 3. Condroid Application logo appear in All Programs menu 6
    • Remote Management Installation Guide & User Manual V1.0 !3. User Manual Condroid Remote Management is a “console-like” application for android mobile phone. Using thisapplication, user will be able to issue command to network equipment through cellphone locally and remotely.User also can change the configuration of Condroid Remote Management by using some command remotely.Since Condroid Remote Management has a close relationship with command, in this document we willintroduce the format of command, the meaning and usage of each of it.3.1. Command Classification Condroid Remote Management is not only capable in issue device command, but also execute somecommand for itself. In order to distinguish the two kinds of commands, we use different format:• For outer command, which is the command should be issued to device directly. User should use the command directly. The command and the format only depend on the equipment you are connecting. Condroid will issue such command directly to the equipment without any change.• On the opposite, we provide some inner command and most of them are the command for Condroid itself to change or return some software configuration. User need to initial such command with some specified symbols to distinguish them with outer command. If such command misses the distinguish symbols, Condroid will treat them as outer command and issue to device instead of execute them locally. And very likely you will get error reply from the device.Since using outer command, user only needs to refer to the device specification, thus we will be mainly focusedon inner command and their format.3.2. Inner Command There are two kind of inner command, one is shortcut command and another is local executingcommand, as described below:1. Shortcut CommandShortcut command is just the index of the command script stored in shortcut files. User can issue a serial ofouter command by only commit the index of it.FormatThe format for shortcut command is very simple. The command needs to be initialed with star mark (“*”) andimmediately following the index digits. User only can commit one shortcut command one time. And except thestar mark, there should be only digits. 7
    • Remote Management Installation Guide & User Manual V1.0 !2. Executing CommandExecuting command is the command used to change or get the configuration of ConDroid.FormatThe format for executing command is started with dollar mark (“$”) and should immediately follow thecommand. User only can commit one executing command one time. Table 1. Condroid Remote Management Executing Commands List Command Option Usage Add a shortcut command or a phone No., Add [-s shortcut] | [-n phone No.] which can send the command. Connection parameter. Condroid will establish serial connection to device [-r RxPin] [-t TxPin] [-b baud according to the parameter. Not given cnt rate] [-s stop bits] [-p parity] [- parameter Condroid will use default d] parameter. Without option to direct use default parameters. -d ask for disconnection. [-s shortcut index or all] | [-n Delete one or all shortcut, one or all Del phone No. or all] | [-c] acceptable No., or the access code. -c to get the default connection parameters. Get [-c] | [-s] -s to get the entire shortcut configuration. Internet connection settings. -a tells Condroid to keep Internet connection all the time. -t means temporary connection. User need to ask Condroid to setup Int [-a] | [-t] | [-c] [-d] connection before use. -c if Internet setting is temporary connection. This option will ask for Internet connection and return IP information. -d ask for disconnection If access code is set. When using remote Pas way to control, users need to provide the code by using this command before other 8
    • Remote Management Installation Guide & User Manual V1.0 ! command. [-r RxPin] | [-t TxPin] | [-b Give or change relative parameters.Set baud rate] | [-s stop bits] | [-p parity] | [-c access code] 9
    • Remote Management Installation Guide & User Manual V1.0 !4. Reference[1] “Condroid Remote Management Application APK” http://csd.xen.ssvl.kth.se/csdlive/content/remote- management-system-deployment-testing Last visited - October 2011[2] “Installing the SDK” http://developer.android.com/sdk/installing.html Last visited - October 2011 10