is the "tmp_bt" reset somewhere?
are you sure that the incoming characters has no '\r' and-or '\n'?
are you sure that the "tmp_bt" and the singles chars in the end String has the same case?
did you try to print the incomings chars?
Search found 5 matches
- Mon Jan 25, 2021 8:50 pm
- Forum: ESP32 Arduino
- Topic: Reading serialBT string and compare it to another string
- Replies: 1
- Views: 2384
- Tue Nov 03, 2020 9:45 am
- Forum: ESP32 Arduino
- Topic: Question on Serial port with hardware Lib (arduino IDE)
- Replies: 5
- Views: 5902
Re: Question on Serial port with hardware Lib (arduino IDE)
thanks for the info...
- Fri Oct 30, 2020 2:27 pm
- Forum: ESP32 Arduino
- Topic: Question on Serial port with hardware Lib (arduino IDE)
- Replies: 5
- Views: 5902
Re: Question on Serial port with hardware Lib (arduino IDE)
hi...have you tried a simple:
if(MySerial1.available()){
byte a = MySerial1.read();
Serial.print(a);
}
if(MySerial1.available()){
byte a = MySerial1.read();
Serial.print(a);
}
- Mon Jul 13, 2020 6:50 am
- Forum: ESP32 Arduino
- Topic: Esp32 ModbusMaster Arduino IDE
- Replies: 4
- Views: 6549
Re: Esp32 ModbusMaster Arduino IDE
Hi girasera, In the past I have had similar problem; I have search in the net for some cause/solution...at the end I found that the ESP32 "close" the transimition too fast....but also, using a signal analizer, I found that the quality of the data exchange was not good...so i tried the MAX3485 module...
- Fri Jan 03, 2020 3:31 pm
- Forum: ESP32 Arduino
- Topic: ESP-NOW how "esp_now_del_peer" works?
- Replies: 2
- Views: 5575
ESP-NOW how "esp_now_del_peer" works?
Dears All, In my next project I need to have a communication between a "master" and some "slaves" and I am thinking to use the ESP32-NOW protocol. one of the steps that I want to implement is a "is still alive" check. If not I want/need to remove the peer node from the list...but how the deleting wo...