Ping Test in WiSUN Networks
이동통신단말이 인터넷에 연결되기 까지는 이동통신망 내부의 여러 경로를 거쳐서 외부에 접속되는 과정으로 이루어진다.
이동통신망은 망의 종류와 구조에 따라 다양한 구성이 존재하고 그에 맞는 관리체계를 지니고 있을 것이다.
어찌되었건, 이동통신단말은 PDP Context를 통해 통신망 내부에 존재하는 APN과 접속을 확립한후 APN을 통해 외부망인 인터넷에 연결된다.
1. Border Router Preparation
Refer to “Flashing the Wi-SUN Border Router” ← :§https://docs.silabs.com/wisun/1.7/wisun-getting-started-development/03-wisun-network
2. Device Preparation
Build the “wisun_soc_network_measurement” project and flash it on the selected EFR32
3. Networks Setup and Test
If there is a WiSUN network with the same network name set in the node, it attempts to connect on its own.
In order for a node to connect to the network without problems, the network name must be match. and a matching Wi-SUN PHY configuration is available nearby,
the Performance Measurement node connects to it using the best parent node available (selected by the RPL routing protocol).
-. how to networks name
– how to Wi-SUN PHY → refer to “UG495: Silicon Labs Wi-SUN Developer’s Guide“
NO | Command | Response | 설명 |
1 | AT+CPIN? |
+CPIN: READY OK |
SIM Card의 상태를 확인 |
2 | AT+CSQ |
+CSQ: 25,99 OK |
통신환경(신호품질)을 체크 |
3 | AT+CGREG? |
+CGREG: 0,5 OK |
PS 통신망에 등록상태를 확인 |
– | AT+COPS? |
+COPS: 0,0,”SKTelecom Singtel”,7 OK |
Operator 정보 확인 |
– | AT+CPSI? |
+CPSI: LTE,Online,450-05, 0x1907, 260503,145,EUTRAN-BAND7,2850,5,5, -119,-970,-659,13 OK |
네트워크 정보 확인 |
4 | AT+CGDCONT? |
+CGDCONT: 1,”IP”,”m2minternet”, “0.0.0.0”,0,0,0,0
+CGDCONT: 2,”IPV4V6″,”ims”, “0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0”,0,0,0,0 +CGDCONT: 3,”IPV4V6″,””, “0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0”,0,0,0,1 OK |
PDP Context 정보 확인 |
– |
AT+CGDCONT=1,”IP” ,”m2minternet” |
OK |
PDP Context 설정 ⊕ m2minternet=통신사 APN 이름 |
5 | AT+CGACT? | +CGACT: 1,1 +CGACT: 2,0 +CGACT: 3,0OK |
PDP Context 활성화 상태 확인 |
– | -AT+CGACT=1,1 | OK | PDP Context 활성화 |
6 | AT+CGPADDR | +CGPADDR: 1,10.17.84.249 +CGPADDR: 2,0.0.0.0,0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 +CGPADDR: 3,0.0.0.0,0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0OK |
Ensure the first PDP context get a IP address |
– |
AT+CPING=”www.google.com”, 1,4,64,1000,10 000,255 |
+CPING: 1,142.251.12.103,64,148,255 +CPING: 1,142.251.12.103,64,159,255 +CPING: 1,142.251.12.103,64,170,255 +CPING: 1,142.251.12.103,64,165,255 +CPING: 3,4,4,0,148,170,159 |
IP 동작확인 |