{"id":144428,"date":"2020-06-01T18:48:50","date_gmt":"2020-06-02T01:48:50","guid":{"rendered":"https:\/\/m2msupport.net\/m2msupport\/?page_id=144428"},"modified":"2020-06-02T06:20:15","modified_gmt":"2020-06-02T13:20:15","slug":"write-to-a-file-in-simcom-modules","status":"publish","type":"page","link":"https:\/\/m2msupport.net\/m2msupport\/write-to-a-file-in-simcom-modules\/","title":{"rendered":"Write to a file in Simcom modules"},"content":{"rendered":"<p>To write to a file in SIM7XX modules,<\/p>\n<ul>\n<li>Allocate data buffer using the AT+CFSINIT command<\/li>\n<li>Setup the folder, file name and the mode (append or overwrite)using the AT+CFSWFILE command<\/li>\n<li>Write the file data to the serial port<\/li>\n<li>Free the data buffer using the AT+CFSTERM command<\/li>\n<\/ul>\n<p><a href=\"https:\/\/m2msupport.net\/m2msupport\/download-at-command-tester-for-simcom-modules\/\">AT Command Tester<\/a> tool provides an easy to use interface to test writing files to Simcom modules.<\/p>\n<h2><strong>Write file to device<\/strong><\/h2>\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2020\/06\/sim7xxx_file_write.png\" alt=\"\" class=\"wp-image-32155\"\/><\/figure>\n\n\n<div class=\"video-responsive\"><iframe loading=\"lazy\" id=\"youTubePlayer\" src=\"https:\/\/www.youtube.com\/embed\/RSPa63meWxc\" width=\"750\" height=\"421\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/div>","protected":false},"excerpt":{"rendered":"<p>To write to a file in SIM7XX modules, Allocate data buffer using the AT+CFSINIT command Setup the folder, file name and the mode (append or overwrite)using the AT+CFSWFILE command Write the file data to the serial port Free the data &hellip; <a href=\"https:\/\/m2msupport.net\/m2msupport\/write-to-a-file-in-simcom-modules\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"software_howto.php","meta":{"footnotes":""},"class_list":["post-144428","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages\/144428","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/comments?post=144428"}],"version-history":[{"count":4,"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages\/144428\/revisions"}],"predecessor-version":[{"id":144468,"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages\/144428\/revisions\/144468"}],"wp:attachment":[{"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/media?parent=144428"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}