Skip to content
This repository has been archived by the owner on Aug 11, 2021. It is now read-only.

Duplicating of requests after wifi reenabling #85

Open
josshad opened this issue Jan 29, 2015 · 0 comments
Open

Duplicating of requests after wifi reenabling #85

josshad opened this issue Jan 29, 2015 · 0 comments

Comments

@josshad
Copy link

josshad commented Jan 29, 2015

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant