Patent ID: 7346028

Claim:
A method of processing commands from a host device during a data communication session between the host device and a server, the method being performed by a radio modem device which operates in a cellular telecommunications network and connects with the host device through a wired serial connection, the method comprising the steps of: maintaining a Point-to-Point Protocol (PPP) connection between the host device and the radio modem device over the wired serial connection; communicating, over a wireless link with the cellular telecommunications network, data packets of an IP connection maintained between the host device and the server; while the PPP and the IP connections are being maintained: removing a PPP wrapper of data packets to reveal a destination IP address and a destination UDP or TCP port number; identifying whether the destination IP address and the UDP or TCP port number match an IP address and UDP or TCP port number of a radio modern server of the radio modem device; in response to identifying a match between the IP addresses and the UDP or TCP port numbers, as well as identifying a cookie in the data packets that identifies a protocol type of a protocol utilized for communication of the commands: causing the data packets to be routed to the radio modem server, and processing and responding to the host device in accordance with a command and a sequence number in the data packets at the radio modem server so that the response to the host device includes the sequence number, but if the command is an unknown command code, responding to the host device with a version number of the protocol utilized at the radio modem device; and in response to identifying a mismatch between the IP addresses or the UDP or TCP port numbers, causing the data packets to be routed to the sewer over the wireless link with the cellular telecommunications network.