Pioneerpos AT Commands G24-LC Instrukcja Użytkownika Strona 346

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 444
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 345
GPRS
3-282 G24-L AT Commands Reference Manual April 15, 2008
+MIPCLOSE, Close a Socket
This command causes the G24-L to free the socket accumulating buffer and to close the socket.
Note: All data stored in the accumulating buffer will be lost. Refer to “+MIPSETS, Set Size for
Automatic Push” on page 3-283 and “+MIPPUSH, Push Data into Protocol Stack” on
page 3-285.
The following table shows the +MIPCLOSE parameters.
Example
AT+MIPCLOSE=1 //The terminal closes the opened socket
OK
AT+MIPCLOSE=2 //The terminal closes the socket that wasn't opened
ERROR
AT+MIPCLOSE? //Sockets 1 and 2 are opened
+MIPCLOSE: 1 2
AT+MIPCLOSE? //No opened sockets
+MIPCLOSE: 0
Command
Type Syntax Response/Action
Set
+MIPCLOSE = <Socket ID> OK
+MIPCLOSE: <Socket ID>[,<
number_of_acknowledged_bytes >]
or:
ERROR
Read
+MIPCLOSE? +MIPCLOSE 1234
+MIPCLOSE: [<socket ID>] - for all ACTIVE
sockets.
Test
+MIPCLOSE=? +MIPCLOSE: (1-4)
OK
Table 3-198: +MIPCLOSE Parameters
<Parameter> Description
<Socket_ID> A unique number that identifies a connection.
Valid socket numbers - 1, 2, 3, 4
<number_of_acknowledged_bytes > Total number of bytes that were acknowledged.
Przeglądanie stron 345
1 2 ... 341 342 343 344 345 346 347 348 349 350 351 ... 443 444

Komentarze do niniejszej Instrukcji

Brak uwag