device-change

device-change

Switches the currently-selected device. Once changed, all further device-related commands will be address to the newly selected device.

Usage

device-change <index>

Parameters

This command takes the following parameters:
Parameter 	Description

<index>
	

An integer index of device, as printed by the device-list command.

Responses

This command may return the following responses:
Response 	Description

<<device-change,OK,current device is changed
	

The command has been processed successfully; the current device was changed.

<<device-change,FAIL,invalid parameters
	

An invalid number of parameters have been specified (either no parameters or more than one parameter).

<<device-change,FAIL,incorrect device index
	

The index is not an integer.

<<device-change,FAIL,device not found
	

There is no such device.

<<device-change,FAIL,the device is already current
	

An attempt was made to switch to a device that is already the current device.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值