1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-10 14:42:08 +03:00
Commit Graph

103 Commits

Author SHA1 Message Date
c4c207a85e Optimize MDNS to prevent overflow and endless loop (#2333)
* Optimize MDNS to prevent overflow and endless loop

* Handle better non-esp services

* leave debug off

* better name resolution for external devices

* strip name length (did not show in IDE)
2016-08-01 11:48:23 +08:00
18297458be allows global object instances be switch off with defines (#2344) 2016-08-01 11:21:50 +08:00
bd01e44c76 fix link list bug in ESP8266mDNS (#2347) 2016-08-01 11:21:21 +08:00
17c02ff252 ESP8266mDNS: restart listening when WiFi STA is connected/disconnected (#1828) 2016-06-12 14:17:27 +08:00
30720ce87a Fix #2015 ESP8266mDNS doesn't accept queryService responses from avahi-daemon (#2023)
Ignore unknown records (AAAA) in the query response; this way we can extract
the IPv4 address and connect to the server.
2016-06-01 11:11:11 +08:00
bfe9f7be69 Update and move lwIP headers, add options to use different lwIP build for generic device
Makefile added to lwip source folder to build and install liblwip_gcc.a
2016-04-10 21:55:22 +03:00
609c84b29f Delete query and answer list in destructor 2016-03-10 10:11:52 +01:00
59c6667050 Fixed bug when making multiple consecutive queries 2016-03-09 15:43:09 +01:00
e09c939c42 Clean code and add example 2016-03-09 11:12:47 +01:00
0426e000cf Clean up 2016-03-09 09:59:17 +01:00
42cb81938f Changed to blocking behaviour 2016-03-08 15:26:23 +01:00
d46f84821e Basic query (and answer parsing) working 2016-03-07 14:25:31 +01:00
160f84a6f6 Make advertiseServices() private 2016-01-16 20:51:08 +01:00
7a35ee4813 advertise all hosted services (written by me-no-dev) 2016-01-16 20:39:52 +01:00
0b42f53bf4 advertise all hosted services 2016-01-16 20:37:06 +01:00
9b369dbae4 empty committ for pull request 2016-01-01 00:14:41 -05:00
939e3430de Fixed crash bug with mDNS where a string buffer could be used uninitialized. 2015-12-30 23:30:15 -05:00
c40cb79ec2 -replace char _hostName[63], char _instanceName[63], and char _txt[128] with Strings. Calling enableArduino allocates four TXT records, and there is quite an overhead of storing tcp_check=no inside an 128-byte buffer. Plus you gain flexibility by supporting TXT records larger than 128 bytes. Host and instance names should also be less than 63 characters most of the time.\n-move definitions of struct MDNSService and struct MDNSTxt to .cpp file, and use forward declaratio 2015-12-18 11:37:53 -08:00
f7d8a027e8 Fix begin overwriting instancename 2015-12-17 14:29:15 -08:00
99b3e2df26 remove debug code 2015-12-17 14:13:03 -08:00
8d9f174826 Add human readable instance name property 2015-12-15 13:29:59 -08:00
971bd9b75c Change addServiceTxt to key/val pair 2015-12-15 06:05:35 -08:00
758107f35d Add TXT support 2015-12-15 05:39:49 -08:00
f34f84be74 Fix add multiple services 2015-12-15 05:17:53 -08:00
d45294efff fix invalid packets, removes compression 2015-12-15 05:07:57 -08:00
a44632b8cf make compiler happier 2015-11-25 18:11:16 +02:00
a8976a01fd Add MD5 to core, Fix OTA examples and Digest Authentication to OTA and espota.py 2015-11-09 00:42:30 +02:00
e613e42249 Fix example sketch, espota output and failing updater
I get 100% success with OTA now
2015-11-08 02:01:12 +02:00
843e11100d mDNS, platform and espota.py changes for IDE Upload
mDNS responds with more TXT properties
platform change to support OTA functions
espota.py added authentication parameter
IDE branch: https://github.com/me-no-dev/Arduino-1/tree/esp8266-ota
2015-11-07 22:02:43 +02:00
c773140a5b use ArduinoOTA class in OTA-mDNS.SPIFFS example 2015-10-22 16:43:00 +02:00
7c37346839 avoid to dereference a NULL pointer if update is called before begin 2015-10-04 17:42:52 +02:00
0034697b6e use String instead of char pointer for SSID() and psk() 2015-09-30 18:15:53 +02:00
093cb1b081 update espota.py help and add chipd id to hostname from OTA-mDNS-SPIFFS example for better identification 2015-09-28 17:19:42 +02:00
ec1c43b5f7 compare wifi settings from config file with sdk config 2015-09-28 16:49:19 +02:00
fb2545f72f example was in wrong folder 2015-09-28 13:27:45 +02:00
da7114cac9 add SPIFFS flashing over the air 2015-09-18 16:03:14 +02:00
6cf18ed1a2 Multicast in SoftAP mode (#96)
SDK 1.3 fixed a bug which caused multicast UDP to fail on SoftAP interface. Update MDNSResponder and documentation appropriately.
2015-08-10 16:14:26 +03:00
496da02f14 Verify sketches as part of travis build
Squashed commits:
[7d1b42f] Encrypt token, skip some tests
[17b8f39] Fix sha1 example path
[f3050b1] Fix build, add webhook
[fd2c9bd] Fix build errors, update mDNS library readme
[7b87031] Make common.sh more flexible
[3ba3eb2] Test all sketches
[87beb8a] Build all sketches in esp8266 core
[f2464f1] Fix paths
[823a9ae] Remove sudo usage
[7fce734] Fix arduino commands
[619bc7d] Move all commands into travis script
[15a5ada] First attempt test runner
2015-07-23 16:06:07 +03:00
1cd50e481f Update OTA Sketch 2015-07-11 13:55:39 +03:00
7596ed0742 inlining and enchancements 2015-07-06 12:34:09 +03:00
ace974aede let's not wait too much :) telnet running here 2015-07-06 12:31:50 +03:00
6f2069deac New Update library, example, upload and more
Proper error handling in the uploading python script
Much faster OTA example sketch with better results
New Update class that simplifies updating the firmware from any source
Updated Esp.updateSketch() to use the new class
2015-07-06 12:31:24 +03:00
83eeaa31e0 typo 2015-07-06 12:25:29 +03:00
dc9072b94b Initial Upload From IDE
For Test ONLY
2015-07-06 12:25:17 +03:00
a82796f83f Revert a460efb 2015-07-06 12:22:30 +03:00
148ec5579f no need for the IP 2015-06-29 02:42:54 +03:00
25aa2cdc08 MDNS-SD 2015-06-29 02:27:14 +03:00
b959e82165 add missing includes to mDNS library 2015-05-12 21:05:00 +03:00
699b06b875 implement async replies in mDNS library
No need to call mdns.update() from loop() any more.
2015-05-12 17:59:24 +03:00
727c61efe2 UDP multicast APIs fix
fix #74, fix #7
2015-04-29 07:01:46 +08:00