arduino-esp32/libraries
chuck todd 7a332864ab I2C ReSTART returns Success (#2141)
* Don't Return I2C_ERROR_CONTINUE on ReSTART

ReSTART operations on the ESP32 have to be handled differently than on AVR chips, so ReSTART operations(`Wire.endTransmission(false), Wire.requestFrom(id,size,false);` are queued until a STOP is send (`Wire.endTransmission(TRUE), Wire.endTransmission(), Wire.requestFrom(id,size), Wire.requestFrom(id,size,TRUE)). To indicate the queuing I had used `I2C_ERROR_CONTINUE`, this caused compatibility issues with the existing Arduino I2C Code base. So, back to Lying to the public(for their own good of course) about success!  This update just returns `I2C_ERROR_OK` on ReSTART commands.

* add comments

add comments

* Change Return error for ReSTART operation to I2C_ERROR_OK

This change restores compatibility with pre-existing Arduino Libraries.  The ReSTART queuing operations are hidden behind the scenes.  Wire.endTransmission(id,len,FALSE); will know return I2C_ERROR_OK instead of I2C_ERROR_CONTINUE, Wire.lastError() will return the true condition of I2C_ERROR_CONTINUE.
2018-12-03 16:16:43 +01:00
..
ArduinoOTA [OTA Timeout] Added ability set OTA timeout in the OTA client (#1669) 2018-07-24 19:40:18 +02:00
AsyncUDP Do not break UDP if pbuf is null 2018-09-26 23:29:51 +02:00
AzureIoT@67dfa4f31e Add submodule of Azure IoT library (#1448) 2018-05-31 14:52:02 +02:00
BLE@11a0aa6453 Update IDF to afe4c76 and BLE lib (#2130) 2018-11-30 17:21:06 +01:00
BluetoothSerial Allow to add custom callback in BT Serial (#2081) 2018-11-19 19:30:28 +01:00
DNSServer DNS Server : bug fix and prettifying (#1011) 2018-03-04 20:17:40 +01:00
EEPROM EEPROM library: Move #include of Arduino.h to header file (#1641) 2018-07-16 20:44:36 +02:00
ESP32 Deep-sleep example-sketches reported wrong wakeup-reason (#1911) 2018-11-19 16:41:07 +01:00
ESPmDNS add support for TXT records in mDNS query responses (#1480) 2018-06-18 18:18:50 +03:00
FFat FAT on SPI Flash Library (#1809) 2018-09-17 23:06:04 +02:00
FS Make Stream functions if File to not wait for timeout 2018-07-05 11:51:58 +02:00
HTTPClient Solve issue #2092 by initializing * _client to nullptr (#2097) 2018-11-26 23:23:19 +01:00
HTTPUpdate Remove F() macro's (#2121) 2018-11-28 11:45:25 +01:00
NetBIOS Update IDF to aaf1239 (#1539) 2018-06-27 09:01:06 +02:00
Preferences Added a freeEntries method to Preferences library (#1722) 2018-08-14 11:52:01 +02:00
SD Clean warnings when all warning enabled (#2112) 2018-11-29 11:34:55 +01:00
SD_MMC Update IDF to 3.2-3276a13 and esptool.py to 2.5.0 (#1878) 2018-09-21 08:39:36 +02:00
SimpleBLE Update IDF to aaf1239 (#1539) 2018-06-27 09:01:06 +02:00
SPI Fixed Arduino SPI/Ethernet compile issue as described in issue #1623 (#2136) 2018-12-02 18:15:01 +01:00
SPIFFS Added a define to format the spiffs in SPIFFS_Test.ino (#1662) 2018-07-25 18:44:37 +02:00
Ticker Use correct separator in keywords.txt (#1175) 2018-03-05 07:38:39 +01:00
Update Feature/http update (#1979) 2018-11-19 16:57:38 +01:00
WebServer Adding path arguments to WebServer (#1994) 2018-11-19 17:00:52 +01:00
WiFi Use right function for BSSID (#2132) 2018-12-01 10:20:13 +01:00
WiFiClientSecure Clean warnings when all warning enabled (#2112) 2018-11-29 11:34:55 +01:00
Wire I2C ReSTART returns Success (#2141) 2018-12-03 16:16:43 +01:00