
39
Wireless Products Division
CONFIDENTIAL
Lab 2: Auto-Connect
Feature
Module Can Automatically Open TCP Connection to Remote Host
on Power Up or Waking from Sleep
Auto-Connect Controlled by autoconn Setting
set sys auto 1 // Attempts to open TCP connection immediately once only
set sys auto <value> // Attempts to open TCP connection every <value> seconds
set sys auto 255 // Attempts to open TCP connection once & go back to sleep immediately
// when connection is closed
Auto-Connect Requires Module to Store Remote Host’s IP Address & Port #
set ip host <host IP address>
set ip remote <port>
Once TCP Connection Is Opened, It Can Be Closed in Several Ways
close command
Idle timer
Remote host
Idle Timer Closes TCP Connection after Preset # of Seconds of No Activity
(No Tx or Rx) on the TCP Link
set com idle <value> //Closes the TCP connection after <value> seconds of inactivity
Komentarze do niniejszej Instrukcji