<?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>SDK7.2.0 to SDK8.1.0 migration problems</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/7926/sdk7-2-0-to-sdk8-1-0-migration-problems</link><description>Hi 
 I thought: let us quickly migrate to the latest SDK.
But that seems to be harder than anticipated.
I run into a number issues when compiling with the new code: 
 
 
 too few arguments in sd_ble_gatts_sys_attr_set : which flag should I use?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 02 Jul 2015 18:12:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/7926/sdk7-2-0-to-sdk8-1-0-migration-problems" /><item><title>RE: SDK7.2.0 to SDK8.1.0 migration problems</title><link>https://devzone.nordicsemi.com/thread/28325?ContentTypeID=1</link><pubDate>Thu, 02 Jul 2015 18:12:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:88013637-f9d0-40c1-9f48-197a7a41a23c</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;If you want to use both app_gpiote library and nrf_drv_gpiote, there is a conflict,
I created a thread for it.
&lt;a href="https://devzone.nordicsemi.com/question/40670/sdk81-app_gpiote-and-nrf_drv_gpiote-conflict/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK7.2.0 to SDK8.1.0 migration problems</title><link>https://devzone.nordicsemi.com/thread/28324?ContentTypeID=1</link><pubDate>Wed, 01 Jul 2015 10:56:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e2bfc287-23cb-4c47-8a90-c3a432ac4933</guid><dc:creator>wim</dc:creator><description>&lt;p&gt;ok, clear;&lt;/p&gt;
&lt;p&gt;Some additional questions, things that are not covered by the migration document: the button en gpiote libraries also seem to have changed. What is then philosophy there?
See also &lt;a href="https://devzone.nordicsemi.com/question/43263/where-did-the-app_button_init-go-in-sdk-810/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I get following linker errors:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;In function `buttons_init&amp;#39;: 
    undefined reference to `APP_BUTTON_INIT&amp;#39;
In function `detection_delay_timeout_handler&amp;#39;:
    undefined reference to `nrf_drv_gpiote_in_is_set&amp;#39;
In function `gpiote_event_handler&amp;#39;:
    undefined reference to `nrf_drv_gpiote_in_is_set&amp;#39;
In function `app_button_init&amp;#39;:
    undefined reference to `nrf_drv_gpiote_is_init&amp;#39;
    undefined reference to `nrf_drv_gpiote_init&amp;#39;
    undefined reference to `nrf_drv_gpiote_in_init&amp;#39;
In function `app_button_enable&amp;#39;:
    undefined reference to `nrf_drv_gpiote_in_event_enable&amp;#39;
In function `app_button_disable&amp;#39;:
    undefined reference to `nrf_drv_gpiote_in_event_disable&amp;#39;
In function `app_button_is_pushed&amp;#39;:
    undefined reference to `nrf_drv_gpiote_in_is_set&amp;#39;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;I then tried to add nrf_drive_gpiote.c to my project, but then I get lots of other errors.
Please help&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK7.2.0 to SDK8.1.0 migration problems</title><link>https://devzone.nordicsemi.com/thread/28323?ContentTypeID=1</link><pubDate>Wed, 01 Jul 2015 10:31:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:452f7ec3-7c88-4e15-88d3-9ccc68e31054</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;In your case you do not have to implement BLE_GAP_EVT_SEC_INFO_REQUEST. The peer will automatically understand that this device does not have any security&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK7.2.0 to SDK8.1.0 migration problems</title><link>https://devzone.nordicsemi.com/thread/28329?ContentTypeID=1</link><pubDate>Wed, 01 Jul 2015 08:36:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:161bb22c-957c-431f-bb23-fcb55b9c8865</guid><dc:creator>wim</dc:creator><description>&lt;p&gt;ok, clear;
how about the sd_ble_gap_sec_info_reply - currently I have this code:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;   case BLE_GAP_EVT_SEC_INFO_REQUEST:
        p_enc_info = &amp;amp;m_auth_status.periph_keys.enc_info;
        if (p_enc_info-&amp;gt;div == p_ble_evt-&amp;gt;evt.gap_evt.params.sec_info_request.div)
        {
            err_code = sd_ble_gap_sec_info_reply(m_conn_handle, p_enc_info, NULL);
            APP_ERROR_CHECK(err_code);
        }
        else
        {
            // No keys found for this device
            err_code = sd_ble_gap_sec_info_reply(m_conn_handle, NULL, NULL);
            APP_ERROR_CHECK(err_code);
        }
        break;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;How should I rewrite this? Should I just do&lt;/p&gt;
&lt;p&gt;err_code = sd_ble_gap_sec_info_reply(m_conn_handle,NULL, NULL, NULL); ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK7.2.0 to SDK8.1.0 migration problems</title><link>https://devzone.nordicsemi.com/thread/28328?ContentTypeID=1</link><pubDate>Wed, 01 Jul 2015 08:29:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cbcf62dd-cde9-445e-bb67-ffb5da077523</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;The LBS example is not adapted to latest SDK. But you can check ble_app_uart example which does not do any bonding.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;sd_ble_gap_sec_params_reply(m_conn_handle, BLE_GAP_SEC_STATUS_PAIRING_NOT_SUPP, NULL, NULL);
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK7.2.0 to SDK8.1.0 migration problems</title><link>https://devzone.nordicsemi.com/thread/28327?ContentTypeID=1</link><pubDate>Wed, 01 Jul 2015 08:05:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:05862bcf-b4cc-4e9c-81e3-e95f1632cd05</guid><dc:creator>wim</dc:creator><description>&lt;p&gt;The reason for me asking: I am not using bonding, and in the release notes it says what to do in case of bonding, but not in the other case; should I make the pointers NULL in the sd_ble_gap_sec_params_reply? Or do I have to instantiate some dummy security parameters struct?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK7.2.0 to SDK8.1.0 migration problems</title><link>https://devzone.nordicsemi.com/thread/28326?ContentTypeID=1</link><pubDate>Wed, 01 Jul 2015 08:00:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ed9ecae-7729-4081-a171-4b3f8135fd99</guid><dc:creator>wim</dc:creator><description>&lt;p&gt;Aryan&lt;/p&gt;
&lt;p&gt;thanks for the document. Question: is the LBS example and app note adapted accordingly?
Or is there an example I could check, which does not need pairing or bonding or security?&lt;/p&gt;
&lt;p&gt;Wim&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK7.2.0 to SDK8.1.0 migration problems</title><link>https://devzone.nordicsemi.com/thread/28322?ContentTypeID=1</link><pubDate>Wed, 01 Jul 2015 07:25:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a275c46-dbdc-4713-84dd-958fb9c74449</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Please read the migration documents of SD8.0 version. All the answers to your questions are clearly explained there.
For your convenience, I am attaching them here.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/s110_5F00_nrf51_5F00_8.0.0_5F00_migration_2D00_document.pdf"&gt;s110_nrf51_8.0.0_migration-document.pdf&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>