<?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>bluetooth disconnect callback is called only one.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/21737/bluetooth-disconnect-callback-is-called-only-one</link><description>Preferences: nRF52832 chip, s132_nrf52_4.0.2_softdevice 
 Two or more nRF52832 chip are connected to iOS and Android.
And do bluetooth off in smart phone.
this case, bluetooth disconnect callback function is called only one.
but, if do that in TI</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 15 May 2017 07:28:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/21737/bluetooth-disconnect-callback-is-called-only-one" /><item><title>RE: bluetooth disconnect callback is called only one.</title><link>https://devzone.nordicsemi.com/thread/85381?ContentTypeID=1</link><pubDate>Mon, 15 May 2017 07:28:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:90d2fd33-bae7-4048-b216-262b092911df</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;You can try to use nRFConnect and NRFToolbox concurrently (minimize one of them), then you have 2 device connected at the same time to test.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: bluetooth disconnect callback is called only one.</title><link>https://devzone.nordicsemi.com/thread/85378?ContentTypeID=1</link><pubDate>Fri, 12 May 2017 08:23:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c06cbac9-42cb-40ff-bfc6-9576352291dd</guid><dc:creator>y2doo</dc:creator><description>&lt;p&gt;I checked all peripherals state. this is normal. maybe that is running in iOS inside without disconnect callback function. Anyway, I will iOS code change because disconnect callback is not called.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: bluetooth disconnect callback is called only one.</title><link>https://devzone.nordicsemi.com/thread/85382?ContentTypeID=1</link><pubDate>Fri, 12 May 2017 08:15:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c7d30103-69c3-4f0a-bc13-af7d3ced25e2</guid><dc:creator>y2doo</dc:creator><description>&lt;p&gt;I want nRFConnect and nRFToolbox. but that can&amp;#39;t connect many nRF device at same time.
And I tried connecting device through sample app in ble stack without my firmware.(ble_app_proxy &amp;amp; ble_app_blink)
But, this problem is same.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: bluetooth disconnect callback is called only one.</title><link>https://devzone.nordicsemi.com/thread/85379?ContentTypeID=1</link><pubDate>Fri, 12 May 2017 08:08:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4748f3c5-db69-42e1-97f8-d443f618fad8</guid><dc:creator>y2doo</dc:creator><description>&lt;p&gt;Thanks. Maybe iOS disconnect callback function is closed when bluetooth turn off. So, Bluetooth disconnect callback function is called a little and that closed. When bluetooth turn off in iOS, all nRF device state are disconnected in another function.
I tried change connection time, interval and etc. but this problem keep in iOS.
I don&amp;#39;t know why TI chip is normal. but, i guess that disconnect callback closed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: bluetooth disconnect callback is called only one.</title><link>https://devzone.nordicsemi.com/thread/85377?ContentTypeID=1</link><pubDate>Wed, 10 May 2017 10:44:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dee4fb6f-4424-42e0-8ad2-d056bc678b0d</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;@y2doo. Are you saying the didDisconnectPeripheral method is not invoked for all the peripherals, but only for one or two?&lt;/p&gt;
&lt;p&gt;Could it be that Corebluetooth do not have enough time to do this before it is shut down? Maybe you can check the error message to see if you should go through all peripherals to check the state? Maybe just check the state of the CBcentral/peripheral manager?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: bluetooth disconnect callback is called only one.</title><link>https://devzone.nordicsemi.com/thread/85380?ContentTypeID=1</link><pubDate>Mon, 08 May 2017 07:53:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:470e3cbd-e195-4ded-a838-4fcf2806151f</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi y2doo,&lt;/p&gt;
&lt;p&gt;To verify it&amp;#39;s not the app issue, could you try to use nRFConnect and nRFToolbox at the same time to connect to the devices in addition to your app ? Also please try to test with example in the SDK such as the ble_app_hrs (so that you can connect using nRFToolbox).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: bluetooth disconnect callback is called only one.</title><link>https://devzone.nordicsemi.com/thread/85376?ContentTypeID=1</link><pubDate>Mon, 08 May 2017 03:52:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb4e5247-4e70-48bf-99bb-a4e689fd5658</guid><dc:creator>y2doo</dc:creator><description>&lt;p&gt;Hello Hung Bui,
i need called disconnect callback in iOS. The operation of the nRF device is normal.
5 nRF device and iOS are connected.
when bluetooth turned off in iOS, iOS called disconnect callback only one or two.
And actually all device is disconnected.
why? please, help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: bluetooth disconnect callback is called only one.</title><link>https://devzone.nordicsemi.com/thread/85375?ContentTypeID=1</link><pubDate>Tue, 02 May 2017 11:39:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cf185c35-9da9-4d9a-9ef8-89fd2e9961c9</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi y2doo,&lt;/p&gt;
&lt;p&gt;I have a little trouble understand your question. What do you mean by &amp;quot;disconnect callback function is called only one&amp;quot; it was the call back on the phone or on the nRF52 ? You meant that on the phone after you turn off Bluetooth, it still show some of the nRF52 devices are still connected ?&lt;/p&gt;
&lt;p&gt;Which app did you use ? Have you tried to use nRFConnect app ? Which phone did you to test ? Did you see the same behavior on both iOS and Android ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>