ams-install

Installs IMlets on the embedded device.

Usage

ams-install <URL> [auth=<username>:<password>] [hostdownload]

Parameters

This command takes the following parameters:
Parameter 	Description

<URL>
	

Specifies the JAD/JAR location. The URL may contain credentials to access the JAD/JAR server (e.g. http://username:password@host/...).

hostdownload
	

Downloads the JAR file using HTTP and then installs it to device via the tooling channel. Applicable for JAR files only.

auth
	

Specifies the user credentials to access the JAD/JAR server.

Responses

This command may return the following responses:
Response 	Description

<<ams-install,start install, <URL>
	

Information message about the start of the installation process.

<<ams-install, install status: stage <stage> , %percentage%
	

Information message about the installation progress

<<ams-install, OK,install success
	

Information message about the installation completing.

<<ams-install,FAIL,missing parameters. see help.
	

The URL is not specified.

<<ams-install,ERROR,unknown parameter: '<dummy parameter'. see help.
	

An unexpected parameter was found. One or more parameters were found two or more times.

<<ams-install,FAIL,credentials must be specified once: in url or in auth parameter
	

Credential info specified twice: in <URL> and in <auth> parameter.

<<ams-install,FAIL,can't download jar data from <URL>
	

An error occurred while downloading the JAR in hostdownload mode.

<<ams-install,FAIL,errorCode errorcode, errorMessage : message
	

Installation was aborted for some reason, described in error message.

<<ams-install,FAIL, error occurred exception
	

An unexpected error occurred. Note that this response is added for debugging purposes and to avoid confusion.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值