Juraj Andrássy
Juraj Andrássy
off topic: it would be nice if the mac in the examples above could be of MacAddress type
the best example is an attempt to implement server.available() and print-to-all-clients in 'external library'. here is a simple version of the class put directly into the sketch. the rest of...
the sketch above is an almost real world example. of course for a CI test a much simpler example would work
a simple test: ``` if (client.connect(server, 80)) { Serial.println("connected to server"); WiFiClient client2 = client; client2.stop(); delay(3000); if (client.connected()) { Serial.println("still connected"); } } ```
``` #include const char* ssid = "yourssid"; const char* password = "yourpasswd"; const char* server = "arduino.tips"; WiFiClient client; void setup() { Serial.begin(115200); Serial.println("Waiting for connection to WiFi"); WiFi.begin(ssid, password);...
tested and retested now. the difference is, that without the PR it prints "still connected"
https://arduino.stackexchange.com/questions/54484/adding-a-custom-board-to-the-arduino-ide/60660#60660
``` if (currentBahnsignalMicros < previousBahnsignalMicros) { intervalBahnsignalMicros = currentBahnsignalMicros + (UnsignedLongMax - previousBahnsignalMicros); } else { intervalBahnsignalMicros = currentBahnsignalMicros - previousBahnsignalMicros; } ``` has always the same result as ```...
maybe EthernetServer could get accept() in this PR too.
I use 3.0.2. I don't use SSL connection so I can't comment about that part. I was expecting problems with automatic joining AP at start, because I know it is...