int6kbaud(1)
π int6kbaud π β Qualcomm Atheros Serial Line Device Configuration
okay so bestie, welcome to int6kbaud(1), a genuine icon of the Qualcomm Atheros Open Powerline Toolkit. she sets serial line params on your powerline device and she does it flawlessly. let's get into it π
β¨ SYNOPSIS β¨
int6kbaud [options] [...]
πΈ DESCRIPTION πΈ
So what she does: she sets the serial line parameters on a UART-enabled Atheros powerline device, using the ATBR serial line command. periodt.
Serial line commands are 7-bit ASCII character strings that get sent to the local powerline device over the host serial port. Technically you could send them with any terminal emulator, but this program will, in many cases, reduce typing and simplify scripting. She's especially useful for downloading device parameters and uploading device parameters or firmware, because those operations involve large volumes of data β like, a lot. Also? She lets you use decimal integer arguments in many cases where the serial line commands themselves require hexadecimal integer values. slay. Head to the COMMANDS section below for the full list of supported serial line commands π
This program is part of the Qualcomm Atheros Powerline Toolkit. See the AMP man page for an overview and installation instructions π«Ά
π COMMENTS π
Real talk: this program does not configure or reconfigure host serial port settings, because most systems already provide a utility to do that. So please, be sure to configure them before using this program, since other programs may change them before or after use π
The Atheros factory default settings for UART-enabled powerline devices are 1115200 baud, 8 data bits, 1 stop bit, no parity and no flow control.
On Linux, use the stty utility to inspect and set serial port parameters. The following Linux command will configure serial device /dev/ttyS0 speed to 115200 baud with 8 data bits, 1 stop bit, no parity bit and no flow control. Consult the stty man page for an explanation of these and other options.
#stty -f /dev/ttyS0 115200 cs8 cstopb -cparenb -ixon
On Windows, use the the Device Manager dialog to set serial Port properties. To open this dialog, select Start Menu, Control Panel, System, Hardware, Device Manager, Ports, Advanced.
π OPTIONS π
-Bbaudrate β the new baud rate. Any integer value may be entered here but only certain values may be accepted by the powerline device. And ngl, even if the device supports some value, your local host might not. Supported values are300,600,1200,2400,4800,9600,38400,57600,115200,230400,460800and921600. The default is115200.-Ddatabits β the number of bits per data byte. Accepted values are7and8. The default is8.-Fflowctrl β the hardware flowcontrol state. Accepted values are0=off and1=on, where numeric values or keywords"off"or"on"may be used. Keyword"none"is synonymous with"off"for this option. The default isnone.-mmode β accepted values are1=transparent and2=command, where numeric values or keywords"transparent"or"command"may be used.-Pparity β the number of parity bits and parity mode. Accepted values are0=none,1=odd and2=even, where numeric values of keywords"none","odd"or"even"may be used. The default isnone.-qβ suppress progress and error information onstderr. shh π€«-stty β communicate with the local powerline device over the named serial interface on the local host. The program default is"/dev/ttyUSB0"for Linux and"com1:"for Windows. The program default may be replace by defining environment variablePLCUART. This command line option will over-ride those defaults.-Sstopbits β the number of stop bits. Accepted values are1or2. The default is1.-uβ force default host port settings to match the default setting for UART-enabled Atheros powerline devices. The setting are115200baud,8data bits, no parity bits and1stop bit. These settings will remain active when the program terminates and will not change unless changed by some other means, perhaps by another application. This option is an easy means of establishg an initial serial connection with a powerline device, unless it's settings have been changed.-vβ display serial line commands and responses onstdout. π-wβ place the local powerline device in Command Mode using the+++serial line command. The device will remain in command mode until it is reset or forced into Transparaent Mode or High Speed Command Mode.-?,--helpβ print program help summary onstdout. This option takes precedence over other options on the command line.-!,--versionβ print program version information onstdout. This option takes precedence over other options on the command line. 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. very demure, very mindful π
π¦ ARGUMENTS π¦
None.
π COMMANDS π
This section lists serial line commands recognized by local powerline devices when in Command Mode. Commands can be issued interactively using a terminal emulator, like minicom on Linux or HyperTerminal on Windows, or stored as text and copied to the serial port using system utilities, like cat on Linux or type on Windows. This program merely converts command line options and arguments into one or more of the serial line commands shown below. iconic behaviour, honestly β¨
+++β exit Transparent Mode and enter Command Mode. See option-wabove.ATβ test for Command Mode by doing nothing, successfully. See option-tabove.ATBRmode,baudrate,databits,parity,stopbits,flowctrlβ set serial line parameters on the local powerline device. Beware that this will break the existing serial connection when the new parameters differ from those of the local host. β οΈATBSZ?β get Transparent Mode buffer size. See option-zabove.ATBSZsizeβ set Transparent Mode buffer size. See option-Zabove.ATDST?β get Transparent Mode destination device address. See option-dabove.ATDSTaddressβ set Transparent Mode destination device address. See option-Dabove.ATFDβ reset local device to factory defaults. See option-Tabove.ATHSCβ exit Command Mode and enter High Speed Command Mode. Once theOKresponse is received, the local host should send commands to the device at successively higher speeds until a valid response is received.ATNI?β read nework information and store the information internally. Return the number of associated stations and information about the first associated station. The information includes the peer station device address, TX rate and RX rate.ATNIstationβ extract and display previously stored network information for a specific peer station. The information returned is that previosly stored using aATNIserial line command query.ATOβ exit Command Mode and enter Transparent Mode. Successful switch requires a valid destination MAC address, buffer size and aggregation timeout value. Use serial line commandsATDSTandATBSZto get and/or set the first two values. Use serial line commandATTOto set the timeout value.ATPStimeβ place the device in Power Save Mode for a specified time in seconds. Accepted values are1to384seconds. The default time isAseconds.ATRPlength,offsetβ read and display a parameter block segment where length is the number of bytes read and offset is the relative position, in bytes, from the start of the parameter block. Valid length values are0through400hexadecimal. See option-pabove to read and save an entire parameter block.ATRPMβ get PIB version and device MAC address.ATRVβ get hardware and firmware revision. See option-rabove.ATSK?β get device Network Membership Key. See option-mabove.ATSKkeyβ set device Network Membership Key. See option-Mabove.ATTO?β get the Transparent Mode aggregation timeout in milliseconds.ATTOtimeoutβ set the Transparent Mode aggregation timeout in milliseconds. See option-Wabove.ATWNVmoduleβ update NVM with PIB and/or Firmware module. See option-Cabove.ATWPFmodule,length,offset,checksum,dataβ write a parameter block or firmware segment to the local powerline device where module is the module identifier, length is the number of bytes to write, offset is the relative position from the start of the module, checksum is the 1's complement of the data and data is the data to be written. Valid module identifiers are1=FW and2=PIB. Valid length values are0up to400hexadecimal. See options-Nand-Pabove to write an entire parameter block or firmware images.ATZβ reset device. See option-Rabove.
π REFERENCES π
See the Qualcomm Atheros HomePlug AV Firmware Technical Reference Manual for more information.
π¨ DISCLAIMER π¨
Atheros serial line commands are proprietary to Qualcomm Atheros, Ocala FL USA. Consequently, public information is not available. Qualcomm Atheros reserves the right to modify command line syntax or command functionality in future firmware releases without any obligation to notify or compensate product or program users. (yes, seriously, no cap π)
π EXAMPLES π
The following example sets the baud speed to 115200 baud with 8 data bits, 1 stop bits, no flow control and no parity. The outgoing serial line command and incoming response are displayed on stderr because option -f is present.
#int6kbaud -B 115200 -D 8 -F 0 -P 0 -S 1 -v
ATBR00,000000000001C200,08,00,01,00
OK
Observe that decimal command line arguments are converted to hexadecimal on output. Although this program outputs fixed-length fields, including leaing zeros, device firmware ignores them. Leading zeros may be omitted when entering serial line commands manually. π‘
The next example set the speed to 38400. Observe that program default values appear in the outgoing serial line command when the corresponding command line options are omitted.
#int6kbaud -B 38400 -v
ATBR00,0000000000009600,08,00,01,00
OK
The next command does the same thing as the first example except that keywords replace numeric values for some of the options. Since option -v is omitted the outgoing command and incoming response are not displayed.
#int6kbaud -B 115200 -D 8 -F off -P none -S 1
π SEE ALSO π
amp(1), int6kuart(1), ttysig(1)
β CREDITS β
Charles Maier
and that's the whole page bestie, you ate π«Ά this was open-plc-utils-0.0.3 from November 2013 β go forth and configure those serial lines, main character energy only πβ¨π
π¦ where this page comes from
- alpine 3.24: open-plc-utils-doc 0_git20250712-r1 Β· BSD-3-Clause-Clear
- debian bookworm: plc-utils-extra 0.0.6+git20230504.1ba7d5a0-1 Β· BSD-3
- debian trixie: plc-utils-extra 0.0.6+git20250517.7fb8ac5-1 Β· BSD-3
- ubuntu noble: plc-utils-extra 0.0.6+git20230504.1ba7d5a0-1 Β· BSD-3
- ubuntu questing: plc-utils-extra 0.0.6+git20250517.7fb8ac5-1
- ubuntu resolute: plc-utils-extra 0.0.6+git20250712.46c3506-1 Β· BSD-3
- ubuntu stonking: plc-utils-extra 0.0.6+git20250712.46c3506-1 Β· BSD-3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms