22.01.2015 Views

this SIM5218 AT command manual - Cooking Hacks

this SIM5218 AT command manual - Cooking Hacks

this SIM5218 AT command manual - Cooking Hacks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

<strong>SIM5218</strong> Serial <strong>AT</strong> Command Set<br />

<strong>AT</strong>+CTCPKA=1,3,3<br />

OK<br />

19.31 <strong>AT</strong>+CPING Ping some destination address<br />

Description<br />

The <strong>command</strong> is used to ping some destination address.<br />

SIM PIN<br />

YES<br />

References<br />

Vendor<br />

Syntax<br />

Test Command<br />

Responses<br />

<strong>AT</strong>+CPING= +CPING: IP address,(list of supported<br />

s),(1-100)<br />

OK<br />

Write Command<br />

<strong>AT</strong>+CPING=,[,]<br />

Responses<br />

OK<br />

ERROR<br />

Defined values<br />

<br />

The destination is to be pinged; it can be an IP address (IPv4 or IPv6) or a domain name.<br />

<br />

Integer type. Address family type (IPv4 or IPv6) of the destination address<br />

1 – IPv4.<br />

2 – IPv6.<br />

<br />

Integer type. The num_pings specifies the number of times the ping request (1-100) is to be sent.<br />

The default value is 4.<br />

Examples<br />

<strong>AT</strong>+CPING=<br />

+CPING:10086;10010<br />

OK<br />

<strong>AT</strong>+CPING=”www.baidu.com”,1,4<br />

+CPING: Pinging www.baidu.com with 64 bytes of data:<br />

OK<br />

+CPING: Reply from 119.75.218.45: bytes=64 time=626ms TTL=255<br />

+CPING: Reply from 119.75.218.45: bytes=64 time=2069ms TTL=255<br />

<strong>SIM5218</strong>_Serial _<strong>AT</strong>C_V1.36 391<br />

5/15/2012

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

Saved successfully!

Ooh no, something went wrong!