<?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>Problem encoding and advertising the BT_UUID_NUS_VAL</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/107930/problem-encoding-and-advertising-the-bt_uuid_nus_val</link><description>Hi. I am working on a project trying to encode the BT_UUID_NUS_VAL into advertising packets without success. 
 In am using the unicast_server.c file as a reference. There there is the following : 
 
 This advertises fine as expected. However, instead</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 07 Feb 2024 13:59:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/107930/problem-encoding-and-advertising-the-bt_uuid_nus_val" /><item><title>RE: Problem encoding and advertising the BT_UUID_NUS_VAL</title><link>https://devzone.nordicsemi.com/thread/467942?ContentTypeID=1</link><pubDate>Wed, 07 Feb 2024 13:59:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4258d4de-4488-494d-a13c-2cde4d9b770e</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve been discussing this issue with a colleague that is more into the LE audio stack than me, and we would like to see if you can recreate this issue using the SoftDevice controller (SDC)as well, just to confirm this doesn&amp;#39;t have something to do with the packetcraft controller specifically, so here are some steps you can try:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Checkout the latest NCS main, since the SDC with ISO is merged after NCS 2.5.0, and also some modification are needed for applications to run with the SDC. &lt;a href="https://github.com/nrfconnect/sdk-nrf/pull/12508"&gt;This PR&lt;/a&gt; brings ISO onto the SDC, and&lt;a href="https://github.com/nrfconnect/sdk-nrf/pull/12996"&gt; this one updates buildprog.py for switching between SDC and PCFT&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;For using buildprog.py, add the command&amp;nbsp;&lt;span&gt;&lt;span dir="ltr"&gt;&lt;code&gt;--ctlr=&amp;quot;SDC&amp;quot;&lt;/code&gt; in the end. E.g., $ python buildprog.py -c both -b debug -d both -p --pristine--ctlr=&amp;quot;SDC&amp;quot;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;&lt;span dir="ltr"&gt;For using west, we need to add &lt;code&gt;-DCONFIG_BT_LL_ACS_NRF53=n&lt;/code&gt;&lt;br /&gt;E.g., $ west build -b nrf5340_audio_dk_nrf5340_cpuapp -d build_headset -p -- -DCONFIG_AUDIO_DEV=1 -DCONFIG_BT_LL_ACS_NRF53=n; west flash --build-dir=build_headset&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;If that doesn&amp;#39;t change anything either, we will need to take a closer look at your project. If you could upload a version of your project where we can reproduce this on our end that would be very helpful.&lt;/p&gt;
