Device Configuration through a power cycle

Do the devices retain their configuration when they are powered off? I would like to be able to configure the device and then on subsequent power ups it comes up with the same configuration. Would like to avoid having to send AT commands to it each time it is powered up? Thanks.

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

Hi Steve,

         thanks for the info.  Can I assume profile 0 is the one loaded at power up?  What things would not be saved in this profile?

      Cheers

Hi Hen

All options which you can see with <AT&V> are saved.

Steve

Hi Steve,

          that's good, I understand.   Is it profile 0 that is loaded at power up?

              Cheers

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

Hi Steve,

       been playing around with the configs and not understanding what is going on.  Could you please help?  I am trying to use Limited AP at this point.
  1. 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

  2. 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).

  1. 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.

  2. If I issue ATA2, then the device configures itself as a limited AP and I can connect to it.

  3. 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?

         Cheers
    
                HEN
    

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

Hi Steve,

          many thanks.  Appreciate your input.  The third example is what I was after and it works for me as well.  Just have to experiment with turning encryption on, can't see that's a big issue.

          Cheers

                  Herbert