<?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>Issue with the name of the peripheral in Coded phy</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/91347/issue-with-the-name-of-the-peripheral-in-coded-phy</link><description>The issue is that the name appear when the peripheral is in 1M PHY but he don&amp;#39;t apprear when the device is in Coded PHY, do you know why ? 
 I use NCS 2.0.0 and to scan i use a central with shell commands.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 01 Sep 2022 07:48:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/91347/issue-with-the-name-of-the-peripheral-in-coded-phy" /><item><title>RE: Issue with the name of the peripheral in Coded phy</title><link>https://devzone.nordicsemi.com/thread/384258?ContentTypeID=1</link><pubDate>Thu, 01 Sep 2022 07:48:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:851e0898-b154-4f9f-bf3f-a61eac171f09</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;For the nRF Connect SDK we already have central/peripheral sample projects that showcase how to use the Coded PHY. Please check out the Heart Rate Monitor with Coded PHY &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/bluetooth/central_hr_coded/README.html"&gt;central &lt;/a&gt;and &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/bluetooth/peripheral_hr_coded/README.html"&gt;peripheral &lt;/a&gt;to make sure advertising and scanning is set up correctly for using Coded PHY.&lt;/p&gt;
&lt;p&gt;If you think the issue is with the peripheral, you could also do a sniffer trace to see what is happening on-air and make sure.&amp;nbsp;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;A sniffer trace can be gotten by using either a dedicated BLE sniffer (like the&lt;/span&gt;&lt;a href="https://www.ellisys.com/products/bv1/"&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;Ellisys sniffers&lt;/a&gt;&lt;span&gt;), or if you have a spare nRF52 DK or Dongle, you can use the&lt;/span&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/ug_sniffer_ble/UG/sniffer_ble/intro.html"&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;nRF Sniffer&lt;/a&gt;&lt;span&gt;&amp;nbsp;and Wireshark to sniff the connection and pairing method.&lt;/span&gt;&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: Issue with the name of the peripheral in Coded phy</title><link>https://devzone.nordicsemi.com/thread/384129?ContentTypeID=1</link><pubDate>Wed, 31 Aug 2022 12:00:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a6f9dd4-38aa-4a4e-b529-7e67d4de8090</guid><dc:creator>Piwy</dc:creator><description>&lt;p&gt;I use a central with shell bluetooth command with NCS 2.0 and tere is UART communication to see the board in serial port.&lt;/p&gt;
&lt;p&gt;I use putty to sens command like to scan and to connect with my peripheral.&lt;/p&gt;
&lt;p&gt;My board is a custom board with uart communication, but this is not the issue here, the issue isn&amp;#39;t hardware i think.&lt;/p&gt;
&lt;p&gt;I use NCS 2.0 in VS Code and not NFR5, i can&amp;#39;t use this simple scanner exemple. But i really think the probleme came from the peripheral and not central because the difference orcured in 1m and not in coded, the central take the information of the name exactely the same way that it does in 1m or in coded.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with the name of the peripheral in Coded phy</title><link>https://devzone.nordicsemi.com/thread/384122?ContentTypeID=1</link><pubDate>Wed, 31 Aug 2022 11:48:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6dca1adf-1d2e-4180-b1f7-c31e65f7f65a</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;By &amp;quot;dongle BLE&amp;quot; can you explain a bit more, is it an &lt;a href="https://www.nordicsemi.com/Products/Development-hardware/nrf52840-dongle"&gt;nRF52840 Dongle&lt;/a&gt; or some other third party Dongle? Please check out &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/71670/tested-uart_c-and-beacon-for-nrf52833"&gt;this DevZone ticket&lt;/a&gt; where my colleague Einar has uploaded a simple scanner for Coded PHY example that should be usable.&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: Issue with the name of the peripheral in Coded phy</title><link>https://devzone.nordicsemi.com/thread/383802?ContentTypeID=1</link><pubDate>Tue, 30 Aug 2022 07:46:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c5d00d4-51ca-4989-8f34-84f59a72b4df</guid><dc:creator>Piwy</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I cdon&amp;#39;t use really use my phone, i don&amp;#39;t think he can use CodedPHY, but he can see the adress of the peripheral.&lt;/p&gt;
&lt;p&gt;My central is a dongle BLE with shell command and i use this code bellow to see the name :&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;static void scan_recv(const struct bt_le_scan_recv_info *info,
		      struct net_buf_simple *buf)
{
	char le_addr[BT_ADDR_LE_STR_LEN];
	char name[NAME_LEN];

