<?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>seperating services init related functions from main.c</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/62095/seperating-services-init-related-functions-from-main-c</link><description>Hi, 
 I do have customized services in my project to implement,I think it would be easy if we seperate service related functions from main to add services in further.To serve this need I tried seperating services_init function and its related functions</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 03 Jun 2020 11:11:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/62095/seperating-services-init-related-functions-from-main-c" /><item><title>RE: seperating services init related functions from main.c</title><link>https://devzone.nordicsemi.com/thread/252971?ContentTypeID=1</link><pubDate>Wed, 03 Jun 2020 11:11:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8d89c19-065c-4e02-9261-9573ade24225</guid><dc:creator>swathi p</dc:creator><description>&lt;p&gt;Thank you for the reply.yes now I am calling functions from seperate file and yes,added all header files and compiled.&lt;/p&gt;
&lt;p&gt;I have noticed below error&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/7230.error.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The above error is from below statement&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/errorfrom.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards,&lt;/p&gt;
&lt;p&gt;Swathi P&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: seperating services init related functions from main.c</title><link>https://devzone.nordicsemi.com/thread/252964?ContentTypeID=1</link><pubDate>Wed, 03 Jun 2020 10:54:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5c0b223-5376-44b2-b72f-eb21654b0d6d</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It is hard to tell without your code, but:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Where are you calling the functions (now in a separate file) from?&lt;/li&gt;
&lt;li&gt;Have you made both header files and c files, added the c files to be compiled and included the header files from main.c?&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>