<?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>Hang on BLE connect - custom service SDK13 migration</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/22382/hang-on-ble-connect---custom-service-sdk13-migration</link><description>I&amp;#39;m migrating from SDK11 to SDK13. My custom service is based off Heart Rate Service, so I started from the new SDK13 example of HRS, and updated all the initialization code following the new example. 
 Changed: ble_cg.common_cg.vs_uuid__cfg.vs_uuid_count</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 29 Jun 2017 20:17:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/22382/hang-on-ble-connect---custom-service-sdk13-migration" /><item><title>RE: Hang on BLE connect - custom service SDK13 migration</title><link>https://devzone.nordicsemi.com/thread/88007?ContentTypeID=1</link><pubDate>Thu, 29 Jun 2017 20:17:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c0be02f-f6d9-4143-8211-fabcb484da31</guid><dc:creator>kmorris</dc:creator><description>&lt;p&gt;So I ended up just starting from the new SDK13 version of HRS and modifying to fit my custom service and that part is working now. I now have a new issue, related, but not the same, so I&amp;#39;ll open a new question.
Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hang on BLE connect - custom service SDK13 migration</title><link>https://devzone.nordicsemi.com/thread/88008?ContentTypeID=1</link><pubDate>Wed, 31 May 2017 11:40:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:11c6e16c-21a4-4208-893c-19c6a736473d</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;I guess this will not change anything, but could you move ble_cgm_on_ble_evt() out of cgm_on_ble_evt() and call  ble_cgm_on_ble_evt() directly from ble_evt_dispatch() instead, and check if it changes anything?&lt;/p&gt;
&lt;p&gt;If you run the chip in debug mode, and stop the process when the chip is hanging, where does the chip stop?&lt;/p&gt;
&lt;p&gt;What happens if you set a breakpoint in the on_connect() function when ble_cgm_on_ble_evt() is placed inside cgm_on_ble_evt()?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hang on BLE connect - custom service SDK13 migration</title><link>https://devzone.nordicsemi.com/thread/88009?ContentTypeID=1</link><pubDate>Tue, 30 May 2017 15:06:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:88f336ca-3f96-461d-a935-29c42c18373f</guid><dc:creator>kmorris</dc:creator><description>&lt;p&gt;Thanks Kristin, that&amp;#39;s what I figured about the connection handle. I updated the question with some more code.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hang on BLE connect - custom service SDK13 migration</title><link>https://devzone.nordicsemi.com/thread/88006?ContentTypeID=1</link><pubDate>Mon, 29 May 2017 07:40:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2cff091b-1eeb-4b33-828e-a08c5b7d4a89</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;The first connection will have connection handle &amp;#39;0&amp;#39;.  And, it should not be a problem assigning a connection handle to &amp;#39;0&amp;#39;, a connection handle is just a reference for the application to the various connections.&lt;/p&gt;
&lt;p&gt;What does the code calling &lt;code&gt;on_connect()&lt;/code&gt; look like?&lt;/p&gt;
&lt;p&gt;When calling &lt;code&gt;on_connect()&lt;/code&gt;, how is the input parameter p_cgm defined?&lt;/p&gt;
&lt;p&gt;What does  the struct &lt;code&gt;ble_cgm_t&lt;/code&gt; look like?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>