Mike, thanks a lot for you quick and helpful reply! I'm now able of communicating with the shimmer node, settings parameters and decoding information. I was wondering if there is any way to have a shimmer (with boilerplate) Bluetooth network with more than 1 sensor communicating with the pc. In my application I have at least 2 sensors sending data to a laptop and I'd like to have the BT radio instead of the 15.4 one. How should I configure it? From my PC I can only connect to the BT SPP only one shimmer at a time. thanks Roberta.
Da: mike healy [mailto:[email protected]] Inviato: martedì 3 gennaio 2012 10:30 A: Giannantonio Roberta Cc: [email protected] Oggetto: Re: [Shimmer-users] shimmer BT serial port communication Hi Roberta, Serial port settings such as baud rate (and data bits, parity, etc.) are all meaningless when using Bluetooth SPP, so you can leave these at their default it should still work correctly. To start data streaming you have to send the "START_STREAMING_COMMAND" (0x07) as specified in Shimmer.h (http://tinyos.cvs.sourceforge.net/viewvc/tinyos/tinyos-2.x-contrib/shimmer/apps/BoilerPlate/Shimmer.h?content-type=text%2Fplain). Normally you would use <CTRL+g> to send this using a terminal emulator. Similarly to stop streaming you would use the "STOP_STREAMING_COMMAND" (0x20), which corresponds to a space in ASCII. You should note the data you receive from the Shimmer will not be ASCII, so it will not be "human readable". You will need to interpret the raw (binary) values in the packet format, as described in BoilerPlate's README.txt (http://tinyos.cvs.sourceforge.net/viewvc/tinyos/tinyos-2.x-contrib/shimmer/apps/BoilerPlate/README.txt), by hand. Mike On Mon, Jan 2, 2012 at 3:24 PM, Giannantonio Roberta <[email protected]<mailto:[email protected]>> wrote: Dear shimmer-users, I would like to connect to the Bluetooth serial port of my shimmer 2r (flashed with boiler plate image 30 june 2011) through a serial port monitor. How should I set BT settings such as baud rate? Which command should I send to the shimmer to start steaming accelerometer data? Thanks a lot for your help Roberta. Questo messaggio e i suoi allegati sono indirizzati esclusivamente alle persone indicate. La diffusione, copia o qualsiasi altra azione derivante dalla conoscenza di queste informazioni sono rigorosamente vietate. Qualora abbiate ricevuto questo documento per errore siete cortesemente pregati di darne immediata comunicazione al mittente e di provvedere alla sua distruzione, Grazie. This e-mail and any attachments is confidential and may contain privileged information intended for the addressee(s) only. Dissemination, copying, printing or use by anybody else is unauthorised. If you are not the intended recipient, please delete this message and any attachments and advise the sender by return e-mail, Thanks. Rispetta l'ambiente. Non stampare questa mail se non è necessario. _______________________________________________ Shimmer-users mailing list [email protected]<mailto:[email protected]> https://lists.eecs.harvard.edu/mailman/listinfo/shimmer-users Questo messaggio e i suoi allegati sono indirizzati esclusivamente alle persone indicate. La diffusione, copia o qualsiasi altra azione derivante dalla conoscenza di queste informazioni sono rigorosamente vietate. Qualora abbiate ricevuto questo documento per errore siete cortesemente pregati di darne immediata comunicazione al mittente e di provvedere alla sua distruzione, Grazie. This e-mail and any attachments is confidential and may contain privileged information intended for the addressee(s) only. Dissemination, copying, printing or use by anybody else is unauthorised. If you are not the intended recipient, please delete this message and any attachments and advise the sender by return e-mail, Thanks. [cid:[email protected]]Rispetta l'ambiente. Non stampare questa mail se non è necessario.
<<inline: logo Ambiente_foglia.jpg>>
_______________________________________________ Shimmer-users mailing list [email protected] https://lists.eecs.harvard.edu/mailman/listinfo/shimmer-users
