DA14585 connects to multiple tablets and vice versa

⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.wsdof.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
8 posts / 0 new
Last post
advanchip@pacbe...
Offline
Last seen:3是的rs 8 months ago
加入:2017-05-10 23:35
DA14585 connects to multiple tablets and vice versa

Hi,

I am using DA14585-00ATDEVKT-P Development Kit - Pro with DA14585_SDK 6.0.2.243 and Keil uVersion V5.23.0.0.

I understood that a device can act as a central and a peripheral at the same time. A central device can be connected to multiple peripherals as well as a peripheral device can be connected to multiple centrals. I would like to connect DA14585 to multiple tablets and vice versa. Do you have any example code to demonstrate these features? Do any SDK functions cover these functions?

Thanks.

Keywords:
Device:
MT_dialog
Offline
Last seen:2 months 1 week ago
工作人员
加入:2015-06-08 11:34
Hi advanchip,

Hi advanchip,

Yes the device can acts as peripheral and a central at the same time via setting the gap role of the device in GAP_ROLE_ALL instead of just a central or a peripheral, as soon as you are done with that you should be able to advertise or scan (you are not going to be able to do both, you will have to cancel the scanning in order to initiate an advertising and vice versa) and then initiate connections. Unfortunatelly there are no multilink official examples for the 585, this feature of the 585 is still under evaluation, the stack has this kind of capability multiple masters to one slave and multiple slaves to one master, but example implementations are still on the way.

谢谢mt_dialog.

advanchip@pacbe...
Offline
Last seen:3是的rs 8 months ago
加入:2017-05-10 23:35
Do you have any idea when

Do you have any idea when will the stack and its example be available?

MT_dialog
Offline
Last seen:2 months 1 week ago
工作人员
加入:2015-06-08 11:34
Hi advanchip,

Hi advanchip,

As far as i know this example will be part of the new SDK 6.0.6 release coming out on September, but i cannot tell for sure the exact date of the release or if the new SDK will involve the multilink example, it might also be released as a seperate design and not as part of the SDK.

谢谢mt_dialog.

advanchip@pacbe...
Offline
Last seen:3是的rs 8 months ago
加入:2017-05-10 23:35
I was told that the 6.0.2 SDK

我被告知6.0.2 SDK是针对旧硅版本,较新的Silicon版本与SDK 6.0.4一起运行。您认为新的SDK 6.0.6将使用现有硬件DA14585-00ATDEVKT-P开发套件 - PRO(请参阅附加的硬件信息)?

If I need new hardware, how can I differentiate if I get the latest version of silicon? As of now, I can't tell the silicon version until I test it. If I order from digi-key; I have to take whatever they ship to me.

MT_dialog
Offline
Last seen:2 months 1 week ago
工作人员
加入:2015-06-08 11:34
Hi advanchip,

Hi advanchip,

Yes, since you are operating over the 6.0.2 SDK that means that you run on an older silicon, and no the SDK 6.0.6 will NOT work with the device that you allready have. All the 585 on the market at the moment should be on the latest version. In order to distinguish between older and latest silicon you will have take a look on the SoC, there is no different part number in order to tell which is a new and which one is old. The old silicons (the one that you should have) should indicate on the package AB000 and the latest should indicate AC or 00.

A mail is sent to the registered email address in order to replace the obsolete board that you have.

谢谢mt_dialog.

JitendraBLE
Offline
Last seen:2 years 8 months ago
加入:2018-08-12 15:50
Hi Dialog Team

Hi Dialog Team

I have a device acting as a peripheral which allows connection to multiple central.

这里,我需要限制我的外围设备以允许仅连接单个中央设备。一旦中央设备连接到外围设备,那么它应该限制其他中央设备,以便以任何一种方式连接,以便停止广告或任何其他方式。

请帮我在这方面。

Thanks

Jitendra

PM_Dialog
Offline
Last seen:1小时19分钟前
工作人员
加入:2018-02-08 11:03
Hi JitendraBLE,

Hi JitendraBLE,

According to the BLE specification you can advertise and be scanned by a specific device if you are aware of the bd address of the scanner and if you use directed advertising. You should add the central address in the .peer_addr_type of the user_adv_config structure in the user_config.h file. Then, use the app_easy_gap_directed_advertise_start() instead of app_easy_gap_undirected_advertise_get_active() in the user_app_adv_start() with a proper bd address to field mentioned above. Also be aware that in direct advertising the PDU incudes only the bd address of the device. As long as you are connected with a central, when the peripheral ends the directed advertising the .app_on_adv_direct_complete callback function will be triggered. So, if you want to stop advertising you should implement the same functionality as the app_on_adv_undirect_complete callback function.

Thanks, PM_Dialog