{"id":1102,"date":"2012-10-06T20:16:33","date_gmt":"2012-10-06T12:16:33","guid":{"rendered":"http:\/\/www.rocketscream.com\/blog\/?p=1102"},"modified":"2013-06-12T10:43:11","modified_gmt":"2013-06-12T02:43:11","slug":"updated-wismo228-library-for-arduino","status":"publish","type":"post","link":"https:\/\/www.rocketscream.com\/blog\/2012\/10\/06\/updated-wismo228-library-for-arduino\/","title":{"rendered":"Updated &#8211; WISMO228 Library for Arduino"},"content":{"rendered":"<p>We have just updated the <a title=\"WISMO228 Library for Arduino\" href=\"https:\/\/github.com\/rocketscream\/WISMO228\" target=\"_blank\">WISMO228 library for Arduino<\/a> which is used on our <a title=\"TraLog\" href=\"http:\/\/www.rocketscream.com\/shop\/tralog\" target=\"_blank\">TraLog shield<\/a>. Some of the changes are as follow:<!--more--><\/p>\n<ul>\n<li>Reduce the amount of RAM usage by moving all AT command responses\u00a0from WISMO228 into flash which allows the complete use of the\u00a0\u00a0&#8220;stream find&#8221; function.<\/li>\n<li>Added HTTP PUT method which can be used to upload data to Cosm or\u00a0Pachube. An example is also added\u00a0on using the HTTP PUT method to upload data to Cosm.<\/li>\n<li>Added retry mechanism to connect to GPRS.<\/li>\n<li>Added retry mechanism to open a port with remote server.<\/li>\n<li>Removed power up delay and replaced with module ready query.<\/li>\n<\/ul>\n<p>Coming up next is a sample project on how to use the TraLog shield as a vehicle tracking &amp; logging device. Most of the changes on the library was done based on the problems &amp; bugs we faced during this project. For example, establishing a GPRS connection can be trickier and harder\u00a0on a moving vehicle compared to a stagnant position. Another big challenge was making the footprint of the library as small as possible (while adding more functionality) as we also need use the SD library for logging and also the <a title=\"TinyGPS\" href=\"http:\/\/arduiniana.org\/libraries\/tinygps\/\" target=\"_blank\">TinyGPS library<\/a> for GPS NMEA output decoding.<\/p>\n<p>Take care &amp; happy tinkering.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We have just updated the WISMO228 library for Arduino which is used on our TraLog shield. Some of the changes are as follow:<\/p>\n","protected":false},"author":1,"featured_media":1103,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"categories":[57,4],"tags":[151,36,35,39],"class_list":["post-1102","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-libraries","category-news","tag-arduino","tag-gprs","tag-gsm","tag-tralog"],"_links":{"self":[{"href":"https:\/\/www.rocketscream.com\/blog\/wp-json\/wp\/v2\/posts\/1102","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rocketscream.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rocketscream.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rocketscream.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rocketscream.com\/blog\/wp-json\/wp\/v2\/comments?post=1102"}],"version-history":[{"count":4,"href":"https:\/\/www.rocketscream.com\/blog\/wp-json\/wp\/v2\/posts\/1102\/revisions"}],"predecessor-version":[{"id":1361,"href":"https:\/\/www.rocketscream.com\/blog\/wp-json\/wp\/v2\/posts\/1102\/revisions\/1361"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rocketscream.com\/blog\/wp-json\/wp\/v2\/media\/1103"}],"wp:attachment":[{"href":"https:\/\/www.rocketscream.com\/blog\/wp-json\/wp\/v2\/media?parent=1102"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rocketscream.com\/blog\/wp-json\/wp\/v2\/categories?post=1102"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rocketscream.com\/blog\/wp-json\/wp\/v2\/tags?post=1102"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}