code: void manage_reply(int timeout)
  	{
  		switch (cmd_type)
  		{
  		case CMD:
  			command_inout_reply(timeout);
  			break;
  		case ATT_R:
  			read_attribute_reply(timeout);
  			break;
  		case ATT_W:
  			write_attribute_reply(timeout);
  			break;
  		}
  	}
docs: ===============================================================