<?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>how to prove to myself that secured gazell library is encrypting data</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/57839/how-to-prove-to-myself-that-secured-gazell-library-is-encrypting-data</link><description>To the kind attention of Nordic support team, 
 I have been doing the pairing between two devices using nrf gazell secured library. Then, what I want to do, it is to read how gazell secured library 
 has set addresses and timing. 
 I want to give those</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 17 Feb 2020 15:30:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/57839/how-to-prove-to-myself-that-secured-gazell-library-is-encrypting-data" /><item><title>RE: how to prove to myself that secured gazell library is encrypting data</title><link>https://devzone.nordicsemi.com/thread/234716?ContentTypeID=1</link><pubDate>Mon, 17 Feb 2020 15:30:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:48779e25-0ed0-4a70-808e-615bc84bfeb0</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;If I remember correctly:&amp;nbsp;pipe0 is the pipe used for pairing. pipe1 is encrypted, and pipe2-&amp;gt; is open.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to prove to myself that secured gazell library is encrypting data</title><link>https://devzone.nordicsemi.com/thread/234591?ContentTypeID=1</link><pubDate>Mon, 17 Feb 2020 09:45:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f817f433-c119-474f-949a-3b72a93ae8a7</guid><dc:creator>astella</dc:creator><description>&lt;p&gt;In third device I can now receive in pipe 0, 1 e 2. Pipe 2 is the non encrypted one and I can read the payload in the right way. Pipe 1 is the encrypted one and I can get rubbish! That is perfect. Is it ok that I can receive on pie0 also? Cannot understand what it is , though. Maybe secured gazell library uses it? I have to check documentation. Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to prove to myself that secured gazell library is encrypting data</title><link>https://devzone.nordicsemi.com/thread/234571?ContentTypeID=1</link><pubDate>Mon, 17 Feb 2020 08:42:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f240c096-26af-4f65-ac2b-a9a243a300ad</guid><dc:creator>astella</dc:creator><description>&lt;p&gt;In the secure project I also read:&lt;/p&gt;
&lt;p&gt;chTableSize = nrf_gzll_get_channel_table_size ();&lt;/p&gt;
&lt;p&gt;bool getCh = nrf_gzll_get_channel_table (p_channel_table, &amp;amp;chTableSize);&lt;/p&gt;
&lt;p&gt;Now,after setting bitrate, channel table and address, in the third device (the one that has got no secured gazell library) I receive an interrupt every time a gazell packet is received in pipe0. Then using&amp;nbsp;nrf_gzll_fetch_packet_from_rx_fifo I cannot have nothing useful. It may very well be because the packet on pipe0 is encrypted and&amp;nbsp;&lt;span&gt;nrf_gzll_fetch_packet_from_rx_fifo&amp;nbsp; is not suitable to retrieve it correctly. Still it could be that there is some error in parameters configuration&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to prove to myself that secured gazell library is encrypting data</title><link>https://devzone.nordicsemi.com/thread/234561?ContentTypeID=1</link><pubDate>Mon, 17 Feb 2020 08:14:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b52042f0-d0a1-47ad-a2d2-951e13017ae3</guid><dc:creator>astella</dc:creator><description>&lt;p&gt;I saw that secured gazell init can be something like that:&lt;/p&gt;
&lt;p&gt;// Initialize the Gazell Link Layer&lt;br /&gt; bool result_value = nrf_gzll_init(NRF_GZLL_MODE_HOST);&lt;br /&gt; GAZELLE_ERROR_CODE_CHECK(result_value);&lt;/p&gt;
&lt;p&gt;result_value = nrf_gzll_set_timeslot_period(NRF_GZLLDE_RXPERIOD_DIV_2); // Half RX period on an nRF24Lxx device&lt;br /&gt; GAZELLE_ERROR_CODE_CHECK(result_value);&lt;/p&gt;
&lt;p&gt;// Initialize the Gazell Pairing Library&lt;br /&gt; //gzp_erase_pairing_data();&lt;br /&gt; gzp_init();&lt;br /&gt; result_value = nrf_gzll_set_rx_pipes_enabled(nrf_gzll_get_rx_pipes_enabled() |&lt;br /&gt; (1 &amp;lt;&amp;lt; UNENCRYPTED_DATA_PIPE));&lt;br /&gt; GAZELLE_ERROR_CODE_CHECK(result_value);&lt;/p&gt;
&lt;p&gt;gzp_pairing_enable(true);&lt;/p&gt;
&lt;p&gt;result_value = nrf_gzll_enable();&lt;br /&gt; GAZELLE_ERROR_CODE_CHECK(result_value);&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Very useful is&amp;nbsp; // nrf_gzll_datarate_t nrf_gzll_get_datarate&lt;br /&gt; data_rate = nrf_gzll_get_datarate(); // NRF_GZLL_DATARATE_2MBIT&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>