Learn MoreFAQsTutorials

12 posts / 0 new
Last post
BenjaminDu
Offline
Last seen:2 weeks 4 days ago
加入:2016-03-14 02:38
Multiple connections

Hi dialog,

I want to have 1 master connectted to several other slaves,but I found there is little introduction.

I have the following question hope you can help.

1. I'm now using DSPS demo, is it possible for me to change it into a 1 to muti( eg. 6) connections? any modification needed?

2. The speed may be lower than one to one connection, can you tell me the speed of 1 to multi connections? may be 1/10 of that of one to one?

3. Is one to muti connection as stable as one to one ? or there is possibility one to muti is not as stable?

Thanks

Benjamin

July 26

Device:
BenjaminDu
Offline
Last seen:2 weeks 4 days ago
加入:2016-03-14 02:38
Hi dialog,

Hi dialog,

I think CFG_MAX_CONNECTIONS should be defined.

I used the following function in DSPS in user_spsc_task.c to receive informaton from the salve

int user_sps_client_data_rx_ind_handler(ke_msg_id_t const msgid,
struct sps_client_data_rx_ind const *参数,
ke_task_id_t const dest_id,
ke_task_id_t const src_id)

but I can not find where to distinguish which slave is the sender of the message if I have multi slave

Thanks

Benjamin

July 27th

PM_Dialog
Offline
Last seen:11 hours 42 min ago
Staff
加入:2018-02-08 11:03
Hi BenjaminDu,

Hi BenjaminDu,

The DSPS provides 1-to-1 connection, so this is not possible.

Probably you might check theDA14585/DA14586 - DA14531 Multiperipheral Example. However, this example demonstrates how a single peripheral can be connected to more than one centrals. DA14531 is able to support up to 3 and the DA14585 up to 8 simultaneous connections.

In general, the CFG_MAX_CONNECTIONS in the da1458x_config_basic.h header file determines the maximum concurrent connections supported by application.

Thanks, PM_Dialog

BenjaminDu
Offline
Last seen:2 weeks 4 days ago
加入:2016-03-14 02:38
Hi dialog,

Hi dialog,

I downloaded the example, finding there is only one project for peripheral, there is no project for central or master.

Can you hlep to give me the example for 6.0.10_MULTILINK_RW_8_Periph ?

Thanks a lot.

Benjamin.

PM_Dialog
Offline
Last seen:11 hours 42 min ago
Staff
加入:2018-02-08 11:03
Hi Benjamin,

Hi Benjamin,

Please refer to the doc/Readme.html - you will find detailed instructions in order to run the example. There is not any example connection a Central with multiple peripheral, but I'll ask internally. The suggested example demonstrates the opposite - 1 perhpheral to multiple centrals.

Thanks, PM_Dialog

BenjaminDu
Offline
Last seen:2 weeks 4 days ago
加入:2016-03-14 02:38
Hi dialog,

Hi dialog,

If Da1458x doesn't have one Central with multiple peripheral demo, how about Da1468X? these days I tried to figure out if it's possible for Da1468X, but till now I havn't got an answer.

Can you help to answer if Da1468X can have one Central with multiple peripheral? and can you help to tell where to get the demo?

Thanks.

Benjamin.

BenjaminDu
Offline
Last seen:2 weeks 4 days ago
加入:2016-03-14 02:38
Hi dialog,

Hi dialog,

If Da1458x doesn't have one Central with multiple peripheral demo, how about Da1468X? these days I tried to figure out if it's possible for Da1468X, but till now I havn't got an answer.

Can you help to answer if Da1468X can have one Central with multiple peripheral? and can you help to tell where to get the demo?

Thanks.

Benjamin.

TR_Dialog
Offline
Last seen:14 hours 6 min ago
Staff
加入:2014-06-30 23:52
Hi Benjamin,

Hi Benjamin,

For 68x, can you look at the multilink project: projects/dk_apps/demos/ble_multi_link

Thanks,

TR_DIALOG

BenjaminDu
Offline
Last seen:2 weeks 4 days ago
加入:2016-03-14 02:38
Hi Dialog,

Hi Dialog,

To open projects/dk_apps/demos/ble_multi_link , I need to download smartsnipperts, (any others can open the demo ? it seems Keil can't?)I tried many times, but all failed, any where else can I download it besides the followng?

http://lpccs-docs.dialog-semiconductor.com/smartSnippets_studio/1.6.3/Sm...

I'm now using DSPS for 1458x( not 68x), I tried to convert it to be muti connectable.

another question:

for user_central_conf.code, what is should be?

it seems GAPM_CONNECTION_DIRECT and GAPM_CONNECTION_NAME_REQUEST is for one to one connection.

then GAPM_CONNECTION_AUTO and GAPM_CONNECTION_SELECTIVE which one should it be set?

Thanks

Benjamin 2020/08/09

PW_Dialog
Offline
Last seen:2 days 2 hours ago
Staff
加入:2019-04-03 02:54
Hi Benjamin,

Hi Benjamin,

Yes the project need the SmartSnippets Sudio to build, you can download at below address:

//www.xmece.com/sites/default/files/smartsnippets_s...

Br,

PW_Dialog

BenjaminDu
Offline
Last seen:2 weeks 4 days ago
加入:2016-03-14 02:38
Hi Dialog,

Hi Dialog,

I had some discussion with others who had some experience with multi connection, he said he can only connect max 3 slaves instead of 7, my application needs 4 slaves, here I want to know , is it possible for DA14585 to connect simultaneously with 7(or at least 4) slaves?

Thanks

Benjamin

Jan 3rd,2021

PM_Dialog
Offline
Last seen:11 hours 42 min ago
Staff
加入:2018-02-08 11:03
Hi Benjamin,

Hi Benjamin,

According to the datasheet the DA1458 is able to support up to 8 Bluetooth LE connections. In case of the DA14531, up to 3 Bluetooth LE connections can be supported. I’d recommend checking theUM-B-119: DA14585-DA14531 SW Platform Referenceand section 2.5.8.2. Please find the CFG_MAX_CONNECTIONS macro and read its comments.

Thanks, PM_Dialog