Jon Hoffman
Published © MIT

IPv6 over Bluetooth on the BeagleBone Black

This project shows how you can use IPv6 over Bluetooth Smart using 6LoWPAN.

IntermediateProtip2 hours704
IPv6 over Bluetooth on the BeagleBone Black

Things used in this project

Story

Read more

Code

BluetoothMaster.sh

SH
modprobe bluetooth_6lowpan
echo 1 > /sys/kernel/debug/bluetooth/6lowpan_enable
hciconfig hci0 leadv

BluetoothSlave.sh

SH
modprobe bluetooth_6lowpan
echo 1 > /sys/kernel/debug/bluetooth/6lowpan_enable
hcitool lecc 98:58:8a:06:db:9b
echo "connect 98:58:8a:06:db:9b 1" > /sys/kernel/debug/bluetooth/6lowpan_control

sleep 2 //pause to make sure the bt0 interface is up
ifconfig bt0 inet6 add 2001:db8::5ef3:70ff:fe75:b1d6/64

Credits

Jon Hoffman

Jon Hoffman

5 projects • 2 followers
Dad that loves to work on robots

Comments