This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How does BLE + ESB receive?

Hello Nordic Engineer,

I'm a beginner

In this GitHub

If I add code after 473 lines

rx_payload.noack = true

what will the final result be?

Thanks

  • Hi Eric

    Which microcontroller are you using?

    If I add code after 473 lines

    rx_payload.noack = true

    Have you tried this yourself?
    If so, did it disable the ack in the rx payload as expected?

    Regards,
    Sigurd Hellesvik

  • Hi Nordic Engineer,

    Thank you for your reply

    I use nRF52811

    I tried, but the synchronization problem I encountered couldn't be solved

    Can I describe my application scenario?

    I hope there are more devices(nRF52811)

    But let me assume 3 devices first

    The burning procedures of these 3 devices are the same

    It means that any device can be paired with a mobile phone (User autonomy)

    But the phone will only pair with 1 device (I call it relay)

    The remaining 2 unpaired devices will be in ESB_ RX status

    These 2 devices should receive the data sent by "relay" in time

    After the mobile phone sends data, "relay" and device should be synchronized as much as possible

    To do this, I want to turn off all "ack"

    In addition, I tried to turn off another "ack"

    nrf_esb_config.selective_auto_ack = true;

    This did not make the effect better

    So what should I do?

    Thank you

  • Hi ,

    Can you answer this question, please?

    Thank you

  • Hi Eric

    Try to use

    nrf_esb_config.selective_auto_ack = true;
    rx_payload.noack = true;

    on the "relay" and only

    nrf_esb_config.selective_auto_ack = true;
    on the two other devices.

    Does this fix your issue?

    Regards,
    Sigurd Hellesvik

  • Hi,

    I tried to turn off ack

    But there are still out of synchronization

    Any of my products can be used as "relay"

    So their program are the same

    Under this premise, all products (including "relay")

    Both lines of code will be executed

    nrf_esb_config.selective_auto_ack = true;
    rx_payload.noack = true;

    ==================

    I'm thinking about a problem

    "relay" after pairing with mobile phone

    "relay" sends an instruction to notify the nearby device to turn off Bluetooth

    Do you think this way can solve the synchronization problem?

    Thank you

Related