Just a shot in the dark, but… did anyone reading here perhaps convert this into an ESP-IDF component that does not use the Arduino library?