<?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>Secure_manager library adding problem in segger embedded studio</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/59277/secure_manager-library-adding-problem-in-segger-embedded-studio</link><description>Hello everyone, 
 I developed my code secure connection with static passkey i&amp;#39;m using ble_app_gls example code to implement my custom code i have added all library files i got some error as below 
 
 I added all library file but i don&amp;#39;t know where i made</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 01 Dec 2021 15:21:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/59277/secure_manager-library-adding-problem-in-segger-embedded-studio" /><item><title>RE: Secure_manager library adding problem in segger embedded studio</title><link>https://devzone.nordicsemi.com/thread/341568?ContentTypeID=1</link><pubDate>Wed, 01 Dec 2021 15:21:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7192b432-0893-4a3c-9d92-7f6fdbfd27ec</guid><dc:creator>STE</dc:creator><description>&lt;p&gt;Thanks Hung I&amp;#39;ve solved by myself for the peripheral side of my design, now I&amp;#39;ll have to work on the central device side, I&amp;#39;ll get back to you if I&amp;#39;ve some issue.&lt;/p&gt;
&lt;p&gt;Thanks and best regards.&lt;/p&gt;
&lt;p&gt;F.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Secure_manager library adding problem in segger embedded studio</title><link>https://devzone.nordicsemi.com/thread/341516?ContentTypeID=1</link><pubDate>Wed, 01 Dec 2021 13:10:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9dcf3ae0-473f-4e82-9549-ca62e822bfb6</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Fabio,&amp;nbsp;&lt;br /&gt;I&amp;#39;m sorry for late response. I was on a vacation. If you still have issue with this please create a new case and update the link here.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Secure_manager library adding problem in segger embedded studio</title><link>https://devzone.nordicsemi.com/thread/338989?ContentTypeID=1</link><pubDate>Mon, 15 Nov 2021 11:00:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b78c3420-e971-4d8b-87cf-64fa6863e340</guid><dc:creator>STE</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;after some try I&amp;#39;ve implemented the PEER Manager module into an existent demo applications based on NUS UART notification.&lt;/p&gt;
&lt;p&gt;My step used to configure this module are detailed at this link:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/81673/trouble-in-configuring-nrf_ble_lesc-c-for-peer-manager"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/81673/trouble-in-configuring-nrf_ble_lesc-c-for-peer-manager&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;All the things seems work properly, but after simulating some real situation I&amp;#39;ve found a particular condition where I have some trouble after a disconnection and then again to perform a new connection with the peripheral device, here below some detailed explanation of this strange behavior.&lt;/p&gt;
&lt;p&gt;The explanation start when the peripheral application is loaded and the run into execution, here below the SES Log taken from the Debug Terminal at the starting of the application:&lt;/p&gt;
&lt;p&gt;&amp;lt;info&amp;gt; nrf_sdh_ble: RAM starts at 0x20002AE8&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_ble_lesc: Initialized nrf_crypto.&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_ble_lesc: Initialized nrf_ble_lesc.&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_ble_lesc: Generating ECC key pair&lt;br /&gt;&amp;lt;info&amp;gt; app: Company ID : 0x59&lt;br /&gt;&amp;lt;info&amp;gt; app: Version#&amp;nbsp;&amp;nbsp; : 0xA&lt;br /&gt;&amp;lt;info&amp;gt; app: Subversion#: 0x100&lt;br /&gt;&amp;lt;info&amp;gt; app: Debug logging for UART over RTT started.&lt;br /&gt;&amp;lt;info&amp;gt; app: Erase bonds&lt;br /&gt;&amp;lt;info&amp;gt; peer_manager_handler: All peers deleted.&lt;/p&gt;
&lt;p&gt;now from the nRF Connect app on my smartphone I can scan and Connect with the peripheral device but I can see into the log the error 4102.&lt;/p&gt;
&lt;p&gt;&amp;lt;debug&amp;gt; nrf_ble_gatt: Requesting to update ATT MTU to 247 bytes on connection 0x0.&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_ble_gatt: Updating data length to 251 on connection 0x0.&lt;br /&gt;&amp;lt;info&amp;gt; app: Connected&lt;br /&gt;&amp;lt;info&amp;gt; app: PHY update set.&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_ble_gatt: ATT MTU updated to 247 bytes on connection 0x0 (response).&lt;br /&gt;&amp;lt;info&amp;gt; app: Data len is set to 0xF4(244)&lt;br /&gt;&amp;lt;debug&amp;gt; app: ATT MTU exchange completed. central 0xF7 peripheral 0xF7&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_ble_gatt: Data length updated to 251 on connection 0x0.&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_ble_gatt: max_rx_octets: 27&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_ble_gatt: max_tx_octets: 251&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_ble_gatt: max_rx_time: 328&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_ble_gatt: max_tx_time: 2120&lt;br /&gt;&amp;lt;debug&amp;gt; app: ATT MTU exchange completed. central 0xF7 peripheral 0xF7&lt;br /&gt;&amp;lt;info&amp;gt; peer_manager_handler: Connection security failed: role: Peripheral, conn_handle: 0x0, procedure: Encryption, error: 4102&lt;/p&gt;
&lt;p&gt;When I try to activate the notification service the passkey windows is shown, then I can enter the code and presso the Bond button,I see:&lt;/p&gt;
&lt;p&gt;&amp;lt;info&amp;gt; peer_manager_handler: Connection secured: role: Peripheral, conn_handle: 0, procedure: Bonding&lt;br /&gt;&amp;lt;info&amp;gt; peer_manager_handler: Peer data updated in flash: peer_id: 0, data_id: Bonding data, action: Update&lt;br /&gt;&amp;lt;info&amp;gt; peer_manager_handler: Peer data updated in flash: peer_id: 0, data_id: Peer rank, action: Update&lt;br /&gt;&amp;lt;info&amp;gt; peer_manager_handler: Peer data updated in flash: peer_id: 0, data_id: Local database, action: Update&lt;br /&gt;&amp;lt;info&amp;gt; peer_manager_handler: Peer data updated in flash: peer_id: 0, data_id: Central address resolution, action: Update&lt;br /&gt;&amp;lt;info&amp;gt; app: Disconnected&lt;/p&gt;
&lt;p&gt;and a disconnection event occour.&lt;/p&gt;
&lt;p&gt;Then I&amp;#39;ve to get in connection again:&lt;/p&gt;
&lt;p&gt;&amp;lt;debug&amp;gt; nrf_ble_gatt: Requesting to update ATT MTU to 247 bytes on connection 0x0.&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_ble_gatt: Updating data length to 251 on connection 0x0.&lt;br /&gt;&amp;lt;info&amp;gt; peer_manager_handler: Peer data updated in flash: peer_id: 0, data_id: Peer rank, action: Update, no change&lt;br /&gt;&amp;lt;info&amp;gt; app: Connected&lt;br /&gt;&amp;lt;info&amp;gt; app: PHY update set.&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_ble_gatt: ATT MTU updated to 247 bytes on connection 0x0 (response).&lt;br /&gt;&amp;lt;info&amp;gt; app: Data len is set to 0xF4(244)&lt;br /&gt;&amp;lt;debug&amp;gt; app: ATT MTU exchange completed. central 0xF7 peripheral 0xF7&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_ble_gatt: Data length updated to 251 on connection 0x0.&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_ble_gatt: max_rx_octets: 27&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_ble_gatt: max_tx_octets: 251&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_ble_gatt: max_rx_time: 328&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_ble_gatt: max_tx_time: 2120&lt;br /&gt;&amp;lt;debug&amp;gt; app: ATT MTU exchange completed. central 0xF7 peripheral 0xF7&lt;br /&gt;&amp;lt;info&amp;gt; peer_manager_handler: Connection secured: role: Peripheral, conn_handle: 0, procedure: Encryption&lt;br /&gt;&amp;lt;info&amp;gt; peer_manager_handler: Peer data updated in flash: peer_id: 0, data_id: Peer rank, action: Update, no change&lt;/p&gt;
&lt;p&gt;now I can enable the notification (no passkey request at this time) and the notification start to be sent regularity.&lt;/p&gt;
&lt;p&gt;Now I did a disconnection without disable the notification and then I press again the connect button on the nRF Connect app, now the peripheral application crash with this error:&lt;/p&gt;
&lt;p&gt;&amp;lt;info&amp;gt; app: Connected&lt;br /&gt;&amp;lt;info&amp;gt; app: PHY update set.&lt;br /&gt;&amp;lt;info&amp;gt; app: (main) currsize: 6 (items)&lt;br /&gt;&amp;lt;info&amp;gt; app: (main) ble_nus_data_send: 33 bytes&lt;br /&gt;&amp;lt;info&amp;gt; app: (main) ble_nus_data_send: #39529-3803#39530-3828#39531-3789&lt;br /&gt;&amp;lt;error&amp;gt; app: ERROR 15 [NRF_ERROR_FORBIDDEN] at C:\Users\STE\Downloads\nRF5_SDK_17.0.2_d674dde\examples\ble_peripheral\ble_app_uart__saadc_timer_driven__scan_mode\main.c:1214&lt;br /&gt;PC at: 0x00035CD9&lt;br /&gt;&amp;lt;error&amp;gt; app: End of error report&lt;/p&gt;
&lt;p&gt;the error was triggered by the function ble_nus_data_send() that I&amp;#39;m using to send the notification from the main() function.&lt;/p&gt;
&lt;p&gt;May be this function can not be used before the passkey was entered or some other things related the authentication stage has passed succesfully? There ia s way to intercept an event to be sure that I can start to send data through notification after the security procedure is finished?&lt;/p&gt;
&lt;p&gt;How I can check and overcome the error 4102?&lt;/p&gt;
&lt;p&gt;Connection security failed: role: Peripheral, conn_handle: 0x0, procedure: Encryption, error: 4102&lt;/p&gt;
&lt;p&gt;After that I&amp;#39;ve did a bonding delete from nRF Connect, so it should delete any previosly bod devices and I&amp;#39;ve reprogrammed the peripheral device, connection give this SES log:&lt;/p&gt;
&lt;p&gt;&amp;lt;info&amp;gt; nrf_sdh_ble: RAM starts at 0x20002AE8&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_ble_lesc: Initialized nrf_crypto.&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_ble_lesc: Initialized nrf_ble_lesc.&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_ble_lesc: Generating ECC key pair&lt;br /&gt;&amp;lt;info&amp;gt; app: Company ID : 0x59&lt;br /&gt;&amp;lt;info&amp;gt; app: Version#&amp;nbsp;&amp;nbsp; : 0xA&lt;br /&gt;&amp;lt;info&amp;gt; app: Subversion#: 0x100&lt;br /&gt;&amp;lt;info&amp;gt; app: Debug logging for UART over RTT started.&lt;br /&gt;&amp;lt;info&amp;gt; app: Erase bonds&lt;br /&gt;&amp;lt;error&amp;gt; peer_manager_handler: Peer deleted successfully: peer_id: 0&lt;br /&gt;&amp;lt;info&amp;gt; peer_manager_handler: All peers deleted.&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_ble_gatt: Requesting to update ATT MTU to 247 bytes on connection 0x0.&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_ble_gatt: Updating data length to 251 on connection 0x0.&lt;br /&gt;&amp;lt;info&amp;gt; app: Connected&lt;br /&gt;&amp;lt;info&amp;gt; app: PHY update set.&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_ble_gatt: ATT MTU updated to 247 bytes on connection 0x0 (response).&lt;br /&gt;&amp;lt;info&amp;gt; app: Data len is set to 0xF4(244)&lt;br /&gt;&amp;lt;debug&amp;gt; app: ATT MTU exchange completed. central 0xF7 peripheral 0xF7&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_ble_gatt: Data length updated to 251 on connection 0x0.&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_ble_gatt: max_rx_octets: 27&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_ble_gatt: max_tx_octets: 251&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_ble_gatt: max_rx_time: 328&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_ble_gatt: max_tx_time: 2120&lt;br /&gt;&amp;lt;debug&amp;gt; app: ATT MTU exchange completed. central 0xF7 peripheral 0xF7&lt;/p&gt;
&lt;p&gt;Now the notification request after the passkey works well without any error, why this strange behavior?&lt;/p&gt;
&lt;p&gt;Enabling the PEER Manager log level to 4 I see this Log:&lt;/p&gt;
&lt;p&gt;&amp;lt;info&amp;gt; nrf_sdh_ble: RAM starts at 0x20002AE8&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_ble_lesc: Initialized nrf_crypto.&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_ble_lesc: Initialized nrf_ble_lesc.&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_ble_lesc: Generating ECC key pair&lt;br /&gt;&amp;lt;info&amp;gt; app: Company ID : 0x59&lt;br /&gt;&amp;lt;info&amp;gt; app: Version#&amp;nbsp;&amp;nbsp; : 0xA&lt;br /&gt;&amp;lt;info&amp;gt; app: Subversion#: 0x100&lt;br /&gt;&amp;lt;info&amp;gt; app: Debug logging for UART over RTT started.&lt;br /&gt;&amp;lt;info&amp;gt; app: Erase bonds&lt;br /&gt;&amp;lt;debug&amp;gt; peer_manager_handler: Event PM_EVT_PEER_DELETE_SUCCEEDED&lt;br /&gt;&amp;lt;error&amp;gt; peer_manager_handler: Peer deleted successfully: peer_id: 0&lt;br /&gt;&amp;lt;debug&amp;gt; peer_manager_handler: Event PM_EVT_PEERS_DELETE_SUCCEEDED&lt;br /&gt;&amp;lt;info&amp;gt; peer_manager_handler: All peers deleted.&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_ble_gatt: Requesting to update ATT MTU to 247 bytes on connection 0x0.&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_ble_gatt: Updating data length to 251 on connection 0x0.&lt;br /&gt;&amp;lt;info&amp;gt; app: Connected&lt;br /&gt;&amp;lt;info&amp;gt; app: PHY update set.&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_ble_gatt: ATT MTU updated to 247 bytes on connection 0x0 (response).&lt;br /&gt;&amp;lt;info&amp;gt; app: Data len is set to 0xF4(244)&lt;br /&gt;&amp;lt;debug&amp;gt; app: ATT MTU exchange completed. central 0xF7 peripheral 0xF7&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_ble_gatt: Data length updated to 251 on connection 0x0.&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_ble_gatt: max_rx_octets: 27&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_ble_gatt: max_tx_octets: 251&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_ble_gatt: max_rx_time: 328&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_ble_gatt: max_tx_time: 2120&lt;br /&gt;&amp;lt;debug&amp;gt; app: ATT MTU exchange completed. central 0xF7 peripheral 0xF7&lt;br /&gt;&amp;lt;debug&amp;gt; peer_manager_handler: Event PM_EVT_CONN_SEC_START&lt;br /&gt;&amp;lt;debug&amp;gt; peer_manager_handler: Connection security procedure started: role: Peripheral, conn_handle: 0, procedure: Encryption&lt;br /&gt;&amp;lt;debug&amp;gt; peer_manager_handler: Event PM_EVT_CONN_SEC_FAILED&lt;br /&gt;&amp;lt;info&amp;gt; peer_manager_handler: Connection security failed: role: Peripheral, conn_handle: 0x0, procedure: Encryption, error: 4102&lt;br /&gt;&amp;lt;debug&amp;gt; peer_manager_handler: Error (decoded): PM_CONN_SEC_ERROR_PIN_OR_KEY_MISSING&lt;/p&gt;
&lt;p&gt;Thanks and best regards.&lt;/p&gt;
&lt;p&gt;F.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Secure_manager library adding problem in segger embedded studio</title><link>https://devzone.nordicsemi.com/thread/338723?ContentTypeID=1</link><pubDate>Fri, 12 Nov 2021 09:42:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15b7f079-50c8-4191-8aeb-52a96489bb55</guid><dc:creator>STE</dc:creator><description>&lt;p&gt;Dear Sir,&lt;/p&gt;
&lt;p&gt;for my application with SDK 17.0.2 and S140 softdevice I&amp;#39;ve the same trouble, but I&amp;#39;ve already added the nrf_ble_lesc.c file at the nRF_BLE group, I&amp;#39;ve also enabled into the sdk_config.h file the PM_LESC_ENABLED so what I&amp;#39;ve to do in order to get all working?&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x50/__key/communityserver-discussions-components-files/4/pastedimage1636710131885v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1636710147276v2.png" /&gt;&lt;/p&gt;
&lt;p&gt;Looking through the source file nrf_ble_lesc.c I see this conditional check:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;#if NRF_MODULE_ENABLED(NRF_BLE_LESC)

