{"id":249,"date":"2015-09-21T14:29:20","date_gmt":"2015-09-21T14:29:20","guid":{"rendered":"https:\/\/fieldscience.cs.earlham.edu\/?p=249"},"modified":"2015-10-05T13:53:23","modified_gmt":"2015-10-05T17:53:23","slug":"what-has-changed-fieldscience-yoctolib","status":"publish","type":"post","link":"https:\/\/fieldscience.cs.earlham.edu\/index.php\/2015\/09\/what-has-changed-fieldscience-yoctolib\/","title":{"rendered":"What has changed?! $FIELDSCIENCE &#038; YoctoLib"},"content":{"rendered":"<p>In our $FIELDSCIENCE Android application we use a library from Yoctopuce.com called YoctoLib which works with hardware purchased from them. We use Yoctopuce hardware in our Ambiance platform, and in the Ambiance skin in the app.<\/p>\n<p>This library and code was working &#8212; recognizes the USB Yoctopuce devices that are plugged into the device and reading sensor data from them &#8212; the last time I used it (~July). Since then, something has gone wrong. The application will no longer read data from the sensors plugged in. I finally got it to at least recognize the device, but no data is being read. I suspect that this happened because of the move to Android Studio. Android Studio must have internally changed the way it uses APIs, which is what I am trying to figure out.<\/p>\n<p>This further pushes me to believe that switching to Bluetooth to use the Yocto devices is necessary. Since the Yocto devices have to plug in via USB, each time I need to test the code, I have to upload the code to the Android device and then unplug the device from the computer so I can plug in the Yocto devices. This makes it difficult for debugging. If the device is plugged into the computer, Android Studio will constantly log messages from any application in real-time to the screen. Android keeps log messages even if the device is unplugged, and will load them once the device is plugged back in, but it&#8217;s all the messages (which is A LOT) from the test at once. It&#8217;s hard to go back through and figure out where something went wrong.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In our $FIELDSCIENCE Android application we use a library from Yoctopuce.com called YoctoLib which works with hardware purchased from them. We use Yoctopuce hardware in our Ambiance platform, and in the Ambiance skin in the app. This library and code &hellip; <a href=\"https:\/\/fieldscience.cs.earlham.edu\/index.php\/2015\/09\/what-has-changed-fieldscience-yoctolib\/\">Read More<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"kt_blocks_editor_width":"","footnotes":""},"categories":[1,11],"tags":[15,27,20,28,44,45,16,42,29,23,43],"class_list":["post-249","post","type-post","status-publish","format-standard","hentry","category-kristin","category-progress-reports","tag-android","tag-application","tag-bluetooth","tag-code","tag-collecting-data","tag-debugging","tag-development","tag-sensor","tag-studio","tag-yocto","tag-yoctolib"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>What has changed?! $FIELDSCIENCE &amp; YoctoLib - fieldscience @ earlham<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/fieldscience.cs.earlham.edu\/index.php\/2015\/09\/what-has-changed-fieldscience-yoctolib\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What has changed?! $FIELDSCIENCE &amp; YoctoLib - fieldscience @ earlham\" \/>\n<meta property=\"og:description\" content=\"In our $FIELDSCIENCE Android application we use a library from Yoctopuce.com called YoctoLib which works with hardware purchased from them. We use Yoctopuce hardware in our Ambiance platform, and in the Ambiance skin in the app. This library and code &hellip; Read More\" \/>\n<meta property=\"og:url\" content=\"https:\/\/fieldscience.cs.earlham.edu\/index.php\/2015\/09\/what-has-changed-fieldscience-yoctolib\/\" \/>\n<meta property=\"og:site_name\" content=\"fieldscience @ earlham\" \/>\n<meta property=\"article:published_time\" content=\"2015-09-21T14:29:20+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2015-10-05T17:53:23+00:00\" \/>\n<meta name=\"author\" content=\"Kristin Muterspaw\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Kristin Muterspaw\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/fieldscience.cs.earlham.edu\\\/index.php\\\/2015\\\/09\\\/what-has-changed-fieldscience-yoctolib\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/fieldscience.cs.earlham.edu\\\/index.php\\\/2015\\\/09\\\/what-has-changed-fieldscience-yoctolib\\\/\"},\"author\":{\"name\":\"Kristin Muterspaw\",\"@id\":\"https:\\\/\\\/fieldscience.cs.earlham.edu\\\/#\\\/schema\\\/person\\\/2559340425ea97e18ee79c40f3365222\"},\"headline\":\"What has changed?! $FIELDSCIENCE &#038; YoctoLib\",\"datePublished\":\"2015-09-21T14:29:20+00:00\",\"dateModified\":\"2015-10-05T17:53:23+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/fieldscience.cs.earlham.edu\\\/index.php\\\/2015\\\/09\\\/what-has-changed-fieldscience-yoctolib\\\/\"},\"wordCount\":279,\"commentCount\":0,\"keywords\":[\"android\",\"application\",\"bluetooth\",\"code\",\"collecting data\",\"debugging\",\"development\",\"sensor\",\"studio\",\"yocto\",\"yoctolib\"],\"articleSection\":[\"Kristin\",\"Progress Reports\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/fieldscience.cs.earlham.edu\\\/index.php\\\/2015\\\/09\\\/what-has-changed-fieldscience-yoctolib\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/fieldscience.cs.earlham.edu\\\/index.php\\\/2015\\\/09\\\/what-has-changed-fieldscience-yoctolib\\\/\",\"url\":\"https:\\\/\\\/fieldscience.cs.earlham.edu\\\/index.php\\\/2015\\\/09\\\/what-has-changed-fieldscience-yoctolib\\\/\",\"name\":\"What has changed?! $FIELDSCIENCE & YoctoLib - fieldscience @ earlham\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/fieldscience.cs.earlham.edu\\\/#website\"},\"datePublished\":\"2015-09-21T14:29:20+00:00\",\"dateModified\":\"2015-10-05T17:53:23+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/fieldscience.cs.earlham.edu\\\/#\\\/schema\\\/person\\\/2559340425ea97e18ee79c40f3365222\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/fieldscience.cs.earlham.edu\\\/index.php\\\/2015\\\/09\\\/what-has-changed-fieldscience-yoctolib\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/fieldscience.cs.earlham.edu\\\/index.php\\\/2015\\\/09\\\/what-has-changed-fieldscience-yoctolib\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/fieldscience.cs.earlham.edu\\\/index.php\\\/2015\\\/09\\\/what-has-changed-fieldscience-yoctolib\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/fieldscience.cs.earlham.edu\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"What has changed?! $FIELDSCIENCE &#038; YoctoLib\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/fieldscience.cs.earlham.edu\\\/#website\",\"url\":\"https:\\\/\\\/fieldscience.cs.earlham.edu\\\/\",\"name\":\"fieldscience @ earlham\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/fieldscience.cs.earlham.edu\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/fieldscience.cs.earlham.edu\\\/#\\\/schema\\\/person\\\/2559340425ea97e18ee79c40f3365222\",\"name\":\"Kristin Muterspaw\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e7c298ecf2dd418cede9d8bbea149b1fd9aa9135a540aef28db205ac8749c8f2?s=96&d=wavatar&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e7c298ecf2dd418cede9d8bbea149b1fd9aa9135a540aef28db205ac8749c8f2?s=96&d=wavatar&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e7c298ecf2dd418cede9d8bbea149b1fd9aa9135a540aef28db205ac8749c8f2?s=96&d=wavatar&r=g\",\"caption\":\"Kristin Muterspaw\"},\"url\":\"https:\\\/\\\/fieldscience.cs.earlham.edu\\\/index.php\\\/author\\\/kmmuterspaw\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What has changed?! $FIELDSCIENCE & YoctoLib - fieldscience @ earlham","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/fieldscience.cs.earlham.edu\/index.php\/2015\/09\/what-has-changed-fieldscience-yoctolib\/","og_locale":"en_US","og_type":"article","og_title":"What has changed?! $FIELDSCIENCE & YoctoLib - fieldscience @ earlham","og_description":"In our $FIELDSCIENCE Android application we use a library from Yoctopuce.com called YoctoLib which works with hardware purchased from them. We use Yoctopuce hardware in our Ambiance platform, and in the Ambiance skin in the app. This library and code &hellip; Read More","og_url":"https:\/\/fieldscience.cs.earlham.edu\/index.php\/2015\/09\/what-has-changed-fieldscience-yoctolib\/","og_site_name":"fieldscience @ earlham","article_published_time":"2015-09-21T14:29:20+00:00","article_modified_time":"2015-10-05T17:53:23+00:00","author":"Kristin Muterspaw","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Kristin Muterspaw","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/fieldscience.cs.earlham.edu\/index.php\/2015\/09\/what-has-changed-fieldscience-yoctolib\/#article","isPartOf":{"@id":"https:\/\/fieldscience.cs.earlham.edu\/index.php\/2015\/09\/what-has-changed-fieldscience-yoctolib\/"},"author":{"name":"Kristin Muterspaw","@id":"https:\/\/fieldscience.cs.earlham.edu\/#\/schema\/person\/2559340425ea97e18ee79c40f3365222"},"headline":"What has changed?! $FIELDSCIENCE &#038; YoctoLib","datePublished":"2015-09-21T14:29:20+00:00","dateModified":"2015-10-05T17:53:23+00:00","mainEntityOfPage":{"@id":"https:\/\/fieldscience.cs.earlham.edu\/index.php\/2015\/09\/what-has-changed-fieldscience-yoctolib\/"},"wordCount":279,"commentCount":0,"keywords":["android","application","bluetooth","code","collecting data","debugging","development","sensor","studio","yocto","yoctolib"],"articleSection":["Kristin","Progress Reports"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/fieldscience.cs.earlham.edu\/index.php\/2015\/09\/what-has-changed-fieldscience-yoctolib\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/fieldscience.cs.earlham.edu\/index.php\/2015\/09\/what-has-changed-fieldscience-yoctolib\/","url":"https:\/\/fieldscience.cs.earlham.edu\/index.php\/2015\/09\/what-has-changed-fieldscience-yoctolib\/","name":"What has changed?! $FIELDSCIENCE & YoctoLib - fieldscience @ earlham","isPartOf":{"@id":"https:\/\/fieldscience.cs.earlham.edu\/#website"},"datePublished":"2015-09-21T14:29:20+00:00","dateModified":"2015-10-05T17:53:23+00:00","author":{"@id":"https:\/\/fieldscience.cs.earlham.edu\/#\/schema\/person\/2559340425ea97e18ee79c40f3365222"},"breadcrumb":{"@id":"https:\/\/fieldscience.cs.earlham.edu\/index.php\/2015\/09\/what-has-changed-fieldscience-yoctolib\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/fieldscience.cs.earlham.edu\/index.php\/2015\/09\/what-has-changed-fieldscience-yoctolib\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/fieldscience.cs.earlham.edu\/index.php\/2015\/09\/what-has-changed-fieldscience-yoctolib\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/fieldscience.cs.earlham.edu\/"},{"@type":"ListItem","position":2,"name":"What has changed?! $FIELDSCIENCE &#038; YoctoLib"}]},{"@type":"WebSite","@id":"https:\/\/fieldscience.cs.earlham.edu\/#website","url":"https:\/\/fieldscience.cs.earlham.edu\/","name":"fieldscience @ earlham","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/fieldscience.cs.earlham.edu\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/fieldscience.cs.earlham.edu\/#\/schema\/person\/2559340425ea97e18ee79c40f3365222","name":"Kristin Muterspaw","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/e7c298ecf2dd418cede9d8bbea149b1fd9aa9135a540aef28db205ac8749c8f2?s=96&d=wavatar&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/e7c298ecf2dd418cede9d8bbea149b1fd9aa9135a540aef28db205ac8749c8f2?s=96&d=wavatar&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e7c298ecf2dd418cede9d8bbea149b1fd9aa9135a540aef28db205ac8749c8f2?s=96&d=wavatar&r=g","caption":"Kristin Muterspaw"},"url":"https:\/\/fieldscience.cs.earlham.edu\/index.php\/author\/kmmuterspaw\/"}]}},"_links":{"self":[{"href":"https:\/\/fieldscience.cs.earlham.edu\/index.php\/wp-json\/wp\/v2\/posts\/249","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fieldscience.cs.earlham.edu\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fieldscience.cs.earlham.edu\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fieldscience.cs.earlham.edu\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fieldscience.cs.earlham.edu\/index.php\/wp-json\/wp\/v2\/comments?post=249"}],"version-history":[{"count":2,"href":"https:\/\/fieldscience.cs.earlham.edu\/index.php\/wp-json\/wp\/v2\/posts\/249\/revisions"}],"predecessor-version":[{"id":338,"href":"https:\/\/fieldscience.cs.earlham.edu\/index.php\/wp-json\/wp\/v2\/posts\/249\/revisions\/338"}],"wp:attachment":[{"href":"https:\/\/fieldscience.cs.earlham.edu\/index.php\/wp-json\/wp\/v2\/media?parent=249"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fieldscience.cs.earlham.edu\/index.php\/wp-json\/wp\/v2\/categories?post=249"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fieldscience.cs.earlham.edu\/index.php\/wp-json\/wp\/v2\/tags?post=249"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}