Hi Shafiq, I don't think that I really understand your question about Bluetooth.dataAvailable(). This event is signaled when the Shimmer receives data from the master device (i.e. the host side/PC). Say for example you connect to the Shimmer's com port with a terminal emulator such as Hyperterminal or Putty, then you just type a space into the applications window to send "spacebar".
AccelECG does not work with ShimmerConnect. When you tried this you should have seen an error something along the lines of the shimmer's configuration could not be read. AccelECG works with older, now deprecated, applications such as "Shimmer Display" and BioMOBIUS. BoilerPlate can very easily be configured to have the same functionality as AccelECG, i.e. send the accel and ecg data at a specified sampling rate. BoilerPlate replicates the functionality of all the "BioMOBIUS" applications and works with ShimmerConnect and the recently released Shimmer Labview library. The Listen application is used to receive data from the 802.15.4 radio, not Bluetooth. You probably could configure a shimmer to use the same packet format with Bluetooth, but this would be highly inefficient (and not very simple) as the Bluetooth stack automatically handles many of the things that have to be dealt with manually when using 802.15.4 (error detection, reliable comms, etc.). Best regards, Michael On Sun, Jul 3, 2011 at 2:17 AM, Shafiqul Amin <[email protected]> wrote: > Hi, > Can anybody explain me the functionality of the method > *Bluetooth.dataAvailable(uint8_t data)* > in AccelECG.nc file? How to send data like "spacebar"? > > I compiled and installed a fresh copy of AccelECG applicatoin of my shimmer > node. Then, I tried to get data using "ShimmerConnect" application but > nothing is displayed on the graph. Then I tried to get raw data using Listen > application to the COM port configured to my bluetooth module. But nothing > is coming from the node. > Any thing am I missing that is protecting to get data to my pc? > > [ I was successfully getting data on the graph of shimmerconnect > application using boilerPlate firmware] > > Thanks > Shafiq > > _______________________________________________ > Shimmer-users mailing list > [email protected] > https://lists.eecs.harvard.edu/mailman/listinfo/shimmer-users > >
_______________________________________________ Shimmer-users mailing list [email protected] https://lists.eecs.harvard.edu/mailman/listinfo/shimmer-users