&lt;p&gt;I know that the LE audio application has been able to advertise custom UUIDs in the past, so we will get to the bottom of this, one way or the other.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem encoding and advertising the BT_UUID_NUS_VAL</title><link>https://devzone.nordicsemi.com/thread/467834?ContentTypeID=1</link><pubDate>Wed, 07 Feb 2024 07:05:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:953ece97-b608-4efd-9bfc-7f384bc030c4</guid><dc:creator>saml</dc:creator><description>&lt;p&gt;Hi. I am trying to develop for the audio application.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The crashing problem was also reported here when just using&amp;nbsp;&lt;em&gt;bt_le_adv_start() &lt;/em&gt;without&amp;nbsp;&lt;em&gt;bt_mgmt_adv_start()&amp;nbsp; :&amp;nbsp;&amp;nbsp;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/107206/audio-application---no-valid-advertising-data-stored"&gt;(1) Audio application - No valid advertising data stored - Nordic Q&amp;amp;A - Nordic DevZone - Nordic DevZone (nordicsemi.com)&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;nbsp;&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem encoding and advertising the BT_UUID_NUS_VAL</title><link>https://devzone.nordicsemi.com/thread/467745?ContentTypeID=1</link><pubDate>Tue, 06 Feb 2024 12:58:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd81671e-9937-478a-90cb-273aecca8020</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi again Sam&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t see how an application crashing when the receiver disconnects (already in a connection) would be because of the advertising data. What error exactly is causing this disconnect, do you have an error log to show?&lt;/p&gt;
&lt;p&gt;Can you confirm you&amp;#39;re trying to develop for the Audio application or not, since this &lt;em&gt;bt_mgmt_adv_start()&amp;nbsp;&lt;/em&gt;function is specifically made for ACL connections in the LE audio application. If not bt_mgmt_adv_start() won&amp;#39;t be the correct call to use here. I will need to ask the devs about if it&amp;#39;s possible to use bt_mgmt_adv_start() with 128 bit UUIDs as I haven&amp;#39;t been able to find a way on my own unfortunately.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem encoding and advertising the BT_UUID_NUS_VAL</title><link>https://devzone.nordicsemi.com/thread/467574?ContentTypeID=1</link><pubDate>Mon, 05 Feb 2024 13:10:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db6607dd-7bfd-40be-96cd-249b517ae0b3</guid><dc:creator>saml</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/simonr"&gt;Simonr&lt;/a&gt;&amp;nbsp;Sorry for the delay. I&amp;#39;m just back at work now.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The problem with using&amp;nbsp;&lt;em&gt;bt_le_adv_start&lt;/em&gt;() is that the application sometimes crashes when the receiver disconnects from the central device reporting no valid advertising data.&lt;/p&gt;
&lt;p&gt;It became clear that I needed to call&amp;nbsp;&lt;em&gt;bt_mgmt_adv_start&lt;/em&gt;() initially. When&amp;nbsp;&lt;em&gt;bt_mgmt_adv_start&lt;/em&gt;() is used, the &lt;em&gt;advertising_process&lt;/em&gt;() function gets invoked eventually which uses &lt;em&gt;extended_adv_create&lt;/em&gt;() and &lt;em&gt;bt_le_ext_adv_start&lt;/em&gt;(). This must use a struct like the &lt;em&gt;unicast_server_adv_data&lt;/em&gt; above for containing the advertising data data.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;How have you set the advertising type and UUID type in your project?&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;How do I ? I&amp;#39;m not really sure. Here is how the&amp;nbsp;BT_DATA_BYTES is used in the Peripheral UART sample, but when using&amp;nbsp;bt_le_adv_start().&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;static const struct bt_data ad[] = {
	BT_DATA_BYTES(BT_DATA_FLAGS, (BT_LE_AD_GENERAL | BT_LE_AD_NO_BREDR)),
	BT_DATA(BT_DATA_NAME_COMPLETE, DEVICE_NAME, DEVICE_NAME_LEN),
};

static const struct bt_data sd[] = {
	BT_DATA_BYTES(BT_DATA_UUID128_ALL, BT_UUID_NUS_VAL),
};&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem encoding and advertising the BT_UUID_NUS_VAL</title><link>https://devzone.nordicsemi.com/thread/467296?ContentTypeID=1</link><pubDate>Fri, 02 Feb 2024 07:44:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1d011cf-2b4b-40a7-bd49-6328de4213af</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;&lt;span&gt;What issues exactly did you have with bt_le_adv_start()?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;It seems what you&amp;#39;re trying to input in the .type field of your BT_DATA is not recorded or in the union initializer. This should be the &lt;strong&gt;type&lt;/strong&gt; of advertising data field of your application that isn&amp;#39;t set correctly it seems. How have you set the advertising type and UUID type in your project?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Simon&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem encoding and advertising the BT_UUID_NUS_VAL</title><link>https://devzone.nordicsemi.com/thread/467129?ContentTypeID=1</link><pubDate>Thu, 01 Feb 2024 10:56:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e478007b-fe7e-4eac-910d-64e909f9a492</guid><dc:creator>saml</dc:creator><description>&lt;p&gt;&amp;nbsp;Hi&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/simonr"&gt;Simonr&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When I try to create the advertising data as follows, for&amp;nbsp;&lt;strong&gt;mgmt_adv_start&lt;/strong&gt;() :&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;static uint8_t unicast_server_adv_data[] = {
	BT_DATA_BYTES(BT_DATA_UUID128_ALL, BT_UUID_NUS_VAL),
	BT_AUDIO_UNICAST_ANNOUNCEMENT_TARGETED,
	BT_BYTES_LIST_LE16(AVAILABLE_SINK_CONTEXT),
	BT_BYTES_LIST_LE16(AVAILABLE_SOURCE_CONTEXT),
	0x00, /* Metadata length */
};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I get all sorts of issues :&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;warning: braces around scalar initializer
  504 |         BT_DATA_BYTES(BT_DATA_UUID128_ALL, BT_UUID_NUS_VAL),
      |         ^~~~~~~~~~~~~
