1 #ifndef BRIDGE_H
2 #define BRIDGE_H
3
4 #include "modem_core.h"
5
6 #define MSG_CALLING 'C'
7 #define MSG_BUSY 'B'
8 #define MSG_DTR_UP 'D'
9 #define MSG_DTR_DOWN 'd'
10 #define MSG_LE_UP 'L'
11 #define MSG_LE_DOWN 'l'
12 #define MSG_DISCONNECT 'H'
13 #define MSG_NOTIFY 'N'
14
15 int accept_connection(modem_config *);
16 int parse_ip_data(modem_config *cfg, unsigned char *data, int len);
17 void *bridge_task(void *arg);
18
19 #endif
20