Lines Matching full:modem
36 * Routines for calling up on a Hayes Modem
38 * The modem is expected to be strapped for "echo".
42 * The easy way to hang up a modem is always simply to
44 * (which switches the modem back to local mode) is sent
45 * before modem is hung up, removal of the DTR signal
46 * has no effect (except that it prevents the modem from
52 * It is probably not a good idea to switch the modem
93 if (hay_sync() == 0) /* make sure we can talk to the modem */ in hay_dialer()
102 write(FD, "ATv0\r", 5); /* tell modem to use short status codes */ in hay_dialer()
141 /* first hang up the modem*/ in hay_disconnect()
143 printf("\rdisconnecting modem....\n\r"); in hay_disconnect()
234 printf("Unknown Modem error: %c (0x%x)", c, c); in error_rep()
241 * set modem back to normal verbose status codes.
259 printf("cannot hang up modem\n\r"); in goodbye()