/[pengfork]/pengfork/src/modem/modem.c
ViewVC logotype

Diff of /pengfork/src/modem/modem.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by chupa, Sat Sep 14 15:50:40 2002 UTC revision 1.6 by chupa, Sat Oct 19 12:11:59 2002 UTC
# Line 199  modem_send_init_string (string) Line 199  modem_send_init_string (string)
199    if (!string)    if (!string)
200      return 1;      return 1;
201    
202    if (!modem_send_command (string, 1000, response, sizeof (response)))    if (!modem_send_command (string, 10000, response, sizeof (response)))
203      return 0;      return 0;
204    switch (modem_response_value (response))    switch (modem_response_value (response))
205      {      {
# Line 255  modem_dial_to (phone) Line 255  modem_dial_to (phone)
255      snprintf (dialcmd, sizeof (dialcmd), "%s%s%s", PARAM_MODEM_DIALSTR,      snprintf (dialcmd, sizeof (dialcmd), "%s%s%s", PARAM_MODEM_DIALSTR,
256                PARAM_MODEM_DIAL_PREFIX, phone);                PARAM_MODEM_DIAL_PREFIX, phone);
257    
258    if (!modem_send_command (dialcmd, 60 * 1000, response, sizeof (response)))    if (!modem_send_command (dialcmd, 60 * 10000, response, sizeof (response)))
259      return 0;      return 0;
260    switch (modem_response_value (response))    switch (modem_response_value (response))
261      {      {

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26