../../../src/audio/streamctrl_broadcast_sink.c:504:9: note: (near initialization for &amp;#39;adv_data[0]&amp;#39;)
In file included from C:/ncs/v2.5.1/zephyr/include/zephyr/bluetooth/conn.h:23,
                 from C:/ncs/v2.5.1/zephyr/include/zephyr/bluetooth/hci.h:16,
                 from C:/ncs/v2.5.1/zephyr/include/zephyr/bluetooth/buf.h:24,
                 from C:/ncs/v2.5.1/zephyr/include/zephyr/bluetooth/audio/audio.h:22,
                 from ../../../src/bluetooth/le_audio.h:10,
                 from ../../../src/bluetooth/bt_stream/broadcast/broadcast_sink.h:10,
                 from ../../../src/audio/streamctrl_broadcast_sink.c:13:
C:/ncs/v2.5.1/zephyr/include/zephyr/bluetooth/bluetooth.h:451:17: error: field name not in record or union initializer
  451 |                 .type = (_type), \
      |                 ^
C:/ncs/v2.5.1/zephyr/include/zephyr/bluetooth/bluetooth.h:466:9: note: in expansion of macro &amp;#39;BT_DATA&amp;#39;
  466 |         BT_DATA(_type, ((uint8_t []) { _bytes }), \
      |         ^~~~~~~
../../../src/audio/streamctrl_broadcast_sink.c:504:9: note: in expansion of macro &amp;#39;BT_DATA_BYTES&amp;#39;
  504 |         BT_DATA_BYTES(BT_DATA_UUID128_ALL, BT_UUID_NUS_VAL),
      |         ^~~~~~~~~~~~~
C:/ncs/v2.5.1/zephyr/include/zephyr/bluetooth/bluetooth.h:451:17: note: (near initialization for &amp;#39;adv_data[0]&amp;#39;)
  451 |                 .type = (_type), \
      |                 ^
C:/ncs/v2.5.1/zephyr/include/zephyr/bluetooth/bluetooth.h:466:9: note: in expansion of macro &amp;#39;BT_DATA&amp;#39;
  466 |         BT_DATA(_type, ((uint8_t []) { _bytes }), \
      |         ^~~~~~~
../../../src/audio/streamctrl_broadcast_sink.c:504:9: note: in expansion of macro &amp;#39;BT_DATA_BYTES&amp;#39;
  504 |         BT_DATA_BYTES(BT_DATA_UUID128_ALL, BT_UUID_NUS_VAL),
      |         ^~~~~~~~~~~~~
C:/ncs/v2.5.1/zephyr/include/zephyr/bluetooth/bluetooth.h:452:17: error: field name not in record or union initializer
  452 |                 .data_len = (_data_len), \
      |                 ^
C:/ncs/v2.5.1/zephyr/include/zephyr/bluetooth/bluetooth.h:466:9: note: in expansion of macro &amp;#39;BT_DATA&amp;#39;
  466 |         BT_DATA(_type, ((uint8_t []) { _bytes }), \
      |         ^~~~~~~
../../../src/audio/streamctrl_broadcast_sink.c:504:9: note: in expansion of macro &amp;#39;BT_DATA_BYTES&amp;#39;
  504 |         BT_DATA_BYTES(BT_DATA_UUID128_ALL, BT_UUID_NUS_VAL),
      |         ^~~~~~~~~~~~~
C:/ncs/v2.5.1/zephyr/include/zephyr/bluetooth/bluetooth.h:452:17: note: (near initialization for &amp;#39;adv_data[0]&amp;#39;)
  452 |                 .data_len = (_data_len), \
      |                 ^
C:/ncs/v2.5.1/zephyr/include/zephyr/bluetooth/bluetooth.h:466:9: note: in expansion of macro &amp;#39;BT_DATA&amp;#39;
  466 |         BT_DATA(_type, ((uint8_t []) { _bytes }), \
      |         ^~~~~~~
../../../src/audio/streamctrl_broadcast_sink.c:504:9: note: in expansion of macro &amp;#39;BT_DATA_BYTES&amp;#39;
  504 |         BT_DATA_BYTES(BT_DATA_UUID128_ALL, BT_UUID_NUS_VAL),
      |         ^~~~~~~~~~~~~
C:/ncs/v2.5.1/zephyr/include/zephyr/bluetooth/bluetooth.h:452:29: warning: excess elements in scalar initializer
  452 |                 .data_len = (_data_len), \
      |                             ^
C:/ncs/v2.5.1/zephyr/include/zephyr/bluetooth/bluetooth.h:466:9: note: in expansion of macro &amp;#39;BT_DATA&amp;#39;
  466 |         BT_DATA(_type, ((uint8_t []) { _bytes }), \
      |         ^~~~~~~
../../../src/audio/streamctrl_broadcast_sink.c:504:9: note: in expansion of macro &amp;#39;BT_DATA_BYTES&amp;#39;
  504 |         BT_DATA_BYTES(BT_DATA_UUID128_ALL, BT_UUID_NUS_VAL),
      |         ^~~~~~~~~~~~~
C:/ncs/v2.5.1/zephyr/include/zephyr/bluetooth/bluetooth.h:452:29: note: (near initialization for &amp;#39;adv_data[0]&amp;#39;)
  452 |                 .data_len = (_data_len), \
      |                             ^
C:/ncs/v2.5.1/zephyr/include/zephyr/bluetooth/bluetooth.h:466:9: note: in expansion of macro &amp;#39;BT_DATA&amp;#39;
  466 |         BT_DATA(_type, ((uint8_t []) { _bytes }), \
      |         ^~~~~~~
../../../src/audio/streamctrl_broadcast_sink.c:504:9: note: in expansion of macro &amp;#39;BT_DATA_BYTES&amp;#39;
  504 |         BT_DATA_BYTES(BT_DATA_UUID128_ALL, BT_UUID_NUS_VAL),
      |         ^~~~~~~~~~~~~
C:/ncs/v2.5.1/zephyr/include/zephyr/bluetooth/bluetooth.h:453:17: error: field name not in record or union initializer
  453 |                 .data = (const uint8_t *)(_data), \
      |                 ^
C:/ncs/v2.5.1/zephyr/include/zephyr/bluetooth/bluetooth.h:466:9: note: in expansion of macro &amp;#39;BT_DATA&amp;#39;
  466 |         BT_DATA(_type, ((uint8_t []) { _bytes }), \
      |         ^~~~~~~
../../../src/audio/streamctrl_broadcast_sink.c:504:9: note: in expansion of macro &amp;#39;BT_DATA_BYTES&amp;#39;
  504 |         BT_DATA_BYTES(BT_DATA_UUID128_ALL, BT_UUID_NUS_VAL),
      |         ^~~~~~~~~~~~~
C:/ncs/v2.5.1/zephyr/include/zephyr/bluetooth/bluetooth.h:453:17: note: (near initialization for &amp;#39;adv_data[0]&amp;#39;)
  453 |                 .data = (const uint8_t *)(_data), \
      |                 ^
C:/ncs/v2.5.1/zephyr/include/zephyr/bluetooth/bluetooth.h:466:9: note: in expansion of macro &amp;#39;BT_DATA&amp;#39;
  466 |         BT_DATA(_type, ((uint8_t []) { _bytes }), \
      |         ^~~~~~~
../../../src/audio/streamctrl_broadcast_sink.c:504:9: note: in expansion of macro &amp;#39;BT_DATA_BYTES&amp;#39;
  504 |         BT_DATA_BYTES(BT_DATA_UUID128_ALL, BT_UUID_NUS_VAL),
      |         ^~~~~~~~~~~~~
C:/ncs/v2.5.1/zephyr/include/zephyr/bluetooth/bluetooth.h:453:25: warning: excess elements in scalar initializer
  453 |                 .data = (const uint8_t *)(_data), \
      |                         ^
C:/ncs/v2.5.1/zephyr/include/zephyr/bluetooth/bluetooth.h:466:9: note: in expansion of macro &amp;#39;BT_DATA&amp;#39;
  466 |         BT_DATA(_type, ((uint8_t []) { _bytes }), \
      |         ^~~~~~~
../../../src/audio/streamctrl_broadcast_sink.c:504:9: note: in expansion of macro &amp;#39;BT_DATA_BYTES&amp;#39;
  504 |         BT_DATA_BYTES(BT_DATA_UUID128_ALL, BT_UUID_NUS_VAL),
      |         ^~~~~~~~~~~~~
C:/ncs/v2.5.1/zephyr/include/zephyr/bluetooth/bluetooth.h:453:25: note: (near initialization for &amp;#39;adv_data[0]&amp;#39;)
  453 |                 .data = (const uint8_t *)(_data), \
      |                         ^
C:/ncs/v2.5.1/zephyr/include/zephyr/bluetooth/bluetooth.h:466:9: note: in expansion of macro &amp;#39;BT_DATA&amp;#39;
  466 |         BT_DATA(_type, ((uint8_t []) { _bytes }), \
      |         ^~~~~~~
../../../src/audio/streamctrl_broadcast_sink.c:504:9: note: in expansion of macro &amp;#39;BT_DATA_BYTES&amp;#39;
  504 |         BT_DATA_BYTES(BT_DATA_UUID128_ALL, BT_UUID_NUS_VAL),
      |         ^~~~~~~~~~~~~
ninja: build stopped: subcommand failed.&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem encoding and advertising the BT_UUID_NUS_VAL</title><link>https://devzone.nordicsemi.com/thread/467055?ContentTypeID=1</link><pubDate>Thu, 01 Feb 2024 07:01:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:967d9355-f6ab-41e8-8a60-66d02d440713</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;What issues exactly did you have with bt_le_adv_start()? You need to make sure that the &lt;strong&gt;mgmt_adv_start&lt;/strong&gt;() has room for 128 bits for the UUID. What errors are you running into exactly when trying to use bt_mgmt_adv_start() to advertise with the NUS UUID?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem encoding and advertising the BT_UUID_NUS_VAL</title><link>https://devzone.nordicsemi.com/thread/466971?ContentTypeID=1</link><pubDate>Wed, 31 Jan 2024 14:40:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8fc17223-83a8-4ccb-b31d-7b7871efb136</guid><dc:creator>saml</dc:creator><description>&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/simonr"&gt;Simonr&lt;/a&gt;&amp;nbsp; Thanks for your reply.&lt;/p&gt;
&lt;p&gt;The peripheral_uart sample uses &lt;em&gt;bt_le_adv_start()&lt;/em&gt; to start the advertising. I can&amp;#39;t use this in my case due to previous issues.&lt;/p&gt;
&lt;p&gt;I must initialize advertising with &lt;em&gt;bt_mgmt_adv_start()&lt;/em&gt; and eventually &lt;em&gt;bt_le_ext_adv_start()&lt;/em&gt; gets called. I must use a structure similar to that of&amp;nbsp;&lt;em&gt;unicast_server_adv_data&lt;/em&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So is there no way to advertise the&amp;nbsp;BT_UUID_NUS_VAL this way you mean? Only using the legacy&amp;nbsp;&lt;em&gt;bt_le_adv_start()&lt;/em&gt;&lt;span&gt;&amp;nbsp;.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve taken the BLE fundamentals course already. Thanks.&amp;nbsp;&lt;/p&gt;
&lt;div style="background-color:#ffffff;padding:0px 0px 0px 2px;"&gt;
&lt;div style="background-color:#ffffff;color:#000000;font-family:&amp;#39;Courier New&amp;#39;;font-size:6pt;white-space:nowrap;"&gt;
&lt;p style="background-color:#e8f2fe;"&gt;&lt;span style="color:#000000;"&gt;&lt;/span&gt;&lt;span style="background-color:#ff80ff;color:#000000;font-weight:bold;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style="background-color:#ffffff;padding:0px 0px 0px 2px;"&gt;
&lt;div style="background-color:#ffffff;color:#000000;font-family:&amp;#39;Courier New&amp;#39;;font-size:6pt;white-space:nowrap;"&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem encoding and advertising the BT_UUID_NUS_VAL</title><link>https://devzone.nordicsemi.com/thread/466956?ContentTypeID=1</link><pubDate>Wed, 31 Jan 2024 13:51:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34e4c0ba-c0ba-4132-a2cb-3a466f8df67a</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t think you should use the unicast file (related to LE audio), to do standard BLE advertising. I&amp;#39;d strongly suggest checking out how advertising the Nordic UART service is done in the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/bluetooth/peripheral_uart/README.html"&gt;peripheral_uart sample&lt;/a&gt;, that does just this already. I&amp;#39;d also recommend the Nordic DevAcademy and the &lt;a href="https://academy.nordicsemi.com/courses/bluetooth-low-energy-fundamentals/lessons/lesson-2-bluetooth-le-advertising/"&gt;Bluetooth Low Energy fundamentals course&lt;/a&gt; that explains how to do BLE advertising in detail.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>