	(void)memset(name, 0, sizeof(name));

	bt_data_parse(buf, data_cb, name);

	bt_addr_le_to_str(info-&amp;gt;addr, le_addr, sizeof(le_addr));

	if (scan_filter.name_set &amp;amp;&amp;amp; !is_substring(scan_filter.name, name)) {
		return;
	}

	if (scan_filter.addr_set &amp;amp;&amp;amp; !is_substring(scan_filter.addr, le_addr)) {
		return;
	}

	shell_print(ctx_shell, &amp;quot;[DEVICE]: %s, AD evt type %u, RSSI %i %s &amp;quot;
		    &amp;quot;C:%u S:%u D:%d SR:%u E:%u Prim: %s, Secn: %s, &amp;quot;
		    &amp;quot;Interval: 0x%04x (%u ms), SID: 0x%x&amp;quot;,
		    le_addr, info-&amp;gt;adv_type, info-&amp;gt;rssi, name,
		    (info-&amp;gt;adv_props &amp;amp; BT_GAP_ADV_PROP_CONNECTABLE) != 0,
		    (info-&amp;gt;adv_props &amp;amp; BT_GAP_ADV_PROP_SCANNABLE) != 0,
		    (info-&amp;gt;adv_props &amp;amp; BT_GAP_ADV_PROP_DIRECTED) != 0,
		    (info-&amp;gt;adv_props &amp;amp; BT_GAP_ADV_PROP_SCAN_RESPONSE) != 0,
		    (info-&amp;gt;adv_props &amp;amp; BT_GAP_ADV_PROP_EXT_ADV) != 0,
		    phy2str(info-&amp;gt;primary_phy), phy2str(info-&amp;gt;secondary_phy),
		    info-&amp;gt;interval, BT_CONN_INTERVAL_TO_MS(info-&amp;gt;interval),
		    info-&amp;gt;sid);
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;In 1m i can have it but not in coded..&lt;/p&gt;
&lt;p&gt;It&amp;#39;s the only information of the advertising paquet that i can&amp;#39;t have unfortunatly..&lt;/p&gt;
&lt;p&gt;I also can&amp;#39;t see the information even after connexion, i can see it in 1m with the characteristics but not in coded, somethings miss i think, but i don&amp;#39;t know what ...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with the name of the peripheral in Coded phy</title><link>https://devzone.nordicsemi.com/thread/383616?ContentTypeID=1</link><pubDate>Mon, 29 Aug 2022 08:45:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb7c6d58-48f9-4254-933f-243a13f45d55</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;The Coded PHY doesn&amp;#39;t allow you to increase the advertising packet size (without big performance losses). If the phone isn&amp;#39;t able to pick up the Coded PHY advertising name (likely the secondary channels), that points to the phone not supporting Coded PHY. What phone model is this? You can try to make room in the initial advertising packet, but it needs to contain the indication that there is more data on the secondary channels, so that might be hard to do if you have more data to include.&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: Issue with the name of the peripheral in Coded phy</title><link>https://devzone.nordicsemi.com/thread/383483?ContentTypeID=1</link><pubDate>Fri, 26 Aug 2022 12:50:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d6d86aa-5d60-488c-a881-48d6248c02ad</guid><dc:creator>Piwy</dc:creator><description>&lt;p&gt;hi &lt;/p&gt;
&lt;p&gt;I think it&amp;#39;s the first solution because my central use command shell to scan in coded and get normally all the information from the device, and also because my phone also don&amp;#39;t see the name in coded PHY but how to solve this ? increase the size of advertising packets ? &lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Py&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with the name of the peripheral in Coded phy</title><link>https://devzone.nordicsemi.com/thread/383462?ContentTypeID=1</link><pubDate>Fri, 26 Aug 2022 12:17:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f250892f-00aa-4e63-9118-1b344632922e</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Most likely this is because you&amp;#39;re using extended advertising packets on the 1M PHY, where the device name is able to fit. Coded PHY has a restriction in the size of advertising packets. It could also be that your central is not scanning on the Coded PHY and only get the initial advertisement on the main advertising channels, the rest of the advertising data is transmitted on secondary channels (other than 37, 38, and 39).&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>