Skip to main content

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

You're right the rpk branch use the 1.0.0-SNAPSHOT version of SC (master), and the 1.0.0-M2 version of Cf.
As far as I know, nobody has made the change to be compliant with the last version of Cf. But like you said it seems that was just about methods rename. We will do that as soon as the 1.0.0-M3 version of Cf will be released. (if you have already do that you could send us a pull request)

For the observe problem, it's very strange I just test it with the leshan master, the 1.0.0-M2 version of Cf and the lua binding of wakaama, and I works for me.

Le 14/01/2015 08:57, Bill Bennett a écrit :
Hi Simon / list

Thanks for the info, that's great. I just joined the Cf mailing list too. Is there a separate list for Sc?

The RPK branch (jar-with-dependencies) has the same problem with observe, but I can't tell which version of Cf it is using. It looks like the branch only bumps the Sc version?

The API changes are discussed in http://dev.eclipse.org/mhonarc/lists/cf-dev/msg00107.html - diff https://github.com/eclipse/californium/commit/c0e0292762b7d117ac401816e7ada78177353e07
It's mostly method renames but using the latest version makes Leshan's observe work.

I just want to check it hasn't already been done before I do more work.

Thank you,
Bill

On 13/01/15 21:10, Simon Bernard wrote:
Hi Bill,
  A release of Californium/Scandium is planned in the next few days.
  The rpk branch of leshan should works with the HEAD of Scandium, this will be merged in master as soon as Californium will be released.
  If you want to build leshan on californium master, have a look to this commit.
  About the observe polling, last time I test it that was ok. Maybe what you suspect to be an observe polling is just the retry of the ObserveRequest. If you find more information about that, tell us :) maybe you found a bug.
  About the DTLS problem, you should create a pull request at https://github.com/eclipse/californium.scandium.
Simon

Le 13/01/2015 08:04, Bill Bennett a écrit :
Hi,

I've been testing an experimental client with Leshan. I've noticed that there's a couple of issues with Observe and DTLS:
* Leshan polls with an Observe header set instead of waiting for notification.
* DTLS refuses connections that have any extensions it doesn't recognise

I hacked a copy of leshan-standalone to use the latest Californium/Scandium sources from git and these issues seem to be fixed. There were a couple of API changes in Californium that required changes to Leshan.

Two questions:
 How should I go about pushing patches for Leshan given that the matching upstream Californium hasn't been released yet? I'm new to Maven, so apologies if I've missed something.
Is there a simple way to have Maven package Leshan with updated versions of the dependencies?

I also have a patch for a bug in Scandium's implementation compression methods, but I'll submit that upstream.

Thanks,
Bill


______________________________________________________________________
This communication contains information which may be confidential or privileged. The information is intended solely for the use of the individual or entity named above. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents of this information is prohibited. If you have received this communication in error, please notify me by telephone immediately.
______________________________________________________________________


_______________________________________________
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


Back to the top