Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [leshan-dev] leshan client demo

Hi, 

Updating the registration is mandatory. It is mainly needed by the server to remove the registration when the registration lifetime is expired.

If you want to change the update period, you need to change the lifetime parameter which is part of the Server object.
This parameter cannot be set through the command line, so you need to change the client demo code.

In LeshanClientDemo, the server object is initialised like this:
new Server(123, 30, BindingMode.U, false)
The second parameter is the lifetime (30 seconds by default).

HTH.

Manu


On 04 May 2016, at 12:45, Bakre HOURMAT ALLAH <bakre.hourmat.allah@xxxxxxxxx> wrote:

Hi everybody,

I am new to leshan and trying the client demo, but it is updating every 27 secondes, how could I cancel the updating and leave it registred all the time?

Thank you,
_______________________________________________
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