32 #define PHONE_PORT PORTB 40 #define MODEM_USART_PORT 0
void phone_answer(void)
answer the call
Definition: cell.c:158
void phone_hangup(void)
drop the call
Definition: cell.c:165
uint8_t phone_on(void)
power up the phone.
Definition: cell.c:114
void phone_send(const char *s)
the cellular phone.
Definition: cell.c:34
void phone_init(void)
initialize the serial port connected to the phone.
Definition: cell.c:102
uint8_t phone_msg(char *s)
check for a message from the phone.
Definition: cell.c:43
uint8_t phone_waitfor(const char *s, const uint8_t locked)
Wait for string from the modem.
Definition: cell.c:69