Don't rely on lucky timings when sending messages from the provider.

This commit is contained in:
Simo Kinnunen
2014-02-05 15:37:28 +09:00
parent 36d0af71b5
commit 91097dc569
6 changed files with 153 additions and 84 deletions

View File

@@ -431,8 +431,13 @@ module.exports = function(options) {
.handler())
function poke() {
push.send([wireutil.global,
wireutil.makeDevicePokeMessage(options.serial, solo)])
push.send([
wireutil.global
, wireutil.envelope(new wire.DevicePokeMessage(
options.serial
, solo
))
])
}
function isGrouped() {