The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

Re: UID



--53133546-1289810174-1319156423=:29646
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Thanks Kevin for clearing that up for me.
=C2=A0
In the source is the endpoint delimiter optional?
=C2=A0
lets say I have a source "source=3Dvendorx.server.controller" do
I need to =
add the ":00" to make it valid?
If so then I assume my UID could be FF.FE0101:00
=C2=A0
Regards
Al


________________________________
From: Kevin Hawkins <yahoogroupskh@xxxxxxx>
To: xAP_developer@xxxxxxx
Sent: Wednesday, October 19, 2011 4:38 PM
Subject: Re: [xAP_developer] UID


=C2=A0=20
The UID is not managed currently in this way.=C2=A0=C2=A0 It is left to
the=
installer to ensure that no duplicate UID's exist on any one network. =C2=
=A0 In xAP V1.3 we do have much larger address space and we did talk about
=
allocating 'reserved' ranges of UID's to vendors rather like MAC addresses=
=C2=A0 but currently it's not being used.=C2=A0 So use what you want - but
=
make it configurable by the installer.=C2=A0 You should not use all 0's or
=
all FF's.

In your example that '-' should be a '.'

Yes the device, instance and endpoint can be as you wish, we try and
recomm=
end you keep endpoints consecutive but that is not always possible.=C2=A0
T=
he '0' endpoint refers to the whole application/device (not a specific
endp=
oint) and an all FF's endpoint is reserved so should not be used.=C2=A0=C2=
=A0=C2=A0=C2=A0 Endpoints should persist their numerical UID=C2=A0 ie not
s=
huffle around each time the device is restarted for example.=C2=A0 Having
e=
ndpoints come and go is allowable ,just not changing=C2=A0 their UID's

=C2=A0cheers Kevin

=C2=A0On 20/10/2011 00:02, Allens Bad wrote:=20
Hi All,
>How does the UID relate to the vendor id?
>=C2=A0
>Let=E2=80=99s say I have a vendor id of =E2=80=9Cvendorx=E2=80=9D, how
wou=
ld I generate a UID for this source as not to collide with any other
vendor=
.
>Should I just convert the assigned vendor id to hex like this 76 65 6E
64 =
6F 72 78?
>=C2=A0
>The resulting UID might look like this, =C2=A0FF-76 65 6E 64 6F 72
78[devi=
ce][instance]:[endpoint]
>=C2=A0
>I assume the device, instance, and endpoint can be of my choosing as
long =
as they are unique to my vendor id
>=C2=A0
>Regards
>Al
>


--53133546-1289810174-1319156423=:29646
Content-Type: text/html; charset=UTF-8
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><body>


<!-- **begin egp html banner** -->

<br><br>

<!-- **end egp html banner** -->


