Hi, You can safely ignore those warnings. Or if you prefer they are easy to get rid of, but doing so will result in a (slight) performance hit.
To read the data transmitted from that application simply connect to the shimmer's bluetooth serial port using a serial terminal emulator (such as Putty, Hyperterminal, Minicom, cu, etc.). The actual settings (e.g. baud rate, stop bits, etc.) are not important so you can use the default. Mike On Fri, Oct 26, 2012 at 4:24 PM, 孙一平 <[email protected]> wrote: > Hi, > I have been trying to develop a Bluetooth application, where I send a > Bluetooth message from my shimmer node to a PC or a smart phone(android). > I have tried an applications to start with:Tinyos-2-contrib-commits] CVS: > tinyos-2.x-contrib/shimmer/swtest/Bluetooth. > > Though the program can be burned to the shimmer,I do have some warnings: > /home/tiny2/tinyos-main/tos/platforms/shimmer/chips/bluetooth/RovingNetworksP.nc:74: > warning: non-atomic accesses to shared variable `btConnected': > > /home/tiny2/tinyos-main/tos/platforms/shimmer/chips/bluetooth/RovingNetworksP.nc:308: > warning: non-atomic read > /home/tiny2/tinyos-main/tos/platforms/shimmer/chips/bluetooth/RovingNetworksP.nc:318: > warning: non-atomic read > > /home/tiny2/tinyos-main/tos/platforms/shimmer/chips/bluetooth/RovingNetworksP.nc:547: > warning: non-atomic write > /home/tiny2/tinyos-main/tos/platforms/shimmer/chips/bluetooth/RovingNetworksP.nc:74: > warning: non-atomic accesses to shared variable `runningMasterCommands': > > /home/tiny2/tinyos-main/tos/platforms/shimmer/chips/bluetooth/RovingNetworksP.nc:312: > warning: non-atomic write > /home/tiny2/tinyos-main/tos/platforms/shimmer/chips/bluetooth/RovingNetworksP.nc:321: > warning: non-atomic write > > /home/tiny2/tinyos-main/tos/platforms/shimmer/chips/bluetooth/RovingNetworksP.nc:332: > warning: non-atomic write > /home/tiny2/tinyos-main/tos/platforms/shimmer/chips/bluetooth/RovingNetworksP.nc:547: > warning: non-atomic write > > I just wonder whether the warnings matter. > I can find the Bluetooth device correctly,but I don't know how to receive > the data.I have tried the app named ShimmerConnect,but failed. > I would be happy to receive any help, Thanks! > > > _______________________________________________ > 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
