EasyManua.ls Logo

Neoway M590E - Getting Local Port of Socket

Neoway M590E
65 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Neo_M590E V1 GPRS Module AT Command Set
Copyright © Neoway Technology Co., Ltd
53
If there are multiple pieces of base station information, the data circulates between MCC
and ENDED.
9.2 Getting the Local Port of a Socket: +GETLPORT
Description
To get the local port of a socket
Format
AT+GETLPORT=<n><CR>
Parameter
<n>: Socket ID, ranging from 0 to 5
Return
Value
<CR><LF>+GETLPORT: <port_num><CR><LF>
<CR><LF>OK<CR><LF>
or
<CR><LF>ERROR<CR><LF>
<port_num>: Local port ID
Example
AT+GETLPORT=1
+GETLPORT: 4096
OK
Obtain the local port ID of socket 1.
Its port ID is 4096.
AT+GETLPORT=2
ERROR
Obtain the local port of socket 2.
Error is returned because no link is set
up on socket 2.
Remarks
N/A

Table of Contents

Related product manuals