User's Manual
NTC 3000 Series – M2M Serial Modem
34
www.netcommwireless.com
AT+SERIAL_PARITY
Description: Sets the serial parity used for communication between the modem and the connected device.
Usage 1: To set the serial parity
AT+SERIAL_PARITY=x
where ‘x’ is an option number.
Usage 2: To retrieve the currently configured serial parity
AT+SERIAL_PARITY?
Help: AT+SERIAL_PARITY=?
Options: 0 Odd
1 Even
4 No parity, default value
Example: To set no serial parity enter
AT+SERIAL_PARITY=4
AT+SERVER
Description: Sets the TCP/UDP server IP address and port or hostname and port. In TCP Client mode this command sets the remote TCP server IP address and remote
port number. In TCP Server mode the port number will be used as the local TCP Server port number. In UDP Client mode, this command will set the UDP
server IP address and remote port number. If a remote UDP socket wants to send back data, it must use this port number.
Usage 1: To set the server IP address and port
AT+SERVER=xxx.xxx.xxx.xxx,yyyyy
Where ‘xxx.xxx.xxx.xxx’ is the server IP address and ‘yyyyy’ is the port number
Usage 2: To set the server hostname and port
AT+SERVER=xxxx,yyyyy
Where ‘xxxx’ is the hostname of the server and ‘yyyy’ is the port number. If no port number is specified, the NTC-3000 uses the default port 1516.
Usage 3: To retrieve the currently configured server IP and port
AT+SERVER?
Help: AT+SERVER=?
Options: ip address the ip address of the server
hostname the hostname of the server
port number the port number of the server
Example 1: To set the IP address of the server to 10.1.193.11 and port to 1516, enter
AT+SERVER=10.1.193.11,1516
Example 2: To set the hostname of the server to ‘testhost.domain.com’ and port to 8888, enter