{"id":811,"date":"2014-04-15T09:29:42","date_gmt":"2014-04-15T13:29:42","guid":{"rendered":"http:\/\/fll-freak.com\/blog\/?p=811"},"modified":"2025-04-21T00:54:35","modified_gmt":"2025-04-21T04:54:35","slug":"found-the-nasty-bug","status":"publish","type":"post","link":"https:\/\/fll-freak.com\/blog\/?p=811","title":{"rendered":"Found the nasty bug."},"content":{"rendered":"<p>I was unable to allow the\u00a0dog to sleep. Had to find the bug or I was not going to be able to sleep.<\/p>\n<p>\u00a0After a few more occurances, I had enough data to give me reason to suspect I was going out of range on the GPS receiver buffer. So I instrumented that section of code and let it run. An hour later, the code triggered and I had my answer. The GPS decided to send me a message I had not registered. It was larger than the buffer size I had allocated based on the messages I had registered for. To make matters worst, I had an error in the code that checked that the message would fit in the buffer. Made the correction and let it run all night. No errors!<\/p>\n<p>Now its time to start logging the GPS data to the SD card.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I was unable to allow the\u00a0dog to sleep. Had to find the bug or I was not going to be able to sleep. \u00a0After a few more occurances, I had enough data to give me reason to suspect I was &hellip; <a href=\"https:\/\/fll-freak.com\/blog\/?p=811\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24,32],"tags":[],"class_list":["post-811","post","type-post","status-publish","format-standard","hentry","category-avc","category-ublock-lea-6h"],"_links":{"self":[{"href":"https:\/\/fll-freak.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/811","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fll-freak.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fll-freak.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fll-freak.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fll-freak.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=811"}],"version-history":[{"count":2,"href":"https:\/\/fll-freak.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/811\/revisions"}],"predecessor-version":[{"id":813,"href":"https:\/\/fll-freak.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/811\/revisions\/813"}],"wp:attachment":[{"href":"https:\/\/fll-freak.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=811"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fll-freak.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=811"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fll-freak.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=811"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}