sdptool.1 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. .\" Man page generated from reStructuredText.
  2. .
  3. .TH SDPTOOL 1 "" "BlueZ" "Linux System Administration"
  4. .SH NAME
  5. sdptool \- control and interrogate SDP servers
  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. \fBsdptool\fP [\fIOPTIONS\fP] [\fICOMMAND\fP [\fIPARAMETERS\fP]]
  36. .SH DESCRIPTION
  37. .sp
  38. \fBsdptool(1)\fP provides the interface for performing SDP queries on Bluetooth
  39. devices, and administering a local SDP database.
  40. .SH COMMANDS
  41. .sp
  42. The following commands are available. In all cases \fBbdaddr\fP specifies the
  43. device to search or browse. If \fIlocal\fP is used for \fBbdaddr\fP, then the local
  44. SDP database is searched.
  45. .sp
  46. Services are identified and manipulated with a 4\-byte \fBrecord_handle\fP (NOT
  47. the service name). To find a service\(aqs \fBrecord_handle\fP, look for the
  48. "Service RecHandle" line in the \fBsearch\fP or \fBbrowse\fP results
  49. .INDENT 0.0
  50. .TP
  51. .B search [\-\-bdaddr bdaddr] [\-\-tree] [\-\-raw] [\-\-xml] service_name
  52. Search for services..
  53. .sp
  54. Known service names are \fBDID\fP, \fBSP\fP, \fBDUN\fP, \fBLAN\fP, \fBFAX\fP,
  55. \fBOPUSH\fP, \fBFTP\fP, \fBHS\fP, \fBHF\fP, \fBHFAG\fP, \fBSAP\fP, \fBNAP\fP, \fBGN\fP,
  56. \fBPANU\fP, \fBHCRP\fP, \fBHID\fP, \fBCIP\fP, \fBA2SRC\fP, \fBA2SNK\fP, \fBAVRCT\fP,
  57. \fBAVRTG\fP, \fBUDIUE\fP, \fBUDITE\fP and \fBSYNCML\fP\&.
  58. .TP
  59. .B browse [\-\-tree] [\-\-raw] [\-\-xml] [bdaddr]
  60. Browse all available services on the device specified by a Bluetooth
  61. address as a parameter.
  62. .TP
  63. .B records [\-\-tree] [\-\-raw] [\-\-xml] bdaddr
  64. Retrieve all possible service records.
  65. .TP
  66. .B add [ \-\-handle=N \-\-channel=N ]
  67. Add a service to the local SDP database.
  68. .sp
  69. You can specify a handle for this record using the \fB\-\-handle\fP option.
  70. .sp
  71. You can specify a channel to add the service on using the \fB\-\-channel\fP
  72. option.
  73. .sp
  74. NOTE: Local adapters configuration will not be updated and this command
  75. should be used only for SDP testing.
  76. .TP
  77. .B del record_handle
  78. Remove a service from the local SDP database.
  79. .sp
  80. NOTE: Local adapters configuration will not be updated and this command
  81. should be used only for SDP testing.
  82. .TP
  83. .B get [\-\-tree] [\-\-raw] [\-\-xml] [\-\-bdaddr bdaddr] record_handle
  84. Retrieve a service from the local SDP database.
  85. .TP
  86. .B setattr record_handle attrib_id attrib_value
  87. Set or add an attribute to an SDP record.
  88. .TP
  89. .B setseq record_handle attrib_id attrib_values
  90. Set or add an attribute sequence to an SDP record.
  91. .UNINDENT
  92. .SH OPTIONS
  93. .INDENT 0.0
  94. .TP
  95. .B \-\-help
  96. Displays help on using sdptool.
  97. .UNINDENT
  98. .SH EXAMPLES
  99. .INDENT 0.0
  100. .INDENT 3.5
  101. .sp
  102. .nf
  103. .ft C
  104. $ sdptool browse 00:80:98:24:15:6D
  105. $ sdptool browse local
  106. $ sdptool add DUN
  107. $ sdptool del 0x10000
  108. .ft P
  109. .fi
  110. .UNINDENT
  111. .UNINDENT
  112. .SH RESOURCES
  113. .sp
  114. \fI\%http://www.bluez.org\fP
  115. .SH REPORTING BUGS
  116. .sp
  117. \fI\%linux\-bluetooth@vger.kernel.org\fP
  118. .SH AUTHOR
  119. Maxim Krasnyansky <maxk@qualcomm.com>, Edd Dumbill <ejad@debian.org>
  120. .SH COPYRIGHT
  121. Free use of this software is granted under ther terms of the GNU
  122. Lesser General Public Licenses (LGPL).
  123. .\" Generated by docutils manpage writer.
  124. .