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

How can the Peripheral connect with Central only by using directed Broadcast

Hi

I'm using SKD16.0.0 and S132, and I want to realize that peripherals can only connect to a center with a known MAC address through directed advertising.How should I implement this?

  • Where the central MAC address is known. 
  • The peripheral address is unknown.
  • Use directed advertising directly
  • No pairing or binding is required.

Best regards

Xft

Parents Reply
  • Could post the code where you do scanning and connecting ? 

    Please try testing by doing this : 

    1. Just do normal advertising and check if your scanning parameter works. Meaning you can scan for the advertising packet when the advertising in normal advertising mode. 

    2. Just do only scanning, not connecting, and check which advertising packets you receive. 

    There is a chance that the address you input into the scan parameter was not correct (wrong endianess for example)

Children
Related