From owner-freebsd-questions@FreeBSD.ORG Sat Dec 15 09:24:51 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 41CCFB60 for ; Sat, 15 Dec 2012 09:24:51 +0000 (UTC) (envelope-from sam.gh1986@gmail.com) Received: from mail-vb0-f54.google.com (mail-vb0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id E955A8FC0A for ; Sat, 15 Dec 2012 09:24:50 +0000 (UTC) Received: by mail-vb0-f54.google.com with SMTP id l1so5325426vba.13 for ; Sat, 15 Dec 2012 01:24:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=CPN69YwUG6PHmiP5TDAINebR8Ba0k92WQoe1xc1FGcg=; b=Jm5S8rO5+53EDNVIV+HmiBnCilXCb8NYbUvmmA4AlEMkq6N+7ROIT7ZcwKNnqgHG61 gywqPj7DfnVpgdaa8VLqZYo90A0bCdDGFwRSqMXNAoF2ghtg91EQuCn8s+5uj+rvi8bl XtMy8KTEs+kwBJ70VioiS8TBHSo7cKJaXZbQcelvFW9KgHpMhO0PMdjENwlmxQup/Bm2 Iwg5hovkde2eiU6lCXxWvUTeoyVwYVk2R4aEYwrYcpCoqgDkGyahFJ4qzRDnONFZ2d9g scnzpMreQqoXQeQv2lP2FtGlFGm5Y+AydmtGD7g2i/lElVaAGZ1W3CVy70k+j8u9UPf3 Yj2Q== MIME-Version: 1.0 Received: by 10.58.161.113 with SMTP id xr17mr14011717veb.3.1355563484568; Sat, 15 Dec 2012 01:24:44 -0800 (PST) Received: by 10.58.245.104 with HTTP; Sat, 15 Dec 2012 01:24:44 -0800 (PST) Date: Sat, 15 Dec 2012 12:54:44 +0330 Message-ID: Subject: modem communication From: s m To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Dec 2012 09:24:51 -0000 hello guys, please forgive me if my question is not related to this list but i don't know where i should ask about it. i have a freebsd8.2 and wanna talk my modem by com port. when i connect my modem to com port, everything is ok. for some reasons, i have to communicate with modem, run a command, close the connection, connect again, run another command, close connection,... . in the other words, in each communication i have to run just one ati command and close connection. my question is: are there any ati commands in modems that should be run continuously (in the same communication)? i mean running one command, close connection, open it again and run another command would make any wrong? my program should work with all modems not a specific one. any hints or comments are really appreciated. sam