This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

iso_broadcast sample not working

Hi,

I have nRF52840 DK, nRFConnectSDK v 1.7.0-rc2,

I compiled iso_broadcast and iso_broadcast_benchmark projects: ( no changes are made)

Here is the run log:

//==== for iso-broadcast :

*** Booting Zephyr OS build v2.6.99-ncs1-rc2-4-gebddd97c4d39  ***               
Starting ISO Broadcast Demo                                                     
Failed to set periodic advertising parameters (err -134)                        
[00:00:00.008,392] <inf> sdc_hci_driver: SoftDevice Controller build revision:  
                                         3f 47 70 8e 81 95 4e 86  9d d3 a2 95 88
                      f6 30 0a |?Gp...N. ......0.                                                    
                                         7f 53 49 fd                            
                           |.SI.                                                                 
[00:00:00.010,070] <inf> bt_hci_core: HW Platform: Nordic Semiconductor (0x0002)
[00:00:00.010,070] <inf> bt_hci_core: HW Variant: nRF52x (0x0002)               
[00:00:00.010,070] <inf> bt_hci_core: Firmware: Standard Bluetooth controller (0
x00) Version 63.28743 Build 1318420878                                          
[00:00:00.010,894] <inf> bt_hci_core: Identity: F1:4D:B5:3A:85:5A (random)      
[00:00:00.010,894] <inf> bt_hci_core: HCI: version 5.2 (0x0b) revision 0x125b, m
anufacturer 0x0059                                                              
[00:00:00.010,925] <inf> bt_hci_core: LMP: version 5.2 (0x0b) subver 0x125b

//======== For iso_broadcast_benchmark

*** Booting Zephyr OS build v2.6.99-ncs1-rc2-4-gebddd97c4d39  ***               
Choose device role - type r (receiver role) or b (broadcaster role), or q to qui
t: [00:00:00.005,828] <inf> iso_broadcast_main: Starting Bluetooth Throughput ex
ample                                                                           
[00:00:00.005,920] <inf> sdc_hci_driver: SoftDevice Controller build revision:  
                                         3f 47 70 8e 81 95 4e 86  9d d3 a2 95 88
 f6 30 0a |?Gp...N. ......0.                                                    
                                         7f 53 49 fd                            
          |.SI.                                                                 
[00:00:00.009,490] <inf> iso_broadcast_main: Bluetooth initialized              
b                                                                               
Broadcaster role                                                                
Change settings (y/N)? (Current settings: rtn=2, interval=7500, latency=0, phy=2
, sdu=251, packing=0, framing=0, bis_count=1)                                   
Choose device role - type r (receiver role) or b (broadcaster role), or q to qui
t: [00:00:10.286,041] <inf> iso_broadcast_broadcaster: Creating Extended Adverti
sing set                                                                        
[00:00:10.286,560] <inf> iso_broadcast_broadcaster: Setting Periodic Advertising
 parameters                                                                     
[00:00:10.286,590] <err> iso_broadcast_broadcaster: Failed to set periodic adver
tising parameters (err -134)                                                    
[00:00:10.286,590] <err> iso_broadcast_broadcaster: Could not create BIG: -134  
[00:00:10.286,590] <inf> iso_broadcast_main: Test complete -134

What did I miss?

Thank you,

David Zhou

Parents
  • Hi,

    I don't think the SoftDevice Controller currently support this iso sample.

    Try using the Zephyr Controller instead.

    To use the Zephyr Controller instead, set CONFIG_BT_LL_SW_SPLIT to y in the prj.conf

  • Hi Sigurd,

    I did add

    CONFIG_BT_LL_SW_SPLIT=y

    then, It shows ( for iso-broadcast  project)

    [00:00:06.445,281] [1;33m<wrn> bt_hci_core: opcode 0x2036 status 0x01[0m
    Failed to create advertising set (err -5)

    For the projects periodic_adv/periodic_sync, one acts as broadcaster, and the other acts as receiver. Is it possible that each project acts as broadcaster and receiver at the same time (simultaneously) ?

    Thank you,

    David

  • TigerD said:

    then, It shows ( for iso-broadcast  project)

    [00:00:06.445,281] [1;33m<wrn> bt_hci_core: opcode 0x2036 status 0x01[0m
    Failed to create advertising set (err -5)

    It seems like the Zephyr Controller does not support ISO either. There is an PR here with the on-going work to add support for ISO: https://github.com/zephyrproject-rtos/zephyr/pull/31009

     Hopefully it will be added in Zephyr v2.8.0

    TigerD said:
    For the projects periodic_adv/periodic_sync, one acts as broadcaster, and the other acts as receiver. Is it possible that each project acts as broadcaster and receiver at the same time (simultaneously) ?

     I think that should be possible. Might be some limitations on what the advertising interval and amount of data that is transmitted though.

Reply
  • TigerD said:

    then, It shows ( for iso-broadcast  project)

    [00:00:06.445,281] [1;33m<wrn> bt_hci_core: opcode 0x2036 status 0x01[0m
    Failed to create advertising set (err -5)

    It seems like the Zephyr Controller does not support ISO either. There is an PR here with the on-going work to add support for ISO: https://github.com/zephyrproject-rtos/zephyr/pull/31009

     Hopefully it will be added in Zephyr v2.8.0

    TigerD said:
    For the projects periodic_adv/periodic_sync, one acts as broadcaster, and the other acts as receiver. Is it possible that each project acts as broadcaster and receiver at the same time (simultaneously) ?

     I think that should be possible. Might be some limitations on what the advertising interval and amount of data that is transmitted though.

Children
No Data
Related