Hi,

As a sanity check I've just tested the Bluetooth test app that you point
to, built with the latest TinyOS main tree from googlecode, and connecting
to it using minicom, and it works as expected for me.

When you say you test the same shimmer with the BoilerPlate app and
ShimmerConnect, are you doing it on the same machine (in the same OS)? I.e.
to confirm that the MAC address of the desired shimmer is in fact bound to /
dev/rfcomm0 correctly? E.g.

> sudo rfcomm bind 0 00:06:66:43:B7:71
>

Are you invoking minicom correctly? I run the following command to get it
to work:

> minicom -w -D /dev/rfcomm0
>

ShimmerConnect does not do anything special to connect (it does send the
"start streaming" command to start the data flowing, but that is specific
to BoilerPlate and is not needed for the Bluetooth test app). Besides, the
source code for ShimmerConnect is available on request from
[email protected], so you can easily go poking through it to
confirm this for yourself.

I don't understand what you mean when you say that ShimmerConnect does not
collect data in real time. From experience you are going to struggle to get
data any more "real time" than supplied by the BoilerPlate app (and
displayed by ShimmerConnect, or read by the shimmer-research Matlab,
Labviewor Android libraries).

Mike


On Tue, Nov 27, 2012 at 5:13 PM, Dang Thi Hai Ha <[email protected]> wrote:

> Hi all,
>
> I've been trying to test the Bluetooth connection with my shimmer mote but
> I failed to make it run the Bluetooth test program downloaded from
> http://tinyos.cvs.sourceforge.net/viewvc/tinyos/tinyos-2.x-contrib/shimmer/swtest/Bluetooth/
> .
>
> My steps (on Ubuntu 12.04):
>
> 1. Download and compile the tinyos program using
> make shimmer2 install bsl,/dev/ttyUSB0
>
> 2. Run minicom on /dev/rfcomm0 and I got nothing on the screen of minicom.
>
> The weird thing is that if I programmed the shimmer mote with the
> predefined Bootstrap program provided by Shimmer-Research and use
> ShimmerConnect to connect and visualize the sensor data, it works ?!
>
> My question is why shimmer sensor's Bluetooth service does not work with
> the Bluetooth test program? Does ShimmerConnect do anything special that I
> do not in my steps?
>
> My interest in getting the Bluetooth test work is that I want to collect
> the data in real time. With ShimmerConnect, I can't do that.
>
> Hope that my message is clear, and hope that someone can help me out of
> this problem. Thank you.
>
> Ha Dang.
>
> From ENSTA-Paristech, France.
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to