Closed dsyleixa closed 4 years ago
With all of the options available to accomplish this sort of task, it doesn't exactly make sense for the arduino-esp32 repository to dictate what option is best as that is very subjective and project specific.
Now as to your issue, it isn't clear why it is not working as you haven't included any logs etc which might help shed light as to why the code you are using is not working as you expect. It doesn't look like an issue in arduino-esp32 at this point.
as stated, it's just a request for an example code e.g. in the Webserver library examples. As to my code examples, I just wanted to show what does not work. Currently nowhere is explained so far how to build a website by a esp32 to connect and to communicate to an esp8266 client, which is hardware what probably 1000s of Arduino users have.
If esp32 code was 100% compatibel to esp8266 code then it was no issue, because esp8266 server to esp8266 client works. Nonetheless, an upgrade to an esp32 server does not work anymore.
Arduino users also are mostly no professionals but noobs or hobbyists and program just by c+p'ing functioning code and then modifying it a bit arbitrarily. So this topic about a code example is meant for general example code to Arduino noobs to c+p (like e.g. the "hello server" example).
Perhaps any a professional programmer would like to write such a thing, so I would appreciate if he did.
This is not instructables.com. The examples are to demonstrate the library and peripheral functions, and often to act as tests for them. There are 1000s of sites that are specifically for the sort of example you want.
no, there is no single one - or show one. And "1000s of sites" is basically just hollow chatter. And it's not up to YOU to decide. It's a feature request to the esp-arduino developers, to the benefit of all Aduino users who like to purchase an esp32 and work with it.
And it's not up to YOU to decide.
Neither up to you. This is not feature request either, it request to build app for you.
As you pointed, there is 1000s of users:
Currently nowhere is explained so far how to build a website by a esp32 to connect and to communicate to an esp8266 client, which is hardware what probably 1000s of Arduino users have.
There is also 1000s of users with RPi, nrf, arduino R3 etc. Im guessing we (community) have to write example that will show how to use those boards with esp32, just because noobs like you (you words) cant build it? If you dont know how to build code on esp32 then maybe its not for you and stay with esp8266.
And it's not up to YOU to decide.
Neither up to you. This is not feature request either, it request to build app for you.
As you pointed, there is 1000s of users:
Currently nowhere is explained so far how to build a website by a esp32 to connect and to communicate to an esp8266 client, which is hardware what probably 1000s of Arduino users have.
There is also 1000s of users with RPi, nrf, arduino R3 etc. Im guessing we (community) have to write example that will show how to use those boards with esp32, just because noobs like you (you words) cant build it? If you dont know how to build code on esp32 then maybe its not for you and stay with esp8266.
seldom read such a shit like yours. But quite often here by you and different other snooty and arrogant "contributors" who troll around and think they have leased the wisdom and that they have decision-making powers over this repo.
Stop feeding the trolls, please. Github has a block user feature.
@dsyleixa connections between devices happen over protocols. Such as TCP, UDP, HTTP, MQTT, etc. When support is added to a device for those, it is never intended to be specific to a particular device, be that ESP8266, Pi or whatever other micro/computer. There is no requirement ESP8266 Arduino to be the same as ESP32 Arduino. Different architectures and much more. But API has nothing to do with connecting the two chips. You just need a working code on both that uses the same protocols. That is it.
p.s. If you want to get help, it would be much easier if you are nice. Nobody owes you anything here and there are plenty more that need help. I strongly advise you to change your ways.
I am always nice, like this time and all times before, when I asked this request, because source code examples about this topic are missing. But I am not supposed to be nice to insulting trolling idiots, from which I do not expect help actually (e.g., claiming that there existed already 1000s of examples about this in the web but are unable to link to just 1). It's also completely unreasonable that you close this issue because it's not solved yet, and instead take sides with the other fools. Honestly, I have rarely seen such a horde of narrow-minded professional idiots like here in this repo. You can be sure that I will share my esp32 experiences and I already started to advise users in different forums strictly against the ESP32 because of the effing poor (actually not even existing) support to reported issues.
PS, as to "There is no requirement ESP8266 Arduino to be the same as ESP32 Arduino. Different architectures and much more.": I guess that you don't even have understood 1 fundamental concept of Arduino/Wiring: cross-board-compatibility of API libs.
You can be sure that I will share my esp32 experiences and I already started to advise users in different forums strictly against the ESP32 because of the effing poor (actually not even existing) support to reported issues.
Uh oh, we will miss you.
I hope you realise that us fools also talk to each other. I am well aware of your history on the ESP8266 side. You were never nice, you do not chose who tries to help you, you do not even try to do what they propose. I am afraid you are expecting too much from an issue tracker. This is a tool to solve bugs and issues in the core, not to help user achieve their goals or add unnecessarily complex examples. You are free to submit such example as PR, discuss implementations and approaches in the gitter chat and so on.
The issue was closed because it's invalid in the scope of the "github issues" tracker. It can be discussed further here, but there is no point in it being shown as active.
p.s. You can continue to insult my competency, I am not bothered. You are the one that does not know how to do things though... And don't forget to link to your examples of our poor professionalism when you spread the word :)
as stated, I am always nice, like this time and all times before, when I asked questions about issues and answering to constructive replies. But I never will be nice to insulting snooty idiotic trolls like e.g. chegewara and others, and admittedly on the esp8266 side there are also a couple of trolling assholes I am not expected to act nicely to. OTOH, feature requests about extensions are a permissible concern for issue trackers, especially like here if code works for esp8266 (or in other cases, e.g. for original Arduino.cc libs) but not for esp32 any more, so the the principle of cross-board compatibility is violated and thus working or fixed code is needed.
feature request / example code request for noobs: code for a website by esp32 with buttons, connect with an extra remote esp8266 client and contol remote pins. Problems:
e.g., to start from: https://lastminuteengineers.com/creating-esp32-web-server-arduino-ide/ now with 1st button still for esp32 LED_BUILTIN (that part of course works already) but 2nd button instead for remote esp8266 client LED_BUILTIN
what I tried (but failed): problem: both programs run, but esp8266 client can never connect to esp32 server/website. So a working example for all noobs in this repo would be highly appreciated. If already exists somewhere: a link would be appreciated.
ESP32 Server:
ESP8288 remote Client:
(PS, additionally also reading esp8266 client remote values would be highly appreciated)