Farfisa Alba AB3G Get Started page 37

Mycom
Table of Contents

Advertisement

8
MODIFICA DEI PARAMETRI MEDIANTECOMANDI SMS
Come descritto nei capitoli 6 e 7, la programmazione e la
verifica del valore dei parametri del dispositivo AB3G può
essere effettuata anche tramite messaggi SMS. Ogni comando
SMS deve iniziare e terminare con il punto e virgola. Se si
desidera ricevere, dal dispositivo AB3G, un messaggio SMS
di risposta a conferma dell'avvenuta programmazione, è
necessario mettere un "+" all'inizio del comando SMS.
Esempi:
- se si desidera controllare quali numeri di telefono sono
programmati nelle memorie T1÷T4 del dispositivo AB3G,
si deve utilizzare il seguente comando:
;PTN;
- se non ci sono numeri programmati il messaggio di risposta
sarà:
;TN1=0;TN2=0;TN3=0;TN4=0;
- se si desidera inserire i numeri di telefono TN1 e TN2 è
possibile utilizzare il seguente comando:
;TN1=040713470;TN2=+393406556749;
- se si desidera ricevere un messaggio SMS di conferma
scrivere "+" prima del comando:
;+TN1=040713470;TN2=+393406556749;
il messaggio SMS di ritorno sarà:
;TN1=040713470;TN2=+393406556749;
Nota. È possibile utilizzare la stessa procedura per tutti i
parametri di programmazione.
È possibile modificare più parametri con un solo messaggio
SMS scrivendo in sequenza i vari comandi separati dal punto
e virgola. Si consideri che il messaggio SMS non deve essere
più lungo di 160 caratteri (spazi inclusi).
Per esempio se si desidera modificare i seguenti parametri
TN3, IN1, IN2, OS1, OS2, ID1, LN1 e ricevere un messaggio
SMS di conferma, è necessario inviare al modulo AB3G il
seguente SMS:
;+TN3=+44123578;IN1=1;IN2=1;OS1=15;OS2=1;ID1=120;LN1=1;
In pochi secondi si riceverà un messaggio SMS di risposta.
Se la procedura è stata eseguita correttamente, il messaggio
SMS di risposta conterrà esattamente gli stessi comandi inviati.
8
CHANGING PARAMETERS USING SMS COMMANDS
As described in paragraph 6 and 7, programming and
verification of parameters of
by SMS messages. Each SMS command should start and
stop with a semicolon. If it is needed a confirmation reply from
AB3G module
SMS command.
Examples:
- if it is requested to verify which numbers are stored in
memories TN1÷TN4 of AB3G module, the following SMS
command should be sent to the device:
;PTN;
- if no numbers are stored under the memories T1÷T4 the
device will answer:
;TN1=0;TN2=0;TN3=0;TN4=0;
- if it is required to store the telephone numbers of TN1 and
TN2, the following SMS command should be sent to the
device:
;TN1=040713470;TN2=+393406556749;
- if a confirmation SMS is required from the device write "+"
at the beginning of the command:
;+TN1=040713470;TN2=+393406556749;
- confirmation SMS will be:
;TN1=040713470;TN2=+393406556749;
Note. You can use the same programming procedure for all
parameters.
It is also possible to change different parameters with one
SMS. Consider that the SMS message should not be longer
than 160 characters (included space characters).
If it is necessary to change the following parameters TN3,
IN1, IN2, OS1, OS2; ID1, LN1 and a confirmation SMS is
also required, it is necessary to send to the AB3G module
the following SMS:
;+TN3=+44123578;IN1=1;IN2=1;OS1=15;OS2=1;ID1=120;LN1=1;
In a few seconds AB3G module will send back a replay SMS;
if the procedure was correct, reply SMS will contain exactly
the same parameters sent before.
Italiano
- 37 -
AB3G module
it is necessary to add "+" at the beginning of
English
can also be done
Mi 2546

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents