如何连接3使用DS da14580在一起PS (or other suitable profile)?

2 posts / 0 new
Last post
Fernando Effting
Offline
Last seen:1 year 4 months ago
加入:2014-11-14 13:50
如何连接3使用DS da14580在一起PS (or other suitable profile)?

Hi!

I would like to know from you what is the best alternative in order for me to accomplish the following needs:

There will be 3 DA14580 (PAN1740) based devices communicating with each other.
The first one will be the main device, which will be sending data to a second device (a display), and it will also be receiving data from a third device (a sensor).

I have been able to communicate two of them, the main device and the sensor, using the DSPS. But this profile only supports two connected devices simultaneously.

Another requirement is to use some gadget (android phone, laptop witch bluetooth,...) to connect to the main device and download the data is has acquired.

Hope you can tell me which is the best way to achive these requirements.

Thank you!

Device:
MT_dialog
Offline
Last seen:1 month 4 weeks ago
Staff
加入:2015-06-08 11:34
Hi Fernando,

Hi Fernando,

The DSPS host is designed to support only one connection with one peripheral, making it to support two simultanieous connection would require major changes in the code and its a totally different implementation (for example you will have to implement some kind of a routing protocol in order to check which data will be sent to which host). You can have a look at the proximity host example which supports simultanieous connections in order to get started. But why doing this with the dsps project as your base i think that will add complexity in your system, you can create a custom profile which will notify your host about the sensor values and then your host can write the values in every notification to the other device and also it can keep a log in an spi about the senor values that has aquired.

Thanks MT_dialog