Method for transmitting and processing command and data
First Claim
Patent Images
1. A method for transmitting a command comprising:
- generating a command packet including a command frame, a length frame, a command data frame, an error check frame and an end character frame; and
transmitting the command packet.
1 Assignment
0 Petitions
Accused Products
Abstract
Disclosed is a method in which a computer and a personal digital assistant easily and stably transmit commands and data through a serial interface and process them. To this end, the method for transmitting a command comprises: generating a command packet including a command frame, a length frame, a command data frame, an error check fame and an end character frame; and transmitting the command packet.
-
Citations
20 Claims
-
1. A method for transmitting a command comprising:
-
generating a command packet including a command frame, a length frame, a command data frame, an error check frame and an end character frame; and
transmitting the command packet. - View Dependent Claims (2, 3)
-
-
4. A method for processing a command comprising:
-
receiving through a serial interface a command packet including a command frame, a length frame, a common data frame, an error check frame and an end character frame;
erasing the end character frame of the received command packet;
decoding the command packet where the end character frame has been erased; and
erasing the error check frame of the decoded command packet. - View Dependent Claims (5, 6, 7, 8, 9, 20)
-
-
10. A method for transmitting data comprising:
-
generating a data packet including a synchronous frame, a packet number frame, a data frame and an error check frame; and
transmitting the data packet. - View Dependent Claims (11, 12)
-
-
13. A method for processing data comprising:
-
receiving through a serial interface a data packet including a synchronous frame, a packet number frame, a data frame and an error check frame; and
erasing the error check frame of the data packet if the first frame of the data packet is the synchronous frame and a packet number of the data packet is the same as a packet number of a data packet to be received. - View Dependent Claims (14, 15, 16)
-
-
17. A method for transmitting commands and data, in which a personal digital assistant and a computer transmit commands and data to each other through a serial interface, comprising:
-
transmitting a command packet including a command frame, a length frame, a command data frame, a CRC (Cyclic-Redundancy Check) frame and an end character frame; and
transmitting a data packet including a synchronous frame, a packet number frame, a data frame and a parity frame.
-
-
18. A method for processing a command, in which a command packet received through a serial interface is processed, comprising:
-
receiving through the serial interface a command packet including a command frame, a length frame, a command data frame, a CRC (Cyclic-Redundancy Check) frame and an end character frame;
erasing the end character frame if the last byte of the command packet received through the serial interface is the end character frame;
asking for retransmission of the command packet if the last byte of the command packet is not the end character frame;
decoding the command packet where the end character frame has been erased;
erasing the CRC frame if an error is not generated at the decoded command packet after checking the CRC frame of the decoded command packet; and
asking for retransmission of the command packet if an error is generated at the decoded command packet after checking the CRC frame of the decoded command packet.
-
-
19. A method for processing data, in which a data packet received through a serial interface is processed, comprising:
-
receiving a data packet including a synchronous frame, a packet number frame, a data frame and a parity frame;
verifying that the first frame of the data packet is a synchronous frame;
checking whether a packet number of the data packet is the same as a packet number of a data packet to be received if the first frame of the data packet is the synchronous frame; and
erasing the parity frame if the packet number of the received data packet is the same as the packet number of the data packet to be received and an error is not generated at the data packet after checking the parity frame of the data packet.
-
Specification