22.03.2013 Views

AT+i Programmer's Manual - SE Spezial-Electronic AG

AT+i Programmer's Manual - SE Spezial-Electronic AG

AT+i Programmer's Manual - SE Spezial-Electronic AG

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

13.9 +iGPNM — Get Peer Name for A Specified Socket<br />

Syntax: <strong>AT+i</strong>GPNM:<br />

Parameters:<br />

Command Options:<br />

Result Code:<br />

Direct Socket Interface<br />

Retrieves peer name (:) of a remote connection to a<br />

TCP/UDP socket specified by the socket handle .<br />

A TCP/UDP socket handle of an open socket<br />

Must have been obtained by a previous execution of an<br />

<strong>AT+i</strong>STCP or <strong>AT+i</strong>SUDP command during the current Internet<br />

mode session. Or a socket accepted by a listening socket.<br />

I/(:) where,<br />

is the remote peer‘s IP address, and is the remote<br />

peer‘s port for this connection.<br />

I/ERROR If is not an open socket handle, or otherwise some error<br />

occurred.<br />

<strong>AT+i</strong> Programmer‘s <strong>Manual</strong> Version 8.21 13-11

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!