From 6c8fc1b7c2b5d01542893bfb37c892d365f30722 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Sat, 24 Oct 2015 01:00:48 +0200 Subject: Disable default values or they get omited --- tda.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tda.erl') diff --git a/tda.erl b/tda.erl index c87ef58..5e4e46d 100644 --- a/tda.erl +++ b/tda.erl @@ -26,7 +26,7 @@ associate_request() -> Ver = #'NewACSEUserInformationForCSTA'{cSTAVersion = [versionFive]}, {ok, Enc} = acse:encode('ACSEUserInformationForCSTA', {newDefinition, Ver}), Pdu = #'AARQ-apdu'{ - 'protocol-version' = <<0>>, % hack + 'protocol-version' = [version1], 'application-context-name' = {1, 3, 12, 0, 218}, 'user-information' = [#'EXTERNAL'{ 'direct-reference' = {1, 3, 12, 0, 285, 200}, -- cgit v1.2.3