Central and peripheral Coded Phy running in nRF5340 and nRF52840 DKs

Hi, 

I have nRF5340 DK and nRF52840 DK and Flashed Central_hr_coded in nRF52840, Peripheral_hr_coded in nRF5340 DK. Followed the steps of Testing as showed in below link. 

https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/bluetooth/central_hr_coded/README.html#bluetooth-central-hr-coded

In the Putty and nRF terminal of VS Code, It is not showing the device connected.

1)My question is can we run the central and peripheral_hr_coded in different DKs? Any configuration need to change to allow both DKs connected to see the data in terminal?

2)I have tried to test the Peripheral_hr_Coded sample to see the HR data in nRF Connect App. The Device Name is not visible in App even though I added  CONFIG_BT_DEVICE_NAME="CODED PHY TEST". in prj.conf file. 

3)I would like to test Coded_PHY sample program for nRF5340 DK. Any Sample Coded PHY program to test the BLE Long range and Max data transfer to check?

Any Help Appreciated.

Thanks & Regards

Yashwanth

Parents
  • Hi

    1. This log you're showing seems to be from the incorrect COM port (probably the NET core) which won't give you much logging info on the connection. Have you tried the other COM ports as well? Please read the "Testing" section of the sample project readme files (Central and peripheral) for info of how it should look and how to set up Putty correctly.

    2. I think the reason the name isn't visible on your Samsung is because the name is advertised on the secondary channels instead of primary adv channels, so the Samsung doesn't pick up the device name, only the advertising indication on the primary channels.

    3. Do you have any more information on what's going wrong with these devices other than you not seeing any output? How are they set up with your computer?

    Best regards,

    Simon

  • Hi Simonr,

    I have gone through the settings to setup putty. Only peripheral side it is showing as above log in nRF terminal of VS Code. 

    Actually I'm new to this and  I'm trying to work on Coded PHY Sample to test the long range and High Data throughput. 

    I found this example. 

    /cfs-file/__key/communityserver-discussions-components-files/4/0508.peripheral_5F00_uart_5F00_throughput.zip

    LE PHY getting updated as per  BT_CONN_LE_PHY_PARAM_2M.

    I have changed this to BT_CONN_LE_PHY_PARAM_CODED  to enable CODED PHY and  added 

    CONFIG_BT_EXT_ADV=y in prj.conf file. But it is not showing any devices in nRF Connect Mobile App. (In My Mobile (Samsung A31) device can be visible in Scanner).
    1)May I know what are the changes need to update to work as CODED PHY?
    2)As CONFIG_BT_L2CAP_TX_MTU = 247 in prj.conf file. Can we change it to 512 as max data size to send? I changed the value of it. But again it is the default size taking as 247. How this can be enabled to get max data transfer?
    3)The data length  here is 27 bytes. Is it the packet size every time it advertises? can we increase this value?
    Regards,
    Yashwanth
Reply
  • Hi Simonr,

    I have gone through the settings to setup putty. Only peripheral side it is showing as above log in nRF terminal of VS Code. 

    Actually I'm new to this and  I'm trying to work on Coded PHY Sample to test the long range and High Data throughput. 

    I found this example. 

    /cfs-file/__key/communityserver-discussions-components-files/4/0508.peripheral_5F00_uart_5F00_throughput.zip

    LE PHY getting updated as per  BT_CONN_LE_PHY_PARAM_2M.

    I have changed this to BT_CONN_LE_PHY_PARAM_CODED  to enable CODED PHY and  added 

    CONFIG_BT_EXT_ADV=y in prj.conf file. But it is not showing any devices in nRF Connect Mobile App. (In My Mobile (Samsung A31) device can be visible in Scanner).
    1)May I know what are the changes need to update to work as CODED PHY?
    2)As CONFIG_BT_L2CAP_TX_MTU = 247 in prj.conf file. Can we change it to 512 as max data size to send? I changed the value of it. But again it is the default size taking as 247. How this can be enabled to get max data transfer?
    3)The data length  here is 27 bytes. Is it the packet size every time it advertises? can we increase this value?
    Regards,
    Yashwanth
Children
No Data
Related