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 TeltonikaCodec12Command.
The command string to be sent.
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, 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 12. This class extends TeltonikaBaseCommand to handle Codec 12 specific command formatting.
TeltonikaCodec12Command
Example