Module: Ansible::KNX::DPT16

Defined in:
lib/ansible/knx/dpt/dpt16.rb

Overview

DPT16: ASCII string

Defined Under Namespace

Classes: DPT16_Frame

Constant Summary collapse

Basetype =

DPT16 basetype info

{
    :bitlength => 14*8,
    :valuetype => :basic,
    :desc => "14-character string"
}
Subtypes =

DPT9 subtypes

{    
    # 16.000 ASCII string
    "000" => { :use => "G",
        :name => "DPT_String_ASCII", :desc => "ASCII string",
        :force_encoding => "US-ASCII"
    },

    # 16.001 ISO-8859-1 string
    "001" => { :use => "G",
        :name => "DPT_String_8859_1", :desc => "ISO-8859-1 string",
        :force_encoding => "ISO-8859-1"
    },
}