Buffer is Null
Posted: Mon Jan 02, 2023 3:27 pm
Hello There
This is my first time here,
I am coding ESP32 using Arduino framework , my code ran okay with EP32 Core Version 1.0.6
but untill recently , when I've upgraded to core version 2.0.0 so I can get access to ESP32-C3 core
and this error kept printing to serial monitor
E (1885) uart: uart_write_bytes(1122): buffer null
Tried to narrow it down and found out that It is invoked by the PN532 library, that uses Serial1 of ESP32
yes the code checks for the RFID card continuously in the loop by calling nfc.readPassiveTargetID()
the lib is https://github.com/elechouse/PN532/tree ... /PN532_HSU
I have commented out all the printf() in the lib , DBMSG() but the error didn't go away
I do want to get rid of it as It floods Serial Monitor
Thanks In Advance
This is my first time here,
I am coding ESP32 using Arduino framework , my code ran okay with EP32 Core Version 1.0.6
but untill recently , when I've upgraded to core version 2.0.0 so I can get access to ESP32-C3 core
and this error kept printing to serial monitor
E (1885) uart: uart_write_bytes(1122): buffer null
Tried to narrow it down and found out that It is invoked by the PN532 library, that uses Serial1 of ESP32
yes the code checks for the RFID card continuously in the loop by calling nfc.readPassiveTargetID()
the lib is https://github.com/elechouse/PN532/tree ... /PN532_HSU
I have commented out all the printf() in the lib , DBMSG() but the error didn't go away
I do want to get rid of it as It floods Serial Monitor
Thanks In Advance