Skip to content

Commit

Permalink
Fix security parameter name, add link to releases page
Browse files Browse the repository at this point in the history
  • Loading branch information
Kosta Zaikin committed Sep 16, 2016
1 parent c134cde commit e75d68d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,23 @@
1. clone current repository to your local computer
2. run "./gradlew build"

There is a prebuilt binary available:
https://github.com/yandex-qatools/android-wifitool/releases

## Install
1. adb install wifitool/build/outputs/apk/wifitool-debug.apk

## Usage
adb shell am broadcast
-n ru.yandex.qatools.wifitool/.Connect
-e ssid SSID
-e securityString [WEP|WPA]
-e security [WEP|WPA]
-e pass password
-e retry_count number of connection retries. Default is 0
-e retry_delay retry delay in milliseconds. Default is 10000
Examples:

adb shell am broadcast -n ru.yandex.qatools.wifitool/.Connect -e ssid SecureNet -e securityString WPA -e pass 123456 -e retry_count 3 -e retry_delay 5
adb shell am broadcast -n ru.yandex.qatools.wifitool/.Connect -e ssid SecureNet -e security WPA -e pass 123456 -e retry_count 3 -e retry_delay 5
adb shell am broadcast -n ru.yandex.qatools.wifitool/.Connect -e ssid UnsecureNet

## Output
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
class ParamNames {
static final String SSID = "ssid";
static final String PASS = "pass";
static final String SECURITY = "securityString";
static final String SECURITY = "security";
static final String RETRY_COUNT = "retry_count";
static final String RETRY_DELAY = "retry_delay";

Expand Down

0 comments on commit e75d68d

Please sign in to comment.