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



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

Yes, exactly right.  The :00 must be included.

Also there must be the same (even)  number of digits as other endpoints
use so if you were using a range of say 1000 endpoints which would
require 4 hex digits,  your main application address would be
FF.FE0101:0000.  If you have no endpoints then :00 is appropriate.

Kevin

On 21/10/2011 01:20, Allens Bad wrote:
>
>
> Thanks Kevin for clearing that up for me.
> In the source is the endpoint delimiter optional?
> lets say I have a source "source=vendorx.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
> Regards
> Al
>
> *From:* Kevin Hawkins <yahoogroupskh@xxxxxxx>
> *To:* xAP_developer@xxxxxxx
> *Sent:* Wednesday, October 19, 2011 4:38 PM
> *Subject:* Re: [xAP_developer] UID
>
> 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
>
>
>
>
>
>


--------------050301040103000204060904
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** -->



Yes, exactly right.  The :00 must be included.<br>
<br>
Also there must be the same (even)  number of digits as other
endpoints use so if you were using a range of say 1000 endpoints
which would require 4 hex digits,  your main application address
would be<span style="RIGHT: auto"> 
FF.FE0101<font style="RIGHT:
auto" face="Calibri"><font style="RIGHT:
auto">:0000.  If you
have no endpoints then :00 is appropriate.<br>
</font></font></span><br>
  Kevin<br>
<br>
 On 21/10/2011 01:20, Allens Bad wrote:
<blockquote
cite="mid:1319156423.29646.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="RIGHT: auto"><span style="RIGHT:
auto">Thanks Kevin
for clearing that up for me.</span></div>
<div style="RIGHT: auto"><span style="RIGHT:
auto"></span> </div>
<div style="RIGHT: auto"><span style="RIGHT:
auto"><var
id="yui-ie-cursor"></var>In the source is the endpoint
delimiter optional?</span></div>
<div style="RIGHT: auto"><span style="RIGHT:
auto"></span> </div>
<div style="RIGHT: auto"><span style="RIGHT:
auto">lets say I
have a source "</span><span style="RIGHT:
auto">source=vendorx.server.controller"
</span><span style="RIGHT: auto">do I need to add the
":00" to
make it valid?</span></div>
<div style="RIGHT: auto"><span style="RIGHT:
auto">If so then I
assume my UID could be FF.FE0101<font style="RIGHT: auto"
face="Calibri"><font style="RIGHT:
auto">:00</font></font></span></div>
<div style="RIGHT: auto"><span style="RIGHT:
auto"></span> </div>
<div style="RIGHT: auto"><span style="RIGHT:
auto"><font
style="RIGHT: auto"
face="Calibri">Regards</font></span></div>
<div style="RIGHT: auto"><span style="RIGHT:
auto"><font
style="RIGHT: auto"
face="Calibri">Al</font></span></div>
<div><br>
</div>
<div style="FONT-FAMILY: times new roman, new york, times,
serif; FONT-SIZE: 12pt">
<div style="FONT-FAMILY: times new roman, new york, times,
serif; FONT-SIZE: 12pt"><font face="Arial"
size="2">
<b><span style="FONT-WEIGHT:
bold">From:</span></b> Kevin
Hawkins <a class="moz-txt-link-rfc2396E" href="mailto:yahoogroupskh@xxxxxxx";>&lt;yahoogroupskh@xxxxxxx&gt;</a><br>
<b><span style="FONT-WEIGHT:
bold">To:</span></b>
<a class="moz-txt-link-abbreviated" href="mailto:xAP_developer@xxxxxxx";>xAP_developer@xxxxxxx</a><br>
<b><span style="FONT-WEIGHT:
bold">Sent:</span></b>
Wednesday, October 19, 2011 4:38 PM<br>
<b><span style="FONT-WEIGHT:
bold">Subject:</span></b> Re:
[xAP_developer] UID<br>
</font><br>
<div style="RIGHT: auto" id="yiv1000668172">
<div style="RIGHT: auto"><span style="DISPLAY:
none"> </span>
<div id="yiv1000668172ygrp-text">
<div>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 type="cite">
<div style="BACKGROUND-COLOR: #fff; FONT-FAMILY:
times new roman, new york, times, serif; COLOR:
#000; FONT-SIZE: 12pt">
<div class="yiv1000668172MsoNormal"><font
face="Calibri">Hi All,</font></div>
<div class="yiv1000668172MsoNormal"><font
face="Calibri">How does the UID relate to
the vendor id?<var
id="yiv1000668172yui-ie-cursor"></var></font></div>
<div class="yiv1000668172MsoNormal"><font
face="Calibri"> </font></div>
<div class="yiv1000668172MsoNormal"><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 class="yiv1000668172MsoNormal"><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 class="yiv1000668172MsoNormal"><font
face="Calibri"> </font></div>
<div style="RIGHT: auto"
class="yiv1000668172MsoNormal"><font
style="RIGHT: auto" face="Calibri">The
resulting UID might look like this,  FF-76
65 6E 64 6F 72
78[device][instance]:[endpoint]</font></div>
<div class="yiv1000668172MsoNormal"><font
face="Calibri"> </font></div>
<div class="yiv1000668172MsoNormal"><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 class="yiv1000668172MsoNormal"><font
face="Calibri"> </font></div>
<div class="yiv1000668172MsoNormal"><font
face="Calibri">Regards</font></div>
<div class="yiv1000668172MsoNormal"><font
face="Calibri">Al</font></div>
<div> </div>
</div>
</blockquote>
<br>
</div>
</div>
</div>
<br>
<br>
</div>
</div>
</div>

<div width="1" style="color: white; clear:
both;"></div>
</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=2210/stime=1319189196";
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=X3oDMTJmMmd2c2s1BF9TAzk3NDc2NTkwBGdycElkAzk2Mjk0NzYEZ3Jwc3BJZAMxNzA1MDA3NzA5BHNlYwNmdHIEc2xrA3N0bmdzBHN0aW1lAzEzMTkxODkxOTY-";>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=X3oDMTJkN21xb2doBF9TAzk3NDc2NTkwBGdycElkAzk2Mjk0NzYEZ3Jwc3BJZAMxNzA1MDA3NzA5BHNlYwNmdHIEc2xrA2hwZgRzdGltZQMxMzE5MTg5MTk2";>
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>

--------------050301040103000204060904--

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.