#include &amp;quot;nrf_ble_lesc.h&amp;quot;
#include &amp;quot;nrf_crypto.h&amp;quot;
...&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;the code included by the conditional statement #if is grayed out so it means that the module NRF_BLE_LESC is not enabled, looking inside the sdk_config.h file there are no label related this type of module, only the PM_LESC_ENABLED is present. Searching through all the SDK files for the key NRF_BLE_LESC give no results so how is possible to activate this module?&lt;/p&gt;
&lt;p&gt;Just a side consideration, it is very frustrating and time consuming to do a trial and error procedures to get things working, I kindly ask if is possible to have a guide or some notes inside the docs to follow with all the dependencies related some modules so is possible to know what files are needed to add some functionality ... (I&amp;#39;m try to add the peer module functionality to my design).&lt;/p&gt;
&lt;p&gt;Thanks for your time!&lt;/p&gt;
&lt;p&gt;Best regards.&lt;/p&gt;
&lt;p&gt;F.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Secure_manager library adding problem in segger embedded studio</title><link>https://devzone.nordicsemi.com/thread/240770?ContentTypeID=1</link><pubDate>Fri, 20 Mar 2020 08:48:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58b4d759-9288-45c2-bcaf-caef4b2474f7</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Please include the&amp;nbsp;&lt;span&gt;nrf_ble_lesc.c file.&amp;nbsp;&lt;br /&gt;If you see a function missing, try to find that function in side ble_app_gls , and then include the same file into your project.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Secure_manager library adding problem in segger embedded studio</title><link>https://devzone.nordicsemi.com/thread/240745?ContentTypeID=1</link><pubDate>Fri, 20 Mar 2020 04:45:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cae454a5-8dda-42f5-baab-ffcaaa77372a</guid><dc:creator>Muthu</dc:creator><description>&lt;p&gt;Hi Hung Bui,&lt;/p&gt;
&lt;p&gt;I added secure parring concept in my ble_app_beacon code. so i take reference code of ble_app_gls to added my beacon code so i added this library&amp;nbsp;&lt;/p&gt;
&lt;p&gt;peer_manager.c&lt;/p&gt;
&lt;p&gt;peer_manager_handler.c&lt;/p&gt;
&lt;p&gt;security_dispatcher.c&lt;/p&gt;
&lt;p&gt;security_manager.c&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;when i enable #define&amp;nbsp;PM_LESC_ENABLED&amp;nbsp; 1&lt;/p&gt;
&lt;p&gt;compiler show error as below. how to solve this error&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;1&amp;gt; Linking cbeacon-52810.elf
1&amp;gt; C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 4.30c/gcc/arm-none-eabi/bin/ld: Output/cbeacon-52810 Release/Obj/security_manager.o: in function `smd_params_reply_perform&amp;#39;:
1&amp;gt; E:\BLE\projects\STG\nRF5_SDK_15.2_Beacon_test\components\ble\peer_manager/security_manager.c:331: undefined reference to `nrf_ble_lesc_public_key_get&amp;#39;
1&amp;gt; C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 4.30c/gcc/arm-none-eabi/bin/ld: Output/cbeacon-52810 Release/Obj/security_manager.o: in function `sm_init&amp;#39;:
1&amp;gt; E:\BLE\projects\STG\nRF5_SDK_15.2_Beacon_test\components\ble\peer_manager/security_manager.c:484: undefined reference to `nrf_ble_lesc_init&amp;#39;
1&amp;gt; C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 4.30c/gcc/arm-none-eabi/bin/ld: Output/cbeacon-52810 Release/Obj/security_manager.o: in function `sm_ble_evt_handler&amp;#39;:
1&amp;gt; E:\BLE\projects\STG\nRF5_SDK_15.2_Beacon_test\components\ble\peer_manager/security_manager.c:515: undefined reference to `nrf_ble_lesc_on_ble_evt&amp;#39;
Build failed&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Secure_manager library adding problem in segger embedded studio</title><link>https://devzone.nordicsemi.com/thread/240639?ContentTypeID=1</link><pubDate>Thu, 19 Mar 2020 13:01:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f4d7184a-10b2-46fe-9f88-b985cc58537d</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Muthu,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The ble_app_gls already has lesc support, I&amp;#39;m not sure what exactly you planning to add ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The missing functions are inside nrf_ble_lesc,c that included in the project.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Note that doing static passkey with LESC can really compromise the security level of LESC. Please have a look at the discussion&amp;nbsp; &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/35856/questions-about-lesc-mitm-and-passkey"&gt;here.&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>