/dlms_trouble

A Ruby toolkit for working with DLMS/COSEM

Primary LanguageRuby

DLMS Trouble

An ongoing project to produce a Ruby toolkit for working with DLMS.

Build Status

Features

Attribute/Method Data Handling

XDLMS-APDU.Data types map to the following classes:

XDLMS-APDU.Data Equivalent Class
null-data DType::NullData
boolean DType::Boolean
enum DType::Enum
bcd DType::BCD
unsigned DType::Unsigned
long-unsigned DType::LongUnsigned
double-long-unsigned DType::DoubleLongUnsigned
long64-unsigned DType::Long64Unsigned
integer DType::Integer
long DType::Long
double-long DType::DoubleLong
long64 DType::Long64
floating-point DType::FloatingPoint
float32 DType::Float32
float64 DType::Float64
bit-string DType::BitString
octet-string DType::OctetString
visible-string DType::VisibleString
utf8-string DType::UTF8String
structure DType::Structure
array DType::Array
compact-array DType::CompactArray
dont-care DType::DontCare
date-time DType::DateTime
date DType::Date
time DType::Time

Examples

License

DLMS Trouble has an MIT license