-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
70 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
*****如果需要安装新版本的网关,请将新版本网关(arm架构)命名为"app-armeabi-v7a-release.apk"并覆盖本目录的“app-armeabi-v7a-release.apk”文件 | ||
#操作: | ||
###第一步:安装本文件夹中第一步配网软件到手机,按照软件操作给r1配网 | ||
###第二步:双击本文件夹的第二步文件,按照提示输入之前连上wifi的r1的ip地址,然后按照提示等待安装完成。 |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
@echo off | ||
echo R1-云易连网关软件安装自启工具 | ||
echo * | ||
echo 将安装云易连网关到R1并打开自启动 | ||
echo * | ||
adb kill-server | ||
adb start-server | ||
echo 需要查看R1的IP地址 | ||
set /p ip=请输入IP地址: | ||
if "%ip%" == "" echo 提示:请输入正确的IP地址 | ||
echo 开始通过网络进行ADB连接…… | ||
echo * | ||
adb connect %ip% | ||
echo * | ||
adb shell settings put secure install_non_market_apps 1 | ||
echo * | ||
echo 安装包上传中…… | ||
adb push app-armeabi-v7a-release.apk /data/local/tmp/ | ||
echo * | ||
echo 应用程序安装中…… | ||
adb shell /system/bin/pm install -t /data/local/tmp/app-armeabi-v7a-release.apk | ||
|
||
echo 打开软件 | ||
adb shell am start -n com.iotserv.gateway/.MainActivity | ||
echo * | ||
ping -n 5 127.1>nul | ||
echo 截屏中 gateway.png 查看是否已打开软件 | ||
echo * | ||
adb shell screencap -p /data/local/tmp/gateway.png | ||
echo 图片下载中…… | ||
adb pull /data/local/tmp/gateway.png | ||
echo * | ||
adb shell rm /data/local/tmp/gateway.png | ||
echo 缓存图片已清理 | ||
echo 自行检查是否成功打开软件 | ||
echo * | ||
|
||
:end | ||
echo 按任意键退出... | ||
pause > nul |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters