You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During the compilation of the .ino file, addData requires an Arduino String, but you are passing it a std::string. I fixed it by changing these two lines like this: a->addData(String((std::string(cdata, 2) + std::string((char *)&uuid.getNative()->uuid.uuid16, 2)).c_str())); a->addData(String((std::string(cdata, 2) + std::string((char *)&uuid.getNative()->uuid.uuid128, 16)).c_str()));
My iPhone (running iOS 18, if it matters) does not detect any "ANCS" while Android does (though it cannot connect properly).
The text was updated successfully, but these errors were encountered:
I tried your repo, but it gives me two issues:
During the compilation of the .ino file, addData requires an Arduino String, but you are passing it a std::string. I fixed it by changing these two lines like this:
a->addData(String((std::string(cdata, 2) + std::string((char *)&uuid.getNative()->uuid.uuid16, 2)).c_str()));
a->addData(String((std::string(cdata, 2) + std::string((char *)&uuid.getNative()->uuid.uuid128, 16)).c_str()));
My iPhone (running iOS 18, if it matters) does not detect any "ANCS" while Android does (though it cannot connect properly).
The text was updated successfully, but these errors were encountered: