Detecting devices and connecting example

6 posts / 0 new
Last post
saleem145
Offline
Last seen:5 years 10 months ago
Joined:2015-03-19 00:49
Detecting devices and connecting example

Hello,

Just received the basic evaluation board. I am able to run the peripherals example. My question is how do I detect other bluetooth devices and establish a connection? Is there example code?

Thanks,

Saleem

JE_Dialog
Offline
Last seen:3 weeks 3 days ago
Staff
Joined:2013-12-05 14:02
Hello Saleem, how are you

Hello Saleem, how are you lookig to run the DA14580 ? most of our examples of the 14580 are as peripheral, so we are typically worknig with a client side APP on iOS or Android. We dont have much yet in the way of central support. Most our examples are therefore typically not scanning /iniitating connection requests but advertising and responding to connection requests. The only master apps we have that are relatively straight forward is the Serial Port service for DA14580 to DA14580 connections and streaming throughput.

BR JE_Dialog

saleem145
Offline
Last seen:5 years 10 months ago
Joined:2015-03-19 00:49
My application is more

My application is more complicated. It is going to have 50 or so modules each with some kind of sensor or actuator. And they would need to form an adhoc network. Messages would need to be routed by hopping from one module to another till the message gets to the base station. There is an algorithm called Bluetrees for determining which modules should be master and which should be slave. So I would need to detect other modules in the vicinity by myself, decide whether a module will serve as master or slave and establish the necessary connections.

http://wireless.cs.tku.edu.tw/~kpshih/course/wbn91/Bluetree.pdf
http://ieeexplore.ieee.org/xpl/login.jsp?tp=&arnumber=936316&url=http%3A...

Saleem

Saleem

MH_Dialog (not verified)
Hello Saleem,

Hello Saleem,

There is another project called prox_monitor_ext in SDK, which can be used to scan proximity profile based devices and connect them. Regarding to your reply up there, I assueme that you are talking about concurrency dual role. This will be officially supported by DA14680.

BR, Morris

Alex Luo
Offline
Last seen:1 year 3 months ago
Expert
Joined:2014-02-28 19:16
Hi Morris,

Hi Morris,

Is DA14680 available and SDK ready?

I used DA14580 for slave, and also want to use DA14580 to be master to control many slaves. Please advise if Dialog has the solution for it.

Thanks,

JE_Dialog
Offline
Last seen:3 weeks 3 days ago
Staff
Joined:2013-12-05 14:02
Hello Alex, the 14680 will be

Hello Alex, the 14680 will be sampling around June timeframe, so the SDK is not ready yet ...

BR JE_Dialog