Ben's notes

Linux, Unix, network, radio...

User Tools

Site Tools


serial_console_over_bluetooth

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
serial_console_over_bluetooth [2017/06/11 14:51] adminserial_console_over_bluetooth [2017/06/11 15:19] admin
Line 26: Line 26:
  
 [Service] [Service]
-ExecStart=/usr/bin/rfcomm watch hci0 1 setsid /sbin/agetty -L rfcomm0 115200 linux+ExecStart=/usr/bin/rfcomm watch hci0 1 setsid /sbin/agetty --8bits --noclear -L rfcomm0 115200 linux
  
 [Install] [Install]
Line 55: Line 55:
 # There should be a rfcomm0 device # There should be a rfcomm0 device
 crw-rw----. 1 root dialout 216, 0 11 jun 08:14 /dev/rfcomm0 crw-rw----. 1 root dialout 216, 0 11 jun 08:14 /dev/rfcomm0
 +
 +# If device is nonexistent, create one
 +sudo rfcomm connect /dev/rfcomm0 <BT server-MAC-address> 1 &
  
 # Connect to the serial console: # Connect to the serial console:
serial_console_over_bluetooth.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1