Clean pairing, simple cache app list, added mDNS support

This commit is contained in:
Gustavo
2016-04-07 10:51:32 -03:00
parent bc49cff3c2
commit 2682ab6530
8 changed files with 565 additions and 112 deletions
-4
View File
@@ -233,10 +233,6 @@ int gs_pair(int serverMajorVersion, const char* address, const char* pin) {
if ((ret = http_request(url, data)) != GS_OK)
goto cleanup;
sprintf(url, "https://%s:47984/pair?uniqueid=%s&devicename=roth&updateState=1&phrase=pairchallenge", address, g_UniqueId);
if ((ret = http_request(url, data)) != GS_OK)
goto cleanup;
cleanup:
http_free_data(data);