Open josshad opened 9 years ago
After losing of connection I stop huesdk:
[phhue disableLocalConnection]; [phhue stopSDK]; phhue = nil;
After reconnection to wifi:
phhue = [PHHueSDK new]; [phhue enableLogging:YES]; [phhue startUpSDK];
When I call
[phhue enableLocalConnection];
I see, that there are sent two requests:
HTTP Request: URL: http://192.168.31.219/api/zTK6JNTJlBZqTzwG Method: GET Body: HTTP Request: URL: http://192.168.31.219/api/zTK6JNTJlBZqTzwG Method: GET Body: *
After second reconnection will be sent 3 request and so on..
How can I awoid it?
After losing of connection I stop huesdk:
After reconnection to wifi:
When I call
I see, that there are sent two requests:
After second reconnection will be sent 3 request and so on..
How can I awoid it?