| | 1 | = Current Status = |
| | 2 | |
| | 3 | * Image nodes with the latest Bluetooth enabled [wiki:Internal/Bluetooth/Enabling image] |
| | 4 | * Manually set the interfaces using [wiki:Internal/Bluetooth/UsingCL pand], for instance |
| | 5 | |
| | 6 | {{{ |
| | 7 | node1-1:~# pand --listen -role NAP --master --autozap |
| | 8 | }}} |
| | 9 | |
| | 10 | {{{ |
| | 11 | node1-2:~# pand --connect 00:0A:3A:53:D4:82 --service NAP --autozap |
| | 12 | node1-2:~# ifconfig bnep0 192.168.1.2 |
| | 13 | }}} |
| | 14 | |
| | 15 | {{{ |
| | 16 | node1-1:~# ifconfig bnep0 192.168.1.1 |
| | 17 | }}} |
| | 18 | |
| | 19 | This step is automated by the script ''bt.pl''. |
| | 20 | |
| | 21 | * 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 |
| | 22 | |
| | 23 | {{{ |
| | 24 | nodehandler -k btwifi |
| | 25 | }}} |
| | 26 | |
| | 27 | == To Do == |
| | 28 | |
| | 29 | * Write btsender.rb and btreceiver.rb to fully integrate Bluetooth with [wiki:Documentation/OTG OTG and OTR] |