Hi,I have a I have a beaglebone black board and I want to control one serialport, there have 6 serialports(/dev/ttyS0-/ dev/ttyS5). The node-RED flow is simple as follows:
But after deployment, there has an error message:” Permission denied, cannot open /dev/ttyS2". i run this
chmod a+rw /dev/ttyS2
so serialport can be connected because There is a small green dot below the”serial out” icon.
But after reboot, it can not be opened and I need to use “chmod a+rw /dev/ttyS2” again. I know serialport should be authorized before using.I want to serialports could be connected automatically after the BBB is powered on. should I login Node-red as root mode or edit the settings.js ? I am a new user of beaglebone black board and Node-RED. How to do? I hope someone can help me solve this problem, Here I express my gratitude in advance to those who can help me.