anchor.diff:  
   -include("ucp_syntax.hrl").
   
  --export([
  -         to_ira/1,
  +-export([to_ira/1,
            from_ira/1,
            to_7bit/1,
  -         calculate_sender/1,
  +         encode_sender/1,
  +         decode_sender/2,
            compose_message/2,
  -         binary_split/2,
  -         pad_to/2,
            get_next_trn/1,
            trn_to_str/1,
            decode_message/1,
            wrap/1,
  -         create_cmd_52/3
  -        ]).
  +         create_cmd_52/3]).
   
   -define(STX, 16#02).
   -define(ETX, 16#03).
  
positive.code: -define(UCP_SEPARATOR, $/).
  
  %%--------------------------------------------------------------------
  %% @private
  %% @doc
  %% Function for converting string to string
  %% encoded into IRA, after GSM 03.38 Version 5.3.0
  %%
  %% @spec to_ira(Str) -> String
  %% @end
  %%--------------------------------------------------------------------
  to_ira(Str) ->
      GsmMessage = lists:map(fun(X) -> ucp_ia5:ascii_to_gsm(X) end, Str),
      lists:flatten(GsmMessage).
  
negative.code:     Len = length(ElemsWithOutZero)*2
          + length(ElemsWithZero),
      HexStr = hex:to_hexstr(Len),
      lists:flatten([HexStr, L]).
  
  %%--------------------------------------------------------------------
  %% Get 8 last significant bits of number
  %%--------------------------------------------------------------------
  get_8lsb(Integer) ->
      Integer band 255.
  
  %%--------------------------------------------------------------------
  %% Calculate CRC checksum for UCP Message
  %%--------------------------------------------------------------------
  calculate_crc(Data) when is_list(Data) ->
      string:right(integer_to_list(get_8lsb(lists:sum(Data)), 16), 2, $0).
  
  %%--------------------------------------------------------------------
  %% Checks if char is digit
  %%--------------------------------------------------------------------
  is_digit(C) when C > 46, C < 58  -> true;
  is_digit(_) -> false.
  
  %%--------------------------------------------------------------------
  %% Check if string contains only digits
  %%--------------------------------------------------------------------
  has_only_digits(Str) ->
      lists:all(fun(Elem) -> is_digit(Elem) end, Str).
  
  %%--------------------------------------------------------------------
  %% Increase and rotate TRN number
  %%--------------------------------------------------------------------
  get_next_trn(Val) when is_list(Val) ->
      get_next_trn(list_to_integer(Val));
  get_next_trn(Val) when is_integer(Val) andalso Val >= ?MAX_MESSAGE_TRN ->
      ?MIN_MESSAGE_TRN;
  get_next_trn(Val) when is_integer(Val) ->
      Val + 1.
  