Simultaneous Multiple Connections to DSPS

8 posts / 0 new
Last post
saleem145
Offline
Last seen:5 years 9 months ago
加入:2015-03-19 00:49
Simultaneous Multiple Connections to DSPS

Hello,

If I am running DSPS in peripheral mode as a server can multiple phones connect to it simultaneously?

If not can the code be modified to accomplish this or are there technical limitations that prevent this from doing this?

I want multiple masters (at least two) to be able to connect to a client.

Saleem

JE_Dialog
Offline
Last seen:16 hours 5 min ago
Staff
加入:2013-12-05 14:02
Hello Saleem, our DSPS has

Hello Saleem, our DSPS has been only developed for a single point to single point connection , not for multuiple . Also, please note that as a peripheral, you can only be anyhow connected to a signle central (smartphone).

BR JE_Dialog

saleem145
Offline
Last seen:5 years 9 months ago
加入:2015-03-19 00:49
Thanks for your response as

Thanks for your response as always.

To back track a bit my end goal is to transmit information from Node A to Node D. But A and D are not within range of each other. Node A can talk to Node B, Node B can talk to Node C and Node C can talk to Node D.

Multiple solutions come to mind --

1. Establish a connection from A to B. Send the data over. Disconnect. Then connect from B to C send the data to C. disconnect. Connect C to D. Send the data to D.

2. Presumably connecting and disconnecting would take time. Can we establish a connection from A to B, B to C and C to D at the onset and then just send data without having to connect and disconnect.

A: Master
B: Client A, C
C: Master
D: Client C

Can B be a client to A and C??

The other alternative would be to

Initially A is Master B is Client. B then becomes Master and C Client, C then becomes Master and D becomes client??

It switching Master Client possible dynamically and is it faster than connect disconnect??

Thanks as always,

Saleem

saleem145
Offline
Last seen:5 years 9 months ago
加入:2015-03-19 00:49
The functionality I am after

The functionality I am after is referred to as Scatternet.

http://en.wikipedia.org/wiki/Scatternet

"Scatternets can be formed when a member of one piconet (either the master or one of the slaves) elects to participate as a slave in a second, separate piconet."

So this is part of the Bluetooth Spec -- the question is can I do it with DA14580. Thanks.

saleem145
Offline
Last seen:5 years 9 months ago
加入:2015-03-19 00:49
arch_main.c contains a

arch_main.c contains a variable called BLE_CONNECTION_MAX_USER

Also there is a file called da14580_scatter_config.h

So I suspect the functionality is there...I wish everything were better documented.

Saleem

JE_Dialog
Offline
Last seen:16 hours 5 min ago
Staff
加入:2013-12-05 14:02
Hello saleem, the file

你好萨利姆,scatter_c的文件onfig.h refers to the memory map : it has nothing to do with 'scatternet'. Techincally, it can be done (change DA14580 from slave to master), and has been implemented by some customers, but its complex and resource intensive to implement - effectively rebooting the device with different application file. I would only recommend someone to look into this if they have already quite some extensive experience on Cortex M0 platform. BR JE_Dialog

kobyfr_mag
Offline
Last seen:5 years 3 weeks ago
加入:2015-06-02 12:48
So, is there no way for a

So, is there no way for a DA14580 peripheral to allow 2 or more centrals to connect? Is that true for SDK 5.0.3 as well (released October 2015)?

MT_dialog
Offline
Last seen:1 month 5 days ago
Staff
加入:2015-06-08 11:34
Hi kobyfr_mag,

Hi kobyfr_mag,

The 580 SDK5 in peripheral mode doesnt support more than one connection.

Thanks MT_dialog