* Change disconnect function
Current implementation does not disconnect the WiFi. Use of `esp_wifi_disconnect()` does.
* Update WiFiSTA.cpp
put back the clear ssid + password
remove the duplicate `esp_wifi_set_config(WIFI_IF_STA, &conf);`
send() can return a value > 0 but less than size indicating it was able to accept some of the data in buffer. The caller must try again after updating the buffer pointer and size remaining.
* Add files via upload
Calls to writePattern() don't send the desired number of bytes when the pattern size doesn't divide evenly into the hardware FIFO size (e.g. sending 18-bit RGB data, 11 patterns take 63 bytes, so 1/64th of the data is never sent).
* Add files via upload
Remove white space changes.
* Edit comments for clarity
I was a little confused reading what this sketch did the first time so I attempted to edit these for clarity.
* code edits as well
Grammar fixes for some parts of the code as well
Method:
--------
Added a verbose print method for ease.
Test Case:
-----------
Putting ESP32 to sleep will give a different reason on wake than the first
time power up.
* Create hall_effect_esp32.ino
A simple example to access the hall effect sensor in the esp32
* Create hall_effect.ino
* Update hall_effect.ino
Simple sketch to access the internal hall effect detector on the esp32
* Delete hall_effect_esp32.ino
* Create HallSensor.ino
* Update HallSensor.ino
* Update HallSensor.ino
* Delete hall_effect.ino
* Update WiFiAP.cpp
set from code the maximum number of clients to smaller than 4 (in my case i must allow only one client at a time)
* Update WiFiAP.h
* Update WiFiAP.cpp
* Update WiFiAP.cpp
* Create WiFiAP.cpp
* Fix possible infinite loop in the example
* Remove workaround of sockets always return -76
Remove workaround of sockets always return -76 (because it's fixed on IDF now)
Remove delay during handshake (improving stability)
* Remove unusable mbedtls_net of context creation
* Fix bad destructor
* Compatibility with WiFiClient for HTTPClient
* Initial port from ESP8266
Changed SHA1 fingerprint by Root CA verification
Changed log system
* Remove deprecated function
* Support self signed certificates
Fix for https://github.com/espressif/arduino-esp32/issues/265
mbedtls_ssl_conf_authmode was defined before mbedtls_ssl_config_defaults causing several bugs when no CA certificate is defined.
* Implement Arduino's log facility
Replace printf by ESP log handling
* Remove \n from debug messages
log_ doesn't need \n to break line.
Actually WiFiMulti is not working due some functions haven't equal comportment of ESP8266
Replace status == WL_DISCONNECTED => status != WL_CONNECTED
Replace scanComplete() => scanNetworks()
Maybe is more interesting, for keep the maximum compatibility, investigate why WL_DISCONNECTED and scanComplete() doesn't works in this case instead of just replace by this pull request.