Skip to main content
Marco Giammarini
Associate
November 7, 2017
Question

SPWF04S DHCP Server problem with static ip

  • November 7, 2017
  • 1 reply
  • 1276 views
Posted on November 07, 2017 at 11:14

Dear all,

I try to connectSPWF04S toa WPA2 network of my company and I have problem with static IP. The IT guys make a reservation for the module with a specific ip address based onSPWF04S MAC address. When I try to connect the server give to the module a different IP address every time because the MAC address that the module send to the server is very strange as you can see in the picture (the last column is the mac address):0690X00000608rlQAA.png

How I can fix this issue?

Usualy, the AT commands that I send is:

at+s.wifi=0
at+s.ssidtxt=networkname
at+s.scfg=wifi_wpa_psk_text,networkpassword
at+s.scfg=wifi_priv_mode,2
at+s.scfg=wifi_mode,1
at&w
at+s.wifi=1�?�?�?�?�?�?�?

Thanks

Marco

#spwf04s #dhcp #static-ip
    This topic has been closed for replies.

    1 reply

    Gerardo GALLUCCI
    ST Employee
    November 8, 2017
    Posted on November 08, 2017 at 18:18

    STMicroelectronics MAC addresses starts with 00:80:E1

    What's the output of 'at+s.sts=wifi_own_macaddr' command?

    Marco Giammarini
    Associate
    November 8, 2017
    Posted on November 08, 2017 at 18:21

    The reply is: AT-S.Var:wifi_own_macaddr=00:80:E1:BD:DC:52

    Gerardo GALLUCCI
    ST Employee
    November 8, 2017
    Posted on November 08, 2017 at 18:25

    I assume MAC is correct.

    Try to use Wireshark, and capture the DHCP handshake. Better if in Open Mode (no WPA, so frames are not encrypted)