add access permission code accept

This commit is contained in:
King Kévin 2015-08-01 13:31:46 +02:00
parent 32c7f32f2c
commit b65846fbc4
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ 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
when 54,150 # power supply control, unlock code
Telegram.new(0xff,[0x00],false)
else # error: object not defined
Telegram.new(0xff,[0x07],false)