*I talked with my supervisors and here is the result... In our current project we have:* *- a Shimmer and a ECG belt that are close enough so that they can detect each other. The ECG belt communicates via BT and only acts as a BT slave. The shimmer will the BT master. - a second shimmer, a bit more distanced with which the master can communicate using 802.15.4 (this one is not using BT) * * * *So, the master will be used as a gateway.* * * *Now, the master wants to discover the ECG slave close to him. How? Maybe getting its BT address (using discoverDevices) so that it can establish a connection afterwards. After establishing the connection the master receives some sensor data from the slave. Next the master switches from BT to 802.15.4 and sends the collected data (or a part) to the second shimmer. * This repeats cyclically.
Thanks for your atention. On Fri, May 25, 2012 at 3:34 PM, steve ayer <[email protected]> wrote: > hi vitor, > > discoverDevices was put in there as a placeholder when the driver was > written, to be used "later." years passed before anyone even thought about > using the shimmer in master mode, but that eventually came to pass, so now > it's a matter of having solid justification for implementing the command. > > i must say that the stub was not inserted blindly, that exploratory work > was done to see how well the roving networks discovery feature worked > (answer is that it works about as well as any other bluetooth discovery: > hit or miss). > > bottom line is that definition of a use case would pre-empt > implementation, and an application layer would also be de rigeur: > > how do you use the information after you have it? for starters, how do > you even see it? (host-side app work) > > once you know what (slave) devices are available, how do you select what > action to take? how to select among them (host-side? config file on the > shimmer?). > > i hope that i answered your question. sorry that the answer contains more > questions! > > -steve > > > On 05/25/2012 10:23 AM, Vitor Pinheiro wrote: > >> Hi! >> >> How can we use discoverDevices? I don't see any event that occurs after >> calling this command. Plus, the command returns nothing. So, hot to use >> it? >> >> Thanks. >> >> Best regards, >> -- >> V.GilVitorino >> >> >> ______________________________**_________________ >> Shimmer-users mailing list >> [email protected] >> https://lists.eecs.harvard.**edu/mailman/listinfo/shimmer-**users<https://lists.eecs.harvard.edu/mailman/listinfo/shimmer-users> >> > -- V.GilVitorino
_______________________________________________ Shimmer-users mailing list [email protected] https://lists.eecs.harvard.edu/mailman/listinfo/shimmer-users
