I'm trying to build a wrapper lib around this. The demo seems to work fine, but when I attempt to compile into a class with the externs, I'm getting an assert failure. I pulled the return value and passed it to esp_err_to_name and it returned ESP_ERR_INVALID_ARG.
Since c++ doesn't like the way the demo initialized the structs, I did change them, but I'm not sure if there's something I missed.
I'm trying to build a wrapper lib around this. The demo seems to work fine, but when I attempt to compile into a class with the externs, I'm getting an assert failure. I pulled the return value and passed it to esp_err_to_name and it returned ESP_ERR_INVALID_ARG.
Since c++ doesn't like the way the demo initialized the structs, I did change them, but I'm not sure if there's something I missed.
Any ideas?