<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>How do I save RSSI value information to a .csv file from the ble_app_interactive example?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/50717/how-do-i-save-rssi-value-information-to-a-csv-file-from-the-ble_app_interactive-example</link><description>I am trying to save rssi data that I print to the command line to a .csv file. 
 In the ble_app_interactive example in the cli_m.c file, here is my code: 
 
 Without the following lines, the command line runs: 
 
 FILE * fp = fopen(&amp;quot;rssi.csv&amp;quot;,&amp;quot;w&amp;quot;); /</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 09 Aug 2019 15:33:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/50717/how-do-i-save-rssi-value-information-to-a-csv-file-from-the-ble_app_interactive-example" /><item><title>RE: How do I save RSSI value information to a .csv file from the ble_app_interactive example?</title><link>https://devzone.nordicsemi.com/thread/203383?ContentTypeID=1</link><pubDate>Fri, 09 Aug 2019 15:33:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aa1988c4-6036-4d7c-bd4f-8bd61fc0fc0e</guid><dc:creator>ella482</dc:creator><description>&lt;p&gt;Thank you, Shusheel! I appreciate your help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How do I save RSSI value information to a .csv file from the ble_app_interactive example?</title><link>https://devzone.nordicsemi.com/thread/203205?ContentTypeID=1</link><pubDate>Fri, 09 Aug 2019 06:46:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a901bd59-bcad-4e1b-8869-aa5c2d146cea</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;send it over UART emulated COM port and then log it with a terminal device that is listening to the COM port. You then can have any program/Script running on the computer (and not on nRF device) to convert whatever you&amp;nbsp;received and logged (into some text file on the computer) into a CSV file)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How do I save RSSI value information to a .csv file from the ble_app_interactive example?</title><link>https://devzone.nordicsemi.com/thread/203171?ContentTypeID=1</link><pubDate>Thu, 08 Aug 2019 21:31:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:77fbac58-52b0-4842-8509-c071fcfb29d7</guid><dc:creator>ella482</dc:creator><description>&lt;p&gt;Thank you, I just realized that too. How can I transfer data from the DK to the computer, then?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How do I save RSSI value information to a .csv file from the ble_app_interactive example?</title><link>https://devzone.nordicsemi.com/thread/202959?ContentTypeID=1</link><pubDate>Thu, 08 Aug 2019 06:46:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ec9b5594-7318-4909-bf29-f6a07cb00b77</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;There is no filesystem on the nRF device on which fopen&amp;nbsp;could work. The test that works for you is running on your computer which has ubuntu OS and a file system on which fopen could work.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Apart from the fact&amp;nbsp;that file system is not supported in SDK we deliver, you also used fp pointer without even checking if it is a NULL pointer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How do I save RSSI value information to a .csv file from the ble_app_interactive example?</title><link>https://devzone.nordicsemi.com/thread/202898?ContentTypeID=1</link><pubDate>Wed, 07 Aug 2019 16:35:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8045cb1a-1c04-4e95-a8c5-7c5c830d4598</guid><dc:creator>ella482</dc:creator><description>&lt;p&gt;Thank you, Susheel!&lt;/p&gt;
&lt;p&gt;I appreciate your help even though the question was a little out there. I was just curious about how creating a csv file interacts with the rssi reading. It seems that once the csv code is placed in the ble_cli example, the example interacts in such a way that the csv creation does not work. Do you know why this could be?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How do I save RSSI value information to a .csv file from the ble_app_interactive example?</title><link>https://devzone.nordicsemi.com/thread/202788?ContentTypeID=1</link><pubDate>Wed, 07 Aug 2019 10:02:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8557fbfb-69a8-4431-aecd-f448f616682a</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Hmm, This question does not look very specific to Nordic. Your problem seems to be trouble with converting any signed value and putting it into CSV file.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am not an expert in CSV format but quick googling took me to &lt;a href="https://community.microfocus.com/t5/LoadRunner-User-Discussions/C-logic-for-writing-output-to-CSV-file-in-different-columns/td-p/585847"&gt;this&lt;/a&gt; thread that looks promising.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>