summaryrefslogtreecommitdiff
path: root/csta.erl
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-10-29 10:16:46 +0100
committerDimitri Sokolyuk <demon@dim13.org>2015-10-29 10:16:46 +0100
commit03774c4e3033235d7fab446c6a6d8a9cf3ce4803 (patch)
treeb25f6fc67a20e93bb7d8be118f919c36f90d7859 /csta.erl
parent8c335639d2baae339c6fef30215c334c8740ae2c (diff)
Move status into csta
Diffstat (limited to 'csta.erl')
-rw-r--r--csta.erl5
1 files changed, 4 insertions, 1 deletions
diff --git a/csta.erl b/csta.erl
index 7eefbb2..6aa904a 100644
--- a/csta.erl
+++ b/csta.erl
@@ -1,6 +1,6 @@
-module(csta).
--export([lines/1, decode/1]).
+-export([lines/1, decode/1, status/0]).
-include("CSTA-escape-service.hrl").
@@ -18,3 +18,6 @@ lines(Device) ->
privateData = {private,
{kmeSystemData, {getSystemData, {request, {deviceList,
{category, {standardDevice, Device}}}}}}}}).
+
+status() ->
+ 'CSTA-system-status':encode('SystemStatusRes', {noData, []}).