lib/tamashii/agent/config.rb in tamashii-agent-0.1.11 vs lib/tamashii/agent/config.rb in tamashii-agent-0.2.0
- old
+ new
@@ -8,9 +8,13 @@
register :use_ssl, false
register :auth_type, :none
register :entry_point, "/tamashii"
register :manager_host, "localhost"
register :manager_port, 3000
+ register :connection_timeout, 3
+
+ register :lcd_path, '/dev/i2c-1'
+ register :lcd_address, 0x27
def auth_type(type = nil)
return @auth_type ||= :none if type.nil?
return unless AUTH_TYPES.include?(type)
@auth_type = type.to_sym