anchor.diff:  	{next_state, idle, LoopDat}.
   
   % STATE Connection pending incoming
  -conn_pend_in(Prim = #primitive{subsystem = 'N', gen_name = 'CONNECT',
  -			       spec_name = response, parameters = Param}, LoopDat) ->
  +conn_pend_in(#primitive{subsystem = 'N', gen_name = 'CONNECT',
  +			spec_name = response, parameters = Param}, LoopDat) ->
   	io:format("SCOC N-CONNECT.resp LoopDat ~p~n", [LoopDat]),
   	% assign local reference, SLS, protocol class and credit for inc section
   	OutParam = [{dst_local_ref, LoopDat#state.remote_reference},
  
positive.code: 	{next_state, reset_incoming, LoopDat1}.
  
  % STATE Bothway Reset
  bothway_reset(Prim = #primitive{subsystem = 'N', gen_name = 'RESET',
  				spec_name = request, parameters = Params}, LoopDat) ->
  	bway_res_req_resp(LoopDat);
  bothway_reset(Prim = #primitive{subsystem = 'N', gen_name = 'RESET',
  				spec_name = response, parameters = Params}, LoopDat) ->
  	bway_res_req_resp(LoopDat);
  bothway_reset(timeout, LoopDat) ->
  	% FIXME check for temporary connection section
  
negative.code: 	{next_state, conn_pend_out, LoopDat1, ?CONNECTION_TIMER};
  
  % RCOC-CONNECTION.req from SCRC
  idle(#primitive{subsystem = 'RCOC', gen_name = 'CONNECTION',
  		spec_name = indication, parameters = Params}, LoopDat) ->
  	% associate remote reference to connection section
  	RemRef = proplists:get_value(src_local_ref, Params),
  	% determine protocol class and FIXME: credit
  