发明名称 METHOD FOR CONVERTING BINARY DATA INTO ASCII DATA IN SERIAL INTERFACE
摘要 PURPOSE: A method for converting binary data into ASCII data in a serial interface is provided to convert and transmit binary data into the ASCII data within a printing character range capable of being transmitted and received in a serial interface communication. CONSTITUTION: A continuous stream of binary data is cut 6-bit by 6-bit. The cut data are added to 2-bit data and forms 8-bit data(S310). A set value(0x2F) is added each cut data row(S320). A data row of a range from 0x2F to 0x6E is converted from binary data into ASCII data(S330). A transmission side transmits the converted ASCII data through a serial interface and a receiving side receives the ASCII data. At this time, the ASCII data belongs to a printing character range(0x20-0x7E)(S340). The receiving side subtracts 0x2F from each octet unit of a received ASCII data stream(S350). Thus, a 8-bit octet unit data row is formed, a 6-bit value of the latter half of each data row is taken, a connection of 8-bit is executed, and thus the binary data are restored(S360).
申请公布号 KR20030033411(A) 申请公布日期 2003.05.01
申请号 KR20010065171 申请日期 2001.10.22
申请人 LG ELECTRONICS INC. 发明人 CHOI, JEONG GU
分类号 G06F13/00;(IPC1-7):G06F13/00 主分类号 G06F13/00
代理机构 代理人
主权项
地址