🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    m5core2-aws getting started example with softap provisioning

    Scheduled Pinned Locked Moved ESP - IDF
    1 Posts 1 Posters 5.0k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • O Offline
      ozanoner
      last edited by

      Hi all,
      I just tried to run the getting started example here: https://edukit.workshop.aws/en/getting-started.html
      BLE provisioning works perfectly, but when I test it with softAP provisioning, my mobile device (android 12) cannot connect to the AP, saying cannot obtain IP address. However, in the terminal logs, I see that the softAP provides an IP to my mobile client. I tested with the rainmaker app as well, just fails. Here is the terminal log:
      I (18984) wifi:station: ee:2e:d8:ff:4d:7e join, AID=1, bgn, 20
      ␛[0;32mI (19334) esp_netif_lwip: DHCP server assigned IP to a station, IP is: 192.168.4.2␛[0m
      ␛[0;32mI (20344) esp_netif_lwip: DHCP server assigned IP to a station, IP is: 192.168.4.2␛[0m
      ␛[0;32mI (22624) esp_netif_lwip: DHCP server assigned IP to a station, IP is: 192.168.4.2␛[0m
      ␛[0;32mI (26174) esp_netif_lwip: DHCP server assigned IP to a station, IP is: 192.168.4.2␛[0m
      ␛[0;32mI (33754) esp_netif_lwip: DHCP server assigned IP to a station, IP is: 192.168.4.2␛[0m
      I (37174) wifi:station: ee:2e:d8:ff:4d:7e leave, AID = 1, bss_flags is 131187, bss:0x3ffe5184
      I (37174) wifi:new:<1,0>, old:<1,0>, ap:<1,1>, sta:<0,0>, prof:1
      I (37864) wifi:new:<1,0>, old:<1,0>, ap:<1,1>, sta:<0,0>, prof:1
      I (37864) wifi:station: ee:2e:d8:ff:4d:7e join, AID=1, bgn, 20
      ␛[0;32mI (38264) esp_netif_lwip: DHCP server assigned IP to a station, IP is: 192.168.4.2␛[0m
      ␛[0;32mI (39264) esp_netif_lwip: DHCP server assigned IP to a station, IP is: 192.168.4.2␛[0m
      ␛[0;32mI (41304) esp_netif_lwip: DHCP server assigned IP to a station, IP is: 192.168.4.2␛[0m
      ␛[0;32mI (45534) esp_netif_lwip: DHCP server assigned IP to a station, IP is: 192.168.4.2␛[0m
      ␛[0;32mI (53704) esp_netif_lwip: DHCP server assigned IP to a station, IP is: 192.168.4.2␛[0m
      I (56094) wifi:station: ee:2e:d8:ff:4d:7e leave, AID = 1, bss_flags is 131187, bss:0x3ffe5184
      I (56094) wifi:new:<1,0>, old:<1,0>, ap:<1,1>, sta:<0,0>, prof:1

      Any idea what is going on? I'd appreciate any workaround for this issue. Many thanks.
      Ozan

      1 Reply Last reply Reply Quote 0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      • First post
        Last post