PHY Coded transmission issue

Hi there!

I face issue with setting the connection using PHY Coded.

I've:

- set the #define NRF_BLE_SCAN_SCAN_PHY 4 (it's Coded one) on Central side.

- forced PHY Coded to be set on GAP Update in "ble_evt_handler" function on both Central and Peripheral side: 

case BLE_GAP_EVT_PHY_UPDATE_REQUEST:
{
ble_gap_phys_t const phys =
{
.rx_phys = BLE_GAP_PHY_CODED,
.tx_phys = BLE_GAP_PHY_CODED,
};

- extended #define NRF_BLE_SCAN_BUFFER 255 on Central side (according to some other DevZone topic)

- let everything else like in PHY 1M project.

But I see it's not PHY Coded, because range didn't extend. What else am I supposed to do?

Parents
  • Are both devices nRF52840 DKs/PDKs? There shouldn't be an issue with this project as far as I know. Did you open the projects in SEGGER Embedded Studios as intended?

    It can also be an issue with bonding information being stored on either device not allowing them to connect. Try running an nrfjprog --eraseall (using the nRF Command Line Tools) on both devices before flashing the projects onto them again.

    Best regards,

    Simon

  • Well, I'd erased Flash with J-FLash Lite before, and done it again with nrfutil, as you wish. But it didn't change the situation too.

    I've opened SES projects from .emProject files in 2 windows.

    Maybe there's some hardware error in PDK - no matter if DK is Central and PDK Peripheral or the opposite - the problem's the same. I don't see "Nordic UART" to be scanned on Android's nRF Connect app - I'm not sure if it should be discovered on ordinary Android smartphone anyway...

Reply
  • Well, I'd erased Flash with J-FLash Lite before, and done it again with nrfutil, as you wish. But it didn't change the situation too.

    I've opened SES projects from .emProject files in 2 windows.

    Maybe there's some hardware error in PDK - no matter if DK is Central and PDK Peripheral or the opposite - the problem's the same. I don't see "Nordic UART" to be scanned on Android's nRF Connect app - I'm not sure if it should be discovered on ordinary Android smartphone anyway...

Children
No Data
Related