{"id":798,"date":"2019-11-28T15:02:48","date_gmt":"2019-11-28T23:02:48","guid":{"rendered":"http:\/\/dragonwarz.net\/?p=798"},"modified":"2019-12-06T15:31:23","modified_gmt":"2019-12-06T23:31:23","slug":"network-testers-update","status":"publish","type":"post","link":"https:\/\/dragonwarz.net\/?p=798","title":{"rendered":"Network Testers Update"},"content":{"rendered":"\n<p>I was thinking about documentation when I realized I could integrate the instructions for using it, into the display itself. So to that end, I re-worked the hardware button operations.  <br>With the initial release, each of the 4 hardware buttons was tied to a single command, with the exception of the 3rd button, which if pressed a second time, would initiate an update. <br>Now I have set the 4th button as a &#8220;Change Functions&#8221; button, that upon pressing will change the operations of the other 3 buttons, and at the same time, display a message on the screen for what each button does at the current function &#8220;level&#8221;.  The change button currently has 3 levels it cycles through.  The new button functions are as follows.<br><strong>Primary Functions<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Run MTR tests<\/li><li>Run iPerf 3 tests<\/li><li>Nothing<\/li><li>Change Button Functions<\/li><\/ol>\n\n\n\n<p><strong>Secondary Functions<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>System Information<\/li><li>Standard Upgrade<\/li><li>Development Upgrade<\/li><li>Change Button Functions<\/li><\/ol>\n\n\n\n<p><strong>Tertiary Functions<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Shutdown Remote Test Server<\/li><li>Shutdown Local Unit<\/li><li>Nothing<\/li><li>Change Button Functions<\/li><\/ol>\n\n\n\n<p>With this change, I can tie more functions to the compatible Raspberry Pi hardware buttons.  This should make it a much more useful mobile tool, especially when I start to add other types of tests it can run.   <\/p>\n\n\n\n<p>There are a few extra features, such as each instructional page viewed on the WaveShare display, now shows if the remote tester is Online or Offline.  This same Online\/Offline status is shown on the web portal as well. <\/p>\n\n\n\n<p>The System Information page now shows the following for the ethernet and wifi adapter; Active\/Inactive Status, DHCP or Static address setup and the current IP Address. <\/p>\n\n\n\n<p>The about page now also displays the Primary Internet IP address along with the amount of free disk space in GB&#8217;s.  <\/p>\n\n\n\n<p>I also found and fixed a bug in the WaveShare display. If a button was pressed multiple times before the display finished its refresh, it would crash the display server.  I fixed it by adding an &#8220;In Use&#8221; variable, and if &#8220;In Use&#8221;, any new commands will be dropped until no longer &#8220;In Use&#8221;.  <\/p>\n\n\n\n<p>I have already put the new update on the standard release channel.  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>I was thinking about documentation when I realized I could integrate the instructions for using it, into the display itself. So to that end, I re-worked the hardware button operations. With the initial release, each of the 4 hardware buttons &hellip;<\/p>\n<p class=\"read-more\"><a href=\"https:\/\/dragonwarz.net\/?p=798\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25,27,26,3],"tags":[34],"class_list":["post-798","post","type-post","status-publish","format-standard","hentry","category-programming","category-project","category-python","category-random","tag-kootnet-network-testers"],"_links":{"self":[{"href":"https:\/\/dragonwarz.net\/index.php?rest_route=\/wp\/v2\/posts\/798","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dragonwarz.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dragonwarz.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dragonwarz.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/dragonwarz.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=798"}],"version-history":[{"count":9,"href":"https:\/\/dragonwarz.net\/index.php?rest_route=\/wp\/v2\/posts\/798\/revisions"}],"predecessor-version":[{"id":808,"href":"https:\/\/dragonwarz.net\/index.php?rest_route=\/wp\/v2\/posts\/798\/revisions\/808"}],"wp:attachment":[{"href":"https:\/\/dragonwarz.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=798"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dragonwarz.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=798"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dragonwarz.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=798"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}