2016-05-03, 02:11 PM
If you create the /dev/rfcommX with sudo then you have to make it readable for user pi
sudo chown pi /dev/rfcomm*
sudo chmod +r /dev/rfcomm*
better add this line to the end of /etc/rc.local (here you dont need sudo!)
chown pi /dev/rfcomm*; chmod +r /dev/rfcomm*
sudo chown pi /dev/rfcomm*
sudo chmod +r /dev/rfcomm*
better add this line to the end of /etc/rc.local (here you dont need sudo!)
chown pi /dev/rfcomm*; chmod +r /dev/rfcomm*