Comments (11)
@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:
- Go to this page
- Click "Open a Support Case"
- Login and fill out the form (note the site is currently down for maintenance).
- Cross reference the support ticket here.
This library is for the WINC1500 chip, so we need to mention that in the issue.
from wifi101.
@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.
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.
@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.
@PKGeorgiev ok, thanks for the update, I've renamed the issue accordingly.
from wifi101.
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.
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.
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.
@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.
After a quick test Arduino#6069 seems to have fixed my problems with DHCP and MikroTik router.
from wifi101.
@matwho awesome! Thanks so much for trying it out!
from wifi101.
Related Issues (20)
- Compiler warning about buffer overflow in firmwareVersion() HOT 1
- 'if' statement at WifiClient.cpp:149 is useless HOT 1
- Wifi101 doesn't work once add the freeRTOS library HOT 3
- AP mode with WPA
- Modernize CI system
- HTTPS to sites using LetsEncrypt certificates with MKR1000 fails HOT 1
- Progressively slower transmission and potential buffer handling issue. HOT 5
- AP SSID goes back to default wifi101-xxxx after re-entering provision mode
- Add GitHub Actions workflow to synchronise with shared repository labels
- WiFi.ping(ip) freezes mkr1000 if WiFiUdp.h included
- Infinite stall on WiFiWebServer sample / MKR 1000 HOT 1
- WiFiServer simple improvements
- WiFi.hostname("MKR1000") function has no effects
- Multiple compilation problems on ESP8266 HOT 4
- Library does not work with WINC1500 and Mega2560 HOT 9
- Adafruit Feather M0 WiFi with uFL - ATSAMD21 + ATWINC1500 - fw 19.4.4
- Tx Power Mode
- Turn on WiFi hardware once turned off with WiFi.end()
- MKR1000 no connection with SSL (https) HOT 1
- ATWINC1500 with WiFi101 with MQTT always leads to a dead connection after some time HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wifi101.