The observe should works but we got several feedbacks with problems
about it and we don't use it often, so ...
I tested it yesterday, and it partially works for me.
Sometimes, I get some problems to stop it , maybe because of #30.
I'm not totally confident about the wakaama observe implementation I
use to test it too. If I stress it with fast click on start and
stop, I lost it easily ^^.
About notification acknowledged, this could happened, if you re-run
leshan-standalone and you don't refresh the web-page.
(We use server sent event to refresh the page, I test it only with
firefox)
About Cancellation, in the web UI, we use CoAP Cancellation
mechanism, but if you use java API you should be able to use the
cancel Attribute (I never tested it)
I not sure to understand the point about the Get with Observe = 1.
For me when I test the observe I got this :
17 3.826454000
127.0.0.1 127.0.0.1 CoAP 58 CON, MID:41906, GET,
TKN:6d b4 03 2e, /3/0/13 === > (Observe request)
Opt Name: #1: Observe: 0
18 3.826536000 127.0.0.1 127.0.0.1 CoAP 62 ACK,
MID:41906, 2.05 Content, TKN:6d b4 03 2e (text/plain) ==>
(Observe Response)
OptName: #1: Observe: 0
19 3.826563000 127.0.0.1 127.0.0.1 CoAP 63 NON,
MID:45137, 2.04 Changed, TKN:6d b4 03 2e (text/plain) ==>
(Notify)
Opt Name: #1: Observe: 1
24 8.829369000 127.0.0.1 127.0.0.1 CoAP 63 NON,
MID:45138, 2.04 Changed, TKN:6d b4 03 2e (text/plain) ==>
(Notify)
Opt Name: #1: Observe: 2
28 13.829834000 127.0.0.1 127.0.0.1 CoAP 63 NON,
MID:45139, 2.04 Changed, TKN:6d b4 03 2e (text/plain) ==>
(Notify)
Opt Name: #1: Observe: 3
35 18.830540000 127.0.0.1 127.0.0.1 CoAP 63 NON,
MID:45140, 2.04 Changed, TKN:6d b4 03 2e (text/plain) ==>
(Notify)
Opt Name: #1: Observe: 4
36 18.831276000 127.0.0.1 127.0.0.1 CoAP 46 RST,
MID:45140, Empty Message ==> (Cancellation)
Simon
Le 14/01/2015 19:34, Kovatsch Matthias
a écrit :
What is the status of Observe in general?
The notifications are acknowledged, but the UI
is not updated.
You are using implicit cancellation, right?
There appears to be no GET with Observe=1.
(I would also boycott the strange Attribute
cancel and use the proper CoAP cancellation mechanism).
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
|