DCS WDU models Spécifications Page 253

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 318
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 252
UC864-E/G/WD/WDU AT Commands Reference Guide
80304ST10041a Rev. 7 - 2010-10-14
Reproduction forbidden without Telit Communications S.p.A’s. written authorization - All Rights Reserved. Page 253 of 318
#SRECV – Received Data in Command Mode
SRING URC (<srMode> be 2, <dataMode> be 0) displaying (in text format) 15
bytes data that have just come through connected socket identified by
<connId>=3; it’s no necessary to issue #SRECV to read the data; no data
remain in the buffer after this URC
SRING: 3,15, stringa di test
3.5.7.2.11. Send Data In Command Mode - #SSEND
#SSEND – Send Data in Command Mode
AT#SSEND=
<connId>
Execution command permits, while the module is in command mode, to
send data through a connected socket.
Parameters:
<connId> - socket connection identifier
1..6
The device responds to the command with the prompt ‘>’ and waits for the
data to send.
To complete the operation send Ctrl-Z char (0x1A hex); to exit without
writing the message send ESC char (0x1B hex).
If data are successfully sent, then the response is OK.
If data sending fails for some reason, an error code is reported
Note: the maximum number of bytes to send is 1024; trying to send more
data will cause the surplus to be discarded and lost.
Note: it’s possible to use #SSEND only if the connection was opened by
#SD, else the ME is raising an error
Note: a byte corresponding to BS char(0x08) is treated with its
corresponding meaning; therefore previous byte will be cancelled(and BS
char itself will not be sent)
Example
Send data through socket number 2
AT#SSEND=2
>Test<CTRL-Z>
OK
Vue de la page 252
1 2 ... 248 249 250 251 252 253 254 255 256 257 258 ... 317 318

Commentaires sur ces manuels

Pas de commentaire