{"id":3740,"date":"2018-09-25T15:33:28","date_gmt":"2018-09-25T15:33:28","guid":{"rendered":"http:\/\/grodansparadis.com\/wordpress\/?p=3740"},"modified":"2018-09-25T15:33:28","modified_gmt":"2018-09-25T15:33:28","slug":"vscp-new-client-id-assignment","status":"publish","type":"post","link":"https:\/\/grodansparadis.com\/wordpress\/?p=3740","title":{"rendered":"#VSCP: New client id assignment"},"content":{"rendered":"<p><a href=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screenshot-from-2018-09-25-17-16-20.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"3741\" data-permalink=\"https:\/\/grodansparadis.com\/wordpress\/?attachment_id=3741\" data-orig-file=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screenshot-from-2018-09-25-17-16-20.png?fit=893%2C596&amp;ssl=1\" data-orig-size=\"893,596\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screenshot from 2018-09-25 17-16-20\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screenshot-from-2018-09-25-17-16-20.png?fit=580%2C387&amp;ssl=1\" class=\"alignnone size-full wp-image-3741\" src=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screenshot-from-2018-09-25-17-16-20.png?resize=580%2C387\" alt=\"\" width=\"580\" height=\"387\" srcset=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screenshot-from-2018-09-25-17-16-20.png?w=893&amp;ssl=1 893w, https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screenshot-from-2018-09-25-17-16-20.png?resize=300%2C200&amp;ssl=1 300w, https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screenshot-from-2018-09-25-17-16-20.png?resize=768%2C513&amp;ssl=1 768w\" sizes=\"auto, (max-width: 580px) 100vw, 580px\" \/><\/a><\/p>\n<p>From version 13.1.1.4 a new more deterministic way is used to generate automatic client id&#8217;s. VSCP daemon internal events will use id&#8217;s from the high part of the client id that will always be the same.<\/p>\n<p>Client id&#8217;s for drivers and other configuration parts that before was generated from the order the item was loaded\u00a0 also now work that way If the client id part of a GUID is zero (byte 12\/13). If however it is not AND the client id is not already used in the system the VSCP daemon will use the set client id for the item.<\/p>\n<p>This means that drivers with set GUID&#8217;s will always have the same interface GUID being more deterministic. tcp\/op connections, websocket connections rest i\/f connections will be assigned client id&#8217;s on the go as before.<\/p>\n<p>It is recommended to use the <a href=\"https:\/\/grodansparadis.gitbooks.io\/the-vscp-specification\/vscp_globally_unique_identifiers.html\">Ethernet\/IP GUID series<\/a> as a basis for interfaces.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>From version 13.1.1.4 a new more deterministic way is used to generate automatic client id&#8217;s. VSCP daemon internal events will use id&#8217;s from the high part of the client id that will always be the same. Client id&#8217;s for drivers and other configuration parts that before was generated from the order the item was loaded\u00a0 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[54,13],"tags":[],"class_list":["post-3740","post","type-post","status-publish","format-standard","hentry","category-development","category-vscp"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p4raCZ-Yk","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/grodansparadis.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/3740","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/grodansparadis.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/grodansparadis.com\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/grodansparadis.com\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/grodansparadis.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3740"}],"version-history":[{"count":1,"href":"https:\/\/grodansparadis.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/3740\/revisions"}],"predecessor-version":[{"id":3742,"href":"https:\/\/grodansparadis.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/3740\/revisions\/3742"}],"wp:attachment":[{"href":"https:\/\/grodansparadis.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3740"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/grodansparadis.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3740"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/grodansparadis.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3740"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}