<?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>Meizu M2 bricks nrf51822</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/28464/meizu-m2-bricks-nrf51822</link><description>We developed a device based on nrf51822.
We use SDK11 and module Device Manager to implement bonding.
We have received feedback from the user, that our deivice was bricked after
try to bond with Meizu M2. 
 In the course of the analysis, I determined</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 10 Mar 2018 07:48:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/28464/meizu-m2-bricks-nrf51822" /><item><title>RE: Meizu M2 bricks nrf51822</title><link>https://devzone.nordicsemi.com/thread/123770?ContentTypeID=1</link><pubDate>Sat, 10 Mar 2018 07:48:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4780329d-1e46-42a3-aa62-17ae521977af</guid><dc:creator>anna</dc:creator><description>&lt;p&gt;Hi，I have the same problem with you .Can you do me a faver ??Thank you very much .&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Meizu M2 bricks nrf51822</title><link>https://devzone.nordicsemi.com/thread/112514?ContentTypeID=1</link><pubDate>Thu, 28 Dec 2017 15:05:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e222d5c5-995f-450c-8b0b-c674d9bea10f</guid><dc:creator>Darrew</dc:creator><description>&lt;p&gt;I have posted a follow-up &lt;a href="https://devzone.nordicsemi.com/question/185483/whitelisting-of-peer-device-with-random-private-resolvable-address-failing/"&gt;question&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Meizu M2 bricks nrf51822</title><link>https://devzone.nordicsemi.com/thread/112510?ContentTypeID=1</link><pubDate>Fri, 06 Oct 2017 09:25:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9acfeddb-d975-4335-99fc-2331c1eaa17d</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;It is very rare, I asked the other guys here, I they haven&amp;#39;t experienced any phones using that address type.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Meizu M2 bricks nrf51822</title><link>https://devzone.nordicsemi.com/thread/112509?ContentTypeID=1</link><pubDate>Fri, 06 Oct 2017 07:38:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e4524ab-008e-4b9e-a78a-bdf7431c5b1d</guid><dc:creator>Sergey</dc:creator><description>&lt;p&gt;Thank you for explaining!&lt;/p&gt;
