WebThingsIO / webthing-arduino

Simple server for ESP8266, ESP32, Ethernet, or WiFi101-compatible boards compliant with Mozilla's proposed WoT API
Mozilla Public License 2.0
207 stars 78 forks source link

WiFi101: mDNS packet truncated at 64 byte mark #32

Open hobinjk opened 6 years ago

hobinjk commented 6 years ago

Undefining LIMITED_RAM_DEVICE to get a big UDP buffer didn't help so it might be at the ArduinoMDNS layer instead

@kgiori This is the mystery bug which prevents discovery from working on WiFi101 devices.

kgiori commented 6 years ago

@dhylands earlier quick hack that he made for a demo, required a gateway add-on but the mDNS part worked when running on the WINC1500 module: https://github.com/mozilla-iot/http-on-off-wifi101

hobinjk commented 6 years ago

Unfortunately that's the same approach used as the baseline here. The point where it breaks down is advertising the webthing mDNS service which runs into the WiFi101-specific 64 byte limit

mrstegeman commented 4 years ago

@kgiori Do you know if this bug still exists? I don't have any WiFi101 hardware to test with.

kgiori commented 4 years ago

I'll try to get to testing this tomorrow. I do have a MKR1000 that would use the WiFi101 library. kathy

On Tue, Jan 7, 2020 at 12:19 PM Michael Stegeman notifications@github.com wrote:

@kgiori https://github.com/kgiori Do you know if this bug still exists? I don't have any WiFi101 hardware to test with.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/mozilla-iot/webthing-arduino/issues/32?email_source=notifications&email_token=ACIMHNVHLKVXGL7DZON4V73Q4TPTVA5CNFSM4FY3KDN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIKEK3I#issuecomment-571753837, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACIMHNWFSUWLYZWMIOWCU4DQ4TPTVANCNFSM4FY3KDNQ .