Search found 4 matches

by Vladis
Fri Oct 19, 2018 10:06 am
Forum: ESP32 Arduino
Topic: Changing TCP listening port not possible on the ESP32
Replies: 3
Views: 6352

Re: Changing TCP listening port not possible on the ESP32

Hello again,

I am sorry for my post. Actually it is possible to change the TCP port at run time as we do with the ESP8266. I was not using the 1.0.0 ESP32 core for Arduino. Once installed the begin method accepts a parameter and there is no error.

Regards Luis
by Vladis
Wed Oct 17, 2018 11:28 pm
Forum: ESP32 Arduino
Topic: Changing TCP listening port not possible on the ESP32
Replies: 3
Views: 6352

Changing TCP listening port not possible on the ESP32

Hello, When using the Arduino IDE and the ESP8266 we declare a global WiFiServer before the setup() code like this: WiFiServer myServer(0); // to be changed later at run-time and later in the setup code or in the loop code we can change the listening port like this: myServer.begin(myPort); This is u...
by Vladis
Sat Mar 24, 2018 5:43 am
Forum: ESP32 Arduino
Topic: More than 3 Receiving UARTs
Replies: 1
Views: 4125

Re: More than 3 Receiving UARTs

Hello again, I think that my problem with in creating a class (library) is that the attachinterrupt() can not be easily implemented inside a class. I saw some discussions to bypass this (one example being the SoftwareSerial() library for the arduino) but I will just place my code in the main sketch ...
by Vladis
Thu Mar 22, 2018 6:25 am
Forum: ESP32 Arduino
Topic: More than 3 Receiving UARTs
Replies: 1
Views: 4125

More than 3 Receiving UARTs

Hello, I have a necessity for more than 3 receiving uarts. Using the hardware timers I am able to increase the number of uarts. The sketch uses the falling edge of a start bit to produce an interrupt on the declared receiving pin. The ISR to this interrupt disables the interrupt on the pin and sets ...