NB-IoT Module Series
BC95 AT Commands Manual
BC95_AT_Commands_Manual Confidential / Released 48 / 58
4.16. AT+NPING Test IP Network Connectivity To A Remote Host
This command sends an ICMP packet to the specified host address. Refer to Chapter 6 for possible
<err> values.
AT+NPING initiates the sending of a PING packet to the specified address. This will either cause a packet
to be returned if the remote system is connected and responding to PING packets or no response will be
received. A maximum of 1 ping attempts will be tried. If none of the packets receive a response within the
timeout period, an error will be raised.
If a response is received, the unsolicited +NPING message will be returned. If no response is received the
+NPINGERR unsolicited response will be returned with an error value.
Parameter
Neul Hi2110 Implementation
IP addresses can be specified in decimal, octal or hexadecimal notation.
4.17. AT+NBAND Set Supported Bands
This command restricts the set of bands to be used. Refer to Chapter 6 for possible <err> values.
AT+NPING Test IP Network Connectivity To A Remote Host
Set Command
AT+NPING=<remote_address>
Response
OK
+NPING:<retry_num>,<remote_address>,<ttl>,<rtt>
Else
+NPINGERR: <err>
<remote_address> Address of system sending the message
IPv4 A dot notation IP address
<retry_num> Number of packets sent before a response was received
<ttl> TTL in the response packet
<rtt> Elapsed time in msec from packet sent to response received
<err> An integer value to provide some information on why the ping request failed
1 No response from remote host within timeout period
2 Failed to send ping request