mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-24 14:55:21 +02:00
Expose identify functionality. Shows a red screen with important data.
This commit is contained in:
@@ -81,6 +81,12 @@ module.exports = function ControlServiceFactory($rootScope, socket, TransactionS
|
||||
})
|
||||
return tx
|
||||
}
|
||||
|
||||
this.identify = function() {
|
||||
var tx = TransactionService.create(devices)
|
||||
socket.emit('device.identify', channel, tx.channel)
|
||||
return tx
|
||||
}
|
||||
}
|
||||
|
||||
controlService.forOne = function(device, channel) {
|
||||
|
||||
Reference in New Issue
Block a user