<?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>error: invalid state upon disconnect</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/4026/error-invalid-state-upon-disconnect</link><description>hiii..... 
 am doing a project for implementing broadcasting while in active connection... i hv broadcastd datas successfully but the problem is when i disconnect the connection it stops advertising...actually it shuld advertise.. ryt? it shows an error</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 10 Oct 2014 11:59:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/4026/error-invalid-state-upon-disconnect" /><item><title>RE: error: invalid state upon disconnect</title><link>https://devzone.nordicsemi.com/thread/14436?ContentTypeID=1</link><pubDate>Fri, 10 Oct 2014 11:59:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bf926dd3-fbf6-4d26-adae-26f126a37a3c</guid><dc:creator>Asbj&amp;#248;rn</dc:creator><description>&lt;p&gt;Which chip, SDK and Softdevice are you using?&lt;/p&gt;
&lt;p&gt;Are you sure that you have disconnected once you try to start the connectable advertising again? What reason do you get from the ble_gap_evt_disconnect? Are you disconnecting from the peripheral or are you disconnecting from the central side?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: error: invalid state upon disconnect</title><link>https://devzone.nordicsemi.com/thread/14435?ContentTypeID=1</link><pubDate>Thu, 09 Oct 2014 03:54:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:90f867b1-bf13-4b76-bddd-8930406508f9</guid><dc:creator>sruthiraj koodathil</dc:creator><description>&lt;p&gt;hiii asbjorn.......&lt;/p&gt;
&lt;p&gt;wat am doing is i just called non_connectable advertising in connection evt in on_ble_evt..
and connectable advertising in disconnect evt.... but now error occurs in the connectable advertising_start function cllng from disconnect evt...&lt;/p&gt;
&lt;p&gt;i want to knw one more thing that is der any other evt occurs during disconnection ...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: error: invalid state upon disconnect</title><link>https://devzone.nordicsemi.com/thread/14434?ContentTypeID=1</link><pubDate>Wed, 08 Oct 2014 14:35:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a5d159f-6c36-401d-9948-ce3f142eef5c</guid><dc:creator>Asbj&amp;#248;rn</dc:creator><description>&lt;p&gt;Not sure which example you&amp;#39;re running, but yes, you should be able to do advertising while you&amp;#39;re in a connection. After(if the connection is lost, you would have to initiate the advertising again. In connected state you can only to non-connectable advertising, so you can broadcast, but not have more than one connection at the time. The error message you get could indicate that you are trying to do connectable advertisements even though you are in a connection and this would fail.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/NordicSemiconductor/nRF51-multi-role-conn-observer-advertiser"&gt;You might also want to have a look at the code example here that does broadcasting while in connection.&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>