| 135 | } |
| 136 | |
| 137 | void NanoleafController::Unpair(std::string address, int port, std::string auth_token) |
| 138 | { |
| 139 | const std::string location = address+":"+std::to_string(port); |
| 140 | |
| 141 | /*-------------------------------------------------------------*\ |
| 142 | | We really don't care if this fails. | |
| 143 | \*-------------------------------------------------------------*/ |
| 144 | APIRequest("DELETE", location, "/api/v1/"+auth_token, nullptr, nullptr); |
| 145 | } |
| 146 | |
| 147 | void NanoleafController::UpdateLEDs(std::vector<RGBColor>& colors) |
| 148 | { |
nothing calls this directly
no test coverage detected