Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --------- Bluetooth config & pairing -------------
- rfkill list
- rfkill unlock bluetooth
- hciconfig
- hciconfig hci0 up
- Bluetoothctls
- power on
- Pairable on
- discoverable on
- agent on
- default-agent
- scan on
- pair <address>
- trust <address>
- -------------- WiFi config -----------------
- nano /etc/network/interfaces
- ifdown wlan0
- ifup wlan0
- Ping XXXXXX
- ------------------------------- Instalacja pakietów -------------------------------------
- apt-get install python-setuptools python-dev libbluetooth-dev python-pip -y --fix-missing
- apt-get install blueman bluez-utils bluez bluetooth -y --fix-missing
- -------------- Pobranie pybluez -----------------
- ping github.com
- git clone https://github.com/karulis/pybluez.git
- cd pybluez/
- python setup.py install
- --------------Serial-Over-Bluetooth-----------------
- cd ..
- nano bluetooth_adv
- hciconfig hci0 piscan
- Adptool add SP
- chmod +x bluetooth_adv
- ./bluetooth_adv
- python pybluez/examples/simple/rfcomm-server.py
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement