最終更新:2021-03-04 (木) 07:41:51 (39d)  

rfcomm
Top / rfcomm

RFCOMM configuration utility

Bluetoothデバイス間のRFCOMM接続が可能になります

  • sudo rfcomm listen /dev/rfcomm0 22
    sudo sdptool add --channel=22 SP

help

  • RFCOMM configuration utility ver 5.48
    Usage:
    	rfcomm [options] <command> <dev>
    
    Options:
    	-i, --device [hciX|bdaddr]     Local HCI device or BD Address
    	-h, --help                     Display help
    	-r, --raw                      Switch TTY into raw mode
    	-A, --auth                     Enable authentication
    	-E, --encrypt                  Enable encryption
    	-S, --secure                   Secure connection
    	-M, --master                   Become the master of a piconet
    	-L, --linger [seconds]         Set linger timeout
    	-a                             Show all devices (default)
    
    Commands:
    	bind     <dev> <bdaddr> [channel]	Bind device
    	release  <dev>                   	Release device
    	show     <dev>                   	Show device
    	connect  <dev> <bdaddr> [channel]	Connect device
    	listen   <dev> [channel [cmd]]   	Listen
    	watch    <dev> [channel [cmd]]   	Watch