<?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>Bluetooth sample iso_receive - cannot build</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/87225/bluetooth-sample-iso_receive---cannot-build</link><description>Hi, 
 Environment: nRF SDK 1.9.1, VS Code 1.66.2 
 Without making any changes, I can build and flash the iso_receive sample but it fails with a -5 error code (EIO) on this line (line 319): 
 
 I have spoken with the Zephyr support team and they say that</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 03 May 2022 15:01:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/87225/bluetooth-sample-iso_receive---cannot-build" /><item><title>RE: Bluetooth sample iso_receive - cannot build</title><link>https://devzone.nordicsemi.com/thread/366038?ContentTypeID=1</link><pubDate>Tue, 03 May 2022 15:01:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e3c3b38-2910-4290-98a3-6802736e3102</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user="skajam66"]Apologies for the confusion.[/quote]
&lt;p&gt;No problem at all, AC! :)&amp;nbsp;&lt;br /&gt;&lt;br /&gt;That sounds like a good plan!&lt;br /&gt;I too think that this question might be more suited for the zephyr team, since you are using the Zephyr controller.&lt;br /&gt;If they should point you back to us we can review their feedback in the new ticket, no problem.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth sample iso_receive - cannot build</title><link>https://devzone.nordicsemi.com/thread/365556?ContentTypeID=1</link><pubDate>Fri, 29 Apr 2022 10:33:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f322e158-bfbe-44fc-b69a-dfa27edc22b1</guid><dc:creator>skajam66</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I can see an engineer has been assigned but, since posting the comment, I now think that this is a Zephyrcontroller issue so I have raised it with the Zephyr team.&lt;br /&gt;&lt;br /&gt;I&amp;#39;m going to close this ticket - if the Zephyr team point to it being a Nordic issue, I&amp;#39;ll open up a new ticket.&lt;/p&gt;
&lt;p&gt;Apologies for the confusion.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;AC&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth sample iso_receive - cannot build</title><link>https://devzone.nordicsemi.com/thread/364668?ContentTypeID=1</link><pubDate>Mon, 25 Apr 2022 10:39:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c0f49b7d-0fd9-4273-94d4-8fcb9726498e</guid><dc:creator>skajam66</dc:creator><description>&lt;p&gt;Hi Oivind,&lt;/p&gt;
&lt;p&gt;Thank you for your response. A step forward:&lt;br /&gt;&lt;br /&gt;With just&amp;nbsp;CONFIG_BT_ISO_SYNC_RECEIVER=y config option in hci_rpmsg.conf, the DK board is receiving iso broadcast from my source board (a custom board running the Packetcraft stack). A snippet of the log files:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;Waiting for periodic advertising...
[DEVICE]: FE:BA:10:A0:87:D4 (public), AD evt type 5, Tx Pwr: 127, RSSI -68 Packetcraft audio-cis C:0 S:0 D:0 SR:0 E:1 Prim: LE 1M, Secn: LE 1M, Interval: 0x00a0 (200 ms), SID: 0
Found periodic advertising.
Stop scanning...success.
Creating Periodic Advertising Sync...success.
Waiting for periodic sync...
[DEVICE]: FE:BA:10:A0:87:D4 (public), AD evt type 5, Tx Pwr: 127, RSSI -68 Packetcraft audio-cis C:0 S:0 D:0 SR:0 E:1 Prim: LE 1M, Secn: LE 1M, Interval: 0x00a0 (200 ms), SID: 0
PER_ADV_SYNC[0]: [DEVICE]: FE:BA:10:A0:87:D4 (public) synced, Interval 0x00a0 (200 ms), PHY LE 1M
PER_ADV_SYNC[0]: [DEVICE]: FE:BA:10:A0:87:D4 (public), tx_power 127, RSSI -67, CTE 0, data length 0, data: 
Periodic sync established.
Waiting for BIG info...
PER_ADV_SYNC[0]: [DEVICE]: FE:BA:10:A0:87:D4 (public), tx_power 127, RSSI -68, CTE 0, data length 0, data: 
PER_ADV_SYNC[0]: [DEVICE]: FE:BA:10:A0:87:D4 (public), tx_power 127, RSSI -67, CTE 0, data length 0, data: 
PER_ADV_SYNC[0]: [DEVICE]: FE:BA:10:A0:87:D4 (public), tx_power 127, RSSI -67, CTE 0, data length 0, data: 
PER_ADV_SYNC[0]: [DEVICE]: FE:BA:10:A0:87:D4 (public), tx_power 127, RSSI -72, CTE 0, data length 0, data: 
PER_ADV_SYNC[0]: [DEVICE]: FE:BA:10:A0:87:D4 (public), tx_power 127, RSSI -70, CTE 0, data length 0, data: 
PER_ADV_SYNC[0]: [DEVICE]: FE:BA:10:A0:87:D4 (public), tx_power 127, RSSI -72, CTE 0, data length 0, data: 
failed (err -11)
Deleting Periodic Advertising Sync...Start scanning...success.
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;However, when I also enable&amp;nbsp;CONFIG_BT_LL_SW_SPLIT=y and CONFIG_BT_CTLR_ADV_EXT=y in hci_rpmsg.conf, I still see standard LE advertising and scan requests but I no longer see the iso broadcasts. Sample log file:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;[DEVICE]: F0:C7:7F:AD:4D:7F (public), AD evt type 0, Tx Pwr: 127, RSSI -64  C:1 S:1 D:0 SR:0 E:0 Prim: LE 1M, Secn: No packets, Interval: 0x0000 (0 ms), SID: 255
[DEVICE]: F0:C7:7F:AD:4D:7F (public), AD evt type 4, Tx Pwr: 127, RSSI -64 Blue Box      C:1 S:1 D:0 SR:1 E:0 Prim: LE 1M, Secn: No packets, Interval: 0x0000 (0 ms), SID: 255
[DEVICE]: 7B:52:2D:01:FC:A7 (random), AD evt type 0, Tx Pwr: 127, RSSI -51  C:1 S:1 D:0 SR:0 E:0 Prim: LE 1M, Secn: No packets, Interval: 0x0000 (0 ms), SID: 255
[DEVICE]: 7B:52:2D:01:FC:A7 (random), AD evt type 4, Tx Pwr: 127, RSSI -49  C:1 S:1 D:0 SR:1 E:0 Prim: LE 1M, Secn: No packets, Interval: 0x0000 (0 ms), SID: 255
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;The team at Zephyr also told me to add these to prj.conf:&lt;/p&gt;
&lt;p&gt;CONFIG_BT_CTLR_ADV_EXT=y&lt;br /&gt;CONFIG_BT_CTLR_SYNC_PERIODIC=y&lt;br /&gt;CONFIG_BT_CTLR_SYNC_ISO=y&lt;/p&gt;
&lt;p&gt;By themselves, VS Code shows missing dependency errors. By further adding CONFIG_BT_CTLR and CONFIG_BT_HCI, the dependency errors go away but the code will not build.&lt;/p&gt;
&lt;p&gt;I have also tried adding these to hci_rpmsg.conf and that has no visible effect.&lt;/p&gt;
&lt;p&gt;Are there any other configs that you can think of that I might need?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;AC&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth sample iso_receive - cannot build</title><link>https://devzone.nordicsemi.com/thread/364630?ContentTypeID=1</link><pubDate>Mon, 25 Apr 2022 08:24:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ae42aa67-6946-44f2-81f8-365916db0760</guid><dc:creator>&amp;#216;ivind</dc:creator><description>&lt;p&gt;Ok, to use the Zephyr controller you need to add CONFIG_BT_LL_SW_SPLIT=y to the child_image/hci_rpmsg.conf.&lt;/p&gt;
&lt;p&gt;The sample seems to work when I also enable advertising extensions.&lt;/p&gt;
&lt;p&gt;My hci_rpmsg.conf:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_BT_ISO_SYNC_RECEIVER=y
CONFIG_BT_LL_SW_SPLIT=y
CONFIG_BT_CTLR_ADV_EXT=y
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth sample iso_receive - cannot build</title><link>https://devzone.nordicsemi.com/thread/364566?ContentTypeID=1</link><pubDate>Sun, 24 Apr 2022 11:59:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8e934348-4511-4ec7-afed-9dea3e4d2e99</guid><dc:creator>skajam66</dc:creator><description>&lt;p&gt;Hi Oivind,&lt;/p&gt;
&lt;p&gt;Thank you for your suggestion. I can confirm that after making this change I can see the board scanning and receiving advertisements.&lt;/p&gt;
&lt;p&gt;However, this will be using the Nordic SoftDevice controller. How do I switch to the Zephyr controller? I have tried manually editing prj.conf and adding CONFIG_BT_LL_SW_SPLIT=y and, separately, I have tried changing settings in Kconfig. Both approaches result in various build failures.&lt;/p&gt;
&lt;p&gt;Can you point me to any documentation that will tell me what I need to do?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;AC&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth sample iso_receive - cannot build</title><link>https://devzone.nordicsemi.com/thread/364451?ContentTypeID=1</link><pubDate>Fri, 22 Apr 2022 11:32:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce0b52b9-e777-493f-8b78-628762a8891a</guid><dc:creator>&amp;#216;ivind</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You need to create a directory named &amp;quot;child_image&amp;quot; in the project directory. In &amp;quot;child_image&amp;quot; you need to add a file named &amp;quot;hci_rpmsg.conf&amp;quot;. hci_rpmsg.conf should contain this line:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_BT_ISO_SYNC_RECEIVER=y&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;For clarity, the path will be iso_receive/child_image/hci_rpmsg.conf&lt;br /&gt;This will add the config to the image on the network core, which controls the radio.&lt;/p&gt;
&lt;p&gt;No other changes to the original sample are needed to start scanning.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>