From fc86381ccac10fa30aefe76996a716ae1d677f5b Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Thu, 29 Oct 2015 14:00:41 +0100 Subject: Prepare for rebar --- csta.erl | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 csta.erl (limited to 'csta.erl') diff --git a/csta.erl b/csta.erl deleted file mode 100644 index 60aaaee..0000000 --- a/csta.erl +++ /dev/null @@ -1,35 +0,0 @@ --module(csta). - --export([lines/1, decode/1, snapshot/1]). --export([decodeStatus/1, statusOk/0]). - --include("CSTA-escape-service.hrl"). --include("CSTA-snapshot-device.hrl"). --include("CSTA-device-identifiers.hrl"). - -decode(Data) -> - 'CSTA-escape-service':decode('EscapeArgument', Data). - -lines(co) -> - lines(networkInterface); - -lines(ext) -> - lines(station); - -lines(Device) -> - 'CSTA-escape-service':encode('EscapeArgument', #'EscapeArgument'{ - privateData = {private, - {kmeSystemData, {getSystemData, {request, {deviceList, - {category, {standardDevice, Device}}}}}}}}). - -decodeStatus(Data) -> - 'CSTA-system-status':decode('SystemStatusArg', Data). - -statusOk() -> - 'CSTA-system-status':encode('SystemStatusRes', {noData, []}). - -snapshot(Device) -> - 'CSTA-snapshot-device':encode('SnapshotDeviceArgument', - #'SnapshotDeviceArgument'{ - snapshotObject = #'DeviceID'{ - deviceIdentifier = {deviceNumber, Device}}}). -- cgit v1.2.3