I’m trying for my first project to make a communication between arduino and raspberry pi via bluetooth.
I have a bluetooth dongle plugged into my raspberry; reconized and paired with the arduino (which have the JY-MCU bluetooth module).
When i do the command screen on /dev/rfcomm0 in raspberry, I can see what arduino sends via bluetooth to my raspberry so… good to this point.
• The big question is : can I read same serial port (i.e : rfcomm0) with two differents applications or command at the same time : for example : follow the screen command AND (read/send) from a PHP application of my own in this rfcomm serial port ? (using php_serial_class). At this point no return from PHP app (can’t find serial port).
• Another question : how to quit screen command ? (man says ctrl+a) but does not work for me. misunderstood the manual ?
• Another other question : do I have to set 2 differents virual serial port ? One for receiving , one for transmitting
Thanks for answers to my dummy questions !