Sierra Wireless 20070914 manual UDP and UDP Pad, UDP Auto Answer

Models: 20070914

1 171
Download 171 pages 23.08 Kb
Page 61
Image 61

Data Communication and Host Modes

SLIP

SLIP mode is entered be using the “AT\ASLIP” command. As in PPP Mode, the IP address that the host assumes is affected by the setting of *HOSTPRIVMODE. SLIP does not negotiate the IP address with the connected device or computer, so before making a SLIP connection, the SLIP driver on that device or computer must be configured to use the IP address specified by querying S110.

UDP and UDP Pad

When the modem is in UDP PAD (Packet Assembly and Disas‐ sembly) Mode, all characters received on the serial port are assembled into UDP packets and sent to the remote IP address/port or the Raven, and any packets received from the same IP/port‐destined for the device port of Raven (see *DPORT)‐‐are disassembled and dumped onto the serial line.

A UDP session is initiated by one of the following events:

Using the Dial UDP (DP) AT command (example, ATDP192.168.3.23/3456).

Setting the Startup Mode Default (MD) to 3 (UDP) so that a UDP session is entered automatically when the modem registers onto the network. Serial data will be sent to the IP/port specified in S53.

Incoming UDP packets will be processed out the serial port if

UDP auto answer is enabled (S82=2);

The destination IP address matches that in S53 (if Friends Mode is enabled, the IP address also needs to be present on the Friends List);

Or allow any IP is set (AIP=1);

The modem is in AT mode (not in a current UDP or TCP session).

UDP packet assembly is affected by the values of S50 (PAD Forwarding Time‐out) and S51 (PAD Forwarding Character). Data received in the serial buffer will be transmitted when the idle inter‐character time‐out specified in S50 (in tenths of seconds) occurs or when a character is received that matches S51 (if non‐zero).

UDP Auto Answer

UDP auto answer (previously called UDP half‐open) is set with S82=2. When set, the Raven will automatically establish a UDP session to the source IP address and port of the UDP packet received. The Raven will remain “locked” to this one

 

 

 

 

 

 

 

Rev 3.0B Feb.08

 

 

 

 

 

56

 

 

 

Page 61
Image 61
Sierra Wireless 20070914 manual UDP and UDP Pad, UDP Auto Answer