From d54bf3eddaacd2fee22f168899db8cf8f0fe364c Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Mon, 2 Nov 2015 18:35:16 +0100 Subject: Generalize DeviceID --- src/monitor.erl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/monitor.erl') 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 }}}). -- cgit v1.2.3