Device Configuration through a power cycle
Wireless
No replies yet. Be the first to reply.
Join the discussion.
Wireless
No replies yet. Be the first to reply.
Join the discussion.
Share projects and connect with makers.
Joined before the site update? first.
New to WIZnet Makers?
We sent a verification link to your address. Open it to activate your account, then log in.
Accounts from this email provider are reviewed by an administrator after verification. Approval usually takes one business day.
Already have an account?
Enter your email address. If it belongs to an account, we'll send a link to set a new password. Members who joined before the site update use this to set their password.
If an account uses that address, we sent a link to set a new password. The link works once and expires in 30 minutes.
Know your password?
Need an account?
RE: Device Configuration through a power cycle
by ssekim ·
You can do it using <AT&W0> command.
Most configuration items would be saved.
Please refer to the .
(AT&W, AT&V, AT&F)
Thanks.
Steve
RE: Device Configuration through a power cycle
by HEN ·
Hi Steve,
RE: Device Configuration through a power cycle
by ssekim ·
Hi Hen
All options which you can see with <AT&V> are saved.
Steve
RE: Device Configuration through a power cycle
by HEN ·
Hi Steve,
RE: Device Configuration through a power cycle
by ssekim ·
Hi HEN
Yes, you’re right.
But, you can change with AT&Y.
AT&Y0 : Set default configuration to profile #0
AT&Y1 : Set default configuration to profile #1
wiznet.co.kr/Admin_Root/UpLoad_F … _V130E.pdf
Steve
RE: Device Configuration through a power cycle
by HEN ·
Hi Steve,
I send the following commands to the device -
AT+WD
AT+WM=2
AT+WAUTH=0
AT+NDHCP=0
AT+NSET=192.168.55.20,255.255.255.0,192.168.55.20
AT+WSEC=1
AT+DHCPSRVR=1
AT+WA=LimitedAP,8,
AT+NAUTO=1,1,5000
AT&W0
AT&Y0
When I issue a AT&V to check the configs I get the following -
ACTIVE PROFILE
C1 &Y0 E1 V1 B=115200,8,N,1 &K0 &R0
+NDHCP=0 +NSET=192.168.55.20,255.255.255.0,192.168.55.20
+DNS1=0.0.0.0, +DNS2=0.0.0.0
+WM=2 +WAUTO=0,“WizFiAP”,
+WRETRY=5 +WP=0 +WRXPS=0 +WRXACTIVE=1
+NAUTO=1,1,0.0.0.0,5000
+WAUTH=0 +WWPA=“”+PSK-valid=0 +SSID=
+WWEP1=0000000000 +WWEP2= +WWEP3= +WWEP4=
+WEAPCONF=13,26,
S0=01000 S1=00500 S2=00500 S3=00003 S4=00010 S5=00150
+BDATA=0 +WSEC=1
+XEB=0 +XE2B=27 +XDUM=1 +XEHT=2,1,0,3 +XAIRCMDPORT=5001
+XDO=0,0,0 +XAR=0 +XUAP=0 +XPSO=0,0
STORED PROFILE 0
E1 V1 B=115200,8,N,1 &K0 &R0
+NDHCP=0 +NSET=192.168.55.20,255.255.255.0,192.168.55.20
+DNS1=0.0.0.0, +DNS2=0.0.0.0
+WM=2 +WAUTO=0,“WizFiAP”,
+WRETRY=5 +WP=0 +WRXPS=0 +WRXACTIVE=1
+NAUTO=1,1,0.0.0.0,5000
+WAUTH=0 +WWPA=“”+PSK-valid=0 +SSID=
+WWEP1=0000000000 +WWEP2= +WWEP3= +WWEP4=
+WEAPCONF=13,26,
S0=01000 S1=00500 S2=00500 S3=00003 S4=00010 S5=00150
+BDATA=0 +WSEC=1
+XEB=0 +XE2B=27 +XDUM=1 +XEHT=2,1,0,3 +XAIRCMDPORT=5001
+XDO=0,0,0 +XAR=0 +XUAP=0 +XPSO=0,0
(Left Profile 1 out of this listing).
The Active and Profile 0, reflect some of the parameters that have been changed by my series of commands. However not all parameters appear to have been changed, for instance, nowhere in the profiles is listed the text “LimitedAP”, which I would have expected.
If I issue ATA2, then the device configures itself as a limited AP and I can connect to it.
If I power cycle the device and then issue an ATA2, the device does not go into Limited AP mode, suggesting the configurations have not been saved so that the device can be brought up in limited AP mode.
Could you please point out my mistakes?
RE: Device Configuration through a power cycle
by ssekim ·
Hello Hen
I just tested the below 3 cases.
(1) using ATA, not saved configuration(profile) and need to issue the below commands at every booting time
AT+WD
[OK]
AT+NDHCP=0
[OK]
AT+NSET=192.168.55.1,255.255.255.0,192.168.55.1
[OK]
AT+WAUTO=2,xxxxx,0
[OK]
AT+NAUTO=1,1,4000
[OK]
ATA
IP SubNet Gateway
192.168.55.1: 255.255.255.0: 192.168.55.1
[OK]
(2) using ATA2, not saved configuration(profile) and need to issue the below commands at every booting time
AT+WD
[OK]
AT+WM=2
[OK]
AT+WAUTH=0
[OK]
AT+DHCPSRVR=0
[OK]
AT+WD
[OK]
AT+WM=2
[OK]
AT+WAUTH=0
[OK]
AT+NDHCP=0
[OK]
AT+NSET=192.168.55.1,255.255.255.0,192.168.55.1
[OK]
AT+DHCPSRVR=1
[OK]
AT+WA=xxxxx,8
IP SubNet Gateway
192.168.55.1: 255.255.255.0: 192.168.55.1
[OK]
AT+NAUTO=1,1,4000
[OK]
ATA2
[OK]
(3) saved configuration(profile) and the below commands need to be issued just one time.
AT+WD
[OK]
AT+NDHCP=0
[OK]
AT+NSET=192.168.55.1,255.255.255.0,192.168.55.1
[OK]
AT+WAUTO=2,xxxxx,0
[OK]
AT+NAUTO=1,1,4000
[OK]
ATC1
[OK]
AT&W0
[OK]
AT&Y0
[OK]
Now, WizFi210 run in Limited AP mode automatically at every booting time.
Steve
RE: Device Configuration through a power cycle
by HEN ·
Hi Steve,