Android upper layer client and stm32 bottom layer communication method

A low-level communication and client-side technology, applied in the field of communication, can solve the problem of the inability of the upper-level Android client to communicate, and achieve the effect of solving the inability of direct communication and reliable transmission

Active Publication Date: 2019-10-11
DALIAN UNIV OF TECH
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The purpose of the invention is: to solve the technical problem that the Android upper layer client cannot directly communicate with the underlying STM32 through the serial port

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Android upper layer client and stm32 bottom layer communication method
  • Android upper layer client and stm32 bottom layer communication method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0014] In order to make the technical problems solved by the present invention, the technical solutions adopted and the technical effects achieved by the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It can be understood that the specific embodiments described here are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for ease of description, the drawings only show a part but not all of the content related to the present invention.

[0015] In this embodiment, the communication method between the Android upper client and the STM32 bottom layer is used for sensor data transmission. Firstly, various sensors connected to the STM32F103 main control board collect data, and after the main control board performs data processing, the data is sent to the PC through the wireless serial port module.

[0016] The PC r...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a communication method between an Android upper layer client and an STM32 bottom layer. Through FTDI USB to R232, the micro USB data information of the Android upper client computer can be converted into RS232 serial port data information. The Android upper-layer client converts the data information format into RS232 through FTDI USB to RS232, and the RS232 serial port information is converted into TTL information through the RS232 level-to-TTL level module, and then received by the underlying STM32. On the contrary, STM32 transmits information to the upper layer of Android, which is exactly the opposite conversion process. The invention solves the technical problem that the Android upper layer client cannot directly communicate with the bottom layer STM32 through the serial port.

Description

Technical field [0001] The present invention relates to the field of communication technology, in particular to a communication method between an Android upper-layer client and an STM32 bottom layer. Background technique [0002] Information conversion is the key to control communication between the Android upper client and the STM32 bottom layer. The Android upper layer client cannot directly communicate with the bottom layer STM32 through the serial port. And in serial communication, it is easy to lose data. And it is a non-handshake protocol, that is, the sender does not know whether the receiver receives the sent information. Summary of the invention [0003] The purpose of the present invention is to solve the technical problem that the Android upper-layer client cannot directly communicate with the lower-layer STM32 through the serial port. [0004] The present invention provides a communication method between an Android upper-layer client and an STM32 bottom layer to realiz...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): H04L29/08H04L29/06G08C17/02
CPCH04L67/12H04L69/162G08C17/02H04L67/565
Inventor 邱铁陈宁肖威威李军陈宝超段田田
Owner DALIAN UNIV OF TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products