<?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>Timestamp encrypted with AES in nRF51822 BLUETOOTH SMART BEACON KIT</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/3239/timestamp-encrypted-with-aes-in-nrf51822-bluetooth-smart-beacon-kit</link><description>Hello, 
 I have been trying to implement AES in order to encrypt a time stamtamp to be sent in the advert of the iBeacon ( 128 bits, using Minor and Major bits, (16+16)*4=128 bits to use the 128bits AES encryption using 4 complete adverts). Here is the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 07 Mar 2015 00:31:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/3239/timestamp-encrypted-with-aes-in-nrf51822-bluetooth-smart-beacon-kit" /><item><title>RE: Timestamp encrypted with AES in nRF51822 BLUETOOTH SMART BEACON KIT</title><link>https://devzone.nordicsemi.com/thread/11868?ContentTypeID=1</link><pubDate>Sat, 07 Mar 2015 00:31:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c8ce2bb-e918-4015-b2d7-df18261de1fb</guid><dc:creator>Larry</dc:creator><description>&lt;p&gt;that is not true, in order to use sd_ecb_block_encrypt you just need to init softdevice. you init ble for other purposes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Timestamp encrypted with AES in nRF51822 BLUETOOTH SMART BEACON KIT</title><link>https://devzone.nordicsemi.com/thread/11867?ContentTypeID=1</link><pubDate>Mon, 04 Aug 2014 11:46:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97536811-03b3-4d07-a74c-f594671fb1e1</guid><dc:creator>Ivan G&amp;#243;mez</dc:creator><description>&lt;p&gt;Finally I found out what i was doing wrong. The problem was that I needed to call ble_stack_init() before use the sd_ecb_block_encrypt(). Now I&amp;#39;m having problems in order to get the timestamp, because always I try to get it the Kit stops working.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Timestamp encrypted with AES in nRF51822 BLUETOOTH SMART BEACON KIT</title><link>https://devzone.nordicsemi.com/thread/11866?ContentTypeID=1</link><pubDate>Wed, 30 Jul 2014 16:42:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4b3b1bf9-97fa-4b57-ae3c-cfdb8b8b97ae</guid><dc:creator>cocoa</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;is little difficult to figure out without know what&amp;#39;s inside the called custom functions.&lt;/p&gt;
&lt;p&gt;Try run your code before starting the advertising and you can debug it without problems at AES level.&lt;/p&gt;
&lt;p&gt;I see &lt;code&gt;advertising_init()&lt;/code&gt; after the call to &lt;code&gt;advertising_start()&lt;/code&gt; and not before.&lt;/p&gt;
&lt;p&gt;You call &lt;code&gt;advertising_init()&lt;/code&gt;in for loop, but there is inside &lt;code&gt;ble_advdata_set()&lt;/code&gt; or &lt;code&gt;sd_ble_gap_adv_data_set()&lt;/code&gt; with the updated values to be advertised ?&lt;/p&gt;
&lt;p&gt;-c&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>