Returns the 4-byte CRC-16 checksum buffer for the content.
Returns the 4-byte buffer representing the size of the content.
Creates an instance of TeltonikaCodec14Command.
The command string to be sent.
The IMEI string for the device (optional, defaults to empty).
Custom inspection for Node.js console to display the command buffer.
Gets the content buffer for the command.
The concatenated buffer containing codec ID, number of commands, type, command size (including IMEI), IMEI, command, and number of commands.
Converts the command to a full buffer including preamble, data size, content, and CRC.
The complete buffer representation of the command.
Returns the command as a hexadecimal string representation.
Hex string of the command buffer.
ProtectedcmdCommand as a buffer
ProtectedcmdSize of the command string
ProtectedcodecCodec ID for this command
ProtectedcontentFull content buffer of the command (to be sent)
Protected OptionalimeiIMEI buffer for device-specific commands
ProtectednumberNumber of commands in the message
ProtectedpreambleCommand preamble (default 4 zero bytes)
ProtectedtypeCommand type identifier
Represents a command for Teltonika Codec 14. This class extends TeltonikaBaseCommand to handle Codec 14 specific command formatting, including IMEI support.
TeltonikaCodec14Command
Example