Reserved bit that may be used in an agreed-upon manner in individual networks.
Reserved bit that may be used in an agreed-upon manner in individual networks.
Reserved bit that may be used in an agreed-upon manner in individual networks.
Reserved bit that may be used in an agreed-upon manner in individual networks.
ReadonlysubtypeThe specific type of frame being represented (UI, I, SABM, etc.)
ReadonlytypeWhether the frame is an unnumbered, supervisory, or information frame.
Whether the frame is a command frame or a response frame if it is using the latest version of the AX.25 protocol. If not, then it is using the legacy protocol.
string 'command', 'response', or 'legacy'
Whether the frame is a command frame or a response frame if it is using the latest version of the AX.25 protocol. If not, then it is using the legacy protocol.
string 'command', 'response', or 'legacy'
Determines in conjunction with the sourceCommandBit if the frame is a command, response, or legacy type frame.
Determines in conjunction with the sourceCommandBit if the frame is a command, response, or legacy type frame.
Whether the frame is a command frame.
Whether the frame is a legacy frame.
Whether the frame is a response frame.
Determines the number of outstanding information frames allowed per layer 2 connection at one time.
Only change this to 128 on supervisory and information frames when you are sure that you are using modulo 128, as setting it incorrectly will cause frames not to decode.
ProtectedpayloadThe data or "body" being carried by the frame.
Non-objects are stringified then encoded using TextEncoder. Objects are first run though JSON.stringify(), then encoded using TextEncoder. Exceptions are Uint8Array and Uint8ClampedArray objects, which are pushed directly to the payload without transformation. Use this format to transmit raw binary data.
ProtectedpidA number indicating which layer 3 protocol is in use according to the AX25 spec. Found on information (I) and unnumbered information (UI) frames. Otherwise undefined.
Valid values are integers 0 to 255 inclusive.
a number corresponding to the layer 3 protocol in use. See AX.25 documentation for a key/value table.
A number indicating which layer 3 protocol is in use according to the AX25 spec. Found on information (I) and unnumbered information (UI) frames. Otherwise undefined.
Valid values are integers 0 to 255 inclusive.
a number corresponding to the layer 3 protocol in use. See AX.25 documentation for a key/value table.
Used in all types of frames. The P/F bit is also used in a command (poll) mode to request an immediate reply to a frame. The reply to this poll is indicated by setting the response (final) bit in the appropriate frame.
Used in all types of frames. The P/F bit is also used in a command (poll) mode to request an immediate reply to a frame. The reply to this poll is indicated by setting the response (final) bit in the appropriate frame.
ProtectedreceivedExists on information and supervisory frames. Otherwise undefined. Prior to sending an information or supervisory frame, this variable is updated to equal that of the received state variable, thus implicitly acknowledging the proper reception of all frames up to and including receivedSequence - 1.
Valid values are integers 0 to 7 inclusive when using modulo 8, or integers 0 to 127 inclusive when using modulo 127.
Exists on information and supervisory frames. Otherwise undefined. Prior to sending an information or supervisory frame, this variable is updated to equal that of the received state variable, thus implicitly acknowledging the proper reception of all frames up to and including receivedSequence - 1.
Valid values are integers 0 to 7 inclusive when using modulo 8, or integers 0 to 127 inclusive when using modulo 127.
ProtectedsendFound in the control field of all information frames. Otherwise undefined. It contains the sequence number of the information frame being sent. Just prior to the transmission of the information frame, it is updated to equal the send state variable.
Valid values are integers 0 to 7 inclusive when using modulo 8, or integers 0 to 127 inclusive when using modulo 127.
Found in the control field of all information frames. Otherwise undefined. It contains the sequence number of the information frame being sent. Just prior to the transmission of the information frame, it is updated to equal the send state variable.
Valid values are integers 0 to 7 inclusive when using modulo 8, or integers 0 to 127 inclusive when using modulo 127.
Determines in conjunction with the destinationCommandBit if the frame is a command, response, or legacy type frame.
Determines in conjunction with the destinationCommandBit if the frame is a command, response, or legacy type frame.
Get the frame encoded for use with a KISS connection. This can be written to a Socket, SerialPort, etc.
a Uint8Array suitable for passing to Duplex.write().
Returns a JSON representation of the frame.
Returns a string representation of the frame.
Protected StaticencodeProtected Staticencode
Set Asynchronous Balance Mode Extended Frame