Code Monkey home page Code Monkey logo

Comments (11)

sandeepmistry avatar sandeepmistry commented on July 19, 2024

@PKGeorgiev I should have time to try to reproduce this next week.

However, since you've already done so based on your notes in #65, I think we should open a support ticket with Atmel about the firmware. Steps are:

  1. Go to this page
  2. Click "Open a Support Case"
  3. Login and fill out the form (note the site is currently down for maintenance).
  4. Cross reference the support ticket here.

This library is for the WINC1500 chip, so we need to mention that in the issue.

from wifi101.

sandeepmistry avatar sandeepmistry commented on July 19, 2024

@PKGeorgiev I tried to reproduce this today by setting up an access point with a DHCP lease time of 5 minutes. Things looked good, my MKR1000 sent another DHCP request after 5 minutes. I also used Wireshark to capture the traffic, and saw the request being sent out and a DHCP ack from my test router.

Could you please try a Wireshark capture to get more info.? My filter was set to udp && bootp to show only DHCP traffic.

from wifi101.

PKGeorgiev avatar PKGeorgiev commented on July 19, 2024

This is very strange. Looking at WireShark I can see that MCU is constantly requesting DHCP lease renew. In Mikrotik's ghcp logs I also see that the router is sending DHCP ACK to first few requests. But the MCU does not react on these ACKs.
I will try with a different router to see if there is a difference. I'll keep you informed.

from wifi101.

PKGeorgiev avatar PKGeorgiev commented on July 19, 2024

@sandeepmistry I opened case at Atmel (00040760) and did some tests. It seems that the problem is related to MikroTik. I tried with TP-Link router and MKR1000 does renew its DHCP lease. I will contact MikroTik's support to try to resolve the problem.
If you want keep this issue opened until I get some results from MikroTik's support. It would be helpful to MikroTik & MKR1000 owners.

from wifi101.

sandeepmistry avatar sandeepmistry commented on July 19, 2024

@PKGeorgiev ok, thanks for the update, I've renamed the issue accordingly.

from wifi101.

matwho avatar matwho commented on July 19, 2024

I have seen exactly the same problem with DHCP renew on a MKR1000 (also tried Adafruit Feather MO WiFi) I have a MikroTik router. All works fine using a static IP.

from wifi101.

sandeepmistry avatar sandeepmistry commented on July 19, 2024

Hi @matwho, I'd suggest you also open a support case with Atmel to let them know about your issues. There are some instructions in #66 (comment).

from wifi101.

luistope avatar luistope commented on July 19, 2024

Same issue with end of lease time. M2M_WIFI_REQ_DHCP_CONF event never received.
Open socket is not possible without IP "assigned".
In the library is not available the function m2m_wifi_request_dhcp_client(). It's obsolete and empty.
So we can not reconnect again to the network after this case leaving the device unconnected and lost.
Any update about this??

from wifi101.

sandeepmistry avatar sandeepmistry commented on July 19, 2024

@PKGeorgiev any news on Atmel/Microchip on this?

There's PR build of the IDE that contains the new v19.5.2 WINC1500 firmware: arduino/Arduino#6069 (comment). Any one up for testing it with the master version of the library to see if this has been fixed?

from wifi101.

matwho avatar matwho commented on July 19, 2024

After a quick test Arduino#6069 seems to have fixed my problems with DHCP and MikroTik router.

from wifi101.

sandeepmistry avatar sandeepmistry commented on July 19, 2024

@matwho awesome! Thanks so much for trying it out!

from wifi101.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.