<?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>Identifying specific user from the whitelis</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/8827/identifying-specific-user-from-the-whitelis</link><description>Hello all, 
 I am working on a device (nrf51 and s110) which is going to communicate with multiple centrals (smart phones).
The device uses a whitelist to connect to only &amp;quot;known&amp;quot; devices. However, one of these devices has to be identified as an administrator</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 01 Sep 2015 08:58:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/8827/identifying-specific-user-from-the-whitelis" /><item><title>RE: Identifying specific user from the whitelis</title><link>https://devzone.nordicsemi.com/thread/32451?ContentTypeID=1</link><pubDate>Tue, 01 Sep 2015 08:58:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4fbd29fc-be92-4fb3-b999-f51407af9c09</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@GT: Please open a new question. But before that, please do a search for pstorage example. With that search, I found this: &lt;a href="https://devzone.nordicsemi.com/question/15271/how-can-i-write-10kb-of-data-to-internal-flash/?answer=17300#post-id-17300"&gt;https://devzone.nordicsemi.com/question/15271/how-can-i-write-10kb-of-data-to-internal-flash/?answer=17300#post-id-17300&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;You should test first to store and restore some simple dummy data to make sure pstorage works properly before you try with IRK.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Identifying specific user from the whitelis</title><link>https://devzone.nordicsemi.com/thread/32450?ContentTypeID=1</link><pubDate>Mon, 31 Aug 2015 14:13:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a0faa3e8-8485-4800-b419-3de052e24853</guid><dc:creator>GT</dc:creator><description>&lt;p&gt;There is almost no progress. I am still trying to store the IRK with the persistent storage manager. Unfortunately it does not work. I am wondering if I should describe the problem here and eventually this question will result in solution for solving this particular problem, or to open a new question. Hung, what would be your advice?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Identifying specific user from the whitelis</title><link>https://devzone.nordicsemi.com/thread/32449?ContentTypeID=1</link><pubDate>Fri, 28 Aug 2015 12:47:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a0f971ac-d6dc-404c-b283-d1c9782e3801</guid><dc:creator>GT</dc:creator><description>&lt;p&gt;So far it looks like the approach for using the IRK as a reference will work. After minor modifications on the device manager I can get the IRK for a particular central from it. However, now I am having troubles storing it, but this is another topic...
I will post the progress here.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Identifying specific user from the whitelis</title><link>https://devzone.nordicsemi.com/thread/32448?ContentTypeID=1</link><pubDate>Fri, 21 Aug 2015 12:15:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7e35bed9-3e61-4712-b5c7-2e00a4ce7e2f</guid><dc:creator>GT</dc:creator><description>&lt;p&gt;Thank you for your input Hung. I will try to investigate and implement the first solution and I will report my progress next week.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Identifying specific user from the whitelis</title><link>https://devzone.nordicsemi.com/thread/32447?ContentTypeID=1</link><pubDate>Fri, 21 Aug 2015 08:33:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dda903ca-1558-442c-9ccf-71071b4e15bd</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi GT,&lt;/p&gt;
&lt;p&gt;I think the simplest way is to store to flash either the IRK (if central uses private resolvable address) or the static address (if central uses static address) to flash. And you can check if the device connected is the admin device or not at the BLE_GAP_EVT_CONNECTED event. Beside the irk_match, you can also find the peer_addr of the central.&lt;/p&gt;
&lt;p&gt;Other solution is to check if it&amp;#39;s the first device to bond in the bond database, but it&amp;#39;s more complicated and require the device to re-bond before you can have the master&amp;#39;s ediv to look for the master and then check if it&amp;#39;s the first master device or not.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>