l2ping.1 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. .\" Man page generated from reStructuredText.
  2. .
  3. .TH L2PING 1 "Jan 22, 2002" "BlueZ" "Linux System Administration"
  4. .SH NAME
  5. l2ping \- Send L2CAP echo request and receive answer
  6. .
  7. .nr rst2man-indent-level 0
  8. .
  9. .de1 rstReportMargin
  10. \\$1 \\n[an-margin]
  11. level \\n[rst2man-indent-level]
  12. level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
  13. -
  14. \\n[rst2man-indent0]
  15. \\n[rst2man-indent1]
  16. \\n[rst2man-indent2]
  17. ..
  18. .de1 INDENT
  19. .\" .rstReportMargin pre:
  20. . RS \\$1
  21. . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
  22. . nr rst2man-indent-level +1
  23. .\" .rstReportMargin post:
  24. ..
  25. .de UNINDENT
  26. . RE
  27. .\" indent \\n[an-margin]
  28. .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
  29. .nr rst2man-indent-level -1
  30. .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
  31. .in \\n[rst2man-indent\\n[rst2man-indent-level]]u
  32. ..
  33. .SH SYNOPSIS
  34. .sp
  35. \fBl2ping\fP [\fIOPTIONS\fP] \fIbd_addr\fP
  36. .SH DESCRIPTION
  37. .sp
  38. \fBl2ping(1)\fP sends a L2CAP echo request to the Bluetooth MAC address bd_addr
  39. given in dotted hex notation.
  40. .SH OPTIONS
  41. .INDENT 0.0
  42. .TP
  43. .BI \-i \ <hciX>
  44. The command is applied to device \fIhciX\fP, which must be the
  45. name of an installed Bluetooth device (X = 0, 1, 2, ...)
  46. If not specified, the command will be sent to the first
  47. available Bluetooth device.
  48. .TP
  49. .BI \-s \ size
  50. The size of the data packets to be sent.
  51. .TP
  52. .BI \-c \ count
  53. Send count number of packets then exit.
  54. .TP
  55. .BI \-t \ timeout
  56. Wait timeout seconds for the response.
  57. .TP
  58. .BI \-d \ delay
  59. Wait delay seconds between pings.
  60. .TP
  61. .B \-f
  62. Kind of flood ping. Use with care! It reduces the delay time
  63. between packets to 0.
  64. .TP
  65. .B \-r
  66. Reverse ping (gnip?). Send echo response instead of echo
  67. request.
  68. .TP
  69. .B \-v
  70. Verify response payload is identical to request payload.
  71. It is not required for remote stacks to return the request
  72. payload, but most stacks do (including Bluez).
  73. .UNINDENT
  74. .INDENT 0.0
  75. .TP
  76. .B bd_addr
  77. The Bluetooth MAC address to be pinged in dotted hex notation
  78. like \fB01:02:03:ab:cd:ef\fP or \fB01:EF:cd:aB:02:03\fP
  79. .UNINDENT
  80. .SH RESOURCES
  81. .sp
  82. \fI\%http://www.bluez.org\fP
  83. .SH REPORTING BUGS
  84. .sp
  85. \fI\%linux\-bluetooth@vger.kernel.org\fP
  86. .SH AUTHOR
  87. Maxim Krasnyansky <maxk@qualcomm.com>, Marcel Holtmann <marcel@holtmann.org>, Nils Faerber <nils@kernelconcepts.de>, Adam Laurie <adam@algroup.co.uk>.
  88. .SH COPYRIGHT
  89. Free use of this software is granted under ther terms of the GNU
  90. Lesser General Public Licenses (LGPL).
  91. .\" Generated by docutils manpage writer.
  92. .