wiki:HowTo/Bluetooth/UsingNH

Current Status

  • Image nodes with the latest Bluetooth enabled image
  • Manually set the interfaces using pand, for instance
node1-1:~# pand --listen -role NAP --master --autozap

wait for at least 10 seconds for the interface to configure

node1-2:~# pand --connect 00:0A:3A:53:D4:82 --service NAP --autozap

Wait for at least 10 seconds for the interface to configure. At this point the link should be established and interface bnep<X> created on both nodes.

node1-2:~# ifconfig bnep0 192.168.1.2
node1-1:~# ifconfig bnep0 192.168.1.1

This step is automated by the script bt.pl.

  • Execute your favorite script with proper settings for OTG and OTR with -k option in order not to reboot nodes and preserve manual settings. Assuming your script is btwifi.rb it will be something like
nodehandler4 -k btwifi

List of the nodes with BT interfaces

List of nodes

To Do

  • Write btsender.rb and btreceiver.rb to fully integrate Bluetooth with OTG and OTR
Last modified 17 years ago Last modified on Sep 23, 2007, 4:59:56 AM

Attachments (6)

  • btwifi.rb (1.8 KB ) - added by harisk 18 years ago. Experiment script that runs Bluetooth and 802.11
  • bt.pl (723 bytes ) - added by harisk 18 years ago. Perl script to setup Bluetooth connection - needed until Bluetooth is fully integrated with NodeHandler
  • wifi.pl (511 bytes ) - added by harisk 18 years ago. Additional settings for 802.11 not available in NodeHandler
  • btwifi_grid.rb (5.9 KB ) - added by harisk 18 years ago. Experiment script with 5 p2p BT connections and 11 wifi sending to an AP
  • bt_grid.pl (3.5 KB ) - added by harisk 18 years ago. BT setup for btwifi_grid.rb
  • wifi_grid.pl (4.1 KB ) - added by harisk 18 years ago. wifi setup for btwifi_grid.rb not supported by node handler

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.