add ack message for control command

This commit is contained in:
King Kévin 2015-08-01 12:42:17 +02:00
parent 91b317ca79
commit 32c7f32f2c
1 changed files with 2 additions and 0 deletions

View File

@ -31,6 +31,8 @@ while true
Telegram.new(telegram_in.object,[42.0].pack("g").bytes.to_a,false)
when 19 # device class
Telegram.new(telegram_in.object,[0x00,0x10],false)
when 54 # power supply control
Telegram.new(0xff,[0x00],false)
else # error: object not defined
Telegram.new(0xff,[0x07],false)
end