[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]
Re: xAP schema used for firmware upgrades
--0016362846ca4d9832047b7ebb3a
Content-Type: text/plain; charset=ISO-8859-1
Hi Daniel
There's no schema I know of that covers this, and your approach looks sound
to me.
Patrick
2009/12/24 Daniel Berenguer <dberenguer@xxxxxxx>
> I need to send a xAP message to an embedded device in order to ask it
> to upgrade its firmware from a local or remote repository. I've been
> looking into the existing schemas and I've not been able to find
> anything useful for this application. As result, I've created a custom
> message like this one:
>
> xap-header
> {
> v=13
> hop=1
> uid=FF.1234:00
> class=boot.cmd
> source=opnode.gckoman.manager1
> target=opnode.gecko.opngecko1
> }
> boot.upgrade
> {
> server=192.168.1.17
> servertype=tftp
> file=opnGecko.bin
> }
>
> servertype could take different values: tftp, ftp, http, etc.
>
> Further considerations on this new schema could bring us new uses too:
> restart/halt xAP devices (the whole device, not single endpoints),
> upload/download configuration files, etc. Then, the affected device
> should reply with some kind of acknowledgement. But before deciding to
> put this into production, I'd like to confirm that this can not be
> done with other existing schemas.
>
> Thanks for your comments,
>
> --
> Daniel Berenguer
> http://www.usapiens.com
> http://www.opnode.org
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>
--0016362846ca4d9832047b7ebb3a
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
<head>
<style type=3D"text/css">
<!--
/* start of attachment style */
.ygrp-photo-title{
clear: both;
font-size: smaller;
height: 15px;
overflow: hidden;
text-align: center;
width: 75px;
}
div.ygrp-photo{
background-position: center;
background-repeat: no-repeat;
background-color: white;
border: 1px solid black;
height: 62px;
width: 62px;
}
div.photo-title=20
a,
div.photo-title a:active,
div.photo-title a:hover,
div.photo-title a:visited {
text-decoration: none;=20
}
div.attach-table div.attach-row {
clear: both;
}
div.attach-table div.attach-row div {
float: left;
/* margin: 2px;*/
}
p {
clear: both;
padding: 15px 0 3px 0;
overflow: hidden;
}
div.ygrp-file {
width: 30px;
valign: middle;
}
div.attach-table div.attach-row div div a {
text-decoration: none;
}
div.attach-table div.attach-row div div span {
font-weight: normal;
}
div.ygrp-file-title {
font-weight: bold;
}
/* end of attachment style */
-->
</style>
</head>
<html>
<head>
<style type=3D"text/css">
<!--
#ygrp-mkp {
border: 1px solid #d8d8d8;
font-family: Arial;
margin: 10px 0;
padding: 0 10px;
}
#ygrp-mkp hr {
border: 1px solid #d8d8d8;
}
#ygrp-mkp #hd {
color: #628c2a;
font-size: 85%;
font-weight: 700;
line-height: 122%;
margin: 10px 0;
}
#ygrp-mkp #ads {
margin-bottom: 10px;
}
#ygrp-mkp .ad {
padding: 0 0;
}
#ygrp-mkp .ad a {
color: #0000ff;
text-decoration: none;
}
-->
</style>
<body>
<!-- **begin egp html banner** -->
<br><br>
<!-- **end egp html banner** -->
Hi Daniel<br>There's no schema I know of that covers this,
and your app=
roach looks sound to me.<br>Patrick<br><br><div
class=3D"gmail_quote">2009/=
12/24 Daniel Berenguer <span dir=3D"ltr"><<a
href=3D"mailto:dberenguer@u=
sapiens.com">dberenguer@xxxxxxx</a>></span><br>
<blockquote class=3D"gmail_quote" style=3D"border-left:
1px solid rgb(204, =
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I need to
send a =
xAP message to an embedded device in order to ask it<br>
to upgrade its firmware from a local or remote repository. I've
been<br=
>
looking into the existing schemas and I've not been able to
find<br>
anything useful for this application. As result, I've created a
custom<=
br>
message like this one:<br>
<br>
xap-header<br>
{<br>
v=3D13<br>
hop=3D1<br>
uid=3DFF.1234:00<br>
class=3Dboot.cmd<br>
source=3Dopnode.gckoman.manager1<br>
target=3Dopnode.gecko.opngecko1<br>
}<br>
boot.upgrade<br>
{<br>
server=3D192.168.1.17<br>
servertype=3Dtftp<br>
file=3DopnGecko.bin<br>
}<br>
<br>
servertype could take different values: tftp, ftp, http, etc.<br>
<br>
Further considerations on this new schema could bring us new uses
too:<br>
restart/halt xAP devices (the whole device, not single
endpoints),<br>
upload/download configuration files, etc. Then, the affected
device<br>
should reply with some kind of acknowledgement. But before deciding
to<br>
put this into production, I'd like to confirm that this can not
be<br>
done with other existing schemas.<br>
<br>
Thanks for your comments,<br>
<br>
--<br>
Daniel Berenguer<br>
<a href=3D"http://www.usapiens.com"
target=3D"_blank">http://www.usapiens.c=
om</a><br>
<a href=3D"http://www.opnode.org"
target=3D"_blank">http://www.opnode.org</=
a><br>
<br>
<br>
------------------------------------<br>
<br>
xAP_Development Main Index |
xAP_Development Thread Index |
xAP_Development Home |
Archives Home
|