From b65846fbc4e6a339e32d7cb75ab22005fd5d30bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?King=20K=C3=A9vin?= Date: Sat, 1 Aug 2015 13:31:46 +0200 Subject: [PATCH] add access permission code accept --- ps_simulator.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ps_simulator.rb b/ps_simulator.rb index 19cbc50..cd4e306 100755 --- a/ps_simulator.rb +++ b/ps_simulator.rb @@ -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)