{"id":256,"date":"2015-05-31T21:50:00","date_gmt":"2015-05-31T19:50:00","guid":{"rendered":"http:\/\/tronche.com\/blog\/?p=256"},"modified":"2019-01-29T22:47:37","modified_gmt":"2019-01-29T21:47:37","slug":"first-successful-satellite-transmission","status":"publish","type":"post","link":"https:\/\/tronche.com\/blog\/2015\/05\/first-successful-satellite-transmission\/","title":{"rendered":"First successful satellite transmission"},"content":{"rendered":"\n<p>The first satellite transmission was successful (and lesson full). \nThe message &#8220;toto&#8221; was sent from the modem to the web site using the \nsatellite gateway.\n<\/p>\n\n\n\n<p>As usual, some lessons have been learned in the process.  <\/p>\n\n\n\n<p>In short the 9602 Iridium unit is sometimes slow to respond, it seems  useless to poll it, say, every 10 seconds to get the CSQ (radio signal  strength) for example, because sometimes it takes more than that to get a  reply from the modem. Furthermore, I&#8217;ve realized the modem doesn&#8217;t  implement a logic of retrying a failed transmission (if no satellite was  visible when the transmission was attempted, typically), in that case,  the modem just return a &#8220;transmission failed&#8221; status, and it&#8217;s up to you  to retry. Until now, the logic in the application was: try to send a  log (telemetry) message through the modem every k seconds. I must now do  something a bit more subtle along the line: <\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Listen to the unsollicited status from the modem, and track the availability of the service.<\/li><li>There are now 2 events when a transmission must be attempted: if \nmore than x seconds have passed since last transmission, and if service \nbecome available (and more than x seconds have passed since last \ntransmission).<\/li><li>thus, the message transmitted must be built at the time of \ntransmission, since many seconds may pass between the log timer \nexpiration and the service availability.<\/li><\/ul>\n\n\n\n<p>On a more mundane level, the GPS time has been connected to the logger module, allowing timestamped logs.<\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>The first satellite transmission was successful (and lesson full). The message &#8220;toto&#8221; was sent from the modem to the web site using the satellite gateway. <a class=\"mh-excerpt-more\" href=\"https:\/\/tronche.com\/blog\/2015\/05\/first-successful-satellite-transmission\/\" title=\"First successful satellite transmission\">[&#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":[51,56],"class_list":["post-256","post","type-post","status-publish","format-standard","hentry","category-95","tag-gps","tag-satellite-modem"],"_links":{"self":[{"href":"https:\/\/tronche.com\/blog\/wp-json\/wp\/v2\/posts\/256","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=256"}],"version-history":[{"count":3,"href":"https:\/\/tronche.com\/blog\/wp-json\/wp\/v2\/posts\/256\/revisions"}],"predecessor-version":[{"id":261,"href":"https:\/\/tronche.com\/blog\/wp-json\/wp\/v2\/posts\/256\/revisions\/261"}],"wp:attachment":[{"href":"https:\/\/tronche.com\/blog\/wp-json\/wp\/v2\/media?parent=256"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tronche.com\/blog\/wp-json\/wp\/v2\/categories?post=256"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tronche.com\/blog\/wp-json\/wp\/v2\/tags?post=256"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}