<?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>FDS: Not finding records</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/29519/fds-not-finding-records</link><description>Hi all! 
 I&amp;#180;m trying to use FDS to read and write to my nRF51 using the example from Infocenter.
The write seems to be OK and returns 0x00.
But fds_record_find() returns 0x0A, which is FDS_ERR_NOT_FOUND? 
 Any ideas on what I do wrong? 
 My code</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 18 Jan 2018 08:26:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/29519/fds-not-finding-records" /><item><title>RE: FDS: Not finding records</title><link>https://devzone.nordicsemi.com/thread/117317?ContentTypeID=1</link><pubDate>Thu, 18 Jan 2018 08:26:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3273d2c6-31c1-4c21-a96d-6e2bfc009ca8</guid><dc:creator>Johan Dahlgren</dc:creator><description>&lt;p&gt;Thank you! The missing fs_sys_event_handler()  was my error. Moved my test-code into my application that is more properly setup with BLE, and there was the fs_sys_event_handler() already inplace. And then I got my read and writes :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FDS: Not finding records</title><link>https://devzone.nordicsemi.com/thread/117316?ContentTypeID=1</link><pubDate>Wed, 17 Jan 2018 16:43:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89774e10-bdfb-4bba-956d-56af1598ea1f</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;No, on SDK v12.3 there NRF_SDH_SOC_OBSERVER() is not used, you call fs_sys_event_handler() inside sys_evt_dispatch() in main.c instead.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FDS: Not finding records</title><link>https://devzone.nordicsemi.com/thread/117315?ContentTypeID=1</link><pubDate>Wed, 17 Jan 2018 13:52:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e15423b-ef17-436f-9e52-056f77203bee</guid><dc:creator>Johan Dahlgren</dc:creator><description>&lt;p&gt;I´m on SDK 12.3.0&lt;/p&gt;
&lt;p&gt;How do I register fstorage with NRF_SDH_SOC_OBSERVER?
Can´t find anything with that name i the fstorage.c file that I have?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FDS: Not finding records</title><link>https://devzone.nordicsemi.com/thread/117314?ContentTypeID=1</link><pubDate>Wed, 17 Jan 2018 12:41:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bb60cc56-160c-4665-8aa5-532cdd082886</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Which SDK are you working on ?&lt;/p&gt;
&lt;p&gt;Make sure you either have the fstorage registered with NRF_SDH_SOC_OBSERVER() or fs_sys_event_handler() is called in sys_evt_dispatch().&lt;/p&gt;
&lt;p&gt;We have an example &lt;a href="https://github.com/NordicPlayground/nRF5-flash-storage-examples/tree/master/fds_example"&gt;here&lt;/a&gt; that you can try.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>