<?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>in S310 after ant chanell closed the ble crash to advertise</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/17543/in-s310-after-ant-chanell-closed-the-ble-crash-to-advertise</link><description>hi
its first in this event 
 on_ant_evt_channel_closed
 
 and then 
 storage_access_complete_handler();
 
 then it try to advertise by this 
 sd_ble_gap_adv_start
 
 and then 
 it is in app_error_handler and the error code is 536881920 and</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 07 Nov 2016 13:45:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/17543/in-s310-after-ant-chanell-closed-the-ble-crash-to-advertise" /><item><title>RE: in S310 after ant chanell closed the ble crash to advertise</title><link>https://devzone.nordicsemi.com/thread/67457?ContentTypeID=1</link><pubDate>Mon, 07 Nov 2016 13:45:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:32a6dd91-a3ff-41c4-a08d-230f865b3e3d</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Isn&amp;#39;t this a &lt;a href="https://devzone.nordicsemi.com/question/101803/error-code-is-536881912/"&gt;duplicate&lt;/a&gt;? I don&amp;#39;t think that is a valid error code. Have you turned off optimizations? Are you trying to start connectable advertising while you are in a connection? Then sd_ble_gap_adv_start() will return NRF_ERROR_INVALID_STATE&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>