&lt;p&gt;It&amp;#39;s bad, that we did not take into account the presence of this type of address on the phones.
What is the tendency of using such types of addresses in BLE devices?
Do they occur more often or less often?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Meizu M2 bricks nrf51822</title><link>https://devzone.nordicsemi.com/thread/112513?ContentTypeID=1</link><pubDate>Wed, 04 Oct 2017 10:04:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:59035d8f-dcfe-4840-bc4d-4baa06d6f165</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;You cannot whitelist a random non-resolvable address. It is random, and you cannot resolve it. If you were to put the address into the whitelist, the device would change its address to something random, and then you would filter out an address of a known device.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Meizu M2 bricks nrf51822</title><link>https://devzone.nordicsemi.com/thread/112511?ContentTypeID=1</link><pubDate>Wed, 04 Oct 2017 09:51:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b9a511b-62e3-400e-870b-a98eb0642145</guid><dc:creator>Sergey</dc:creator><description>&lt;p&gt;Ideally i want to whitelist this device like everyone else (because our device works only in whitelist advertising).
But is there such an opportunity?&lt;/p&gt;
&lt;p&gt;I do not understand well the mechanism of operation of devices with this type of address,
because this type not very commonly used and information on it is not much.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Meizu M2 bricks nrf51822</title><link>https://devzone.nordicsemi.com/thread/112512?ContentTypeID=1</link><pubDate>Wed, 04 Oct 2017 08:54:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1336fc0d-9e01-41a5-8213-bade3600d6bd</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Yes, BLE_ERROR_GAP_INVALID_BLE_ADDR is returned because BLE_GAP_ADDR_TYPE_RANDOM_PRIVATE_NON_RESOLVABLE is an invalid address type to have in a whitelist. What kind of behavior do you want when you have bonded with a device with this address type? Do you want to whitelist without this device? Do you want to whitelist at all?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Meizu M2 bricks nrf51822</title><link>https://devzone.nordicsemi.com/thread/112508?ContentTypeID=1</link><pubDate>Wed, 04 Oct 2017 07:58:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e655e13-85cc-4cc5-a109-a50f3b9684f4</guid><dc:creator>Sergey</dc:creator><description>&lt;p&gt;If you want, i can send a .hex file with full flash memory of my chip (sd 130 V2 + app (standard Nordic_Keyboard) + bad bond data from Meizu M2).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Meizu M2 bricks nrf51822</title><link>https://devzone.nordicsemi.com/thread/112507?ContentTypeID=1</link><pubDate>Wed, 04 Oct 2017 07:56:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:10cc1235-67cf-4684-b578-811a53368527</guid><dc:creator>Sergey</dc:creator><description>&lt;p&gt;I try to repeat this case in SDK12.3 (Nordic keyboard example).
Now after bond with Meizu and reset, i catch a Error with code 0x3202 in function&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;pm_whitelist_get(whitelist_addrs, &amp;amp;addr_cnt,
                                    whitelist_irks,  &amp;amp;irk_cnt);
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;in &lt;code&gt;BLE_ADV_EVT_WHITELIST_REQUEST&lt;/code&gt; event.&lt;/p&gt;
&lt;p&gt;This is place in id_manager.c file, where error returns:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;        if ((addr_type != BLE_GAP_ADDR_TYPE_PUBLIC) &amp;amp;&amp;amp;
        (addr_type != BLE_GAP_ADDR_TYPE_RANDOM_STATIC))
    {
        // The address shared by the peer during bonding can&amp;#39;t be used for whitelisting.
        return BLE_ERROR_GAP_INVALID_BLE_ADDR;
    }
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Meizu M2 bricks nrf51822</title><link>https://devzone.nordicsemi.com/thread/112506?ContentTypeID=1</link><pubDate>Wed, 04 Oct 2017 06:34:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f7758265-3ce3-4a2b-bee6-18b2e229b646</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;This seems to be a bug in the device manager, see &lt;a href="https://devzone.nordicsemi.com/question/95158/invalid-whitelist-created-by-peer-manager-in-sdk11/"&gt;this&lt;/a&gt;, it should not return a whitelist with the address type BLE_GAP_ADDR_TYPE_RANDOM_PRIVATE_NON_RESOLVABLE in it, that doesn&amp;#39;t really make sense. I seems it is fixed in Peer Manager in SDK 12, maybe you can use that or migrate to a newer SDK? Or port a newer library of Peer Manager back to SDK 11.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Meizu M2 bricks nrf51822</title><link>https://devzone.nordicsemi.com/thread/112504?ContentTypeID=1</link><pubDate>Tue, 03 Oct 2017 02:49:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43de9ce6-5872-4228-989d-99c344e3482c</guid><dc:creator>Sergey</dc:creator><description>&lt;p&gt;Yes, function sd_ble_gap_adv_start() return 0x07.
Problem in whitelist.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;adv_params.p_whitelist = &amp;amp;m_whitelist;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;This string is from function &lt;code&gt;ble_advertising_start&lt;/code&gt;.
I attached to question screen of debugger window with variable &lt;code&gt;m_whitelist&lt;/code&gt; after try to bond with Meizu M2 (and reset).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Meizu M2 bricks nrf51822</title><link>https://devzone.nordicsemi.com/thread/112505?ContentTypeID=1</link><pubDate>Mon, 02 Oct 2017 11:20:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a37d23d1-bad3-4f87-b362-20ce2274d2b6</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;The symptoms don&amp;#39;t seem to be the same, but I guess it could be related. Which function is returning NRF_ERROR_INVALID_PARAM? sd_ble_gap_adv_start()? If so, which params are you giving to this function when NRF_ERROR_INVALID_PARAM is returned?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>