{"id":300,"date":"2015-06-10T11:31:13","date_gmt":"2015-06-10T09:31:13","guid":{"rendered":"http:\/\/tronche.com\/blog\/?p=300"},"modified":"2019-02-04T20:17:54","modified_gmt":"2019-02-04T19:17:54","slug":"first-console-frame-decoding","status":"publish","type":"post","link":"https:\/\/tronche.com\/blog\/2015\/06\/first-console-frame-decoding\/","title":{"rendered":"First console &#038; frame decoding"},"content":{"rendered":"\n<p>Wrote the decoding of the frame on the server side today (note: the \nIridium gateway call an URL on my server everytime a message is received\n from the modem by the Iridium gateway). The data is then written as a \nJSON file on the server, where it can get pulled by the console.\n<\/p>\n\n\n\n<!--more-->\n\n\n\n<p>I wrote a first version of the console (at <a href=\"http:\/\/tronche.com\/almabraxas\/\">http:\/\/tronche.com\/almabraxas\/<\/a>).\n A javascript snippet pull data (the JSON file written by the backend). \nTime graphs are made with canvasJS, the map is made with google maps, of\n course. There&#8217;s no synchronization between the backend and the snippet \nfor now, it&#8217;s just the snippet tries to pull data every minute while \ndata comes every 3-4 minutes at best.\n<\/p>\n\n\n\n<p>I&#8217;ve thrown a few line of codes creating random data at regular \nintervals just to make the console display something while testing.\n<\/p>\n\n\n\n<p>I&#8217;ve added a &#8220;ticker&#8221; effect (the changed data appear in inverted\n video until the next change), coded by hand for the fun. The data from \nthe field unit are in gray, the data from the Iridium gateway are titled\n in blue, and the computed data are in green. \n<\/p>\n\n\n\n<p>Only one time serie for now, I have to add the other ones, and \nmany display on the map are still to do: display of data in a window, \nand tracking of previous points. I also should add a KML display.\n<\/p>\n\n\n\n<p>Also the X axis of the time series aren&#8217;t labeled with time values.<\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>Wrote the decoding of the frame on the server side today (note: the Iridium gateway call an URL on my server everytime a message is <a class=\"mh-excerpt-more\" href=\"https:\/\/tronche.com\/blog\/2015\/06\/first-console-frame-decoding\/\" title=\"First console &#038; frame decoding\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[95],"tags":[],"class_list":["post-300","post","type-post","status-publish","format-standard","hentry","category-95"],"_links":{"self":[{"href":"https:\/\/tronche.com\/blog\/wp-json\/wp\/v2\/posts\/300","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tronche.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tronche.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tronche.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tronche.com\/blog\/wp-json\/wp\/v2\/comments?post=300"}],"version-history":[{"count":1,"href":"https:\/\/tronche.com\/blog\/wp-json\/wp\/v2\/posts\/300\/revisions"}],"predecessor-version":[{"id":301,"href":"https:\/\/tronche.com\/blog\/wp-json\/wp\/v2\/posts\/300\/revisions\/301"}],"wp:attachment":[{"href":"https:\/\/tronche.com\/blog\/wp-json\/wp\/v2\/media?parent=300"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tronche.com\/blog\/wp-json\/wp\/v2\/categories?post=300"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tronche.com\/blog\/wp-json\/wp\/v2\/tags?post=300"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}