jSML Overview

jSML on Maven Central

jSML is a Java library implementing the Smart Message Language (SML). jSML is licensed under the Mozilla Public License v2.0.

SML is a communication protocol for transmitting meter data. SML messages are defined in a notation that is similar but not fully conform to ASN.1. To code messages the SML standard defines encoding rules that are similar but not equal to the BER encoding. The jSML library can be used to easily construct SML messages, encode them, and then send them. Just as easily received messages can be decoded. jSML implements the SML transport layers necessary to communicate over TCP/IP and serial connections.

The easiest way to learn how to use jSML is to take a look at the sample applications which are packaged with the distribution.

Our library is used by openHAB, among others.

Developers: Stefan Feuerhahn, Manuel Bührer & Marco Mittelsdorf