<div style=3D"color:#000; background-color:#fff; font-family:times
new roma=
n, new york, times, serif;font-size:12pt"><div
style=3D"RIGHT: auto"><SPAN =
style=3D"RIGHT: auto">Thanks Kevin for clearing that up for
me.</SPAN></div=
>
<div style=3D"RIGHT: auto"><SPAN style=3D"RIGHT:
auto"></SPAN>&nbsp;</div>
<div style=3D"RIGHT: auto"><SPAN style=3D"RIGHT:
auto"><VAR id=3Dyui-ie-cur=
sor></VAR>In the source is the endpoint delimiter
optional?</SPAN></div>
<div style=3D"RIGHT: auto"><SPAN style=3D"RIGHT:
auto"></SPAN>&nbsp;</div>
<div style=3D"RIGHT: auto"><SPAN style=3D"RIGHT:
auto">lets say I have a so=
urce "</SPAN><SPAN style=3D"RIGHT:
auto">source=3Dvendorx.server.controller=
" </SPAN><SPAN style=3D"RIGHT: auto">do I need
to add the ":00" to make it =
valid?</SPAN></div>
<div style=3D"RIGHT: auto"><SPAN style=3D"RIGHT:
auto">If so then I assume =
my UID could be FF.FE0101<FONT style=3D"RIGHT: auto"
face=3DCalibri><FONT s=
tyle=3D"RIGHT:
auto">:00</FONT></FONT></SPAN></div>
<div style=3D"RIGHT: auto"><SPAN style=3D"RIGHT:
auto"><FONT face=3DCalibri=
></FONT></SPAN>&nbsp;</div>
<div style=3D"RIGHT: auto"><SPAN style=3D"RIGHT:
auto"><FONT style=3D"RIGHT=
: auto"
face=3DCalibri>Regards</FONT></SPAN></div>
<div style=3D"RIGHT: auto"><SPAN style=3D"RIGHT:
auto"><FONT style=3D"RIGHT=
: auto" face=3DCalibri>Al</FONT></SPAN></div>
<div><BR></div>
<DIV style=3D"FONT-FAMILY: times new roman, new york, times, serif;
FONT-SI=
ZE: 12pt">
<DIV style=3D"FONT-FAMILY: times new roman, new york, times, serif;
FONT-SI=
ZE: 12pt"><FONT size=3D2 face=3DArial>
<DIV style=3D"BORDER-BOTTOM: #ccc 1px solid; BORDER-LEFT: #ccc 1px
solid; P=
ADDING-BOTTOM: 0px; LINE-HEIGHT: 0; MARGIN: 5px 0px; PADDING-LEFT: 0px;
PAD=
DING-RIGHT: 0px; HEIGHT: 0px; FONT-SIZE: 0px; BORDER-TOP: #ccc 1px solid;
B=
ORDER-RIGHT: #ccc 1px solid; PADDING-TOP: 0px" class=3Dhr
contentEditable=
=3Dfalse readonly=3D"true"></DIV><B><SPAN
style=3D"FONT-WEIGHT: bold">From:=
</SPAN></B> Kevin Hawkins
&lt;yahoogroupskh@xxxxxxx&gt;<BR><B><SPAN =
style=3D"FONT-WEIGHT: bold">To:</SPAN></B>
xAP_developer@xxxxxxx<BR=
><B><SPAN style=3D"FONT-WEIGHT:
bold">Sent:</SPAN></B> Wednesday, October 1=
9, 2011 4:38 PM<BR><B><SPAN style=3D"FONT-WEIGHT:
bold">Subject:</SPAN></B>=
Re: [xAP_developer] UID<BR></FONT><BR>
<DIV style=3D"RIGHT: auto" id=3Dyiv1000668172>
<DIV style=3D"RIGHT: auto"><SPAN style=3D"DISPLAY:
none">&nbsp;</SPAN>=20
<DIV id=3Dyiv1000668172ygrp-text>
<div>The UID is not managed currently in this
way.&nbsp;&nbsp; It is left t=
o the installer to ensure that no duplicate UID's exist on any one
network.=
&nbsp; In xAP V1.3 we do have much larger address space and we did talk
ab=
out allocating 'reserved' ranges of UID's to vendors rather like MAC
addres=
ses&nbsp; but currently it's not being used.&nbsp; So use what you
want - b=
ut make it configurable by the installer.&nbsp; You should not use all
0's =
or all FF's.<BR><BR>In your example that '-' should be a
'.'<BR><BR>Yes the=
device, instance and endpoint can be as you wish, we try and recommend you=
keep endpoints consecutive but that is not always possible.&nbsp; The
'0' =
endpoint refers to the whole application/device (not a specific endpoint)
a=
nd an all FF's endpoint is reserved so should not be
used.&nbsp;&nbsp;&nbsp=
;&nbsp; Endpoints should persist their numerical UID&nbsp; ie not
shuffle a=
round each time the device is restarted for example.&nbsp; Having
endpoints come and go is allowable ,just not changing&nbsp; their
UID's<BR=
><BR>&nbsp;cheers Kevin<BR><BR>&nbsp;On
20/10/2011 00:02, Allens Bad wrote:=
=20
<BLOCKQUOTE type=3D"cite">
<DIV style=3D"BACKGROUND-COLOR: #fff; FONT-FAMILY: times new roman,
new yor=
k, times, serif; COLOR: #000; FONT-SIZE: 12pt">
<DIV class=3Dyiv1000668172MsoNormal><FONT face=3DCalibri>Hi
All,</FONT></DI=
V>
<DIV class=3Dyiv1000668172MsoNormal><FONT face=3DCalibri>How
does the UID r=
elate to the vendor id?<VAR
id=3Dyiv1000668172yui-ie-cursor></VAR></FONT></=
DIV>
<DIV class=3Dyiv1000668172MsoNormal><FONT
face=3DCalibri>&nbsp;</FONT></DIV=
>
<DIV class=3Dyiv1000668172MsoNormal><FONT
face=3DCalibri>Let=E2=80=99s say =
I have a vendor id of =E2=80=9Cvendorx=E2=80=9D, how would I generate a
UID=
for this source as not to collide with any other
vendor.</FONT></DIV>
<DIV class=3Dyiv1000668172MsoNormal><FONT face=3DCalibri>Should
I just conv=
ert the assigned vendor id to hex like this 76 65 6E 64 6F 72
78?</FONT></D=
IV>
<DIV class=3Dyiv1000668172MsoNormal><FONT
face=3DCalibri>&nbsp;</FONT></DIV=
>
<DIV style=3D"RIGHT: auto"
class=3Dyiv1000668172MsoNormal><FONT style=3D"RI=
GHT: auto" face=3DCalibri>The resulting UID might look like this,
&nbsp;FF-=
76 65 6E 64 6F 72 78[device][instance]:[endpoint]</FONT></DIV>
<DIV class=3Dyiv1000668172MsoNormal><FONT
face=3DCalibri>&nbsp;</FONT></DIV=
>
<DIV class=3Dyiv1000668172MsoNormal><FONT face=3DCalibri>I
assume the devic=
e, instance, and endpoint can be of my choosing as long as they are unique
=
to my vendor id</FONT></DIV>
<DIV class=3Dyiv1000668172MsoNormal><FONT
face=3DCalibri>&nbsp;</FONT></DIV=
>
<DIV class=3Dyiv1000668172MsoNormal><FONT
face=3DCalibri>Regards</FONT></DI=
V>
<DIV class=3Dyiv1000668172MsoNormal><FONT
face=3DCalibri>Al</FONT></DIV>
<DIV>&nbsp;</DIV></DIV>
<DIV style=3D"COLOR:
white"></DIV></BLOCKQUOTE><BR></DIV></DIV></DIV><BR><B=
R></DIV></DIV></div>



