最終更新:2022-01-07 (金) 10:36:46 (843d)  

rfcomm listen
Top / rfcomm listen

Listen on a specified RFCOMM channel for incoming connections.

  • listen <dev> [channel] [cmd]

デフォルト値

  • channel:1

概要

  • If no channel is specified, it will use the channel number 1, but a channel must be specified before cmd.
    • If cmd is given, it will be executed as soon as a client connects
  • When the child process terminates or the client disconnect, the command will terminate.
  • Occurences of {} in cmd will be replaced by the name of the device used by the connection.
  • This command can be terminated with the key sequence CTRL-C.

  • rfcomm listen /dev/rfcomm1 22