Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Observe timeout #54

Open
dominionish opened this issue Mar 2, 2017 · 0 comments
Open

Observe timeout #54

dominionish opened this issue Mar 2, 2017 · 0 comments

Comments

@dominionish
Copy link

dominionish commented Mar 2, 2017

##Good day!

I use you library for having comminication with sensortag by Coap protocol.
But I have a problem after long time observe.
I do this:

Request request = GetRequest(type);
request.AckTimeout = -1; //To make timeout unlimit
request.Respond += (s, e) => method(s, e, new Guid(guid));
request.MarkObserve();

So it work, but after 10-12 hours timeout is occured and observer didnt work. I should observe to resource again. Why do it happen?

My sensortag sleep one hour then wakeup, send data by coap to client and sleep again

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

No branches or pull requests

1 participant