<!-- **begin egp html banner** -->

<br>

=20=20=20=20
=20=20=20=20
<br>

<!-- **end egp html banner** -->


<div width=3D"1" style=3D"color: white; clear:
both;"/>__._,_.___</div>

<!-- Start Recommendations -->
<!-- End Recommendations -->



<!-- **begin egp html banner** -->

<img src=3D"http://geo.yahoo.com/serv?s=3D97476590/grpId=3D9629476/grpspI=
d=3D1705007709/msgId=3D2209/stime=3D1319188493" width=3D"1"
height=3D"1"> <=
br>

<!-- **end egp html banner** -->

=20=20=20=20
<!-- **begin egp html banner** -->

<br>
<div style=3D"font-family: verdana; font-size: 77%; border-top: 1px
s=
olid #666; padding: 5px 0;" >
Your email settings: Individual EmailTraditional <br>
<a href=3D"http://groups.yahoo.com/group/xAP_developer/join;_ylc=3DX3=
oDMTJmczE1OWswBF9TAzk3NDc2NTkwBGdycElkAzk2Mjk0NzYEZ3Jwc3BJZAMxNzA1MDA3NzA5B=
HNlYwNmdHIEc2xrA3N0bmdzBHN0aW1lAzEzMTkxODg0OTM-">Change settings
via the We=
b</a> (Yahoo! ID required) <br>
Change settings via email: <a href=3D"mailto:xAP_developer-digest@yah=
oogroups.com?subject=3DEmail Delivery: Digest">Switch delivery to
Daily Dig=
est</a>  <a href =3D "mailto:xAP_developer-fullfeatured@xxxxxxx?su=
bject=3DChange Delivery Format: Fully Featured">Switch to Fully
Featured</a=
> <br>
<a href=3D"http://groups.yahoo.com/group/xAP_developer;_ylc=3DX3=
oDMTJkdWl0NzQ2BF9TAzk3NDc2NTkwBGdycElkAzk2Mjk0NzYEZ3Jwc3BJZAMxNzA1MDA3NzA5B=
HNlYwNmdHIEc2xrA2hwZgRzdGltZQMxMzE5MTg4NDkz">
Visit Your Group=20
</a>
<a href=3D"http://docs.yahoo.com/info/terms/";>
Yahoo! Groups Terms of Use
</a>
<a href=3D"mailto:xAP_developer-unsubscribe@xxxxxxx?subject=
=3DUnsubscribe">
Unsubscribe=20
</a>=20
<br>
</div>
<br>

<!-- **end egp html banner** -->


<div style=3D"color: white; clear:
both;"/>__,_._,___</div>
</body></html>
--53133546-1289810174-1319156423=:29646--

  • Follow-Ups:
xAP_Development Main Index | xAP_Development Thread Index | xAP_Development Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.