anchor.diff:              ok;
           {ok, ?HM_CODE_OK_MSG} ->
               {ok, Msg} = read_zstr(Port),
  -            lager:warning("G responded OK with message ~p", Msg),
  +            lager:warning("G responded OK with message ~p", [Msg]),
               ok;
           {ok, ?HM_CODE_FAILURE} ->
               {ok, Msg} = read_zstr(Port),
  -            lager:error("G failed with message ~p", Msg),
  +            lager:error("G failed with message ~p", [Msg]),
               {error, {failure, Msg}};
           {ok, ?HM_CODE_STATUS} ->
               {ok, Msg} = read_zstr(Port),
  -            lager:info("G responded with status message ~p", Msg),
  +            lager:info("G responded with status message ~p", [Msg]),
               query_all_input(Port, Upper);
           {ok, ?HM_CODE_MHDR} ->
               {ok, Msg} = read_zstr(Port),
  -            lager:debug("G responded with monitored header ~p", Msg),
  +            lager:debug("G responded with monitored header ~p", [Msg]),
               query_all_input(Port, Upper);
           {ok, ?HM_CODE_MHDR_MSG} ->
               {ok, Msg} = read_zstr(Port),
  -            lager:debug("G responded with monitored header ~p, info follows", Msg),
  +            lager:debug("G responded with monitored header ~p, info follows", [Msg]),
               query_info(Port, Upper)
       end.
   
  
positive.code: -define(HM_CODE_CON_INFO,   7). % Connected information     byte-count format
  
  -define(UART_OPTIONS, [{baud, 9600}, {csize, 8}, {parity, none}, {mode, binary}]).
  -define(RESTART_DELAY, 1000).   % Milliseconds to sleep before connecting to the UART.
  -define(QUERY_DELAY, 1000).     % Milliseconds.
  -define(RESYNC_LEN, 300).       % Just because 300 > 256.
  
  
  %% =============================================================================
  
negative.code: send_info(Port, Data) when is_binary(Data) ->
      Count = size(Data) - 1,
      ok = uart:send(Port, <<?HM_CHANNEL0, ?HM_INFO, Count, Data/binary>>),
      {ok, <<?HM_CHANNEL0, ?HM_CODE_OK>>} = uart:recv(Port, 2, ?COMMAND_TIMEOUT),
      ok.
  
  
  