adccap3.1 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. .TH adccap3 1 "Mar 2014" "plc-utils-2.1.6" "Qualcomm Atheros Powerline Toolkit"
  2. .SH NAME
  3. adccap3 - Qualcomm Atheros ADC Capture Utility
  4. .SH SYNOPSIS
  5. .BR adccap3
  6. .RI [ options ]
  7. .RI [ device ]
  8. .SH DESCRIPTION
  9. Collect and display ADC data from a PLC device using the Qualcomm Atheros manufacter-specific VS_DBG_INFO management message.
  10. The VS_DBG_INFO message is a multi purpose message where ADC capture is one of several options available.
  11. The VS_DBG_INFO ADC capture option is recognized by runtime firmware and one custom applet designed to capture ADC data.
  12. .PP
  13. Captured data is saved as an ASCII text file containing 6528 positive integer values, one value per line.
  14. .SH OPTIONS
  15. .TP
  16. -\fBc\fI coupling\fR
  17. The coupling.
  18. Use the number \fB0\fR, or the string "\fBpri\fR", for primary coupling.
  19. Use the number \fB1\fR, or the string "\fBalt\fR", for alternate coupling.
  20. This program will accept any numeric value from \fB0\fR through \fB255\fR but runtime firmware will reject invalid values.
  21. The default value is \fB0\fR.
  22. .TP
  23. -\fBg\fI gain\fR
  24. The RX gain.
  25. Permitted values are \fB0\fR through \fB31\fR.
  26. The previously set gain is used by the powerline device when this option is omitted.
  27. .TP
  28. -\fBi\fR \fIinterface\fR
  29. Select the host Ethernet interface.
  30. All requests are sent via this host interface and only reponses received via this host interface are recognized.
  31. The default interface is \fBeth1\fR because most people use \fBeth0\fR as their principle network connection; however, if environment string "PLC" is defined then it takes precedence over the default interface.
  32. This option then takes precedence over either default.
  33. .TP
  34. .RB - n
  35. Start data capture now.
  36. .TP
  37. .RB - r
  38. Read captured data.
  39. Captured data expires after about 20 seconds.
  40. .TP
  41. .RB - s
  42. Start data capture after synchronization.
  43. .TP
  44. .RB - q
  45. Quiet mode.
  46. Suppresses status messages on stderr.
  47. .TP
  48. -\fBt\fI milliseconds\fR
  49. The channel timeout in milliseconds.
  50. The default is \fB50\fR milliseconds but this can be increased if needed.
  51. .TP
  52. .RB - v
  53. Verbose mode.
  54. Print additional information on stdout.
  55. .TP
  56. -\fBw\fI seconds\fR
  57. The number of seconds to wait between capture and read operations.
  58. A non-zero wait time automatically initiates a capture then wait then read sequence for you.
  59. Valid values are \fB0\fR through \fB30\fR seconds.
  60. The default is \fB0\fR seconds.
  61. .TP
  62. .RB - ? ,-- help
  63. Print program help summary on stdout.
  64. This option takes precedence over other options on the command line.
  65. .TP
  66. .RB - ! ,-- version
  67. Print program version information on stdout.
  68. This option takes precedence over other options on the command line.
  69. Use this option when sending screen dumps to Atheros Technical Support so that they know exactly which version of the Linux Toolkit you are using.
  70. .SH DEVICES
  71. Powerline devices use Ethernet hardware, or Media Access Control (MAC), addresses.
  72. Device addresses are 12 hexadecimal digits (\fB0123456789ABCDEFabcdef\fR) in upper, lower or mixed case.
  73. Individual octets may be separated by colons, for clarity, but not all octets need to be seperated.
  74. For example, "00b052000001", "00:b0:52:00:00:01" and "00b052:000001" are valid and equivalent.
  75. .PP
  76. These symbolic addresses are recognized by this program and may be used instead of the actual address value.
  77. .TP
  78. .BR all
  79. Equivalent to "broadcast", described next.
  80. .TP
  81. .BR broadcast
  82. The Ethernet broadcast address, \fBFF:FF:FF:FF:FF:FF\fR.
  83. All devices, whether local, remote or foreign will respond to this address.
  84. .TP
  85. .BR local
  86. The Atheros Local Management Address (LMA), \fB00:B0:52:00:00:01\fR.
  87. Local Atheros powerline devices recognize this address but remote and foreign powerline devices do not.
  88. A remote device is any poserline device at the far end of the powerline.
  89. A foreign device is a powerline device not manufactured by Atheros.
  90. .SH REFERENCES
  91. See the Qualcomm Atheros Firwmare Technical Reference Manual for more information about the MS_ADC_CAP management message.
  92. See the Qualcomm Atheros PHY AFE Interface Functional Specification for more information for more information about the AFE and ADC capture.
  93. .SH DISCLAIMER
  94. Atheros HomePlug AV Vendor Specific Management Message structure and content is proprietary to Qualcomm Atheros, Ocala FL USA.
  95. Consequently, public information is not available.
  96. Qualcomm Atheros reserves the right to modify message structure or content in future firmware releases without any obligation to notify or compensate users of this program.
  97. .SH EXAMPLES
  98. The following command starts capture immediately because option \fB-n\fR is specified.
  99. The gain is \fB10\fR because option \fB-g\fR is present.
  100. Data capture takes several seconds.
  101. Captured data is retained until it is collected or the device is reset.
  102. .PP
  103. # adccap3 -n -g 10
  104. .PP
  105. The following command reads and displays captured data.
  106. Displayed data is piped to file \fBadccap.log\fR.
  107. No data is displayed if an error occurs.
  108. .PP
  109. # adccap3 -r > adccap.log
  110. .SH SEE ALSO
  111. .BR adccap ( 1 ),
  112. .BR adccap2 ( 1 ),
  113. .BR plc ( 1 ),
  114. .BR plctest ( 1 )
  115. .SH CREDITS
  116. Charles Maier <cmaier@qca.qualcomm.com>