1032 Commits

Author SHA1 Message Date
Me No Dev
390da0d090
bump CONFIG_ESP32_WIFI_STATIC_RX_BUFFER_NUM to improve RX performance () 2019-08-20 22:07:56 +03:00
Me No Dev
d5e2bb12ca
Update IDF to 90747cc8b () 2019-08-20 21:11:00 +03:00
Jeroen88
f4acac4c2b Bugfix/http client ()
* Fix persistance issue found, see ESP8266 issue 

* Correcting the parsing of the header for HTTP1.0

* Send 'Connection: Close' header in case of HTTP1.0

* Let reuse connection depend on protocol used: HTTP1.0 or HTTP1.1

* Fixed reuse, added null ptr checks, added check for _trainsportTraits in connect() in case _client was set null

* Fix reuse connection issues, similar to ESP8266 PR 
2019-08-20 17:18:09 +03:00
Roman Savrulin
5137fc5c80 Ble notification/indication status and timeout ()
* add timed wait

* Added Notification/Indication data and status callbacks

* imply null-object pattern for BLE callback
2019-08-20 17:15:30 +03:00
Roman Savrulin
03066e42ef Flush UART RX queue too () 2019-08-20 16:48:52 +03:00
lbernstone
cd5257ad78 ESP.getCpuFreqMHz fix ()
* ESP.getCpuFreqMHz was returning the CONFIG_ variable.  Now calls the getCpuFrequencyMhz function.

* Changed the Esp function to uint32_t to match
2019-08-20 16:48:26 +03:00
Rotzbua
ee6336a312 links http -> https ()
more secure
2019-08-20 16:47:43 +03:00
ducalex
61f71930e9 The progress callback is now correctly invoked with Update.write ()
The progress callback was only invoked with Update.writeStream before
2019-08-20 16:45:57 +03:00
lbernstone
ec40c4c96f Cast TimerWakeup conversion factor as ULL () 2019-08-20 16:45:18 +03:00
Bernd Giesecke
2bda4a9617 Fix BLE stop advertising not working ()
BLEAdvertising::handleGAPEvent -> ESP_GAP_BLE_ADV_STOP_COMPLETE_EVT should NOT call start()!
2019-08-20 16:44:50 +03:00
Ahmed Al-Qaidom
91b9fae111 Add generic IP utilities ()
* Add generic IP calculations

Add:
calculateNetworkID(IPAddress ip, IPAddress subnet) => Calculate the network id using the ip and subnet (e.g. 192.168.0.0)
calculateBroadcast(IPAddress ip, IPAddress subnet) => Calculate the broadcast ip using the ip and subnet (e.g. 192.168.0.255)
calculateSubnetCIDR(IPAddress subnetMask) => Calculate the subnet CIDR using the subnet (e.g. 24)

Add:
broadcastIP() => Retrieve the network id (e.g. 192.168.0.0)
networkID() => Retrieve the broadcast IP (e.g. 192.168.0.255)
subnetCIDR() => Retrieve the subnet CIDR (e.g. 24)

Add:
broadcastIP() => Retrieve the network id (e.g. 192.168.0.0)
networkID() => Retrieve the broadcast IP (e.g. 192.168.0.255)
subnetCIDR() => Retrieve the subnet CIDR (e.g. 24)

Add:
softAPBroadcastIP() => Retrieve the network id (e.g. 192.168.0.0)
softAPNetwrokID() => Retrieve the broadcast IP (e.g. 192.168.0.255)
softAPSubnetCIDR() => Retrieve the subnet CIDR (e.g. 24)
2019-08-20 16:42:55 +03:00
A C SREEDHAR REDDY
2a1fde7736 Include stdint for uint16_t () 2019-08-20 16:39:31 +03:00
Arjan Mels
a12d609b22 Corrected count of characteristics to get ()
Only space for 1 characteristic is allocated, requesting 10 leads to stack corruption.
2019-08-20 16:38:59 +03:00
A C SREEDHAR REDDY
73576674b8 add core installation 1.0.2 ()
* add core installation 1.0.2

* added 1.0.3
2019-08-20 16:38:34 +03:00
Mike Dunston
007a93ec7e Update Print.cpp ()
2019-08-20 16:36:04 +03:00
Magicblocks
a5f3fc6fad Magicbit Variant ()
* Updated magicbit variant

* Added LED_BUILTIN
2019-08-20 15:44:12 +03:00
Me No Dev
65e256c40a
Try github CI () 2019-08-20 15:32:47 +03:00
Me No Dev
fa55a2c91d
Update stale.yml 2019-08-01 18:55:47 +03:00
Me No Dev
a070884441
Update stale.yml 2019-08-01 11:05:05 +03:00
Me No Dev
a9c8b46b1a
Update stale.yml 2019-07-31 16:43:58 +03:00
Me No Dev
6954150176
Create stale.yml 2019-07-31 10:04:08 +03:00
Me No Dev
548f712df2
Fix empty libs being included with the builder () 2019-07-17 16:48:51 +03:00
Brian Park
56ce580b0e Fix incorrect definition of FPSTR() and move from pgmspace.h to WString.h () () 2019-07-17 10:16:47 +03:00
Magicblocks
509d31ba51 create variant for magicbit board ()
* create varient for magicbit board

