2 * Copyright 2003-2004, Waldemar Kornewald <wkornew@gmx.net>
3 * Distributed under the terms of the MIT License.
8 #include <SupportDefs.h>
11 #include <net_buffer.h>
12 #include <net_stack.h>
17 #define CONTROL_ESCAPE 0x7d
18 #define FLAG_SEQUENCE 0x7e
19 #define ALL_STATIONS 0xff
22 #define ESCAPE_DELAY 1000000
23 #define ESCAPE_SEQUENCE "+++"
24 #define AT_HANG_UP "ATH0"
26 #define MODEM_MTU 1502
27 #define PACKET_OVERHEAD 8
28 #define MODEM_TIMEOUT 3000000
30 #define MODEM_PORT_KEY "Port"
31 #define MODEM_INIT_KEY "Init"
32 #define MODEM_DIAL_KEY "Dial"
34 extern net_stack_module_info
*gStackModule
;
35 extern net_buffer_module_info
*gBufferModule
;
39 // defined in ModemDevice.cpp
40 extern void dump_packet(net_buffer
*packet
);