Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By mrburnette
#52698
xose wrote:I thought this was the "General Discussions" subforum in the ESP8266 Arduino platform, not only talking about the IDE...


Well yes --- but not the "AT" commands under Arduino.... just the ESP8266 core.
but when one compiles an Arduino sketch for the ESP8266, the sketch, libraries, core files, and latest Espressif proprietary files are all uploaded to flash.

So, IMO over-the-air updates makes sense for binaries created by the ArduinoIDE but not to add "new capabilities" such as DHT22 support because the remote ESP8266 would not have DHT22 sensors. Well, that is unless one planned on "activating" the sensors after the fact ... maybe a fully-sensor equipped board is sold to a customer and some sensors are "not enabled" unless the customer pays for an upgrade. Somewhat of a strange situation, IMO.

Ray
User avatar
By xose
#52699 I'm a bit confused here. My goal was to add the option for devices to perform pull requests for new updates. True, the binaries can be created with whatever procedure. I do not use the ArduinoIDE at all, I only use PlatformIO as a full toolchain provider. But the library that does the queries and performs the updates is written in C and relies on the ESP8266httpUpdate library from the Arduino port. That's why I thought this was the place to post it. But if I'm wrong maybe an administrator could move it to its proper place...

BTW, the DHT22 thing is completely accessory to the discussion, it was just an example of targeted code you can generate when doing "regular" OTA updates.