laforge has submitted this change. ( https://gerrit.osmocom.org/c/onomondo-eim/+/43504?usp=email )
Change subject: es9p_client: remove unused function ......................................................................
es9p_client: remove unused function
The tryme function was used during development to try out the es9p_client in isolation. We have a proper TTCN3 test harness now, so we no longer need such testcode. It can be removed.
Related: SYS#8100 Change-Id: I1dbdec39a60f59a693c241847272a2094672728f --- M src/es9p_client.erl 1 file changed, 1 insertion(+), 28 deletions(-)
Approvals: Jenkins Builder: Verified laforge: Looks good to me, approved
diff --git a/src/es9p_client.erl b/src/es9p_client.erl index 8a901e8..712ee9d 100644 --- a/src/es9p_client.erl +++ b/src/es9p_client.erl @@ -12,7 +12,7 @@
-module(es9p_client).
--export([request_json/2, request_asn1/2, tryme/0]). +-export([request_json/2, request_asn1/2]).
% Depending on whether SSL is enabled or disabled we get a different HTTP prefix. make_http_prefix() -> @@ -358,30 +358,3 @@ % In any case, this function is currently place holder, since this eIM currently only supports ES9+ JSON bindings % (esipa_asn1_handler currently only calls request_json). Asn1Resp. - -tryme() -> - Req = - {initiateAuthenticationRequest, #{ - euiccChallenge => - <<98, 247, 104, 103, 113, 183, 83, 201, 207, 31, 83, 25, 64, 67, 206, 171>>, - euiccInfo1 => - #{ - euiccCiPKIdListForSigning => - [ - <<245, 65, 114, 189, 249, 138, 149, 214, 92, 190, 184, 138, 56, 161, - 193, 29, 128, 10, 133, 195>>, - <<192, 188, 112, 186, 54, 146, 157, 67, 180, 103, 255, 87, 87, 5, 48, - 229, 122, 184, 252, 216>> - ], - euiccCiPKIdListForVerification => - [ - <<245, 65, 114, 189, 249, 138, 149, 214, 92, 190, 184, 138, 56, 161, - 193, 29, 128, 10, 133, 195>>, - <<192, 188, 112, 186, 54, 146, 157, 67, 180, 103, 255, 87, 87, 5, 48, - 229, 122, 184, 252, 216>> - ], - svn => <<2, 3, 0>> - }, - smdpAddress => <<"127.0.0.1">> - }}, - request_json(Req, <<"127.0.0.1:4430">>).