MCPcopy Create free account
hub / github.com/CalcProgrammer1/OpenRGB / Unpair

Method Unpair

Controllers/NanoleafController/NanoleafController.cpp:137–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135}
136
137void 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
147void NanoleafController::UpdateLEDs(std::vector<RGBColor>& colors)
148{

Callers

nothing calls this directly

Calls 2

to_stringFunction · 0.85
APIRequestFunction · 0.85

Tested by

no test coverage detected