a8e35a579c
Add valgrind mocked test to CI ( #7501 )
...
Run valgrind on host mock example runs to catch more bugs in CI. These
tests would have caught the problem in #7464 before users did.
Add a list of some randomly picked examples to run, and add an option to
run the loop exactly once in the host mock routine, so the test will
actually exit under valgrind.
2020-08-03 19:00:51 -07:00
92373a9837
Deprecate axTLS, update examples ( #5366 )
...
* update examples
* fix serial<->tcp example, use STASSID instead of SSID (name collision)
* fix HTTPSRequest.ino
* update AxTLS HTTPS examples, update AxTLS API to deprecated
* fixes
* fixes + fix astyle (no preproc directives) + restyling script
* fix HTTPClient library
* fixes
* common.sh: do not reload arduino when already present (for locally CI testing)
* common.sh: do not reload ArduinoJson when already present (for locally CI testing)
* fix
* fix
* fix deprecated example
* fix WiFiHTTPSServer.ino
* reduce footprint
* wipfix
* fix led builtin
* fix example
* finished updating APSSID on all examples
* style
* restyle examples
* helper to run CI test locally
* local CI runner more verbose
* +const
* deprecation deprecation
* deprecation
* Update NTPClient.ino
const char[] => const char *
* Update interactive.ino
const char[] => const char *
2018-11-29 20:49:27 -08:00
ef95e05319
examples code cleanup ( #5290 )
...
* Update WiFiMulti.ino
* Update WiFiClientBasic.ino
* Update WiFiWebServer.ino
* Update WiFiClient.ino
* Update WiFiHTTPSServer.ino
2018-10-28 23:29:03 -03:00
d17ffc2874
WiFi: improve WiFiClient(Basic) examples ( #5197 )
...
WiFiClient no longer depends on now-defunct data.sparkfun.com
service, but uses a TCP "quote of the day" service instead.
fixes #4088
2018-10-11 02:08:13 -03:00
4fdff072e8
read all lines from slow servers ( #5113 )
...
Replaces #1829
2018-09-07 15:07:59 -03:00
61cd8d8385
examples: format all .ino files
...
This formats all the example source files using Arduino style rules.
2018-03-08 14:32:06 +08:00
d46d742db1
Use WIFI_STA in WiFiClient-examples
...
Many people have problems with using ESP8266 as WiFi-client due to
none of the examples mentioning that you should use WIFI_STA if you
only want the ESP8266 to act as a WiFi-client. Many WiFi-devices
will randomly try to connect to the ESP8266 if used as STA+AP and
complain about not being able to access the Internet or other devices
on the network.
2016-10-29 12:40:06 +03:00
e4e182a966
Rectified mistake in if condition
...
thanks to @chaeplin for finding the mistake
2016-04-05 13:12:22 +05:30
81859c5df6
Changed timeout logic
...
Changed timeout to unsigned long. Using addition with millis() is not recommended.
Source: http://www.gammon.com.au/millis
2016-04-05 10:53:15 +05:30
e166e85f73
oupps ! I forgot to set the timout value
2015-12-06 09:47:00 -05:00
6fa70bda01
replace delay with while loop in WiFiClient.ino
2015-12-06 09:42:51 -05:00
d849f2298f
Add samples for the ESP8266WiFi library
2014-12-23 15:39:48 +03:00