* update boards.txt
2019-07-17 10:10:45 +03:00
Me No Dev
9e32cec9a2
Update IDF to a8916daeb () 2019-07-17 10:09:43 +03:00
Unexpected Maker
3376ea1bd5 Added more menu settings for TinyPICO - Fash mode and Flash speed. Set Flash mode default to QIO () 2019-07-16 17:15:13 +03:00
david-cermak
1c7e329140 RMT: Fix in bitshift of NeoPixel example project ()
Fixed bit shift in demo application of using RMT peripheral. Init data array to be transmitted was off by one, as for the first iteration (i==0) the mask was 1<<8, which results in shifted RGB value in color variable
Closes https://github.com/espressif/arduino-esp32/issues/2921
2019-07-16 17:14:28 +03:00
boarchuz
c17b212cd0 WPA2 connection fix (significant improvement to connection time) ()
* Config fix test

* Also force config even if equal
2019-07-16 17:12:20 +03:00
Mike Dunston
7dbda4988b Update boards.txt ()
* Update boards.txt

Adding ESP32-WROOM-32 8MB flash option

* Update boards.txt

Fixing partition size and typo

* Update boards.txt
2019-07-10 09:13:09 +03:00
chegewara
d1134fd45e Fix issue with semaphores () 2019-07-10 09:11:35 +03:00
Felix Weinrank
d5fdd715ef WiFiClient.cpp - Fix connect() behavior ()
* WiFiClient.cpp - Fix connect() behavior

* lwip_connect_r() : check return code
2019-07-09 19:48:05 +03:00
lbernstone
ca7106e97e Added convert method to EEPROM to transfer data from partition to nvs ()
* Added convert method to transfer data from partition to nvs

* Could have sworn I changed the return when I made the label

* Empty state should be 0xFF.  Fixed some logging levels

* Set result on success
2019-07-09 19:47:06 +03:00
Unexpected Maker
87e5787cf7 Added support for TinyPICO in the boards list () 2019-07-09 19:40:34 +03:00
pmalhaire
c13d11e7d1 fix empty reply from server error ()
The flush causes an empty response a client side.

see https://github.com/espressif/arduino-esp32/issues/2902
2019-07-09 19:39:12 +03:00
lbernstone
b0d8d4dd44 Change some WiFi buffer settings to match esp-idf. See () 2019-07-09 19:36:45 +03:00
Roman Savrulin
05de017bd5 BLE Library onRead Callback fix and Client disconnect feature ()
* BLEServer::disconnect()

* Invoke Read callback first, to make data update possible before read
2019-07-09 19:35:07 +03:00
Roman Savrulin
e1548e9b7e Fix hang on client disconnect during upload () 2019-07-09 19:34:24 +03:00
lbernstone
c29ec9da3d Removed partitioning comments from EEPROM class example ()
* Remove partitioning comments

* Revert "Remove partitioning comments"

This reverts commit b3b03a81572d352816819cff772231ba037dc338.

* Removed partitioning comments from EEPROM example
2019-07-09 19:34:04 +03:00
exezm0r
b3783fba95 fixed typo () 2019-07-09 19:31:38 +03:00
Roman Savrulin
a22ec4a978 Reduce flash usage up to 214k in one click ()
* std::stringstream -> std::string

* Fix small issues

* Small fix 2
2019-07-09 19:31:17 +03:00
Dirk O. Kaar
20498cf8b1 Expand gitignore to cover files created by Visual Micro ()
* Expand gitignore to cover files created by Visual Micro's Arduino IDE for Visual Studio

(cherry picked from commit d6209c79ea16a26564fe27e74e5f277160129847)

* Also ignore VS project files

(cherry picked from commit e0ec212bd41e75a3570a6098a66ee66787db58db)
2019-07-09 19:28:04 +03:00
Victor Aprea
02e51728c4 Fix Timeout Bug in WebServer () 2019-07-09 19:27:24 +03:00
chuck todd
d2816b2f32 Fix Unused Variable Warning ()
Some Debugging variables were enabled at ERROR level instead of DEBUG.  Specifically `tAfter` and `tBefore`
2019-07-09 19:24:35 +03:00
Peter
2e32022611 ESP8266 => ESP32 tidyup, set correct default port ()
Tidied up references to the ESP8266, and set the correct default port for the ESP32.
2019-07-09 19:24:10 +03:00
Krishna Kumar
74ffdac74a fix for BLE Library Compile Error () 2019-07-09 19:23:01 +03:00
Martin Falatic
4ee17ec3ee Fix warning -Wempty-body by adding braces to 'if' stmt body () 2019-07-09 19:21:57 +03:00
Nathan Phillips
476660f763 Cleanup WiFiMulti ()
* Use macros for switch case labels

* Fixed spelling error in "too"

* Fix spacing

* Inline private functions that are only called once
2019-07-09 19:21:01 +03:00
Luc
f558e69181 Fix warnings in platformio ()
Fix : warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
Fix : warning: unused variable 'res' [-Wunused-variable]
2019-07-09 19:19:16 +03:00
lbernstone
5bf3aab527 Make a selective menuconfig option for FFat () 2019-07-09 19:14:53 +03:00
Jason Cooke
1aced120ba docs: fix typo () 2019-07-09 19:14:27 +03:00