From time to time I use my bluetoth module HC-05 to communicate with microcontroller. Every time I have the same problem because I don't remember how to do that. Short receipe working for me (at least for openSUSE):
sudo bluetoothctl
power on
agent on
scan on
pair <MAC>
Then:
sudo killall rfcomm
sudo rfcomm connect /dev/rfcomm0 <MAC> 1
/dev/rfcomm0 is ready to use now.
source
Brak komentarzy:
Prześlij komentarz