Data transmission method and mobile terminal
AssigneeGuangdong Oppo Mobile Telecommunications Corp., Ltd.
InventorsChen TIAN, Fuchun LIAO, Jialiang ZHANG, Jun ZHANG
Life of this patent
Estimating the term…
Abstract
A data transmission method and a mobile terminal include taking bytes of data in universal asynchronous receiver/transmitter (UART) format generated by a mobile terminal, simulating UART ports via GPIO ports of a processor of the mobile terminal, and transmitting the bytes of data in UART format divided in batches to a receiving terminal via the GPIO ports. In transmitting the bytes of data in UART format in divided batches to the receiving terminal via the GPIO ports, the processor of the mobile terminal is in a locked state. The processor is in an unlocked state between two adjacent batches of the data transmitting.
Claims20
A data transmission method applicable to a device to be charged, comprising:
- generating data in universal asynchronous receiver/transmitter (UART) format;
- and
- transmitting the data in UART format in batches to a charging device via general purpose input/output (GPIO) ports of a processor of the device to be charged.
A device to be charged, comprising:
- a memory, configured to store a plurality of programs;
- and
- a processor, configured to execute the plurality of programs to carry out:
- generating data in universal asynchronous receiver/transmitter (UART) format;
- and
- transmitting the data in UART format in batches to a charging device via general purpose input/output (GPIO) ports of the processor.
Dependencies are inferred from the claim text.