{"id":171,"date":"2020-11-10T12:24:03","date_gmt":"2020-11-10T12:24:03","guid":{"rendered":"https:\/\/cupl.co.uk\/?page_id=171"},"modified":"2021-02-02T09:51:35","modified_gmt":"2021-02-02T09:51:35","slug":"cuplcodec","status":"publish","type":"page","link":"https:\/\/cupl.co.uk\/index.php\/software\/cuplcodec\/","title":{"rendered":"cuplcodec"},"content":{"rendered":"\n<p>Converts between a list of environmental sensor readings and a URL. Browse <a href=\"https:\/\/cupl.co.uk\/index.php\/software\/cuplcodec\/cuplcodec-features\/\" data-type=\"page\" data-id=\"372\">features<\/a> and <a href=\"https:\/\/wscodec.readthedocs.io\/en\/dev\/\" data-type=\"URL\" data-id=\"https:\/\/wscodec.readthedocs.io\/en\/dev\/\">documentation<\/a>. <\/p>\n\n\n\n<div class=\"wp-block-ugb-container ugb-container ugb-6e79cd4 ugb-container--v2 ugb-container--design-basic ugb-main-block\" id=\"\"><style>.ugb-6e79cd4-wrapper.ugb-container__wrapper{border-radius:0px !important}<\/style><div class=\"ugb-inner-block\"><div class=\"ugb-block-content\"><div class=\"ugb-container__wrapper ugb-6e79cd4-wrapper\"><div class=\"ugb-container__side\"><div class=\"ugb-container__content-wrapper ugb-6e79cd4-content-wrapper\">\n<figure class=\"wp-block-image alignfull size-large\"><img loading=\"lazy\" width=\"145\" height=\"48\" src=\"https:\/\/cupl.co.uk\/wp-content\/uploads\/2020\/11\/cupl_encode_graphic_union.svg\" alt=\"\" class=\"wp-image-358\"\/><\/figure>\n\n\n\n<h1>Encoder<\/h1>\n\n\n\n<p><strong>Input<\/strong>: Temperature + Humidity samples collected at time interval \u0394T.<\/p>\n\n\n\n<p><strong>Output: <\/strong> Web address (<a href=\"https:\/\/wscodec.readthedocs.io\/en\/dev\/docs\/specification\/specs.html#CODEC_SPEC_3\" data-type=\"URL\" data-id=\"https:\/\/wscodec.readthedocs.io\/en\/dev\/docs\/specification\/specs.html#CODEC_SPEC_3\">cupl URL<\/a> inside an NDEF record).<\/p>\n\n\n\n<p><strong>Runs in: <\/strong>A microcontroller on <a href=\"https:\/\/cupl.co.uk\/index.php\/cuplTag\/\" data-type=\"URL\" data-id=\"https:\/\/cupl.co.uk\/index.php\/cuplTag\/\">cuplTag<\/a>. There is a <a href=\"https:\/\/wscodec.readthedocs.io\/en\/dev\/docs\/reference\/pyencoder\/index.html\" data-type=\"URL\" data-id=\"https:\/\/wscodec.readthedocs.io\/en\/dev\/docs\/reference\/pyencoder\/index.html\">Python wrapper<\/a> for running it on a PC.<\/p>\n\n\n\n<p><strong>Language: <\/strong>C<\/p>\n<\/div><\/div><\/div><\/div><\/div><\/div>\n\n\n\n<div class=\"wp-block-ugb-container ugb-container ugb-63d148a ugb-container--v2 ugb-container--design-basic ugb-main-block\" id=\"\"><style>.ugb-63d148a-wrapper.ugb-container__wrapper{border-radius:0px !important}<\/style><div class=\"ugb-inner-block\"><div class=\"ugb-block-content\"><div class=\"ugb-container__wrapper ugb-63d148a-wrapper\"><div class=\"ugb-container__side\"><div class=\"ugb-container__content-wrapper ugb-63d148a-content-wrapper\">\n<figure class=\"wp-block-image alignfull size-large\"><img loading=\"lazy\" width=\"145\" height=\"48\" src=\"https:\/\/cupl.co.uk\/wp-content\/uploads\/2020\/11\/cupl_decode_graphic_union.svg\" alt=\"\" class=\"wp-image-345\"\/><\/figure>\n\n\n\n<h1>Decoder<\/h1>\n\n\n\n<p><strong>Input:<\/strong> Web address (<a href=\"https:\/\/wscodec.readthedocs.io\/en\/dev\/docs\/specification\/specs.html#CODEC_SPEC_3\" data-type=\"URL\" data-id=\"https:\/\/wscodec.readthedocs.io\/en\/dev\/docs\/specification\/specs.html#CODEC_SPEC_3\">cupl URL<\/a> parameters) received at absolute time T.<\/p>\n\n\n\n<p><strong>Output: <\/strong>A list of timestamped temperature and humidity samples.<\/p>\n\n\n\n<p><strong>Runs in: <\/strong>Web server software <a href=\"https:\/\/cupl.co.uk\/index.php\/cuplbackend\/\" data-type=\"page\" data-id=\"173\">cuplbackend<\/a>.<\/p>\n\n\n\n<p><strong>Language: <\/strong>Python<\/p>\n<\/div><\/div><\/div><\/div><\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Converts between a list of environmental sensor readings and a URL. Browse features and documentation. Encoder Input: Temperature + Humidity samples collected at time interval \u0394T. Output: Web address (cupl URL inside an NDEF record). Runs in: A microcontroller on cuplTag. There is a Python wrapper for running it on a PC. Language: C Decoder&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":194,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"spay_email":""},"featured_image_urls":{"full":"","thumbnail":"","medium":"","medium_large":"","large":"","1536x1536":"","2048x2048":""},"post_excerpt_stackable":"<p>Converts between a list of environmental sensor readings and a URL. Browse features and documentation. Encoder Input: Temperature + Humidity samples collected at time interval \u0394T. Output: Web address (cupl URL inside an NDEF record). Runs in: A microcontroller on cuplTag. There is a Python wrapper for running it on a PC. Language: C Decoder Input: Web address (cupl URL parameters) received at absolute time T. Output: A list of timestamped temperature and humidity samples. Runs in: Web server software cuplbackend. Language: Python<\/p>\n","category_list":"","author_info":{"name":"malcolmmackay","url":"https:\/\/cupl.co.uk\/index.php\/author\/malcolmmackay\/"},"comments_num":"0 comments","featured_image_urls_v2":{"full":"","thumbnail":"","medium":"","medium_large":"","large":"","1536x1536":"","2048x2048":""},"post_excerpt_stackable_v2":"<p>Converts between a list of environmental sensor readings and a URL. Browse features and documentation. Encoder Input: Temperature + Humidity samples collected at time interval \u0394T. Output: Web address (cupl URL inside an NDEF record). Runs in: A microcontroller on cuplTag. There is a Python wrapper for running it on a PC. Language: C Decoder Input: Web address (cupl URL parameters) received at absolute time T. Output: A list of timestamped temperature and humidity samples. Runs in: Web server software cuplbackend. Language: Python<\/p>\n","category_list_v2":"","author_info_v2":{"name":"malcolmmackay","url":"https:\/\/cupl.co.uk\/index.php\/author\/malcolmmackay\/"},"comments_num_v2":"0 comments","_links":{"self":[{"href":"https:\/\/cupl.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/171"}],"collection":[{"href":"https:\/\/cupl.co.uk\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/cupl.co.uk\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/cupl.co.uk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cupl.co.uk\/index.php\/wp-json\/wp\/v2\/comments?post=171"}],"version-history":[{"count":83,"href":"https:\/\/cupl.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/171\/revisions"}],"predecessor-version":[{"id":1556,"href":"https:\/\/cupl.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/171\/revisions\/1556"}],"up":[{"embeddable":true,"href":"https:\/\/cupl.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/194"}],"wp:attachment":[{"href":"https:\/\/cupl.co.uk\/index.php\/wp-json\/wp\/v2\/media?parent=171"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}