{"id":1071,"date":"2015-09-10T19:58:33","date_gmt":"2015-09-10T19:58:33","guid":{"rendered":"http:\/\/grodansparadis.com\/wordpress\/?p=1071"},"modified":"2015-09-10T19:58:33","modified_gmt":"2015-09-10T19:58:33","slug":"important-change-to-the-vscp-specification","status":"publish","type":"post","link":"https:\/\/grodansparadis.com\/wordpress\/?p=1071","title":{"rendered":"Important change to the VSCP Specification"},"content":{"rendered":"<p><a href=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2015\/08\/vscp_new_v2.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"1009\" data-permalink=\"https:\/\/grodansparadis.com\/wordpress\/?attachment_id=1009\" data-orig-file=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2015\/08\/vscp_new_v2.png?fit=500%2C700&amp;ssl=1\" data-orig-size=\"500,700\" 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=\"vscp_new_v2\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2015\/08\/vscp_new_v2.png?fit=500%2C700&amp;ssl=1\" class=\"alignnone  wp-image-1009\" src=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2015\/08\/vscp_new_v2.png?resize=179%2C250\" alt=\"vscp_new_v2\" width=\"179\" height=\"250\" srcset=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2015\/08\/vscp_new_v2.png?w=500&amp;ssl=1 500w, https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2015\/08\/vscp_new_v2.png?resize=214%2C300&amp;ssl=1 214w\" sizes=\"auto, (max-width: 179px) 100vw, 179px\" \/><\/a><\/p>\n<p>I made an important change to the VSCP specification today.<\/p>\n<p>The <a href=\"http:\/\/www.vscp.org\/docs\/vscpspec\/doku.php?id=class1.information#type_9_0x09_node_heartbeat\">CLASS1_INFORMATION, Type = 9 (0x09) Node Heartbeat<\/a> has previously not been mandatory to implement for a node.\u00a0 But this has changed and it is now mandatory as the only exception of a mandatory event to implement outside of the <a href=\"http:\/\/Type = 9 (0x09) Node Heartbeat\">CLASS1.PROTOCO<\/a>L class.\u00a0\u00a0 The same is true for the Level II event <a href=\"http:\/\/www.vscp.org\/docs\/vscpspec\/doku.php?id=class2.information#type_2_0x0002_level_ii_node_heartbeat\">CLASS2_INFORMATION, http:\/\/www.vscp.org\/docs\/vscpspec\/doku.php?id=class2.information#type_2_0x0002_level_ii_node_heartbeat<\/a><\/p>\n<p>The recommended interval is 30-60 seconds between heartbeats\u00a0 bur exception can be made for nodes that have to sleep for a longer time.<\/p>\n<p>The reason for this change is that it makes it easier for wireless nodes to announce there presence as they are harder to scan as wired modules.<\/p>\n<p>Changes to the VSCP specification is as always listed <a href=\"http:\/\/www.vscp.org\/docs\/vscpspec\/doku.php?id=class2.information#type_2_0x0002_level_ii_node_heartbeat\">here<\/a>.<\/p>\n<p>A new class has also been added today. This is the Level II class <a href=\"http:\/\/www.vscp.org\/docs\/vscpspec\/doku.php?id=class2.measurement_float\">Class=1060 (0x424) Measurement float<\/a>. This class is a companion class to the <a href=\"http:\/\/www.vscp.org\/docs\/vscpspec\/doku.php?id=class2.measurement_str\">Class=1040 (0x410) Measurement string<\/a>.\u00a0\u00a0 Both follow the <a href=\"http:\/\/Class=1040 (0x410) Measurement string\">CLASS1_MEASUREMENT class<\/a> types except that it allow for more sensors (0-256) and more units (0-256).\u00a0 Obviously the Level I definition is the interchangeable one.<\/p>\n<p><strong>NOT ANOTHER MEASUREMENT CLASS<\/strong> you might scream.<\/p>\n<p>Yes there is plenty of them already.\u00a0 But this double precision floating point class can make some order again and I will add translators from all other classes to this class in the daemon and in the CAN4VSCP driver. So for all work at higher levels these to classes are the one that should be used.\u00a0 At least if not communicating things down to Level I nodes.<\/p>\n<p><strong>Be Hungry &#8211; Stay Foolish!<\/strong><br \/>\n\/Ake<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I made an important change to the VSCP specification today. The CLASS1_INFORMATION, Type = 9 (0x09) Node Heartbeat has previously not been mandatory to implement for a node.\u00a0 But this has changed and it is now mandatory as the only exception of a mandatory event to implement outside of the CLASS1.PROTOCOL class.\u00a0\u00a0 The same is [&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":[13],"tags":[],"class_list":["post-1071","post","type-post","status-publish","format-standard","hentry","category-vscp"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p4raCZ-hh","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\/1071","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=1071"}],"version-history":[{"count":1,"href":"https:\/\/grodansparadis.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1071\/revisions"}],"predecessor-version":[{"id":1072,"href":"https:\/\/grodansparadis.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1071\/revisions\/1072"}],"wp:attachment":[{"href":"https:\/\/grodansparadis.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1071"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/grodansparadis.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1071"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/grodansparadis.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1071"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}