summaryrefslogtreecommitdiff
path: root/src/rose.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rose.erl')
-rw-r--r--src/rose.erl5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/rose.erl b/src/rose.erl
index 47a48f2..78cfb14 100644
--- a/src/rose.erl
+++ b/src/rose.erl
@@ -23,7 +23,7 @@ dispatch({invoke, #'Invoke'{invokeId = Id, opcode = Op, argument = Data}}) ->
{local, 21} ->
ok;
{local, 51} ->
- {ok, Esc} = csta:decode(Data),
+ {ok, Esc} = escape:decode(Data),
io:format("Esc ~p~n", [Esc]),
ok;
{local, 71} ->
@@ -54,8 +54,7 @@ dispatch({reject, #'Reject'{invokeId = Id, problem = Problem}}) ->
dispatch(#'ReturnResult_result'{opcode = Op, result = Data}) ->
case Op of
{local, 74} ->
- {ok, Status} = 'CSTA-snapshot-device':decode(
- 'SnapshotDeviceResult', Data),
+ {ok, Status} = snapshot:decode(Data),
io:format("Result: ~p~n", [Status]);
_ ->
io:format("Result: ~p~n", [Data])