<?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 determine channel sounding security level</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/123452/how-to-determine-channel-sounding-security-level</link><description>How to check CS procudure used by controller in BLE Channel sounding security I am refering to this ticket so i have questions related to it that 
 I have tried to find answers of below questions in samples of channel sounding but could not find in the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 05 Aug 2025 12:52:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/123452/how-to-determine-channel-sounding-security-level" /><item><title>RE: How to determine channel sounding security level</title><link>https://devzone.nordicsemi.com/thread/544634?ContentTypeID=1</link><pubDate>Tue, 05 Aug 2025 12:52:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:77593730-fe28-48dd-9cfa-7a523d99c83c</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;You can look at the file ncs\zephyr\samples\bluetooth\channel_sounding\src\connected_cs_initiator.c.&lt;/p&gt;
&lt;p&gt;In the main.c, it uses first:&lt;/p&gt;
&lt;p&gt;err = bt_conn_set_security(connection, BT_SECURITY_L2);&lt;/p&gt;
&lt;p&gt;and then later:&lt;/p&gt;
&lt;p&gt;err = bt_le_cs_security_enable(connection);&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;So these are a bit different from a normal BLE service.&lt;/p&gt;
&lt;p&gt;Both of these are waiting for callbacks using their respective semaphores:&lt;/p&gt;
&lt;p&gt;security_changed_cb()&lt;/p&gt;
&lt;p&gt;and&lt;/p&gt;
&lt;p&gt;security_enable_cb().&lt;/p&gt;
&lt;p&gt;The first one contains a parameter saying what security level it has.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Have you tested this sample?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>