Roving Networks WIFLY GSX Manuel d'utilisateur Page 61

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 84
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 60
WiFly GSX/EZX
www.rovingnetworks.com WiFly-RN-UM 11/9/2011
809 University Avenue Los Gatos, CA 95032 Tel (408) 395-6539 info@RovingNetworks.com
~ 61 ~
Example#2: Posting UART data to web server
The WiFly module is capable of auto posting serial UART data in ASCII or Binary format. In this example
we will configure the WiFly module such that when the serial UART data comes in, the WiFly will connect
and automatically send data to the web server in the following format:
GET /server.php?value=<user serial data> \n\n
The other parameters that need to be set are described below:
set dns name www.rovingnetworks.com //set up the URL of the server
set ip host 0 //instructs RN-370 to use DNS address of host server
set ip remote 80 //standard web server port
set ip proto 18 //enable HTTP and TCP protocols
set com remote GET$/server.php?value= //set up the string
set sys auto 10 //auto connect every 10 seconds
set option format 1 //send HTML header
set uart mode 2 //automatically connect using data Trigger mode
save //save the configurations in config file
reboot //reboot so that the settings take effect
Vue de la page 60
1 2 ... 56 57 58 59 60 61 62 63 64 65 66 ... 83 84

Commentaires sur ces manuels

Pas de commentaire