This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
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

Direct Advertisement, how to setup central?

Hello,

I have a peripheral based on the nrf52 that connects to my Android phone already in direct advertisement mode.

I am trying to get a NRF52 central working with this direct advertisement. Normal advertisement modes works.

What is the key steps that is needed to have the central setup correctly?

Thanks in advance!

FI

Parents
  • FormerMember
    0 FormerMember

    When using direct advertising, there is no specific setup for the central, except that you have to make sure that the central is scanning with appropriate scan interval/scan window.

    In order to achieve a fast connection establishment a possible, the central should have close to continuous scanning and have a fairly short scan interval. Bluetooth core specification v.4.2, vol. 3, part C, appendix A recommends the following parameters for a fast connection initiation:

    • Scan interval: 30 ms to 60 ms
    • Scan window: 30 ms
    • Minimum time for doing the scanning (scan period): 30.72 s.
  • FormerMember
    0 FormerMember in reply to FormerMember

    Okay, I see. I was thinking high duty cycle directed advertising. Anyway.

    Do you have an extra nRF51-DK or a nRF51-Dongle? If so, could you use the sniffer to check if there is any interaction between the central and the peripheral device? And upload the sniffer trace here?

    The sniffer should be used with Wireshark, and it works best with version 1.10, not one of the newer versions. Wireshark can be downloaded here:

    For directed advertising, the advertising packets will contain an address, the only address that is allowed to send a connect request. Does the address in the advertising packet is the same as the address of your central device?

Reply
  • FormerMember
    0 FormerMember in reply to FormerMember

    Okay, I see. I was thinking high duty cycle directed advertising. Anyway.

    Do you have an extra nRF51-DK or a nRF51-Dongle? If so, could you use the sniffer to check if there is any interaction between the central and the peripheral device? And upload the sniffer trace here?

    The sniffer should be used with Wireshark, and it works best with version 1.10, not one of the newer versions. Wireshark can be downloaded here:

    For directed advertising, the advertising packets will contain an address, the only address that is allowed to send a connect request. Does the address in the advertising packet is the same as the address of your central device?

Children
No Data
Related