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



--------------060506080903010907000702
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

The UID is not managed currently in this way.   It is left to the
installer to ensure that no duplicate UID's exist on any one network.
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  but currently it's not being used.  So use what you want -
but make it configurable by the installer.  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
recommend you keep endpoints consecutive but that is not always
possible.  The '0' endpoint refers to the whole application/device (not
a specific endpoint) and an all FF's endpoint is reserved so should not
be used.     Endpoints should persist their numerical UID  ie not
shuffle around each time the device is restarted for example.  Having
endpoints come and go is allowable ,just not changing  their UID's

cheers Kevin

On 20/10/2011 00:02, Allens Bad wrote:
>
>
> Hi All,
> How does the UID relate to the vendor id?
> Letâ??s say I have a vendor id of â??vendorxâ??, how
would 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?
> The resulting UID might look like this,  FF-76 65 6E 64 6F 72
> 78[device][instance]:[endpoint]
> I assume the device, instance, and endpoint can be of my choosing as
> long as they are unique to my vendor id
> Regards
> Al
>
>
>


--------------060506080903010907000702
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit





<head>

<style type="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
a,
div.photo-title a:active,
div.photo-title a:hover,
div.photo-title a:visited {
text-decoration: none;
}

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>
<meta content="text/html; charset=UTF-8"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">


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

<br><br>

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



The UID is not managed currently in this way.   It is
left to the
installer to ensure that no duplicate UID's exist on any one
network.   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  but currently it's not being
used.  So
use what you want - but make it configurable by the installer. 
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.  The '0' endpoint refers to the whole
application/device
(not a specific endpoint) and an all FF's endpoint is reserved so
should not be used.    
Endpoints should persist their numerical
UID  ie not shuffle around each time the device is restarted for
example.  Having endpoints come and go is allowable ,just not
changing  their UID's<br>
<br>
 cheers Kevin<br>
<br>
 On 20/10/2011 00:02, Allens Bad wrote:
<blockquote
cite="mid:1319065321.40577.YahooMailNeo@xxxxxxx"
type="cite">
<style type="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
a,
div.photo-title a:active,
div.photo-title a:hover,
div.photo-title a:visited {
text-decoration: none;
}

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>

<div style="color:#000; background-color:#fff; font-family:times
new roman, new york, times, serif;font-size:12pt">
<div style="MARGIN: 0in 0in 0pt"
class="MsoNormal"><font
face="Calibri">Hi All,</font></div>
<div style="MARGIN: 0in 0in 0pt; RIGHT: auto"
class="MsoNormal"><font
style="RIGHT: auto" face="Calibri">How does the UID
relate
to the vendor id?<var
id="yui-ie-cursor"></var></font></div>
<div style="MARGIN: 0in 0in 0pt"
class="MsoNormal"><!--?xml:namespace prefix = o ns =
"urn:schemas-microsoft-com:office:office"
/--><o:p><font
face="Calibri"> </font></o:p></div>
<div style="MARGIN: 0in 0in 0pt"
class="MsoNormal"><font
face="Calibri">Letâ??s say I have a vendor id of
â??vendorxâ??,
how would I generate a UID for this source as not to collide
with any other vendor.</font></div>
<div style="MARGIN: 0in 0in 0pt"
class="MsoNormal"><font
face="Calibri">Should I just convert the assigned vendor id
to hex like this 76 65 6E 64 6F 72 78?</font></div>
<div style="MARGIN: 0in 0in 0pt"
class="MsoNormal"><o:p><font
face="Calibri"> </font></o:p></div>
<div style="MARGIN: 0in 0in 0pt"
class="MsoNormal"><font
face="Calibri">The resulting UID might look like this,
 FF-76 65 6E 64 6F 72
78[device][instance]:[endpoint]</font></div>
<div style="MARGIN: 0in 0in 0pt"
class="MsoNormal"><o:p><font
face="Calibri"> </font></o:p></div>
<div style="MARGIN: 0in 0in 0pt"
class="MsoNormal"><font
face="Calibri">I assume the device, instance, and endpoint
can be of my choosing as long as they are unique to my
vendor id</font></div>
<div style="MARGIN: 0in 0in 0pt"
class="MsoNormal"><o:p><font
face="Calibri"> </font></o:p></div>
<div style="MARGIN: 0in 0in 0pt"
class="MsoNormal"><font
face="Calibri">Regards</font></div>
<div style="MARGIN: 0in 0in 0pt"
class="MsoNormal"><font
face="Calibri">Al</font></div>
<div style="RIGHT: auto"> </div>
</div>

<div width="1" style="color: white; clear:
both;"></div>
</blockquote>
<br>




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

<br>



<br>

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


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

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



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

<img src="http://geo.yahoo.com/serv?s=97476590/grpId=9629476/grpspId=1705007709/msgId=2208/stime=1319067546";
width="1" height="1"> <br>

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


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

<br>
<div style="font-family: verdana; font-size: 77%; border-top: 1px
solid #666; padding: 5px 0;" >
Your email settings: Individual EmailTraditional <br>
<a href="http://groups.yahoo.com/group/xAP_developer/join;_ylc=X3oDMTJmNjJqZDRwBF9TAzk3NDc2NTkwBGdycElkAzk2Mjk0NzYEZ3Jwc3BJZAMxNzA1MDA3NzA5BHNlYwNmdHIEc2xrA3N0bmdzBHN0aW1lAzEzMTkwNjc1NDY-";>Change
settings via the Web</a> (Yahoo! ID required) <br>
Change settings via email: <a href="mailto:xAP_developer-digest@xxxxxxx?subject=Email
Delivery: Digest">Switch delivery to Daily Digest</a>  <a
href = "mailto:xAP_developer-fullfeatured@xxxxxxx?subject=Change
Delivery Format: Fully Featured">Switch to Fully Featured</a>
<br>
<a href="http://groups.yahoo.com/group/xAP_developer;_ylc=X3oDMTJkNjRtdGV2BF9TAzk3NDc2NTkwBGdycElkAzk2Mjk0NzYEZ3Jwc3BJZAMxNzA1MDA3NzA5BHNlYwNmdHIEc2xrA2hwZgRzdGltZQMxMzE5MDY3NTQ2";>
Visit Your Group
</a>
<a href="http://docs.yahoo.com/info/terms/";>
Yahoo! Groups Terms of Use
</a>
<a href="mailto:xAP_developer-unsubscribe@xxxxxxx?subject=Unsubscribe";>
Unsubscribe
</a>
<br>
</div>
<br>

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


<div style="color: white; clear:
both;"/>__,_._,___</div>
</body>
</html>

--------------060506080903010907000702--

  • 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.