Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [leshan-dev] firmeware update

Hello Nizar, 

You're right, you can write the package in the resource 0 or write a URL in the resource 1 and wait for the device to download the package.
If you choose the second option, you need to wait for the "Downloaded" state (resource 3) before performing the update (execute on resource 2).

Manu

2015-01-18 23:41 GMT+01:00 Alseddeg Nizar <Nizar.Alseddeg@xxxxxxxxxxx>:

Hello, In the firmware update object, there are 2 resources..

 

/5/0/0 (package), which is actually the firmware as a binary opaque data. How do we pass Opaque data to the client?

 

/5/0/1 ( package uri), which is the  HTTP URL where the client needs to download firmware object from.

 

As of the server, either we can pass /5/0/0 to the client or 5/0/1 and let the client download the package?

 

Easy way for now to test is to pass the HTTP URI correct?

 

Thanks,

Nizar…!


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

_______________________________________________
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