summaryrefslogtreecommitdiff
path: root/src/monitor.erl
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-11-02 18:35:16 +0100
committerDimitri Sokolyuk <demon@dim13.org>2015-11-02 18:35:16 +0100
commitd54bf3eddaacd2fee22f168899db8cf8f0fe364c (patch)
tree8a95ccbe375a3631a8539be5712a19a628ca707c /src/monitor.erl
parent75cc3e63b7d3fd4bd3d480aec6a835a84d3aad53 (diff)
Generalize DeviceID
Diffstat (limited to 'src/monitor.erl')
-rw-r--r--src/monitor.erl5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/monitor.erl b/src/monitor.erl
index 36ef0f6..5e0da47 100644
--- a/src/monitor.erl
+++ b/src/monitor.erl
@@ -3,7 +3,6 @@
-export([decode/1, encode/1]).
-include("CSTA-monitor-start.hrl").
-%-include("CSTA-status-reporting.hrl").
-include("CSTA-device-identifiers.hrl").
decode(Data) ->
@@ -12,5 +11,5 @@ decode(Data) ->
encode(Device) ->
'CSTA-monitor-start':encode('MonitorStartArgument',
#'MonitorStartArgument'{
- monitorObject = {deviceObject, #'DeviceID'{
- deviceIdentifier = {deviceNumber, Device}}}}).
+ monitorObject = {deviceObject, #'DeviceID'{
+ deviceIdentifier = Device }}}).