Hi Jorge, You probably need to install pybluez (http://code.google.com/p/pybluez/).
Mike On Wed, Jun 29, 2011 at 6:44 PM, jorge saez <[email protected]> wrote: > Hello Mike > > Could you explain me how to connect the PC as a BT Slave in Linux?? > And, when I try to compile the python script, the console show me an error. > The module called bluetooth (line 3) doesn't exist. > > Regards > > > 2011/6/25 mike healy <[email protected]> > >> Hi Jorge, >> >> For predictable behaviour you might be better off running the shimmer as a >> bt master. >> >> Take a look at the BluetoothMaster sample application: >> http://tinyos.cvs.sourceforge.net/viewvc/tinyos/tinyos-2.x-contrib/shimmer/swtest/BluetoothMaster/ >> and the associated PC side python script: >> http://tinyos.cvs.sourceforge.net/viewvc/tinyos/tinyos-2.x-contrib/shimmer/scripts/bluetoothMasterTest.py?revision=1.1&content-type=text%2Fplain >> >> Personally I have never successfully managed to get a windows PC to >> operate as a BT slave (but then I never tried too hard either), but it is >> easy to do in Linux. >> >> Mike >> >> >> >> On Sat, Jun 25, 2011 at 3:20 PM, jorge saez <[email protected]> wrote: >> >>> Hello Steve >>> >>> When do you say Linux Box, what do you mean?? A virtual box like VM-Ware >>> or another device or software? >>> If this can help, I want to transform the Base Station App , that uses >>> Serial and 802.15.4, to an App that uses BT and 802.15.4. My goal is >>> transfer the data that captures some nodes with the PC through a central >>> node or sink, The communication between the nodes and the sink is 802.15.4 , >>> and between the sink and the PC is BT. >>> >>> Regards >>> >>> 2011/6/25 steve ayer <[email protected]> >>> >>>> hi jorge, >>>> >>>> the simplest way to solve this problem is to listen with a linux box. >>>> >>>> i wish i had better news, >>>> >>>> steve >>>> >>>> >>>> On 06/24/2011 05:12 PM, jorge saez wrote: >>>> >>>>> Hi everybody!! >>>>> >>>>> Currently, I'm developing an application that uses Bluetooth and >>>>> 802.15.4. Then, I have to switch them, because they share the UART1. >>>>> But, when I disable BT with the command BTStdControl.stop() to use the >>>>> 802.15.4, and next, when I want to use BT again (with >>>>> BTStdControl.start), the connecion can't be established, until I have >>>>> closed and opened again the virtual serial port, that is associated >>>>> with >>>>> the BT Device. What can I do to solve this problem?? >>>>> >>>>> Regards >>>>> >>>>> Jorge Saez >>>>> >>>>> >>>>> -- >>>>> Jorge Sáez González >>>>> Estudiante Ingeniería Electrónica >>>>> Universidad de Antioquia >>>>> >>>>> >>>>> >>>>> ______________________________**_________________ >>>>> Shimmer-users mailing list >>>>> [email protected] >>>>> https://lists.eecs.harvard.**edu/mailman/listinfo/shimmer-**users<https://lists.eecs.harvard.edu/mailman/listinfo/shimmer-users> >>>>> >>>> >>> >>> >>> -- >>> Jorge Sáez González >>> Estudiante Ingeniería Electrónica >>> Universidad de Antioquia >>> >>> _______________________________________________ >>> Shimmer-users mailing list >>> [email protected] >>> https://lists.eecs.harvard.edu/mailman/listinfo/shimmer-users >>> >>> >> > > > -- > Jorge Sáez González > Estudiante Ingeniería Electrónica > Universidad de Antioquia >
_______________________________________________ Shimmer-users mailing list [email protected] https://lists.eecs.harvard.edu/mailman/listinfo/shimmer-users
