2 * Copyright 2003-2004, Waldemar Kornewald <wkornew@gmx.net>
3 * Distributed under the terms of the MIT License.
9 #include <SupportDefs.h>
11 #include <netinet/if_ether.h>
16 #define CONTROL_ESCAPE 0x7d
17 #define FLAG_SEQUENCE 0x7e
18 #define ALL_STATIONS 0xff
21 #define ESCAPE_DELAY 1000000
22 #define ESCAPE_SEQUENCE "+++"
23 #define AT_HANG_UP "ATH0"
25 #define MODEM_MTU 1502
26 #define PACKET_OVERHEAD 8
27 #define MODEM_TIMEOUT 3000000
29 #define MODEM_PORT_KEY "Port"
30 #define MODEM_INIT_KEY "Init"
31 #define MODEM_DIAL_KEY "Dial"
33 extern struct core_module_info
*core
;
37 // defined in ModemDevice.cpp
38 extern void dump_packet(struct mbuf
*packet
);