Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [leshan-dev] DTLS and Observe

Hello, I also tested the observe / notify few weeks back. I remember it works file if your set it in the resource level, however you cannot observe / notify in the object level.

i.e. you can observe on /3/0/1 but can’t on /3/0…

You can refer to this https://groups.google.com/forum/#!topic/leshan-lwm2m/ZVPRAtLhZt4

Not sure if it is related..

 

Thanks,

Nizar…!

 

From: leshan-dev-bounces@xxxxxxxxxxx [mailto:leshan-dev-bounces@xxxxxxxxxxx] On Behalf Of Simon Bernard
Sent: Friday, January 16, 2015 9:32 AM
To: leshan developer discussions
Subject: Re: [leshan-dev] DTLS and Observe

 

I  install the LWM2M DevKit and test it with my local instance of leshan and with the sandbox.
I test to observe the device firmware and that works for me. (The UI changes on notify)

I use the firefox(iceweasel) 31.

Le 16/01/2015 12:03, Kovatsch Matthias a écrit :

Well, LWM2M DevKit on your sandbox at coap+lwm2m://54.246.90.121:5683/

(“+lwm2m” to load DevKit instead of Copper…)

 

Ciao

Matthias

 

 

From: leshan-dev-bounces@xxxxxxxxxxx [mailto:leshan-dev-bounces@xxxxxxxxxxx] On Behalf Of Simon Bernard
Sent: Friday, 16 January 2015 11:52
To: leshan developer discussions
Subject: Re: [leshan-dev] DTLS and Observe

 

Arf for the web-gui changes, you could try to set breakpoint here:
- https://github.com/jvermillard/leshan/blob/master/leshan-server-cf/src/main/java/leshan/server/californium/impl/CaliforniumObservation.java#L89
- https://github.com/jvermillard/leshan/blob/master/leshan-standalone/src/main/java/leshan/standalone/servlet/EventServlet.java#L123
- https://github.com/jvermillard/leshan/blob/master/leshan-standalone/src/main/resources/webapp/js/client-controllers.js#L132
and see if you found any problems.

How could I reproduce it my self ? I suppose you test it with the master of LWM2M DevKit (https://github.com/mkovatsc/LWM2M-DevKit) and the master of Leshan ?


Le 16/01/2015 11:26, Kovatsch Matthias a écrit :

I am using Firefox 34 and now 35 and cannot see changes in the Web-GUI.

 

#30 is now fixed in Californium 1.0.0-M3. So it should stop eventually even when the first RST is lost.

In Leshan, I have not seen any Observe=1 cancellations anymore, though.

 

Ciao

Matthias

 





_______________________________________________
leshan-dev mailing list
leshan-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/leshan-dev

 




_______________________________________________
leshan-dev mailing list
leshan-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/leshan-dev

 


This message and any attachments are intended solely for the addressees and may contain confidential information. Any unauthorized use or disclosure, either whole or partial, is prohibited.
E-mails are susceptible to alteration. Our company shall not be liable for the message if altered, changed or falsified. If you are not the intended recipient of this message, please delete it and notify the sender.
Although all reasonable efforts have been made to keep this transmission free from viruses, the sender will not be liable for damages caused by a transmitted virus.


This message and any attachments are intended solely for the addressees and may contain confidential information. Any unauthorized use or disclosure, either whole or partial, is prohibited.
E-mails are susceptible to alteration. Our company shall not be liable for the message if altered, changed or falsified. If you are not the intended recipient of this message, please delete it and notify the sender.
Although all reasonable efforts have been made to keep this transmission free from viruses, the sender will not be liable for damages caused by a transmitted virus

Back to the top