Directed mode advertising

Learn MoreFAQsTutorials

6 posts / 0 new
Last post
rajshah
Offline
Last seen:2 years 2 weeks ago
加入:2017-10-04 08:51
Directed mode advertising

Hello Dialog team

I am working on DA14680 chip, example code pxp_reporter. My questions, how we can connect device in directed mode?
Do we need bonding process for it? If yes then how we can do bonding process?
I have read UM-B-044 document and also looked into ble_usbhid_device code. but I didn't get much information.
Simply device should be advertising as a directed mode and specific phone can listen advertising packet.

Any help will be appreciated.

Thanks
Raj

Keywords:
Device:
PM_Dialog
Offline
Last seen:4 hours 10 min ago
工作人员
加入:2018-02-08 11:03
Hi rajshah,

Hi rajshah,

Could you please explain the “connect device in directed mode” that you mentioned in your post? Do you mean directed advertising? If yes, you should change the input of ble_gap_adv_start() function as GAP_CONN_MODE_DIRECTED. Otherwise, please clarify what you would like to accomplish.

Thanks, PM_Dialog

rajshah
Offline
Last seen:2 years 2 weeks ago
加入:2017-10-04 08:51
Hello Dialog

Hello Dialog

My question title is "Directed mode advertising". I need directed mode advertising instead of undirected mode.
Yes, I want to advertise DA14680 device as directed mode so that only one smartphone can connect.
Following is the steps which i followed:
1. First advertise device as undirected mode, connect with peer device and get peer device mac address and store it.
2. After disconnection of peer device, called below API:
- ble_gap_adv_stop();
- ble_gap_adv_direct_address_set(&peerBtAddress);
- ble_gap_adv_start(GAP_CONN_MODE_DIRECTED);
3. After #1 and #2 steps device doesn't advertising and peer device can not capture advertising to make connection.

Could you please send me steps or code snippets so that device can start advertising as a directed mode instead of undirected mode and only one peer device can capture the advertising.

Please let me know if if you need more information.
Thanks

itsikb
Offline
Last seen:11 months 6 days ago
加入:2017-03-23 14:25
Can Dialog please answer the

Can Dialog please answer the above post?
I'm also interesting in Direct adverting feature, and facing the same issue.
Thanks

TR_Dialog
Offline
Last seen:2 weeks 5 days ago
工作人员
加入:2014-06-30 23:52
Hi,

Hi,

As of SDK 1.0.8 directed advertisement was not supported. Checking to see if it was supported in later SDKs.

Thanks,

TR_DIALOG

TR_Dialog
Offline
Last seen:2 weeks 5 days ago
工作人员
加入:2014-06-30 23:52
Hi rajshah,

Hi rajshah,

I checked with our engineering team. Directed advertisement is supported in SDK 1.0.8 and later versions.
However, white listing is not supported in any SDK.

Thanks,
TR_DIALOG