Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [leshan-dev] Is there a provision in LwM2M spec for the client to initiate information reporting ?

Nothing prevents a client, though, to add some params to the URI query
string during registration, i.e. a clietn could add something like 

...&factory=true

in order to indicate to the server that it has been reset to factory
defaults. However, this is not "standard" LWM2M so a server would need
to explicitly check for this or at least "forward" this information to
the application layer ...


-- 
Mit freundlichen Grüßen / Best regards

Kai Hudalla
Chief Software Architect

Bosch Software Innovations GmbH
Schöneberger Ufer 89-91
10785 Berlin
GERMANY
www.bosch-si.com

Registered office: Berlin, Register court: Amtsgericht Charlottenburg,
HRB 148411 B;
Executives: Dr.-Ing. Rainer Kallenbach, Michael Hahn

On Mo, 2016-09-05 at 11:46 +0200, Simon Bernard wrote:
> Hi,
>    The only client initiated way to send resource value is done using
> Observe request. But the observe relation is firstly established by
> the server and this relation is strongly linked to a registration.
> (Observe relation dies on deregistration)
> Simon
> 
> Le 04/09/2016 à 07:18, Kiran Pradeep a écrit :
> > Hi,
> > 
> > Currently information could be received by LwM2M server if, server
> > initiates an observation request. Could the server received client
> > initiated data ?
> > 
> > Consider this scenario: 
> > Server might wish to know if a client is in factory reset state and
> > perform a one time activity.
> > Consider a case after software install, if devices happen to reset
> > to factory state while being in offline state(network). On further
> > registrations, there is no way for server to know if device is in
> > factory state with out an explicit read on a resource. But if the
> > number of clients are huge, reading a resource on every client on
> > every registration could be inefficient. Does LwM2M provide a way
> > for client initiated reporting ? Or is the query going in wrong
> > direction of using LwM2M ?
> > 
> > Thanks,
> > Kiran.
> > 
> > 
> > _______________________________________________
> > 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

Back to the top